/* HELLES THEMA (D49, 27.11.2026). Liegt ueber der unveraenderten dunklen Basis (style.css).
   RUECKWEG AUF DUNKEL: diese Datei leer hochladen. Mehr ist nicht noetig.
   Die Praefixe "html"/":root:root" sorgen dafuer, dass auch spaetere <style>-Bloecke der Seiten ueberstimmt werden. */

/* ── Farbtokens ── */
:root:root {
  color-scheme: light;
  --bg:#f5f5f3; --surface:#ffffff; --surface-2:#f0f0ee;
  --white:#15171a;            /* Haupttext (Name aus der dunklen Basis) */
  --muted:#4b4f57; --grey:#5c6068; --light-grey:#4b4f57;
  --border:rgba(15,17,20,.14); --linie:rgba(15,17,20,.14);
  --red-text:#b02300; --gut:#12602e;
}
html body::before { display: none; }

/* Werbeboxen und Dunkel-Elemente bleiben dunkel */
html body .bn { --white:#fff; --muted:#c8cad0; --red-text:#ff5c3a; color:#fff; }

/* Weisse Schrift auf Rot */
html body .header-search button, html body .btn-search, html body .cookie-btn--solid, html body .fav-badge, html body .best-badge,
html body .btn-buy, html body .mode-btn--active, html body .chatbot-msg--user, html body .chatbot-pill { color:#fff; }

/* Kopf, Menue, Auswahllisten */
html body .site-header { background: rgba(255,255,255,.95); }
@media (max-width: 700px) { html body .site-nav.offen { background:#fff !important; } }
html body .lang-sel-btn:hover, html body .chatbot-opt:hover { border-color: rgba(0,0,0,.3); }
html body .lang-opt:hover, html body .brand-ms-item:hover, html body .kopf-suche-liste a:hover, html body .kopf-suche-liste a.akt { background: rgba(0,0,0,.05); }
html body .lang-dropdown-inner, html body .brand-ms-panel, html body .kopf-suche-liste { box-shadow: 0 8px 24px rgba(0,0,0,.15); }
html body .header-foto-status, html body .chatbot-header { background:#fff; }

/* Karten und Felder */
html body .brand-logo-card:hover, html body .shop-logo-card:hover, html body .tire-card:hover { border-color: rgba(0,0,0,.28); }
html body .tire-card:hover { background:#fff; }
html body .tire-card .tire-img, html body.seite-groesse .tire-card img, html body .tire-detail-img img { background:#fff; }
html body .tf, html body .sp2 .shop-price-row { background: var(--surface); }
html body .tf input[type=search], html body .tf select, html body .gs-sheet input, html body .wsb-form input { background:#fff; color: var(--white); }
html body .sp2 .shop-price-row:hover { box-shadow: 0 8px 20px rgba(0,0,0,.12); }
html body .sp2-pill { background:#f0f0ee; }
html body .gs-schalter i { background:#c4c6cb; }
html body .gs-schalter input:checked + i { background: var(--red); }
html body .wsb-seg button { background:#f0f0ee; }

/* Gruen, Gelb, Rot als Schrift: fuer hellen Grund abdunkeln */
html body .gs-treffer, html body .start-ang-rueck, html body .sp2-pill--ok, html body .sp2-spar, html body .shop-price-free,
html body .tag--free, html body .chatbot-online, html body .fz-intro, html body .fz-badge, html body .wsb-heute, html body .ws-heute,
html body .price-trend--down { color: var(--gut) !important; }
html body .start-ang-rueck--leer { color: var(--muted) !important; }
html body .price-trend--up, html body .td-badge--type { color:#a31616; }
html body .sp2-pill--mt { color:#9a2000; }
html body .td-badge--xl { color:#7a4d00; }
html body .kfz-streifen, html body .kfz-streifen a { color: var(--white) !important; }

/* Impressum / Datenschutz (statisches HTML) */
html body > nav { background:#fff; }
html body .revoke-btn { border-color: rgba(0,0,0,.25); }

/* Ergebnis der Kontrastpruefung 27.11. */
html body .sp2 .sp2-logo { color:#fff; background-color:#33363d; }
html body .tf .tf-auf { background:#fff; color:var(--white); }
html body .tf .sort-btn span:not(.tf-x), html body .amz-zeile span { color:var(--muted); }
html body .tf .sort-btn.active span:not(.tf-x) { color:inherit; }
html body .kfz-streifen span { color:var(--red-text) !important; }
html body .kfz-streifen strong span, html body .kfz-streifen .kfz-l:first-of-type, html body .kfz-streifen .kfz-k { color:var(--white) !important; }
html body .ap-hint a, html body .page .page-label, html body .page a, html body .td-brand, html body .td-link-all, html body .sz-card-size .sz-h { color:var(--red-text); }
html body .su-f button, html body .su-foto { background:var(--red-btn, #d92d0c); }
html body .tf .sort-btn span:not(.tf-x), html body .tf .sort-btn small, html body .amz-zeile span, html body .amz-zeile small { opacity:1 !important; color:var(--muted) !important; }
html body .tf .sort-btn.active span:not(.tf-x) { color:inherit !important; }
html body > nav .logo-text span { color:var(--red-text); }
/* Nachpruefung mit Live-Daten und nach Eingaben (27.11.) */
html body .mt-hinweis { color:var(--gut) !important; }
html body .wsb-cta, html body .wsb .wsb-cta, html body #ws-form button, html body .ws-form button, html body .results-layout a[style*="background:var(--red)"], html body .chatbot-pill { background:var(--red-btn, #d92d0c) !important; color:#fff; }
html body .wsb-form button, html body .wsb-knoepfe button, html body .wsb-tag, html body .wsb div > button.an, html body .wsb-karte button, html body [class^="wsb"] button[style*="--red"] { background:var(--red-btn, #d92d0c) !important; color:#fff; }
html body .wsb, html body .wz { --red: var(--red-btn, #d92d0c); }
html body .ws-badge, html body .ws-wahl-btn, html body .ws-item .ws-wahl-btn, html body #ws-karte button, html body .ws-wahl .ws-aktionen a { background:var(--red-btn, #d92d0c) !important; color:#fff; }
html body a.bn { display:block; } /* sonst wird der dunkle Kasten nicht gezeichnet (27.11.) */
/* 27.11., Handy-Meldungen */
@media (max-width:700px){ html body .td-hero .td-info{ flex:1 1 100%; } html body .sp2 .shop-price-row.shop-price-row--best{ padding-top:36px; } }
html body img[src*="/img/karte/"]{ filter:none !important; } /* helle Karte */
/* Shop-Karte am Handy: Schilder ueber die volle Breite, nicht neben dem Preis gequetscht */
@media (max-width:600px){
  html body .sp2 .shop-price-row .sp2-main{ display:contents; }
  html body .sp2 .shop-price-row .sp2-main .shop-price-name{ grid-column:2; grid-row:1; align-self:center; }
  html body .sp2 .shop-price-row .sp2-main .shop-price-detail{ grid-column:1 / -1; grid-row:2; display:flex; flex-wrap:wrap; gap:6px; }
  html body .sp2 .shop-price-row .sp2-logo{ grid-column:1; grid-row:1; align-self:center; }
  html body .sp2 .shop-price-row .btn-buy{ grid-row:3; }
}
/* 27.11. (D61): ohne Symbole, Knoepfe weich mit Schatten (Stil A), Infos als Text */
.feat-icon, .hs-icon { display:none !important; }
html body .sort-btn:not(.active), html body .gs-saison button:not(.an):not(.active):not([aria-pressed=true]) { background:#fff; border:1px solid #e6e6e2; border-radius:12px; box-shadow:0 1px 2px rgba(0,0,0,.13),0 6px 14px rgba(0,0,0,.09); }
html body .sort-btn.active { background:linear-gradient(#e5381a,#c62a0e); border-color:transparent; border-radius:12px; box-shadow:0 8px 18px rgba(217,45,15,.35); color:#fff; }
html body .btn-buy, html body .gs-los, html body .wsb-cta, html body .td-actions .btn-buy { background:linear-gradient(#e5381a,#c62a0e); border-radius:12px; box-shadow:0 8px 20px rgba(217,45,15,.34); }
html body .btn-buy:active, html body .gs-los:active, html body .wsb-cta:active, html body .sort-btn:active { transform:translateY(1px); box-shadow:0 2px 6px rgba(0,0,0,.2); }
html body .gs-kamera { font-size:14px; font-weight:700; background:#fff; border:1px solid #e6e6e2; border-radius:10px; padding:8px 12px; box-shadow:0 1px 2px rgba(0,0,0,.13),0 4px 10px rgba(0,0,0,.08); }
html body .sp2 .sp2-pill, html body .tire-tags .tag { background:none; border:0; border-radius:0; box-shadow:none; padding:2px 0; }
html body .sp2 .shop-price-detail, html body .tire-tags { column-gap:0; row-gap:2px; }
html body .sp2 .sp2-pill:not(:last-child), html body .tire-tags .tag:not(:last-child) { margin-right:10px; padding-right:10px; border-right:1px solid #d5d5d0; }
html body .gs-saison { gap:8px; } html body .gs-saison button.an { background:linear-gradient(#e5381a,#c62a0e); color:#fff; border:0; border-radius:12px; box-shadow:0 8px 18px rgba(217,45,15,.35); }
html body.seite-groesse .sort-bar a.sort-btn { background:#fff !important; border:1px solid #e6e6e2 !important; border-radius:12px !important; box-shadow:0 1px 2px rgba(0,0,0,.13),0 6px 14px rgba(0,0,0,.09) !important; color:#15171a !important; }
html body.seite-groesse .sort-bar a.sort-btn.active { background:linear-gradient(#e5381a,#c62a0e) !important; border-color:transparent !important; box-shadow:0 8px 18px rgba(217,45,15,.35) !important; color:#fff !important; }
html body .wsb-seg button { border:1px solid #e6e6e2; border-radius:12px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.13),0 6px 14px rgba(0,0,0,.09); }
html body .wsb-seg button.an { background:linear-gradient(#e5381a,#c62a0e); border-color:transparent; color:#fff; box-shadow:0 8px 18px rgba(217,45,15,.35); }
/* D62: Shop-Symbol statt Kuerzel */
html body .sp2 .sp2-logo--img { background:#fff; border:1px solid #e6e6e2; box-shadow:0 1px 3px rgba(0,0,0,.1); }
html body .sp2 .sp2-logo--img img { width:30px; height:30px; object-fit:contain; }
html body .sp2 .sp2-logo--leer { background:none; box-shadow:none; }
/* Shop ohne Symbol: Name rueckt nach links, kein leerer Platz */
html body .sp2 .shop-price-row .sp2-logo--leer { display:none; }
html body .sp2 .shop-price-row:has(.sp2-logo--leer) .sp2-main { grid-column:1 / 3; }
@media (max-width:600px){ html body .sp2 .shop-price-row:has(.sp2-logo--leer) .sp2-main .shop-price-name { grid-column:1 / 3; } }
/* D64: Awin-Wortlogo statt Name */
html body .sp2 .sp2-wortlogo { display:block; height:34px; width:auto; max-width:140px; object-fit:contain; object-position:left center; }
html body .sp2 .sp2-vorlesen { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
/* AT-Ableger mit gleichem Logo wie DE kenntlich machen */
html body .sp2 .shop-price-name:has(img[src*="reifen-com-at."]), html body .sp2 .shop-price-name:has(img[src*="reifen-pneus-online-at."]) { display:flex; align-items:center; gap:8px; }
html body .sp2 .shop-price-name:has(img[src*="reifen-com-at."])::after, html body .sp2 .shop-price-name:has(img[src*="reifen-pneus-online-at."])::after { content:"AT"; font-size:13px; font-weight:800; color:#15171a; }
