/*
 * RAEDERWERK — Farbschema (Dark / Light)
 *
 * Geladen VOR design-v15.css (Handle raederwerk-color-scheme).
 * Alle Farben in design-v15.css, woo.css und content-v1.css laufen über die
 * Tokens unten (--rw-*), dazu die Basis-Tokens --wlf-color-* des Parent-Themes.
 *
 *   :root                          → Dark (heutiger Look, Standard)
 *   :root[data-theme="light"]      → Light (VORLÄUFIGE Palette)
 *   .rw-dark-zone                  → stellt in hellem Seitenmodus die Dark-Werte
 *                                    wieder her (Topbar, Header, Drawer, Hero,
 *                                    Seitenköpfe, Konfigurator-/Kaufleiste;
 *                                    Footer + CTA-Band setzt sections-v1)
 *   .rw-ref / .rw-cat / .rw-service__card → Foto-Kacheln, ebenfalls dunkel
 *
 * Kupfer: Flächen/Buttons bleiben in beiden Modi #c2884e mit dunkler Schrift;
 * Kupfer als TEXT läuft über --rw-accent-text (Light #8a5a2b, AA 5,4:1).
 *
 * data-theme setzt das Inline-Script aus inc/color-scheme.php ganz oben im <head>.
 *
 * REGEL (Dark): Der Dark-Wert jedes Tokens ist exakt das Literal, das vorher an
 * der Stelle stand — nichts zusammengelegt. Prüfung:
 *   python3 tools/check-color-tokens.py
 * Tokens mit Hex-Suffix (z. B. --rw-text-dim-b4b1ab) sind Varianten derselben
 * Rolle, die im Dark Mode minimal abweichen; beim Feinschliff zusammenlegen.
 *
 * Achtung: Custom Properties, die per var() auf andere verweisen, werden dort
 * aufgelöst, wo sie deklariert sind. Deshalb stehen :root und .rw-dark-zone im
 * selben Block — jede Zone rechnet --rw-accent usw. selbst neu aus.
 * --wlf-color-accent* kommt zusätzlich aus dem Filter wlf_brand_tokens
 * (functions.php, gleicher Wert); in Dark-Zonen gilt der Wert hier.
 */

/*
 * Overlay-Badges auf Produktfotos (RW01, Passend, Demnächst, Passform auf Anfrage)
 * und EU-Reifenlabel-Chips bleiben dunkle Inseln: dunkle Glas-Fläche
 * auf dem weißen Foto, die Klassenfarben A–G sind nur auf Dunkel lesbar.
 */
:root,
[data-theme="light"] :is(.wlf-model-card__badge, .wlf-soon-badge, .wlf-inquiry-badge, .wlf-model-card__media .wlf-fit-badge, .rw-eu-chip) {
  /* Basis-Tokens des Parent-Themes (vorher in design-v15.css :root) */
  --wlf-color-bg: #0a0a0b;
  --wlf-color-surface: #141416;
  --wlf-color-surface-alt: #1c1c1f;
  --wlf-color-ink: #f4f3f1;
  --wlf-color-ink-muted: #b4b1ab;
  --wlf-color-ink-inverted: #0a0a0b;
  --wlf-color-line: rgba(255,255,255,.10);
  --wlf-color-line-soft: rgba(255,255,255,.06);
  --wlf-color-accent: #c2884e;
  --wlf-color-accent-hover: #d9a86a;
  --wlf-color-accent-ink: #0a0a0b;
  --wlf-color-success: #6a9a7a;
  --wlf-color-warning: #c2884e;
  --wlf-color-danger: #c45a4a;
  --wlf-shadow-md: 0 24px 48px -24px rgba(0,0,0,.55);
  --rw-fit-ok: #6fcf97;
  --rw-fit-ok-bg: rgba(47,158,93,.12);
  --rw-fit-ok-line: rgba(47,158,93,.45);
  --rw-fit-tuv: #e8b45c;
  --rw-fit-tuv-bg: rgba(214,152,46,.12);
  --rw-fit-tuv-line: rgba(214,152,46,.45);
  /* EU-Reifenlabel A–E (Farben wie auf dem Label, in beiden Modi gleich) */
  --rw-eu-a: #00a651;
  --rw-eu-b: #8dc63f;
  --rw-eu-c: #ffd200;
  --rw-eu-d: #f39200;
  --rw-eu-e: #e30613;
  --rw-eu-ink-dark: #111;
  --rw-eu-ink-light: #fff;

  /* Seite & Flächen */
  --rw-bg-deep: #000;
  --rw-bg: #0a0a0b;
  --rw-surface-0: #101012;
  --rw-surface-0-0c0c0e: #0c0c0e;
  --rw-surface-0-0d0d0f: #0d0d0f;
  --rw-surface-0-0e0e10: #0e0e10;
  --rw-surface-0-0f0f11: #0f0f11;
  --rw-surface-0-111111: #111;
  --rw-surface-0-121214: #121214;
  --rw-surface-1: #141416;
  --rw-surface-1-151517: #151517;
  --rw-surface-1-151518: #151518;
  --rw-surface-1-161618: #161618;
  --rw-surface-1-17171a: #17171a;
  --rw-surface-2: #1c1c1f;
  --rw-surface-2-1a1a1d: #1a1a1d;
  --rw-surface-2-1c1c20: #1c1c20;
  --rw-surface-2-222226: #222226;
  --rw-surface-2-2a2a2e: #2a2a2e;
  --rw-surface-warm: #141210;
  --rw-surface-warm-171411: #171411;
  --rw-surface-warm-191510: #191510;
  --rw-surface-warm-201a12: #201a12;

  /* Text */
  --rw-text-strong: #fff;
  --rw-text: #f4f3f1;
  --rw-text-bright: #f7f5f1;
  --rw-text-bright-e6e3de: #e6e3de;
  --rw-text-bright-e8e4de: #e8e4de;
  --rw-text-bright-e8e6e2: #e8e6e2;
  --rw-text-bright-e9e7e3: #e9e7e3;
  --rw-text-bright-eceae6: #eceae6;
  --rw-text-soft: #cfccc7;
  --rw-text-soft-cfcbc4: #cfcbc4;
  --rw-text-soft-d2d0cb: #d2d0cb;
  --rw-text-soft-d6d3cd: #d6d3cd;
  --rw-text-soft-d8d4ce: #d8d4ce;
  --rw-text-soft-d8d5cf: #d8d5cf;
  --rw-text-soft-d8d5d0: #d8d5d0;
  --rw-text-soft-d9d6d0: #d9d6d0;
  --rw-text-soft-ddd9d3: #ddd9d3;
  --rw-text-dim: #c2bfba;
  --rw-text-dim-b4b1ab: #b4b1ab;
  --rw-text-dim-b6b3ae: #b6b3ae;
  --rw-text-dim-b7b3ad: #b7b3ad;
  --rw-text-dim-b8b4ae: #b8b4ae;
  --rw-text-dim-b8b5b0: #b8b5b0;
  --rw-text-dim-b9b6b0: #b9b6b0;
  --rw-text-dim-c2c0bb: #c2c0bb;
  --rw-text-dim-c9c5bf: #c9c5bf;
  --rw-text-muted: #aba8a2;
  --rw-text-muted-a8a5a0: #a8a5a0;
  --rw-text-subtle: #9d9a94;
  --rw-text-subtle-9a9691: #9a9691;
  --rw-text-faint: #8f8c86;
  --rw-text-ghost: #5c5954;
  --rw-text-a28-f4f3f1: rgba(244,243,241,.28);
  --rw-text-a28: rgba(255,255,255,.28);
  --rw-text-a45: rgba(255,255,255,.45);
  --rw-text-a50: rgba(255,255,255,.5);
  --rw-text-a70: rgba(255,255,255,.7);
  --rw-text-a72: rgba(255,255,255,.72);
  --rw-text-a92: rgba(255,255,255,.92);

  /* Inverse Flächen (helle Buttons/Chips im Dark Mode) + Text darauf */
  --rw-inverse: #f4f3f1;
  --rw-inverse-strong: #fff;
  --rw-inverse-hover: #d9d6d0;
  --rw-text-inverse: #0a0a0b;
  --rw-text-inverse-111111: #111;
  --rw-text-inverse-3a3936: #3a3936;

  /* Akzent */
  --rw-accent: var(--wlf-color-accent); /* = #c2884e */
  --rw-on-accent: #0a0a0b;
  --rw-on-accent-111111: #111;
  --rw-accent-text-hover: var(--wlf-color-accent-hover);
  --rw-accent-text: var(--wlf-color-accent);
  --rw-accent-text-a55: rgba(194,136,78,.55);
  --rw-accent-tint-06: rgba(194,136,78,.06);
  --rw-accent-tint-08: rgba(194,136,78,.08);
  --rw-accent-tint-08-c48a54: rgba(196,138,84,.08);
  --rw-accent-tint-10: rgba(194,136,78,.1);
  --rw-accent-tint-12: rgba(194,136,78,.12);
  --rw-accent-tint-14: rgba(194,136,78,.14);
  --rw-accent-tint-16: rgba(194,136,78,.16);
  --rw-accent-tint-28: rgba(194,136,78,.28);
  --rw-accent-line-28: rgba(194,136,78,.28);
  --rw-accent-line-38: rgba(194,136,78,.38);
  --rw-accent-line-40: rgba(194,136,78,.4);
  --rw-accent-line-45: rgba(194,136,78,.45);
  --rw-accent-line-50: rgba(194,136,78,.5);
  --rw-accent-line-55: rgba(194,136,78,.55);
  --rw-accent-line-65: rgba(194,136,78,.65);
  --rw-accent-line-70: rgba(194,136,78,.7);
  --rw-accent-line-85: rgba(194,136,78,.85);
  --rw-accent-glow-18: rgba(194,136,78,.18);
  --rw-accent-glow-70: rgba(194,136,78,.7);

  /* Linien */
  --rw-line-05: rgba(255,255,255,.05);
  --rw-line-06: rgba(255,255,255,.06);
  --rw-line-07: rgba(255,255,255,.07);
  --rw-line-08: rgba(255,255,255,.08);
  --rw-line-10: rgba(255,255,255,.1);
  --rw-line-12: rgba(255,255,255,.12);
  --rw-line-14: rgba(255,255,255,.14);
  --rw-line-16: rgba(255,255,255,.16);
  --rw-line-18: rgba(255,255,255,.18);
  --rw-line-20: rgba(255,255,255,.2);
  --rw-line-22: rgba(255,255,255,.22);
  --rw-line-24: rgba(255,255,255,.24);
  --rw-line-25: rgba(255,255,255,.25);
  --rw-line-28: rgba(255,255,255,.28);
  --rw-line-30: rgba(255,255,255,.3);
  --rw-line-32: rgba(255,255,255,.32);
  --rw-line-35: rgba(255,255,255,.35);
  --rw-line-40: rgba(255,255,255,.4);
  --rw-line-45: rgba(255,255,255,.45);
  --rw-line-60: rgba(255,255,255,.6);
  --rw-line-70: rgba(255,255,255,.7);
  --rw-line-dark-18: rgba(0,0,0,.18);
  --rw-grid-gap: #3a3a3a12;

  /* Tönungen (weiß-transparent) / Abdunklungen (schwarz-transparent) */
  --rw-tint-02: rgba(255,255,255,.02);
  --rw-tint-03: rgba(255,255,255,.03);
  --rw-tint-04: rgba(255,255,255,.04);
  --rw-tint-045: rgba(255,255,255,.045);
  --rw-tint-05: rgba(255,255,255,.05);
  --rw-tint-06: rgba(255,255,255,.06);
  --rw-tint-07: rgba(255,255,255,.07);
  --rw-tint-08: rgba(255,255,255,.08);
  --rw-tint-10: rgba(255,255,255,.1);
  --rw-tint-12: rgba(255,255,255,.12);
  --rw-tint-22: rgba(255,255,255,.22);
  --rw-tint-28: rgba(255,255,255,.28);
  --rw-shade-16: rgba(0,0,0,.16);
  --rw-shade-18: rgba(0,0,0,.18);
  --rw-shade-20: rgba(0,0,0,.2);
  --rw-shade-22: rgba(0,0,0,.22);
  --rw-shade-25: rgba(0,0,0,.25);
  --rw-shade-28: rgba(0,0,0,.28);
  --rw-shade-35: rgba(0,0,0,.35);
  --rw-highlight-03: rgba(255,255,255,.03);
  --rw-highlight-35: rgba(255,255,255,.35);

  /* Schatten */
  --rw-shadow-18: rgba(0,0,0,.18);
  --rw-shadow-25: rgba(0,0,0,.25);
  --rw-shadow-28: rgba(0,0,0,.28);
  --rw-shadow-35: rgba(0,0,0,.35);
  --rw-shadow-40: rgba(0,0,0,.4);
  --rw-shadow-45: rgba(0,0,0,.45);
  --rw-shadow-55: rgba(0,0,0,.55);
  --rw-shadow-80: rgba(0,0,0,.8);

  /* Glas-Leisten / Panels (halbtransparent) */
  --rw-glass-78: rgba(10,10,11,.78);
  --rw-glass-88: rgba(10,10,11,.88);
  --rw-glass-94: rgba(10,10,11,.94);
  --rw-glass-94-101012: rgba(16,16,18,.94);
  --rw-glass-94-121214: rgba(18,18,20,.94);
  --rw-glass-95: rgba(10,10,11,.95);
  --rw-glass-98: rgba(10,10,11,.98);
  --rw-fade-75: rgba(10,10,11,.75);

  /* Scrims über Fotos (in beiden Modi gleich) */
  --rw-scrim-00-0c0c0e: rgba(12,12,14,0);
  --rw-scrim-08-080809: rgba(8,8,9,.08);
  --rw-scrim-10: rgba(10,10,11,.1);
  --rw-scrim-12: rgba(10,10,11,.12);
  --rw-scrim-28: rgba(10,10,11,.28);
  --rw-scrim-32-000000: rgba(0,0,0,.32);
  --rw-scrim-35-080809: rgba(8,8,9,.35);
  --rw-scrim-35: rgba(10,10,11,.35);
  --rw-scrim-45: rgba(10,10,11,.45);
  --rw-scrim-50: rgba(10,10,11,.5);
  --rw-scrim-55-000000: rgba(0,0,0,.55);
  --rw-scrim-60: rgba(10,10,11,.6);
  --rw-scrim-62: rgba(10,10,11,.62);
  --rw-scrim-72-000000: rgba(0,0,0,.72);
  --rw-scrim-72: rgba(10,10,11,.72);
  --rw-scrim-72-0c0c0e: rgba(12,12,14,.72);
  --rw-scrim-78: rgba(10,10,11,.78);
  --rw-scrim-82: rgba(10,10,11,.82);
  --rw-scrim-88-080809: rgba(8,8,9,.88);
  --rw-scrim-90: rgba(10,10,11,.9);
  --rw-scrim-92: rgba(10,10,11,.92);
  --rw-scrim-94-080809: rgba(8,8,9,.94);
  --rw-scrim-94: rgba(10,10,11,.94);
  --rw-scrim-95: rgba(10,10,11,.95);

  /* Foto-Hintergründe (in beiden Modi gleich) */
  --rw-photo-bg: #fff;
  --rw-photo-bg-d5d5d5: #d5d5d5;
  --rw-photo-bg-d7d8da: #d7d8da;
  --rw-photo-bg-e8e6e2: #e8e6e2;
  --rw-photo-bg-eceae6: #eceae6;
  --rw-photo-bg-ececec: #ececec;
  --rw-photo-bg-f4f3f1: #f4f3f1;

  /* Status */
  --rw-ok-text: #6fcf97;
  --rw-ok-text-8fbf8a: #8fbf8a;
  --rw-ok-text-9fc4a8: #9fc4a8;
  --rw-ok-text-bfe3c6: #bfe3c6;
  --rw-ok-tint-06: rgba(47,158,93,.06);
  --rw-ok-tint-12: rgba(47,158,93,.12);
  --rw-ok-tint-28-2e7040: rgba(46,112,64,.28);
  --rw-ok-line-28: rgba(47,158,93,.28);
  --rw-ok-line-35: rgba(47,158,93,.35);
  --rw-ok-line-35-6ebe82: rgba(110,190,130,.35);
  --rw-ok-line-40: rgba(47,158,93,.4);
  --rw-ok-line-40-6a9a7a: rgba(106,154,122,.4);
  --rw-ok-line-45: rgba(47,158,93,.45);
  --rw-ok-badge: rgba(18,42,28,.88);
  --rw-warn-text: #e8c48a;
  --rw-warn-line-40: rgba(214,152,46,.4);
  --rw-warn-badge: rgba(48,34,10,.88);
  --rw-danger-text: #e0a39a;
  --rw-danger-text-e8a090: #e8a090;
  --rw-danger-text-e8a0a0: #e8a0a0;
  --rw-danger-text-f0d4cf: #f0d4cf;
  --rw-danger-tint-12: rgba(196,90,74,.12);
  --rw-danger-line-35: rgba(196,90,74,.35);
  --rw-danger-line-40: rgba(196,90,74,.4);
  --rw-danger-line-45: rgba(196,90,74,.45);
  --rw-danger-line-45-e0a39a: rgba(224,163,154,.45);
  --rw-danger-line-75: rgba(196,90,74,.75);
  --rw-danger-badge: rgba(42,18,16,.88);

  /* Zahlarten-Badges */
  --rw-pay-google: #d7e8ff;
  --rw-pay-google-line: rgba(215,232,255,.32);
  --rw-pay-klarna: #ffb4c8;
  --rw-pay-klarna-line: rgba(255,180,200,.35);
  --rw-pay-mc: #ffd0a8;
  --rw-pay-mc-line: rgba(255,208,168,.3);
  --rw-pay-paypal: #9ec9ff;
  --rw-pay-paypal-line: rgba(158,201,255,.35);
  --rw-pay-visa: #c9d7ff;
  --rw-pay-visa-line: rgba(201,215,255,.3);


  /* Startseite V2 (home-v2.css) — eigene, kleine Palette: 3 Flächen, 3 Textstufen */
  --rw-v2-bg: #0b0b0c;
  --rw-v2-bg-alt: #121214;
  --rw-v2-bg-band: #060607;
  --rw-v2-heading: #f3f1ed;
  --rw-v2-text: #c8c4bd;
  --rw-v2-text-muted: #a19c94;
  --rw-v2-line: rgba(255,255,255,.1);
  --rw-v2-line-strong: rgba(255,255,255,.34);
  --rw-v2-accent: #c2884e;
  --rw-v2-accent-hover: #d49a5e;
  --rw-v2-on-accent: #0a0a0b;
  --rw-v2-accent-text: #d6a06a;
  --rw-v2-plate: #d9d6d0;
  --rw-v2-media: #1b1b1e;
  --rw-v2-scrim: rgba(6,6,7,.58);
  --rw-v2-scrim-strong: rgba(6,6,7,.88);
  --rw-v2-scrim-clear: rgba(6,6,7,0);
  --rw-v2-on-photo: #f3f1ed;
  --rw-v2-ok: #e9f7ee;
  --rw-v2-ok-bg: rgba(22,74,46,.92);
  --rw-v2-focus: #e3b37f;

  --rw-footer-bg: #070708;

  /* Native Controls */
  --rw-color-scheme: dark;
}

/* ═══ LIGHT — VORLÄUFIGE Palette (wird nach dem Design-Audit ersetzt) ═══ */
:root[data-theme="light"] {
  color-scheme: light;

  /* Basis-Tokens */
  --wlf-color-bg: #f6f5f2;
  --wlf-color-surface: #ffffff;
  --wlf-color-surface-alt: #efede8;
  --wlf-color-ink: #151517;
  --wlf-color-ink-muted: #5c5a55;
  --wlf-color-ink-inverted: #f6f5f2;
  --wlf-color-line: rgba(20,20,22,.12);
  --wlf-color-line-soft: rgba(20,20,22,.07);
  --wlf-color-accent: #c2884e;
  --wlf-color-accent-hover: #d9a86a;
  --wlf-color-accent-ink: #0a0a0b;
  --wlf-color-success: #2f6b4a;
  --wlf-color-warning: #8a5a14;
  --wlf-color-danger: #a3342a;
  --wlf-shadow-md: 0 24px 48px -24px rgba(0,0,0,.18);
  --rw-fit-ok: #2f6b4a;
  --rw-fit-ok-bg: rgba(47,158,93,.12);
  --rw-fit-ok-line: rgba(47,107,74,.45);
  --rw-fit-tuv: #8a5a14;
  --rw-fit-tuv-bg: rgba(214,152,46,.14);
  --rw-fit-tuv-line: rgba(138,90,20,.45);

  /* Seite & Flächen */
  --rw-bg-deep: #ebe9e4;
  --rw-bg: #f6f5f2;
  --rw-surface-0: #ffffff;
  --rw-surface-0-0c0c0e: #ffffff;
  --rw-surface-0-0d0d0f: #ffffff;
  --rw-surface-0-0e0e10: #ffffff;
  --rw-surface-0-0f0f11: #ffffff;
  --rw-surface-0-111111: #ffffff;
  --rw-surface-0-121214: #ffffff;
  --rw-surface-1: #ffffff;
  --rw-surface-1-151517: #ffffff;
  --rw-surface-1-151518: #ffffff;
  --rw-surface-1-161618: #ffffff;
  --rw-surface-1-17171a: #ffffff;
  --rw-surface-2: #efede8;
  --rw-surface-2-1a1a1d: #efede8;
  --rw-surface-2-1c1c20: #efede8;
  --rw-surface-2-222226: #efede8;
  --rw-surface-2-2a2a2e: #efede8;
  --rw-surface-warm: #f6efe5;
  --rw-surface-warm-171411: #f6efe5;
  --rw-surface-warm-191510: #f6efe5;
  --rw-surface-warm-201a12: #f6efe5;

  /* Text */
  --rw-text-strong: #0b0b0d;
  --rw-text: #151517;
  --rw-text-bright: #1f1e22;
  --rw-text-bright-e6e3de: #1f1e22;
  --rw-text-bright-e8e4de: #1f1e22;
  --rw-text-bright-e8e6e2: #1f1e22;
  --rw-text-bright-e9e7e3: #1f1e22;
  --rw-text-bright-eceae6: #1f1e22;
  --rw-text-soft: #302e2b;
  --rw-text-soft-cfcbc4: #302e2b;
  --rw-text-soft-d2d0cb: #302e2b;
  --rw-text-soft-d6d3cd: #302e2b;
  --rw-text-soft-d8d4ce: #302e2b;
  --rw-text-soft-d8d5cf: #302e2b;
  --rw-text-soft-d8d5d0: #302e2b;
  --rw-text-soft-d9d6d0: #302e2b;
  --rw-text-soft-ddd9d3: #302e2b;
  --rw-text-dim: #44413c;
  --rw-text-dim-b4b1ab: #44413c;
  --rw-text-dim-b6b3ae: #44413c;
  --rw-text-dim-b7b3ad: #44413c;
  --rw-text-dim-b8b4ae: #44413c;
  --rw-text-dim-b8b5b0: #44413c;
  --rw-text-dim-b9b6b0: #44413c;
  --rw-text-dim-c2c0bb: #44413c;
  --rw-text-dim-c9c5bf: #44413c;
  --rw-text-muted: #5c5a55;
  --rw-text-muted-a8a5a0: #5c5a55;
  --rw-text-subtle: #63605a;
  --rw-text-subtle-9a9691: #63605a;
  --rw-text-faint: #6b6862;
  --rw-text-ghost: #77736c;
  --rw-text-a28-f4f3f1: rgba(20,20,22,.28);
  --rw-text-a28: rgba(20,20,22,.28);
  --rw-text-a45: rgba(20,20,22,.45);
  --rw-text-a50: rgba(20,20,22,.5);
  --rw-text-a70: rgba(20,20,22,.7);
  --rw-text-a72: rgba(20,20,22,.72);
  --rw-text-a92: rgba(20,20,22,.92);

  /* Inverse Flächen (helle Buttons/Chips im Dark Mode) + Text darauf */
  --rw-inverse: #151517;
  --rw-inverse-strong: #000000;
  --rw-inverse-hover: #2e2c29;
  --rw-text-inverse: #f6f5f2;
  --rw-text-inverse-111111: #f6f5f2;
  --rw-text-inverse-3a3936: #f6f5f2;

  /* Akzent */
  /* --rw-on-accent: unverändert (#0a0a0b) */
  /* --rw-on-accent-111111: unverändert (#111) */
  --rw-accent-text-hover: #6e4520;
  --rw-accent-text: #8a5a2b;
  --rw-accent-text-a55: rgba(138,90,43,.55);
  /* --rw-accent-tint-06: unverändert (rgba(194,136,78,.06)) */
  /* --rw-accent-tint-08: unverändert (rgba(194,136,78,.08)) */
  --rw-accent-tint-08-c48a54: rgba(194,136,78,.08);
  /* --rw-accent-tint-10: unverändert (rgba(194,136,78,.1)) */
  /* --rw-accent-tint-12: unverändert (rgba(194,136,78,.12)) */
  /* --rw-accent-tint-14: unverändert (rgba(194,136,78,.14)) */
  /* --rw-accent-tint-16: unverändert (rgba(194,136,78,.16)) */
  /* --rw-accent-tint-28: unverändert (rgba(194,136,78,.28)) */
  /* --rw-accent-line-28: unverändert (rgba(194,136,78,.28)) */
  /* --rw-accent-line-38: unverändert (rgba(194,136,78,.38)) */
  /* --rw-accent-line-40: unverändert (rgba(194,136,78,.4)) */
  /* --rw-accent-line-45: unverändert (rgba(194,136,78,.45)) */
  /* --rw-accent-line-50: unverändert (rgba(194,136,78,.5)) */
  /* --rw-accent-line-55: unverändert (rgba(194,136,78,.55)) */
  /* --rw-accent-line-65: unverändert (rgba(194,136,78,.65)) */
  /* --rw-accent-line-70: unverändert (rgba(194,136,78,.7)) */
  /* --rw-accent-line-85: unverändert (rgba(194,136,78,.85)) */
  /* --rw-accent-glow-18: unverändert (rgba(194,136,78,.18)) */
  /* --rw-accent-glow-70: unverändert (rgba(194,136,78,.7)) */

  /* Linien */
  --rw-line-05: rgba(20,20,22,.07);
  --rw-line-06: rgba(20,20,22,.082);
  --rw-line-07: rgba(20,20,22,.094);
  --rw-line-08: rgba(20,20,22,.11);
  --rw-line-10: rgba(20,20,22,.13);
  --rw-line-12: rgba(20,20,22,.15);
  --rw-line-14: rgba(20,20,22,.18);
  --rw-line-16: rgba(20,20,22,.2);
  --rw-line-18: rgba(20,20,22,.23);
  --rw-line-20: rgba(20,20,22,.25);
  --rw-line-22: rgba(20,20,22,.27);
  --rw-line-24: rgba(20,20,22,.3);
  --rw-line-25: rgba(20,20,22,.31);
  --rw-line-28: rgba(20,20,22,.35);
  --rw-line-30: rgba(20,20,22,.37);
  --rw-line-32: rgba(20,20,22,.39);
  --rw-line-35: rgba(20,20,22,.43);
  --rw-line-40: rgba(20,20,22,.49);
  --rw-line-45: rgba(20,20,22,.55);
  --rw-line-60: rgba(20,20,22,.55);
  --rw-line-70: rgba(20,20,22,.55);
  /* --rw-line-dark-18: unverändert (rgba(0,0,0,.18)) */
  --rw-grid-gap: rgba(0,0,0,.07);

  /* Tönungen (weiß-transparent) / Abdunklungen (schwarz-transparent) */
  --rw-tint-02: rgba(0,0,0,.02);
  --rw-tint-03: rgba(0,0,0,.03);
  --rw-tint-04: rgba(0,0,0,.04);
  --rw-tint-045: rgba(0,0,0,.045);
  --rw-tint-05: rgba(0,0,0,.05);
  --rw-tint-06: rgba(0,0,0,.06);
  --rw-tint-07: rgba(0,0,0,.07);
  --rw-tint-08: rgba(0,0,0,.08);
  --rw-tint-10: rgba(0,0,0,.1);
  --rw-tint-12: rgba(0,0,0,.12);
  --rw-tint-22: rgba(0,0,0,.22);
  --rw-tint-28: rgba(0,0,0,.28);
  --rw-shade-16: rgba(0,0,0,.024);
  --rw-shade-18: rgba(0,0,0,.027);
  --rw-shade-20: rgba(0,0,0,.03);
  --rw-shade-22: rgba(0,0,0,.033);
  --rw-shade-25: rgba(0,0,0,.037);
  --rw-shade-28: rgba(0,0,0,.042);
  --rw-shade-35: rgba(0,0,0,.052);
  /* --rw-highlight-03: unverändert (rgba(255,255,255,.03)) */
  /* --rw-highlight-35: unverändert (rgba(255,255,255,.35)) */

  /* Schatten */
  --rw-shadow-18: rgba(0,0,0,.063);
  --rw-shadow-25: rgba(0,0,0,.087);
  --rw-shadow-28: rgba(0,0,0,.098);
  --rw-shadow-35: rgba(0,0,0,.12);
  --rw-shadow-40: rgba(0,0,0,.14);
  --rw-shadow-45: rgba(0,0,0,.16);
  --rw-shadow-55: rgba(0,0,0,.19);
  --rw-shadow-80: rgba(0,0,0,.28);

  /* Glas-Leisten / Panels (halbtransparent) */
  --rw-glass-78: rgba(255,255,255,.78);
  --rw-glass-88: rgba(255,255,255,.88);
  --rw-glass-94: rgba(255,255,255,.94);
  --rw-glass-94-101012: rgba(255,255,255,.94);
  --rw-glass-94-121214: rgba(255,255,255,.94);
  --rw-glass-95: rgba(255,255,255,.95);
  --rw-glass-98: rgba(255,255,255,.98);
  --rw-fade-75: rgba(245,244,241,.75);

  /* Scrims über Fotos (in beiden Modi gleich) */
  /* --rw-scrim-00-0c0c0e: unverändert (rgba(12,12,14,0)) */
  /* --rw-scrim-08-080809: unverändert (rgba(8,8,9,.08)) */
  /* --rw-scrim-10: unverändert (rgba(10,10,11,.1)) */
  /* --rw-scrim-12: unverändert (rgba(10,10,11,.12)) */
  /* --rw-scrim-28: unverändert (rgba(10,10,11,.28)) */
  /* --rw-scrim-32-000000: unverändert (rgba(0,0,0,.32)) */
  /* --rw-scrim-35-080809: unverändert (rgba(8,8,9,.35)) */
  /* --rw-scrim-35: unverändert (rgba(10,10,11,.35)) */
  /* --rw-scrim-45: unverändert (rgba(10,10,11,.45)) */
  /* --rw-scrim-50: unverändert (rgba(10,10,11,.5)) */
  /* --rw-scrim-55-000000: unverändert (rgba(0,0,0,.55)) */
  /* --rw-scrim-60: unverändert (rgba(10,10,11,.6)) */
  /* --rw-scrim-62: unverändert (rgba(10,10,11,.62)) */
  /* --rw-scrim-72-000000: unverändert (rgba(0,0,0,.72)) */
  /* --rw-scrim-72: unverändert (rgba(10,10,11,.72)) */
  /* --rw-scrim-72-0c0c0e: unverändert (rgba(12,12,14,.72)) */
  /* --rw-scrim-78: unverändert (rgba(10,10,11,.78)) */
  /* --rw-scrim-82: unverändert (rgba(10,10,11,.82)) */
  /* --rw-scrim-88-080809: unverändert (rgba(8,8,9,.88)) */
  /* --rw-scrim-90: unverändert (rgba(10,10,11,.9)) */
  /* --rw-scrim-92: unverändert (rgba(10,10,11,.92)) */
  /* --rw-scrim-94-080809: unverändert (rgba(8,8,9,.94)) */
  /* --rw-scrim-94: unverändert (rgba(10,10,11,.94)) */
  /* --rw-scrim-95: unverändert (rgba(10,10,11,.95)) */

  /* Foto-Hintergründe (in beiden Modi gleich) */
  /* --rw-photo-bg: unverändert (#fff) */
  /* --rw-photo-bg-d5d5d5: unverändert (#d5d5d5) */
  /* --rw-photo-bg-d7d8da: unverändert (#d7d8da) */
  /* --rw-photo-bg-e8e6e2: unverändert (#e8e6e2) */
  /* --rw-photo-bg-eceae6: unverändert (#eceae6) */
  /* --rw-photo-bg-ececec: unverändert (#ececec) */
  /* --rw-photo-bg-f4f3f1: unverändert (#f4f3f1) */

  /* Status */
  --rw-ok-text: #2f6b4a;
  --rw-ok-text-8fbf8a: #2f6b4a;
  --rw-ok-text-9fc4a8: #2f6b4a;
  --rw-ok-text-bfe3c6: #2f6b4a;
  --rw-ok-tint-06: rgba(47,107,74,.06);
  --rw-ok-tint-12: rgba(47,107,74,.12);
  --rw-ok-tint-28-2e7040: rgba(47,107,74,.28);
  --rw-ok-line-28: rgba(47,107,74,.28);
  --rw-ok-line-35: rgba(47,107,74,.35);
  --rw-ok-line-35-6ebe82: rgba(47,107,74,.35);
  --rw-ok-line-40: rgba(47,107,74,.4);
  --rw-ok-line-40-6a9a7a: rgba(47,107,74,.4);
  --rw-ok-line-45: rgba(47,107,74,.45);
  /* --rw-ok-badge: unverändert (rgba(18,42,28,.88)) */
  --rw-warn-text: #8a5a14;
  --rw-warn-line-40: rgba(138,90,20,.4);
  /* --rw-warn-badge: unverändert (rgba(48,34,10,.88)) */
  --rw-danger-text: #a3342a;
  --rw-danger-text-e8a090: #a3342a;
  --rw-danger-text-e8a0a0: #a3342a;
  --rw-danger-text-f0d4cf: #a3342a;
  --rw-danger-tint-12: rgba(163,52,42,.12);
  --rw-danger-line-35: rgba(163,52,42,.35);
  --rw-danger-line-40: rgba(163,52,42,.4);
  --rw-danger-line-45: rgba(163,52,42,.45);
  --rw-danger-line-45-e0a39a: rgba(163,52,42,.45);
  --rw-danger-line-75: rgba(163,52,42,.75);
  /* --rw-danger-badge: unverändert (rgba(42,18,16,.88)) */

  /* Zahlarten-Badges */
  --rw-pay-google: #1f5fa8;
  --rw-pay-google-line: rgba(31,95,168,.32);
  --rw-pay-klarna: #b0306a;
  --rw-pay-klarna-line: rgba(176,48,106,.35);
  --rw-pay-mc: #b45309;
  --rw-pay-mc-line: rgba(180,83,9,.3);
  --rw-pay-paypal: #1f5fa8;
  --rw-pay-paypal-line: rgba(31,95,168,.35);
  --rw-pay-visa: #1a3a8f;
  --rw-pay-visa-line: rgba(26,58,143,.3);


  /* Startseite V2 */
  --rw-v2-bg: #f6f5f2;
  --rw-v2-bg-alt: #ffffff;
  --rw-v2-bg-band: #efede8;
  --rw-footer-bg: #ecebe7;
  --rw-v2-heading: #141416;
  --rw-v2-text: #3b3934;
  --rw-v2-text-muted: #68645d;
  --rw-v2-line: rgba(20,20,22,.12);
  --rw-v2-line-strong: rgba(20,20,22,.48);
  --rw-v2-accent-hover: #b0763c;
  --rw-v2-accent-text: #8a5a2b;
  --rw-v2-plate: #efede9;
  --rw-v2-media: #e7e5e0;
  --rw-v2-focus: #8a5a2b;

  /* Native Controls */
  --rw-color-scheme: light;
}

/*
 * Dark-Zonen im hellen Modus (plus Foto-Kacheln .rw-ref/.rw-cat/.rw-service__card,
 * per Selektor statt Klasse, siehe Dark-Block oben): Text-Grundfarbe und native Controls zurück auf
 * dunkel. :where() hält die Spezifität bei 0,1,0, damit die Komponenten-Regeln
 * aus design-v15.css (später geladen) weiter gewinnen.
 */
/* (23.11.26) Dark-Zonen und Foto-Kacheln sind im hellen Modus jetzt ebenfalls hell —
   siehe light-mode.css. Die Klasse .rw-dark-zone wirkt nur noch im Dark Mode (= Standard). */

/*
 * color-scheme auf :root im Dark Mode bewusst NICHT gesetzt: das würde heute
 * Scrollbars & Systemdialoge umfärben (sichtbare Änderung). Selects/Checkout
 * nutzen schon var(--rw-color-scheme). Zum Aktivieren (mit Launch des Toggles):
 *   :root:not([data-theme="light"]) { color-scheme: dark; }
 */

/* ═══ Light-Overrides einzelner Komponenten ═══ */
/* Reifenzeilen im Konfigurator: Kartenweiß statt 3-%-Grau, damit die weißen
   Reifenfotos nicht als Kästen auf grauer Zeile stehen (Auswahl-Tönung bleibt,
   .is-selected in design-v15.css kommt später und gewinnt). */
[data-theme="light"] .rw-cfg-tire-row{background:var(--wlf-color-surface)}
/* Konfigurator-Abschluss „Deine Konfiguration“: Verlauf endete in Schwarz 32 %
   (auf Hell ein schmutziges Grau) — hell: Kupfer-Hauch → Kartenweiß */
[data-theme="light"] .rw-cfg-checkout__hero{background:linear-gradient(135deg,var(--rw-accent-tint-10),var(--wlf-color-surface))}

/* ═══ Umschalter im Header (inc/color-scheme.php, header.php) ═══ */
.rw-theme-toggle[hidden]{display:none!important}
.rw-theme-toggle{min-width:44px;min-height:44px;justify-content:center;box-sizing:border-box}
.rw-theme-toggle__icon{display:none}
/* Symbol folgt dem tatsächlichen Schema (html[data-theme], schon vor dem Rendern gesetzt). */
:root[data-theme="light"] .rw-theme-toggle__icon--light,
:root:not([data-theme="light"]) .rw-theme-toggle__icon--dark{display:block}
.rw-theme-toggle:focus-visible{outline:2px solid var(--wlf-color-accent);outline-offset:2px}

/* Hell: noch nicht erreichbare Konfigurator-Schritte lesbar (vorher ~2,9:1) */
:root[data-theme="light"] .rw-cfg-steps__btn:disabled{opacity:.62}

/* Logo: helle Variante (dunkle Schrift) im hellen Modus; Header ist dort hell. */
.rw-logo__img.rw-logo__img--light{display:none}
:root[data-theme="light"] .rw-logo__img.rw-logo__img--dark{display:none}
:root[data-theme="light"] .rw-logo__img.rw-logo__img--light{display:block}
