/*
Theme Name: WB Theme
Theme URI: https://www.wellnessbase.de/shop
Author: 12Werk
Author URI: https://12werk.de
Description: Bademäntel & Wellness-Textilien. Dunkles Warmschwarz, Waldgrün, Cognac und Gold — Schwestertheme zu mos-theme. Keine Preisanzeige: ohne Creators API lassen sie sich nicht aktualisieren, alle Ausgangslinks laufen über trk.php.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: wb
*/

:root {
  --grund:        #141714;   /* warmes Off-Black */
  --flaeche:      #1A1F19;   /* Karte */
  --flaeche-hover:#242A22;
  --linie:        #2A3228;
  --linie-mid:    #3F4A39;

  --primaer:      #5B8457;   /* Waldgrün, auf Dunkel lesbar */
  --primaer-hell: #9AB86A;
  --primaer-tief: #2F4A2E;

  --erde:         #8B5E3C;   /* Cognac */
  --erde-hell:    #A97E5A;

  --gold:         #C9A961;   /* sparsam, nur für Handlungsaufrufe */

  --text:         #EDE7DA;
  --text-leise:   #A39A88;

  --kopf: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --lauf: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", serif;

  --r-sm: 2px; --r-md: 4px; --r-lg: 8px;
  --breite: 1200px;
  --uebergang: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--grund);
  color: var(--text);
  font-family: var(--lauf);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--kopf); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.1rem; }

a { color: var(--primaer-hell); text-decoration: none; transition: color var(--uebergang); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }
.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

.augbraue {
  font-family: var(--kopf); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primaer-hell); margin-bottom: .9em;
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block; background: var(--primaer); color: #F3F1E8;
  font-family: var(--kopf); font-size: .82rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .95em 1.9em; border-radius: var(--r-md); border: 0; cursor: pointer;
  transition: background var(--uebergang);
}
.knopf:hover { background: var(--primaer-hell); color: var(--grund); }
.knopf--leise {
  background: transparent; color: var(--text-leise);
  border: 1px solid var(--linie-mid);
}
.knopf--leise:hover { background: var(--flaeche-hover); color: var(--text); }

/* ---------- Kopf ---------- */
.kopf { border-bottom: 1px solid var(--linie); background: var(--grund); position: sticky; top: 0; z-index: 50; }
.kopf__innen {
  max-width: var(--breite); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.marke { font-family: var(--kopf); font-size: 1.05rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.marke:hover { color: var(--text); }
.marke__zusatz { display: block; font-size: .62rem; letter-spacing: .2em; color: var(--erde-hell); text-transform: uppercase; margin-top: 3px; font-weight: 400; }
.navi ul { display: flex; gap: 26px; list-style: none; }
.navi a { font-family: var(--kopf); font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-leise); }
.navi a:hover { color: var(--primaer-hell); }

/* ---------- Bühne ---------- */
.buehne { padding: clamp(64px, 11vw, 130px) 0; text-align: center; border-bottom: 1px solid var(--linie); }
.buehne h1 { max-width: 16ch; margin: 0 auto; font-family: var(--serif); font-weight: 400; }
.buehne h1 em { color: var(--gold); font-style: italic; }
.buehne__text { color: var(--text-leise); max-width: 46ch; margin: 1.1em auto 2em; }

/* ---------- Themenwelten ---------- */
.welten { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 56px 0; }
.welt {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-lg); padding: 26px 24px 30px; transition: border-color var(--uebergang), background var(--uebergang);
}
.welt:hover { border-color: var(--linie-mid); background: var(--flaeche-hover); }
.welt h3 { margin-bottom: .5em; }
.welt h3 a { color: var(--text); }
.welt p { color: var(--text-leise); font-size: .94rem; }

/* ---------- Produktraster ---------- */
.raster { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); padding: 40px 0; }
.produkt {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--uebergang);
}
.produkt:hover { border-color: var(--linie-mid); }
.produkt__bild { aspect-ratio: 1/1; object-fit: contain; background: #F3F1E8; padding: 14px; width: 100%; }
.produkt__inhalt { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: .5em; flex: 1; }
.produkt__marke { font-family: var(--kopf); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--erde-hell); }
.produkt__titel { font-size: .98rem; line-height: 1.4; }
.produkt__titel a { color: var(--text); }
.produkt__titel a:hover { color: var(--primaer-hell); }
.produkt__fuss { margin-top: auto; padding-top: .8em; }

/* Bewusst keine Preisangabe — ohne API nicht aktualisierbar,
   und Amazon verlangt aktuelle Preise oder gar keine. */
.produkt__hinweis { font-size: .76rem; color: var(--text-leise); }

/* ---------- Einzelprodukt ---------- */
.einzel { display: grid; gap: 44px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding: 48px 0 72px; }
.einzel__bild { background: #F3F1E8; border-radius: var(--r-lg); padding: 28px; }
.einzel h1 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-family: var(--serif); font-weight: 400; line-height: 1.3; }
.einzel__text { margin: 1.4em 0; }
.einzel__text ul { padding-left: 1.2em; color: var(--text-leise); }
.einzel__text li { margin-bottom: .55em; }
.einzel__hinweis { font-size: .8rem; color: var(--text-leise); margin-top: 1.4em; border-top: 1px solid var(--linie); padding-top: 1.2em; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 4px 0 30px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 7px; font-size: .88rem;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 999px;
  padding: .45em 1.05em; color: var(--text);
}
.chip:hover { border-color: var(--primaer); color: var(--primaer-hell); }
.chip span { color: var(--text-leise); font-size: .82em; }

/* ---------- Fuß ---------- */
.fuss { background: var(--flaeche); border-top: 1px solid var(--linie); margin-top: 72px; padding: 52px 0 34px; color: var(--text-leise); font-size: .9rem; }
.fuss a { color: var(--text-leise); }
.fuss a:hover { color: var(--primaer-hell); }
.fuss__reihen { display: flex; flex-wrap: wrap; gap: 44px; justify-content: space-between; }
.fuss ul { list-style: none; }
.fuss li { margin-bottom: .45em; }

@media (max-width: 860px) {
  .einzel { grid-template-columns: 1fr; gap: 28px; }
  .navi { display: none; }
  .huelle { padding: 0 18px; }
}
