/* Webkitap-Shop – Gestaltung Go-live 11/2026 (Zweig shop-design-golive).
   Hell, warm, ruhig; Bücher und Cover im Mittelpunkt. Nur Darstellung: liegt nach tokens.css,
   komponenten.css, shop.css und recht.css und überschreibt dort nur Aussehen, nie Verhalten.
   Farben ausschließlich über Tokens (docs/design/webkitap-tokens.json), damit der dunkle Modus
   (data-theme="dark") weiter trägt. Kontraste: docs/design/kontraste-golive.md.

   Schriften: Source Serif 4 (vorhanden, lokal) nur für Überschriften; Poppins (vorhanden, lokal)
   für Navigation, Preise, Produktangaben und Fließtext. Kleinste Schrift 12 px, Fließtext 15–16 px. */

/* --- Grundlagen ------------------------------------------------------------------------------ */
.wk [hidden] { display: none !important; }      /* .wk-card u. a. setzen display und hoben hidden auf */
body.wk { background: var(--surface); color: var(--ink); }
.wk { font-size: 15px; line-height: 1.55; }
.wk h1, .wk h2, .wk h3 { color: var(--heading); }
.wk :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ws-textlink { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.ws-textlink:hover { color: var(--brand-strong); }
.ws-seitentitel { font: 600 30px/36px var(--font-display); color: var(--heading); letter-spacing: -0.005em; }
.ws-hinweis { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.ws-krumen { font-size: 13px; margin-bottom: var(--space-2); }
.ws-krumen a { color: var(--link); font-weight: 500; text-decoration: none; }
.ws-krumen a:hover { text-decoration: underline; }
@media (max-width: 767px) { .ws-seitentitel { font-size: 26px; line-height: 32px; } }

/* Knöpfe: ruhige Ecken, klare Flächen, keine Bewegung außer Farbe */
.wk-btn { border-radius: var(--radius-md); font: 600 15px/20px var(--font-sans); transition: background-color var(--duration-fast) ease-out, border-color var(--duration-fast) ease-out, color var(--duration-fast) ease-out; }
.wk-btn:active { transform: none; }
.wk-btn--primary { background: var(--brand); color: var(--on-brand); }
.wk-btn--primary:hover { background: var(--brand-strong); }
.wk-btn--secondary { background: var(--surface-raised); color: var(--heading); border-color: var(--line-strong); }
.wk-btn--secondary:hover { border-color: var(--heading); }
.wk-btn--ghost { color: var(--heading); }
.wk-btn--ghost:hover { background: var(--sunken); }

/* Eingabefelder überall gleich: weiß, 1 px Rand (3,6:1), 8 px Ecken, 48 px hoch */
.ws-formfeld__feld, .ws-formfeld select, .ws-zugang__feld, .ws-filter__suche,
.ws-konto input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ws-konto select, .ws-bereich input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  min-height: 48px; padding: 10px 14px; font: 400 16px/24px var(--font-sans); color: var(--ink);
  background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  width: 100%; box-sizing: border-box;
}
.ws-formfeld__feld:focus, .ws-formfeld select:focus, .ws-filter__suche:focus,
.ws-konto input:focus, .ws-bereich input:focus, .ws-konto select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}
.ws-formfeld { gap: 6px; }
.ws-formfeld__label { font: 500 14px/20px var(--font-sans); color: var(--heading); }
.ws-fehler { border-radius: var(--radius-md); }

/* Passwort mit Auge im Feld (konto/_k.html): Knopf bleibt derselbe, nur als Symbol */
.ws-passwort { position: relative; }
.ws-passwort .ws-formfeld__feld { padding-right: 52px; }
.ws-passwort__auge {
  position: absolute; top: 2px; right: 2px; bottom: 2px; width: 46px;
  display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-muted);
  border-radius: var(--radius-md); cursor: pointer;
}
.ws-passwort__auge:hover { color: var(--heading); }
.ws-passwort__auge svg { width: 22px; height: 22px; }
.ws-passwort__auge .ws-passwort__zu { display: none; }
.ws-passwort__auge[aria-pressed="true"] .ws-passwort__offen { display: none; }
.ws-passwort__auge[aria-pressed="true"] .ws-passwort__zu { display: block; }

/* Hinweise: flach, ohne Rahmen */
.wk-notice { border-radius: var(--radius-md); }

/* --- Neuigkeiten-Leiste: schmal, Nachtblau, Gold nur als Akzent ------------------------------- */
.ws-news { background: var(--surface-brand); font: 500 13px/18px var(--font-sans); }
.ws-news__innen { min-height: 36px; }
.ws-news__eintrag { padding: 8px 0; }
.ws-news__eintrag b { color: var(--gold); }
.ws-news__eintrag a { text-decoration-color: var(--gold); }
.ws-news__eintrag a:hover { color: var(--gold); }
.ws-news__nav { width: 36px; height: 36px; margin: 0; }
.ws-news__nav:hover { background: rgba(255, 255, 255, 0.1); }
.ws-news :focus-visible { outline-color: var(--gold); }
@media (max-width: 599px) {
  .ws-news__eintrag a { display: none; }          /* Ziel steht auch in der Kategorienleiste */
  .ws-news__nav { width: 40px; }
}

/* --- Kopfzeile -------------------------------------------------------------------------------- */
.ws-kopf { background: var(--surface-raised); }
.ws-kopf.ist-gescrollt { box-shadow: 0 1px 0 var(--line), 0 4px 12px rgba(25, 38, 59, 0.06); }
.ws-kopf .wk-header { background: var(--surface-raised); border-bottom: 0; gap: var(--space-6); min-height: 76px; }
.ws-kopf .wk-header__logo, .ws-kopf--ruhig .wk-header__logo { height: 44px; }
.ws-kopf .wk-search {
  flex: 1; max-width: 640px; min-height: 48px; padding: 0 var(--space-2) 0 var(--space-4);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
}
.ws-kopf .wk-search:hover { border-color: var(--heading); }
.ws-kopf .wk-search:focus-within {
  background: var(--surface-raised); border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}
.ws-kopf .wk-search svg { color: var(--heading); }
.ws-kopf .wk-search input { font-size: 16px; }
.ws-kopf .wk-search input::placeholder { color: var(--ink-muted); }
.ws-kopf .wk-header__nav .wk-btn { color: var(--heading); border-radius: var(--radius-md); }
.ws-kopf .wk-header__nav .wk-btn:hover { background: var(--sunken); }
.ws-kopf .wk-btn__text { font: 500 14px/20px var(--font-sans); }
.wk-cart-count { background: var(--brand); color: var(--on-brand); }
.ws-merk-zahl { background: #b8324a; color: #fff; }
.ws-dil { font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.ws-dil a, .ws-dil button { color: var(--ink-muted); min-height: 40px; padding: 6px; }
.ws-dil a[aria-current="true"], .ws-dil button[aria-current="true"] { color: var(--heading); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* Kategorienleiste: eine Navigation für alle Seiten */
.ws-kopf .wk-subnav { gap: var(--space-1); background: var(--surface-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ws-kopf .wk-subnav a {
  font: 500 14px/20px var(--font-sans); color: var(--heading); padding: 12px 12px 10px; border-bottom: 2px solid transparent;
}
.ws-kopf .wk-subnav a:first-child { padding-left: 0; }
.ws-kopf .wk-subnav a:hover { color: var(--link); }
.ws-kopf .wk-subnav a[aria-current="page"] { color: var(--heading); font-weight: 600; border-bottom-color: var(--gold); }
.ws-kopf__sicher { color: var(--ink-muted); font-weight: 500; }

@media (max-width: 767px) {
  /* Mobil: Logo-Zeile und Suche bleiben oben stehen, die Kategorienleiste scrollt mit */
  .ws-kopf:not(.ws-kopf--ruhig) { display: contents; }
  .ws-kopf .wk-header { position: sticky; top: 0; z-index: 40; min-height: 56px; gap: 0 var(--space-1);
    padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
  .ws-kopf .wk-header > a:first-child { min-height: 56px; margin-right: auto; }
  .ws-kopf .wk-header__logo { height: 34px; }
  .ws-kopf .wk-search { min-height: 46px; }
  .ws-kopf .wk-header__nav { margin-left: 0; }
  .ws-kopf .wk-header__nav .wk-btn { min-width: 44px; min-height: 44px; padding: 0 8px; }
  .ws-kopf .ws-dil { margin-left: 0; }
  .ws-kopf .wk-subnav { gap: var(--space-2); padding-top: 10px; padding-bottom: 10px; border-top: 0; }
  .ws-kopf .wk-subnav a, .ws-kopf .wk-subnav a:first-child {
    padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface);
    min-height: 40px; display: inline-flex; align-items: center;
  }
  .ws-kopf .wk-subnav a[aria-current="page"] { background: var(--heading); color: var(--surface-raised); border-color: var(--heading); }
  .ws-kopf--ruhig .wk-header__logo { height: 32px; }
}

/* --- Startseite ------------------------------------------------------------------------------- */
.ws-start { display: grid; gap: var(--space-6); padding-block: var(--space-6) var(--space-2); align-items: stretch; }
@media (min-width: 1024px) {
  .ws-start { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); padding-top: var(--space-8); }
}
.ws-start__kopf { display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); min-width: 0; }
.ws-start__kopf h1 { font: 600 40px/46px var(--font-display); letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.ws-start__unter { margin: 0; font: 400 17px/26px var(--font-sans); color: var(--ink); max-width: 46ch; }
.ws-zusagen { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.ws-zusagen li {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); align-items: start;
  font: 400 14px/21px var(--font-sans); color: var(--ink);
}
.ws-zusagen svg { width: 22px; height: 22px; color: var(--brand); margin-top: 0; }
.ws-zusagen b { font-weight: 600; color: var(--heading); }
.ws-start__mehr { margin: 0; font-size: 14px; }
@media (max-width: 767px) {
  .ws-start { gap: var(--space-4); padding-top: var(--space-4); }
  .ws-start__kopf { gap: var(--space-2); }
  .ws-start__kopf h1 { font-size: 28px; line-height: 34px; }
  .ws-start__unter { font-size: 15px; line-height: 22px; }
  .ws-zusagen li { font-size: 13px; line-height: 19px; }
}

/* Kategorienkarten mit Covern, helle Pastelltöne; Cover nie beschnitten, nicht gedreht */
.ws-banner { padding: 0; }
.ws-banner__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (min-width: 768px) { .ws-banner__raster { gap: var(--space-4); } }
.ws-banner__kachel {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: var(--space-2);
  min-height: 0; padding: var(--space-4); border-radius: var(--radius-lg);
  color: var(--heading); text-decoration: none; overflow: hidden;
  transition: filter var(--duration-fast) ease-out;
}
.ws-banner__kachel:hover { filter: brightness(0.97); }
.ws-banner--sky { background: var(--pastel-1); }
.ws-banner--ok { background: var(--pastel-2); }
.ws-banner--wait { background: var(--pastel-3); }
.ws-banner--brand { background: var(--pastel-4); }
.ws-banner__text { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.ws-banner__name { font: 600 19px/24px var(--font-display); color: var(--heading); }
.ws-banner__mehr { font: 500 13px/18px var(--font-sans); color: var(--link); }
.ws-banner__kachel:hover .ws-banner__mehr { text-decoration: underline; }
.ws-banner__covers { display: flex; align-items: flex-end; justify-content: flex-start; gap: 10px; padding: 0; min-height: 0; }
.ws-banner__covers img {
  display: block; height: 112px; width: auto; max-width: 30%; aspect-ratio: auto; object-fit: contain; object-position: bottom;
  border-radius: 2px; box-shadow: var(--shadow-cover); background: transparent; transform: none;
}
.ws-banner__covers img + img { margin-left: 0; }
.ws-banner__covers img:nth-child(n) { transform: none; }
@media (min-width: 1024px) { .ws-banner__covers img { height: 92px; } }
@media (max-width: 767px) {
  /* Mobil: Kategorienkarten als eine wischbare Zeile, damit das Sortiment früher sichtbar ist */
  .ws-banner__raster {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: var(--space-3);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--space-4) * -1); padding-inline: var(--space-4); scroll-padding-inline: var(--space-4);
  }
  .ws-banner__raster::-webkit-scrollbar { display: none; }
  .ws-banner__kachel { padding: var(--space-3); gap: var(--space-2); scroll-snap-align: start; }
  .ws-start__mehr { display: none; }   /* „Nasıl teslim ediyoruz“ steht in der Kategorienleiste */
  .ws-banner__name { font-size: 16px; line-height: 20px; }
  .ws-banner__mehr { display: none; }
  .ws-banner__covers { gap: 6px; }
  .ws-banner__covers img { height: 64px; }
  .ws-banner__covers img:nth-child(3) { display: none; }
}

/* Reihen: Überschrift und „Alle anzeigen“ in einer Zeile, darunter das Sortiment */
.ws-reihe, .ws-lager-neu, .ws-mehr { padding-block: var(--space-6) var(--space-2); }
.ws-seite-start .ws-reihe, .ws-seite-start .ws-lager-neu {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: var(--space-4);
}
.ws-seite-start .ws-reihe > .ws-seitentitel, .ws-seite-start .ws-lager-neu > .ws-seitentitel {
  grid-column: 1; font-size: 24px; line-height: 30px; margin: 0 0 var(--space-4);
}
.ws-seite-start .ws-reihe > .ws-mehr-link, .ws-seite-start .ws-lager-neu > .ws-mehr-link {
  grid-column: 2; grid-row: 1; margin: 0; font-size: 14px; white-space: nowrap;
}
.ws-seite-start .ws-reihe > .wk-grid, .ws-seite-start .ws-lager-neu > .wk-grid,
.ws-seite-start .ws-reihe > .ws-kat__kacheln { grid-column: 1 / -1; }
.ws-mehr-link .ws-textlink { font-weight: 500; }
@media (min-width: 1100px) {
  .ws-seite-start .ws-raster { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .ws-seite-start .ws-reihe > .ws-seitentitel, .ws-seite-start .ws-lager-neu > .ws-seitentitel { font-size: 21px; line-height: 26px; margin-bottom: var(--space-3); }
  /* Startseite mobil: jede Reihe wischt waagerecht, so sieht man viele Kategorien schnell */
  .ws-seite-start .wk-grid.ws-raster {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%;
    gap: var(--space-3); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--space-4) * -1); padding-inline: var(--space-4); scroll-padding-inline: var(--space-4);
    padding-bottom: var(--space-2); scrollbar-width: none;
  }
  .ws-seite-start .ws-raster::-webkit-scrollbar { display: none; }
  .ws-seite-start .ws-raster > .ws-karte { scroll-snap-align: start; }
}

/* --- Buchkarten (besonders wichtig) ------------------------------------------------------------
   Einheitliche Coverfläche 2:3, Cover in originalem Seitenverhältnis unten bündig (wie im Regal),
   nichts beschnitten oder verzerrt; kaum Rahmen, Schatten nur am Buch selbst. */
.wk-grid.ws-raster { gap: var(--space-6) var(--space-4); grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
@media (min-width: 1100px) { .ws-liste .ws-raster, .ws-suche .ws-raster { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
@media (max-width: 599px) { .wk-grid.ws-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5, 20px) var(--space-3); } }
.wk-card.ws-karte {
  gap: 6px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.wk-card.ws-karte:hover { box-shadow: none; }
.ws-karte__link { border-radius: var(--radius-md); }
.ws-karte__link:focus-visible { outline-offset: 4px; }
.ws-karte .wk-cover {
  display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 2 / 3;
  background: transparent; box-shadow: none; border-radius: 0; overflow: visible;
  margin-bottom: var(--space-2);
}
.ws-karte .wk-cover img {
  width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 2px; box-shadow: var(--shadow-cover); background: var(--surface-raised);
  transition: transform var(--duration-base) ease-out;
}
.ws-karte:hover .wk-cover img { transform: translateY(-3px); }
/* Ersatz (Titel auf Fläche) nur, wenn kein Bild da ist oder es nicht lädt (shop.js/onerror entfernt es) */
.ws-cover:has(img) .ws-cover__ersatz { visibility: hidden; }
.ws-karte .ws-cover__ersatz, .ws-karte .wk-cover--empty {
  border-radius: 2px; background: var(--pastel-1); color: var(--heading); padding: var(--space-3);
  box-shadow: var(--shadow-cover);
}
.ws-karte .wk-cover--empty { width: 100%; height: 100%; justify-content: space-between; align-items: stretch; flex-direction: column; }
.ws-cover__ersatz strong, .wk-cover--empty strong { font: 600 15px/19px var(--font-display); color: var(--heading); }
.ws-cover__ersatz span, .wk-cover--empty span { font: 500 12px/16px var(--font-sans); color: var(--ink-muted); }
.ws-karte .wk-card__body { gap: 2px; padding: 0; }
.ws-karte .wk-card__title {
  font: 600 15px/20px var(--font-sans); color: var(--heading); min-height: 40px;
  -webkit-line-clamp: 2; letter-spacing: 0;
}
.ws-karte .wk-card__meta { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.ws-karte .wk-avail { margin-top: 4px; }
.ws-karte .wk-card__foot { padding-top: var(--space-2); align-items: center; }
.ws-karte .wk-price__now { font: 700 17px/22px var(--font-sans); color: var(--heading); }
.ws-karte .wk-card__foot .wk-btn--primary { width: 44px; min-height: 40px; padding: 0; }
.ws-karte .wk-card__foot .wk-btn--secondary { min-height: 40px; padding: 0 var(--space-3); font-size: 13px; }
.ws-karte .wk-card__foot .wk-btn svg { width: 20px; height: 20px; }
.ws-rest { font: 600 12px/16px var(--font-sans); color: var(--wait); margin-top: 2px; }

/* Verfügbarkeit: Text mit Symbol statt farbiger Marke */
.wk-avail { padding: 0; background: transparent; border-radius: 0; font: 500 13px/18px var(--font-sans); letter-spacing: 0; gap: 5px; }
.wk-avail--now, .wk-avail--spaeter, .wk-avail--none { background: transparent; }
.wk-avail--now { color: var(--ok); }
.wk-avail--spaeter { color: var(--wait); }
.wk-avail--none { color: var(--ink-muted); }
.wk-avail small { font-weight: 400; color: var(--ink-muted); }
.wk-avail svg { width: 15px; height: 15px; }

/* Merken-Herz: klein, hell, oben rechts auf der Coverfläche */
.ws-karte .ws-merken {
  top: 6px; right: 6px; width: 40px; height: 40px; background: color-mix(in srgb, var(--surface-raised) 92%, transparent);
  box-shadow: 0 1px 3px rgba(25, 38, 59, 0.18); color: var(--heading);
}
.ws-karte .ws-merken svg { width: 20px; height: 20px; }
.ws-merken.ist-gemerkt, .ws-karte .wk-btn.ist-gemerkt { color: #b8324a; }

/* Neu-Schild: dezent in Gold, Text Nachtblau (8,1:1) */
.ws-schild { top: 8px; left: 8px; padding: 2px 8px; border-radius: var(--radius-sm); font: 600 12px/16px var(--font-sans); letter-spacing: 0.01em; }
.ws-schild--neu { background: var(--gold); color: #19263b; }
.ws-schild--set { background: var(--heading); color: var(--surface-raised); }

/* --- Listen, Suche, Kategorien -------------------------------------------------------------- */
.ws-liste, .ws-suche { padding-block: var(--space-6) var(--space-12); }
.ws-sortierung { gap: var(--space-2); margin-bottom: var(--space-6); }
.ws-sortierung a {
  min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  font: 500 14px/20px var(--font-sans); color: var(--heading); background: var(--surface-raised);
}
.ws-sortierung a:hover { border-color: var(--heading); color: var(--heading); }
.ws-sortierung a[aria-current="true"] { background: var(--heading); border-color: var(--heading); color: var(--surface-raised); }
.ws-filter__titel { font: 600 13px/18px var(--font-sans); color: var(--heading); text-transform: none; letter-spacing: 0; }
.ws-filter__link { font-size: 14px; min-height: 40px; color: var(--ink); }
.ws-filter__link--aktiv { color: var(--link); }
.ws-filter__box { border-color: var(--line); border-radius: var(--radius-lg); }
.ws-filter__aktiv li { border-radius: var(--radius-md); border-color: var(--line-strong); background: var(--surface-raised); }
.ws-blaettern__nr { border-radius: var(--radius-md); }
.ws-blaettern__nr--aktiv { background: var(--heading); color: var(--surface-raised); }
.ws-blaettern a { color: var(--link); }
@media (max-width: 767px) {
  .ws-sortierung { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--space-4) * -1); padding-inline: var(--space-4); }
  .ws-sortierung::-webkit-scrollbar { display: none; }
  .ws-sortierung a { flex: none; }
  .ws-liste, .ws-suche { padding-top: var(--space-4); }
}

.ws-kat__kacheln { gap: var(--space-3); }
.ws-kat__kachel { border: 0; border-radius: var(--radius-lg); background: var(--pastel-1); min-height: 96px; }
.ws-kat__kacheln li:nth-child(4n+2) .ws-kat__kachel { background: var(--pastel-2); }
.ws-kat__kacheln li:nth-child(4n+3) .ws-kat__kachel { background: var(--pastel-3); }
.ws-kat__kacheln li:nth-child(4n+4) .ws-kat__kachel { background: var(--pastel-4); }
.ws-kat__kachel:hover { filter: brightness(0.97); }
.ws-kat__name { font: 600 19px/24px var(--font-display); color: var(--heading); }
.ws-kat__zahl { color: var(--ink-muted); font-size: 13px; }
.ws-kat__titel { font: 600 22px/28px var(--font-display); color: var(--heading); }
.ws-kat__chip { border-radius: var(--radius-md); border-color: var(--line); background: var(--surface-raised); color: var(--heading); min-height: 40px; }
.ws-kat__chip:hover { border-color: var(--heading); color: var(--heading); }

/* Leere Zustände und Fehlerseite */
.ws-leer { padding-block: var(--space-12) var(--space-16); max-width: 640px; }
.ws-leer .wk-search { max-width: 520px; margin: var(--space-6) 0; background: var(--surface-raised); border-radius: var(--radius-md); border-color: var(--line-strong); }
.ws-leer .wk-search__input { flex: 1; min-width: 0; min-height: 46px; border: 0; background: transparent; font: 400 16px/24px var(--font-sans); color: var(--ink); outline: none; }
.ws-suche .ws-hinweis { margin-bottom: var(--space-4); }

/* --- Produktseite ----------------------------------------------------------------------------- */
.ws-produkt { gap: var(--space-6) var(--space-12); padding-block: var(--space-4) var(--space-12); }
.ws-produkt__bild .wk-cover {
  display: flex; align-items: flex-end; justify-content: center; aspect-ratio: auto; background: transparent;
  box-shadow: none; border-radius: 0; overflow: visible; min-height: 200px;
}
.ws-produkt__bild .wk-cover img {
  width: auto; height: auto; max-width: 100%; max-height: 560px; object-fit: contain;
  border-radius: 2px; box-shadow: 0 2px 4px rgba(40, 30, 20, 0.12), 0 12px 28px rgba(40, 30, 20, 0.14);
}
.ws-produkt__bild .ws-cover__ersatz, .ws-produkt__bild .wk-cover--empty { aspect-ratio: 2 / 3; position: relative; width: 100%; background: var(--pastel-1); border-radius: 2px; }
.ws-produkt__bild .ws-cover:has(img) .ws-cover__ersatz { position: absolute; }
@media (min-width: 900px) {
  .ws-produkt { grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); }
  .ws-produkt__bild { top: 150px; padding: var(--space-6); background: var(--surface-raised); border-radius: var(--radius-lg); border: 1px solid var(--line); }
}
.ws-produkt__info { gap: var(--space-4); max-width: 600px; }
.ws-produkt__titel { font: 600 34px/40px var(--font-display); color: var(--heading); }
.ws-produkt__wer { font: 400 16px/24px var(--font-sans); color: var(--ink-muted); }
.ws-produkt__wer span:first-child { color: var(--ink); font-weight: 500; }
.ws-produkt__status .wk-avail { font-size: 14px; }
.ws-produkt .wk-price--l .wk-price__now { font: 700 30px/36px var(--font-sans); color: var(--heading); }
.ws-produkt .wk-price__note { font: 400 13px/18px var(--font-sans); letter-spacing: 0; }
.ws-produkt__kauf .wk-btn { min-height: 52px; font-size: 16px; }
.ws-produkt__kauf .wk-btn--primary:not([disabled]) { max-width: 380px; }
.ws-merken--gross { min-height: 52px; border-radius: var(--radius-md); color: var(--heading); background: var(--surface-raised); }
.wk-promise { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); }
.wk-promise__seal { background: var(--brand-tint); color: var(--brand); }
.wk-promise__date b { color: var(--heading); }
.wk-promise__pay { font-weight: 500; }
.ws-angaben { font-size: 14px; border-top-color: var(--line); }
.ws-produkt__text h2, .ws-ausgaben .ws-seitentitel, .ws-mehr .ws-seitentitel { font: 600 24px/30px var(--font-display); color: var(--heading); }
.ws-fliesstext { font-size: 16px; line-height: 27px; }
.ws-variante { border-radius: var(--radius-md); }
.ws-variante.is-aktiv { border-color: var(--heading); }
.ws-variante__marke--lager { color: var(--link); }
.ws-schneller, .ws-ausgabe { border-radius: var(--radius-md); border-color: var(--line); }
.ws-schneller:hover, .ws-ausgabe:hover { border-color: var(--heading); }
.ws-ausgabe__fassung { border-color: var(--link); color: var(--link); border-radius: var(--radius-sm); }
.ws-bewertung { border-radius: var(--radius-lg); border-color: var(--line); }
@media (max-width: 899px) {
  .ws-produkt__bild { width: 62%; max-width: 260px; }
  .ws-produkt__bild .wk-cover img { max-height: 380px; }
  .ws-produkt__titel { font-size: 27px; line-height: 33px; }
  .ws-produkt .wk-price--l .wk-price__now { font-size: 26px; line-height: 32px; }
  .ws-produkt__kauf .wk-btn--primary:not([disabled]) { max-width: none; }
}

/* --- Warenkorb-Schublade ---------------------------------------------------------------------- */
.ws-korb__panel { background: var(--surface-raised); }
.ws-korb__schleier { background: rgba(25, 38, 59, 0.4); }
.ws-korb__kopf h2 { font: 600 22px/28px var(--font-display); color: var(--heading); }
.ws-korb__zu { border-radius: var(--radius-md); background: transparent; }
.ws-frei { border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.ws-frei b { color: var(--heading); }
.ws-frei__balken { background: var(--line); }
.ws-frei__fuellung { background: var(--brand); }
.ws-posten__zeile .wk-cover { background: transparent; box-shadow: none; display: flex; align-items: flex-start; justify-content: center; }
.ws-posten__zeile .wk-cover img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: var(--shadow-cover); border-radius: 2px; }
.ws-posten__titel { font: 600 15px/20px var(--font-sans); color: var(--heading); }
.ws-posten__preis { font: 700 16px/22px var(--font-sans); color: var(--heading); }
.ws-menge { border-color: var(--line-strong); border-radius: var(--radius-md); }
.ws-menge button { width: 40px; height: 40px; border-radius: var(--radius-md); color: var(--heading); }
.ws-menge button:hover:not([disabled]) { background: var(--sunken); }
.ws-posten__weg { color: var(--ink-muted); min-height: 40px; }
.ws-summen .ws-summen__gesamt { font-size: 19px; }
.ws-summen .ws-summen__gesamt dt, .ws-summen .ws-summen__gesamt dd { color: var(--heading); }
.ws-korb__fuss .wk-btn--primary { min-height: 52px; font-size: 16px; }
.ws-auffueller h3 { font: 600 15px/20px var(--font-sans); color: var(--heading); }
.ws-auffueller__cover { background: transparent; box-shadow: none; display: flex; align-items: flex-end; }
.ws-auffueller__cover img { width: auto; height: auto; max-width: 48px; max-height: 72px; object-fit: contain; box-shadow: var(--shadow-cover); border-radius: 2px; }
.ws-auffueller .wk-btn { border-radius: var(--radius-md); }

/* Suchvorschläge */
.ws-vorschlaege { border-radius: var(--radius-lg); border-color: var(--line); }
.ws-vorschlag { border-radius: var(--radius-md); }
.ws-vorschlag:hover, .ws-vorschlag[aria-selected="true"] { background: var(--surface); }
.ws-vorschlag .wk-cover { background: transparent; display: flex; align-items: flex-end; justify-content: center; }
.ws-vorschlag .wk-cover img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: var(--shadow-cover); }
.ws-vorschlag__titel { font: 600 14px/20px var(--font-sans); color: var(--heading); }
.ws-vorschlaege__fuss { color: var(--link); }

/* --- Kasse ------------------------------------------------------------------------------------ */
.ws-kasse { padding-block: var(--space-6) var(--space-12); }
.ws-kasse__zurueck { font-size: 14px; }
.ws-schritte__schritt.ist-aktuell .ws-schritte__nr { background: var(--heading); border-color: var(--heading); color: var(--surface-raised); }
.ws-schritte__schritt.ist-erledigt .ws-schritte__nr { background: var(--ok-tint); border-color: var(--ok); color: var(--ok); }
.ws-kasse__gruppe {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised);
  padding: var(--space-6); gap: var(--space-4);
}
.ws-kasse__gruppe legend { font: 600 18px/24px var(--font-display); color: var(--heading); padding: 0 var(--space-2); }
.ws-kasse__option { font-size: 15px; padding: var(--space-2) 0; }
.ws-kasse__option input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 1px; flex: none; }
.ws-kasse__summe { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); padding: var(--space-6); }
.ws-kasse__summe h2, .ws-kasse__vorab h2 { font: 600 20px/26px var(--font-display); color: var(--heading); }
.ws-kasse__vorab { border-top-color: var(--line); }
.ws-kasse__form > .wk-btn--primary, .ws-kasse__vorab .wk-btn--primary, .ws-kasse .wk-btn--primary[type="submit"] { min-height: 52px; font-size: 16px; }
@media (max-width: 767px) {
  .ws-kasse__gruppe { padding: var(--space-4); }
  .ws-kasse__grid { gap: var(--space-6); margin-top: var(--space-4); }
}

/* --- Kundenkonto, Anmeldung, Sicherheit, Passkeys ------------------------------------------- */
.ws-zugang { padding-block: var(--space-8) var(--space-12); }
.ws-zugang__karte.wk-card {
  max-width: 460px; padding: var(--space-8); gap: var(--space-4); background: var(--surface-raised);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none;
}
.ws-zugang__karte:hover { box-shadow: none; border-color: var(--line); }
.ws-zugang__titel { font: 600 28px/34px var(--font-display); color: var(--heading); margin-bottom: var(--space-2); }
.ws-zugang__karte form { display: flex; flex-direction: column; gap: var(--space-4); }
.ws-zugang__karte form .wk-btn--primary { min-height: 52px; font-size: 16px; width: 100%; }
.ws-zugang__karte > p { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
@media (max-width: 599px) {
  .ws-zugang { padding-top: var(--space-4); }
  .ws-zugang__karte.wk-card { padding: var(--space-6) var(--space-4); }
}

.ws-konto { padding-block: var(--space-6) var(--space-12); max-width: 880px; box-sizing: content-box; }
.ws-konto > h2, .ws-bereich > .ws-bereich__teil > h2, .ws-bereich > section > h2 {
  font: 600 21px/27px var(--font-display); color: var(--heading); margin: var(--space-8) 0 var(--space-3);
}
.ws-konto__menue {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin: var(--space-2) 0 var(--space-6);
  padding-bottom: 0; border-bottom: 1px solid var(--line);
}
.ws-konto__menue > a.ws-textlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); margin-bottom: -1px;
  font: 500 15px/20px var(--font-sans); color: var(--heading); text-decoration: none; border-bottom: 2px solid transparent;
}
.ws-konto__menue > a.ws-textlink:first-child { padding-left: 0; }
.ws-konto__menue > a.ws-textlink:hover { color: var(--link); }
.ws-konto__menue > a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--gold); }
.ws-konto__abmelden { margin-left: auto; }
.ws-konto__abmelden .wk-btn { min-height: 40px; font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.ws-konto__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.ws-konto__liste > li { padding: var(--space-4); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); line-height: 24px; }
.ws-konto__liste > li.wk-card { display: block; }
.ws-konto__liste > li .ws-textlink { font-size: 16px; }
.ws-konto__liste > li .ws-hinweis { display: inline-block; margin: var(--space-1) 0 0; font-size: 14px; }
.ws-konto > form, .ws-konto > .wk-card, .ws-konto > details {
  display: flex; flex-direction: column; gap: var(--space-4); max-width: 560px; padding: var(--space-6);
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 0 0 var(--space-4);
}
.ws-konto > form .wk-btn, .ws-konto__adresse .wk-btn { align-self: flex-start; }
.ws-konto > .wk-card:hover { box-shadow: none; border-color: var(--line); }
.ws-konto > .wk-card p { margin: 0; }
.ws-konto details > summary {
  cursor: pointer; font: 600 15px/22px var(--font-sans); color: var(--link); min-height: 44px; display: flex; align-items: center;
}
.ws-konto > details { padding: var(--space-2) var(--space-6); }
.ws-konto > details[open] { padding-bottom: var(--space-6); }
.ws-konto__adresse { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-3); }
.ws-konto__adresse label:not(.ws-formfeld__label) { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: 15px; }
.ws-konto__adresse input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--brand); }
.ws-konto .ws-formfeld__label select { margin-top: 6px; }
/* Adressen (Inhaber 29.11.2026): Name als Überschrift, „Bearbeiten“ und „Löschen“ in einer Zeile; geöffnetes
   Formular nimmt die ganze Breite, „Löschen“ bleibt darunter erreichbar */
.ws-konto__adressname { margin: 0; font: 600 16px/22px var(--font-sans); }
.ws-konto__adressknoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); }
.ws-konto__adressknoepfe > form { display: flex; align-items: center; min-height: 44px; margin: 0; }
.ws-konto__adressknoepfe > form .ws-textlink { padding-left: 0; font-size: 15px; line-height: 22px; }
.ws-konto__adressknoepfe > details[open] { flex-basis: 100%; }
.ws-inline { display: inline; }
.ws-inline .ws-textlink, .ws-konto button.ws-textlink, .ws-bereich button.ws-textlink {
  border: 0; background: none; padding: 0 var(--space-1); min-height: 32px; font: 600 14px/20px var(--font-sans); cursor: pointer;
}
.ws-konto > ul.ws-konto__liste:not(:has(.wk-card)) > li { padding: var(--space-3) var(--space-4); }

/* Passkey-/MFA-Seiten (S5) und Hesabım */
.ws-bereich { padding-block: var(--space-6) var(--space-12); }
.ws-bereich > .wk-card, .ws-bereich > form.wk-card, .ws-bereich > details.wk-card, .ws-bereich section.wk-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); max-width: 560px; padding: var(--space-6);
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: var(--space-4);
}
.ws-bereich .wk-card:hover { box-shadow: none; border-color: var(--line); }
.ws-bereich__teil { max-width: 720px; }
.ws-bereich__teil > ul.ws-liste { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: var(--space-2); }
.ws-bereich__teil > ul.ws-liste > li { padding: var(--space-3) var(--space-4); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.ws-bereich__teil form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-3); max-width: 560px; }
.ws-bereich__teil form .ws-formfeld__label { flex-basis: 100%; margin-bottom: -6px; }
.ws-bereich__teil form input { flex: 1 1 220px; width: auto; }
.ws-bereich details > summary { cursor: pointer; font-weight: 600; color: var(--link); min-height: 44px; display: flex; align-items: center; }
.ws-bereich .ws-bestell-karte { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none; }
.ws-bereich__sprung .wk-btn { border-radius: var(--radius-md); }

/* --- Rechts- und Infoseiten, FAQ -------------------------------------------------------------- */
.ws-recht { color: var(--ink); font-size: 16px; }
.ws-recht h1 { color: var(--heading); }
.ws-recht h2 { color: var(--heading); }
.ws-recht a:where(:not(.wk-btn)) { color: var(--link); }
.ws-frage { background: var(--surface-raised); border-color: var(--line); border-radius: var(--radius-md); }
.ws-frage summary { color: var(--heading); min-height: 44px; }
.ws-vs__fakten li { background: var(--surface-raised); border: 1px solid var(--line); }
.ws-vs__icon { background: var(--brand-tint); color: var(--brand); }

/* --- Fußzeile --------------------------------------------------------------------------------- */
.ws-fuss { margin-top: var(--space-12); padding-block: var(--space-8) var(--space-6); background: var(--surface-raised); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; }
.ws-fuss__links { gap: var(--space-1) var(--space-6); }
.ws-fuss__links a { color: var(--heading); display: inline-flex; align-items: center; min-height: 36px; }
.ws-fuss__links a:hover { color: var(--link); }
.ws-fuss__info { padding-bottom: var(--space-3); margin-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.ws-fuss__info a { font-weight: 600; }
.ws-fuss p { margin: var(--space-3) 0 0; line-height: 22px; }
@media (max-width: 599px) {
  .ws-fuss__links { gap: 0 var(--space-4); }
  .ws-fuss__links a { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .ws-karte .wk-cover img, .ws-banner__kachel { transition: none; }
  .ws-karte:hover .wk-cover img { transform: none; }
}

/* Tablet: Konto und Warenkorb nur als Symbol, damit die Suche Platz behält */
@media (min-width: 768px) and (max-width: 1099px) {
  .ws-kopf .wk-header { gap: var(--space-4); }
  .ws-kopf .wk-header__nav .wk-btn__text { display: none; }
  .ws-kopf .wk-header__logo { height: 40px; }
}

/* Buchseite: Pfad mit Luft unter der Kopfzeile; Handy: Cover kleiner, Preis und Knopf früher sichtbar */
.ws-krumen.ws-rand { padding-top: var(--space-4); margin-bottom: 0; }
@media (max-width: 599px) {
  .ws-produkt__bild { width: 48%; max-width: 200px; }
  .ws-produkt__bild .wk-cover { min-height: 0; }
  .ws-produkt__bild .wk-cover img { max-height: 300px; }
  .ws-produkt { gap: var(--space-4); padding-top: var(--space-3); }
  .ws-krumen.ws-rand { padding-top: var(--space-3); }
}
@media (max-width: 599px) { .ws-produkt__info { gap: var(--space-3); } }

/* Text in Markenfarbe überall in der Linkfarbe (#247ca5 erreicht auf dem warmen Hintergrund nur 4,3:1) */
.ws-filter__mehr > summary, .ws-filter__mehrknopf, .ws-vorschlaege__leer a, .ws-recht__nav a[aria-current],
.ws-vs__garantie a, .ws-posten__titel:hover, .ws-posten__weg:hover, .ws-filter__link:hover,
.ws-blaettern__nr:hover, .wk-price__now--sale, .ws-varianten__alle { color: var(--link); }
.ws-vs__nr { border-color: var(--link); color: var(--link); }
.ws-vs__preis b { color: var(--heading); }
.wk-cover--empty { color: var(--heading); }
.ws-filter__aktiv li a { color: var(--link); }
.ws-variante__marke--lager { background: var(--sky-tint); color: var(--link); }

/* WebKit (Safari): das Suchfeld nahm unter 390 px seine Mindestbreite und schob die Seite seitlich (iPhone SE).
   Reine Korrektur, sieht gleich aus. */
.wk-search input { width: 100%; min-width: 0; }
.ws-kopf .wk-search { min-width: 0; }
@media (max-width: 767px) { .ws-kopf .wk-search { flex: 1 1 100%; } }   /* eigene Zeile unter dem Logo */

/* Ruhige Kopfzeile (Kasse, Konto, Anmelden) auf kleinen Handys in einer Zeile halten (iPhone SE, 375 px).
   Vom Inhaber freigegeben 26.11.2026. Sprachlinks behalten 40 px Tippfläche. */
@media (max-width: 400px) {
  .ws-kopf--ruhig .wk-header { gap: var(--space-2); }
  .ws-kopf--ruhig .wk-header__logo { height: 28px; }
  .ws-kopf--ruhig .ws-kopf__sicher { font-size: 13px; gap: 4px; }
  .ws-kopf--ruhig .ws-kopf__sicher svg { width: 16px; height: 16px; }
  .ws-kopf--ruhig .ws-dil { gap: 2px; }
  .ws-kopf--ruhig .ws-dil a, .ws-kopf--ruhig .ws-dil button { padding: 6px 8px; margin: 0 -4px; }   /* Tippfläche 32 px breit, Abstand optisch gleich */
}
/* Sehr kleine Handys (unter 360 px): normale Kopfzeile ebenso einzeilig, Logo 28 px, Symbolknöpfe bleiben 44 px */
@media (max-width: 359px) {
  .ws-kopf .wk-header__logo { height: 28px; }
  .ws-kopf .ws-dil { gap: 2px; }
  .ws-kopf .ws-dil a, .ws-kopf .ws-dil button { padding: 6px 8px; margin: 0 -4px; }
  .ws-kopf .wk-header__nav .wk-btn { padding: 0 6px; }
}

/* Überweisung (Hesaba Havale): Bankdaten mit Kopierknöpfen und GiroCode auf der Bestätigungsseite */
.ws-ueberweisung { display: flex; flex-direction: column; gap: var(--space-3); max-width: 640px; padding: var(--space-6); margin: var(--space-4) 0; }
.ws-ueberweisung h2 { margin: 0; font: 600 18px/26px var(--font-sans); }
.ws-ueberweisung__daten { display: grid; gap: var(--space-2); margin: 0; }
.ws-ueberweisung__zeile { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: var(--space-2); align-items: center; }
.ws-ueberweisung__zeile dt { color: var(--ink-soft, inherit); font-size: 14px; }
.ws-ueberweisung__zeile dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.ws-ueberweisung__wert { font: 600 16px/24px var(--font-mono, ui-monospace, monospace); word-break: break-all; user-select: all; }
.ws-ueberweisung__wert--zweck { font-size: 18px; }
.ws-ueberweisung__kopieren {
  min-height: 36px; padding: 0 var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-md, 8px);
  background: var(--surface-raised); font: 600 14px/20px var(--font-sans); color: var(--link); cursor: pointer;
}
.ws-ueberweisung__kopieren.ist-kopiert { border-color: var(--brand); color: var(--brand); }
.ws-ueberweisung__qr { margin: var(--space-2) 0 0; display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.ws-ueberweisung__qr svg { width: 200px; height: 200px; background: #fff; }
.ws-ueberweisung__qr figcaption { font-size: 14px; max-width: 420px; }
@media (max-width: 480px) { .ws-ueberweisung__zeile { grid-template-columns: 1fr; } }
