/* =========================================================
   SofaEcke Assets – Styles
   Heller Store: klare Produktflächen, schwarze Schrift,
   Orange nur für Kaufen-Buttons.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f2f3f5;
  --surface-2: #e7e9ec;
  --line: #e2e4e8;
  --line-strong: #cdd1d7;
  --ink: #15171c;
  --ink-2: #4b515c;
  --ink-3: #767c87;
  --dark: #1d2026;

  --brand: #f28a1e;
  --brand-ink: #15171c;
  --sale: #cf2f27;
  --ok: #1c7c45;
  --ok-bg: #e7f4ec;

  --r-s: 6px;
  --r-m: 8px;
  --r-l: 12px;
  --wrap: 1240px;
  --gutter: 16px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: light;
}
@media (min-width: 760px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
#view:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-s); text-decoration: none; font-weight: 600;
}
.skip:focus { left: 8px; }

.ico { display: inline-grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

body.pixelated .pimg:not(.is-photo) { image-rendering: pixelated; }

/* ---------- Demo-Hinweis ---------- */
.demo-bar { background: #fff3e2; border-bottom: 1px solid #f3d6ae; color: #6b3a00; font-size: 14px; padding: 8px 0; }
.demo-bar code { font-family: var(--mono); font-size: 13px; background: #fde3c2; padding: 1px 5px; border-radius: 4px; }

/* ---------- Service-Leiste ---------- */
.utility { background: var(--dark); color: #d6d8dc; font-size: 13px; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.utility__usp { margin: 0; display: flex; align-items: center; gap: 8px; }
.utility__usp .ico { width: 16px; height: 16px; color: var(--brand); }
.utility__links { display: flex; gap: 20px; }
.utility__links a { color: #d6d8dc; text-decoration: none; }
.utility__links a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 600px) { .utility__links a:not(:first-child) { display: none; } }

/* ---------- Header ---------- */
.header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 34px; height: 34px; image-rendering: pixelated; }
.logo strong { font-size: 19px; font-weight: 750; letter-spacing: -.01em; }

.search { position: relative; display: flex; width: 100%; max-width: 640px; justify-self: center; }
.search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px;
  border: 1.5px solid var(--line-strong); border-right: 0; border-radius: var(--r-m) 0 0 var(--r-m);
  background: #fff; font-size: 15px;
}
.search input:focus { outline: none; border-color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.search__btn { width: 52px; height: 46px; border: 0; border-radius: 0 var(--r-m) var(--r-m) 0; background: var(--dark); color: #fff; display: grid; place-items: center; }
.search__btn:hover { background: #000; }

.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 6px;
  box-shadow: 0 16px 40px -12px rgba(17, 19, 24, .25);
}
.suggest__item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px; border-radius: var(--r-s); text-decoration: none; }
.suggest__item:hover, .suggest__item:focus { background: var(--surface); outline: none; }
.suggest__img { width: 44px; height: 44px; border-radius: var(--r-s); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.suggest__img .pimg { width: 70%; height: 70%; object-fit: contain; }
.suggest__img .pimg.is-photo { width: 100%; height: 100%; object-fit: cover; }
.suggest__name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest__price { font-weight: 700; font-size: 14px; }
.suggest__all { display: block; margin-top: 4px; padding: 10px 8px 6px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.suggest__all:focus { outline-offset: -2px; }
.suggest__empty { margin: 0; padding: 10px 8px; font-size: 14px; color: var(--ink-3); }

.cart-btn { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 10px 0 8px; border: 0; border-radius: var(--r-m); background: transparent; text-align: left; }
.cart-btn:hover { background: var(--surface); }
.cart-btn__icon { position: relative; display: grid; }
.cart-btn__icon .ico { width: 28px; height: 28px; }
.cart-btn__count {
  position: absolute; top: -6px; right: -9px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--brand); color: var(--brand-ink);
  font-size: 12px; font-weight: 750; line-height: 20px; text-align: center;
}
.cart-btn.bump .cart-btn__count { animation: bump .4s ease; }
.cart-btn__label { display: grid; line-height: 1.2; }
.cart-btn__label span { font-size: 13px; color: var(--ink-3); }
.cart-btn__label strong { font-size: 15px; }

.catbar { border-top: 1px solid var(--line); }
.catbar__inner { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.catbar__inner::-webkit-scrollbar { display: none; }
.catbar a {
  flex-shrink: 0; padding: 12px 0 10px; border-bottom: 2px solid transparent;
  font-size: 15px; font-weight: 550; color: var(--ink-2); text-decoration: none;
}
.catbar a:hover { color: var(--ink); }
.catbar a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.catbar a.is-sale { color: var(--sale); }
.catbar a.is-sale[aria-current="page"] { border-bottom-color: var(--sale); }
.catbar__end { margin-left: auto; }

@media (max-width: 759px) {
  .header { position: static; }
  .header__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; min-height: 0; padding-top: 10px; padding-bottom: 12px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .cart-btn__label { display: none; }
  .logo strong { font-size: 17px; }
  .catbar__inner { gap: 22px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r-m); border: 1.5px solid transparent;
  font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { filter: brightness(.94); }
.btn--primary.is-in { background: var(--ok-bg); color: var(--ok); filter: none; }
.btn--outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--on-dark { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--text { height: 36px; background: none; border: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-weight: 550; }
.btn--text:hover { color: var(--ink); }
.btn--large { height: 52px; font-size: 16px; }
.btn--small { height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }
.is-busy { opacity: .65; pointer-events: none; }

.icon-btn { width: 40px; height: 40px; border: 0; border-radius: var(--r-m); background: transparent; display: grid; place-items: center; }
.icon-btn:hover { background: var(--surface); }

/* ---------- Seitenrahmen ---------- */
main { min-height: 60vh; padding-bottom: 72px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 14px; padding: 0; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-title { margin: 0 0 24px; font-size: clamp(26px, 3vw, 32px); font-weight: 750; line-height: 1.15; letter-spacing: -.015em; }

/* ---------- Banner ---------- */
.promo { position: relative; margin-top: 24px; border-radius: var(--r-l); overflow: hidden; color: #fff; background: var(--dark); }
.promo__slide {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px;
  min-height: 400px; padding: 48px 56px 76px; background: var(--tint);
  animation: fade .4s ease;
}
.promo__copy { max-width: 520px; }
.promo__title { margin: 12px 0; font-size: clamp(28px, 3.6vw, 42px); font-weight: 780; line-height: 1.08; letter-spacing: -.02em; }
.promo__title a { text-decoration: none; }
.promo__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.promo__text { margin: 0 0 20px; max-width: 46ch; color: rgba(255, 255, 255, .78); font-size: 17px; }
.promo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.promo__art { display: grid; justify-items: center; gap: 14px; }
.promo__hero { width: min(280px, 100%); aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; overflow: hidden; }
.promo__hero .pimg { width: 72%; height: 72%; object-fit: contain; }
.promo__hero .pimg.is-photo { width: 100%; height: 100%; object-fit: cover; }
.promo__items { display: flex; gap: 10px; }
.promo__item { width: 60px; height: 60px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; overflow: hidden; }
.promo__item .pimg { width: 72%; height: 72%; object-fit: contain; }
.promo__item .pimg.is-photo { width: 100%; height: 100%; object-fit: cover; }
.promo__controls { position: absolute; left: 56px; bottom: 22px; display: flex; align-items: center; gap: 8px; }
.promo__arrow { width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; display: grid; place-items: center; }
.promo__arrow:hover { background: rgba(255, 255, 255, .12); }
.promo__arrow .ico { width: 16px; height: 16px; }
.promo__dots { display: flex; }
.promo__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.promo__dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .4); transition: width .2s; }
.promo__dot[aria-current="true"]::before { width: 20px; background: #fff; }
.price--promo .price__now { font-size: 28px; color: #fff; }
.price--promo .price__now.is-sale { color: #ffb8ae; }
.price--promo .price__was { color: rgba(255, 255, 255, .6); font-size: 16px; }

@media (max-width: 859px) {
  .promo { margin-top: 16px; border-radius: var(--r-m); }
  .promo__slide { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 22px 20px 70px; }
  .promo__art { order: -1; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; }
  .promo__hero { width: 112px; border-radius: 10px; }
  .promo__items { flex-wrap: wrap; gap: 8px; }
  .promo__item { width: 46px; height: 46px; border-radius: 8px; }
  .promo__text { font-size: 16px; }
  .promo__controls { left: 20px; bottom: 18px; }
}
@media (max-width: 520px) {
  .promo__hero { width: 88px; }
  .promo__item { width: 40px; height: 40px; }
  .promo__items .promo__item:nth-child(n + 4) { display: none; }
  .promo__title { font-size: 26px; }
  .promo__text { margin-bottom: 14px; }
  .price--promo .price__now { font-size: 24px; }
  .promo__actions { gap: 8px; margin-top: 16px; }
  .promo__actions .btn { flex: 1 1 0; height: 46px; padding: 0 12px; font-size: 15px; }
}

/* ---------- Vorteile ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-l); }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 16px 20px; min-width: 0; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--surface); display: grid; place-items: center; }
.trust__item strong { display: block; font-size: 15px; line-height: 1.3; }
.trust__item small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 899px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust__item { padding: 12px; gap: 10px; }
  .trust__icon { width: 34px; height: 34px; }
  .trust__icon .ico { width: 18px; height: 18px; }
  .trust__item strong { font-size: 14px; }
  .trust__item small { display: none; }
}

/* ---------- Abschnitte ---------- */
.block { margin-top: 52px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.block__title { margin: 0; font-size: 23px; font-weight: 750; letter-spacing: -.01em; }
.block__link { font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; text-underline-offset: 3px; }
.block__link:hover { color: var(--ink); }
.block__more { margin-top: 32px; text-align: center; }

/* ---------- Produktraster ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.catalog .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .products, .catalog .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .products--row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
  }
  .products--row::-webkit-scrollbar { display: none; }
  .products--row > * { scroll-snap-align: start; }
}

.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-m); background: var(--surface); overflow: hidden; }
.card__media .pimg { width: 58%; height: 58%; object-fit: contain; transition: transform .25s ease; }
.card__media .pimg.is-photo { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media .pimg { transform: scale(1.05); }
.card__body { display: grid; gap: 4px; padding-top: 12px; }
.card__title { margin: 0; font-size: 15px; font-weight: 620; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__sub { margin: 0; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__price { margin-top: 2px; }
.card__btn {
  margin-top: 12px; height: 40px; padding: 0 10px; border-radius: var(--r-m);
  border: 1.5px solid var(--line-strong); background: #fff; font-size: 14px; font-weight: 650;
}
.card__btn:hover { border-color: var(--ink); }
.card__btn.is-in { border-color: transparent; background: var(--ok-bg); color: var(--ok); }

.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badges--inline { position: static; }
.badge { display: inline-block; padding: 5px 8px; border-radius: 4px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 1px var(--line); }
.badge--sale { background: var(--sale); color: #fff; box-shadow: none; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price__now { font-size: 17px; font-weight: 750; }
.price__now.is-sale { color: var(--sale); }
.price__was { font-size: 13px; color: var(--ink-3); }
.price--big .price__now { font-size: 30px; }
.price--big .price__was { font-size: 16px; }

/* Kategorie-Kacheln */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
@media (max-width: 699px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cat-tile { padding: 12px; gap: 10px; } .cat-tile__thumbs { gap: 6px; } }
.cat-tile { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-l); text-decoration: none; transition: border-color .15s; }
.cat-tile:hover { border-color: var(--ink-3); }
.cat-tile__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cat-tile__thumbs span { aspect-ratio: 1; border-radius: var(--r-s); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.cat-tile__thumbs .pimg { width: 64%; height: 64%; object-fit: contain; }
.cat-tile__thumbs .pimg.is-photo { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__name { display: block; font-size: 17px; font-weight: 680; }
.cat-tile__count { font-size: 14px; color: var(--ink-3); }

/* Platzhalter beim Laden */
.sk-banner { height: 400px; margin-top: 24px; border-radius: var(--r-l); background: var(--surface); animation: pulse 1.4s ease-in-out infinite; }
.skeleton .card__media { animation: pulse 1.4s ease-in-out infinite; }
.sk-line { height: 12px; margin-top: 12px; border-radius: 4px; background: var(--surface); }
.sk-line--short { width: 50%; }

.empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-l); color: var(--ink-2); }
.empty strong { display: block; margin-bottom: 6px; font-size: 18px; color: var(--ink); }
.empty p { margin: 0 auto 16px; max-width: 48ch; }
.empty--page { margin-top: 40px; }

/* ---------- Katalog ---------- */
.catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 40px; align-items: start; }
.toolbar { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filters { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 140px; display: grid; gap: 28px; }
.results { grid-column: 2; grid-row: 2; min-width: 0; }
.toolbar__count { margin: 0; font-size: 15px; color: var(--ink-2); }
.toolbar__filter { display: none; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.sort select {
  height: 38px; padding: 0 34px 0 10px; border: 1.5px solid var(--line-strong); border-radius: var(--r-s);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
  font-size: 14px; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.sort select:hover { border-color: var(--ink-3); }

.filter-group h2 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.filter-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-links a { display: flex; justify-content: space-between; gap: 8px; margin: 0 -10px; padding: 6px 10px; border-radius: var(--r-s); font-size: 15px; color: var(--ink-2); text-decoration: none; }
.filter-links a:hover { background: var(--surface); color: var(--ink); }
.filter-links a[aria-current="page"] { background: var(--surface); color: var(--ink); font-weight: 650; }
.filter-links a span { font-size: 14px; color: var(--ink-3); font-weight: 400; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check:hover { color: var(--ink); }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.check span + span { margin-left: auto; font-size: 14px; color: var(--ink-3); }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.active-filters:empty { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border: 0; border-radius: 999px; background: var(--surface); font-size: 14px; }
.fchip:hover { background: var(--surface-2); }
.fchip .ico { width: 14px; height: 14px; }
.clear-all { padding: 0 4px; border: 0; background: none; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 899px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .toolbar, .filters, .results { grid-column: 1; grid-row: auto; }
  .filters { position: static; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-l); }
  .filters.is-open { display: grid; }
  .toolbar__filter { display: inline-flex; }
  .sort span { display: none; }
}
@media (max-width: 520px) { .filters { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Produktseite ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.gallery__main { aspect-ratio: 1; border-radius: var(--r-l); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.gallery__main .pimg { width: 62%; height: 62%; object-fit: contain; animation: fade .25s ease; }
.gallery__main .pimg.is-photo { width: 100%; height: 100%; object-fit: contain; }
.gallery__main video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--r-m); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.thumb:hover { border-color: var(--line-strong); }
.thumb[aria-current="true"] { border-color: var(--ink); }
.thumb .pimg { width: 66%; height: 66%; object-fit: contain; }
.thumb .pimg.is-photo { width: 100%; height: 100%; object-fit: cover; }
.thumb__video { font-size: 12px; font-weight: 700; }

.buybox { position: sticky; top: 140px; }
.buybox__cat { font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.buybox__cat:hover { text-decoration: underline; }
.buybox__title { margin: 6px 0 8px; font-size: clamp(26px, 3vw, 34px); font-weight: 780; line-height: 1.12; letter-spacing: -.02em; }
.buybox__compat { margin: 0 0 18px; color: var(--ink-2); }
.buybox__price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.buybox__tax { margin: 4px 0 20px; font-size: 14px; color: var(--ink-3); }
.buybox__note { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-m); background: var(--surface); font-size: 14px; color: var(--ink-2); }
.perks { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; padding: 0; font-size: 15px; }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks .ico { color: var(--ok); }
.specs { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 24px 0 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { padding-right: 24px; color: var(--ink-3); }
.specs dd { font-weight: 550; }

@media (max-width: 899px) {
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .buybox { position: static; }
  .thumb { width: 60px; height: 60px; }
}

.tabs { margin-top: 56px; }
.tabs__list { display: flex; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__tab { margin-bottom: -1px; padding: 14px 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 16px; font-weight: 620; color: var(--ink-3); white-space: nowrap; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabs__panel { max-width: 760px; padding-top: 24px; }
.tabs__panel:focus-visible { outline-offset: 6px; }

.rich { color: var(--ink-2); }
.rich > :first-child { margin-top: 0; }
.rich p { margin: 0 0 14px; }
.rich h2, .rich h3, .rich h4 { margin: 24px 0 8px; font-size: 18px; color: var(--ink); }
.rich ul, .rich ol { margin: 0 0 16px; padding-left: 22px; }
.rich li { margin: 5px 0; }
.rich a { color: var(--ink); font-weight: 600; }
.rich strong { color: var(--ink); }
.rich code { padding: 2px 6px; border-radius: 4px; background: var(--surface); font-family: var(--mono); font-size: 14px; color: var(--ink); }
.rich img { margin: 12px 0; border-radius: var(--r-m); }

/* ---------- Hilfe ---------- */
.help { max-width: 820px; }
.help h2 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -.01em; }
.help ol { margin: 0; padding-left: 22px; color: var(--ink-2); }
.help ol li { margin: 8px 0; padding-left: 4px; }
.help ol strong { color: var(--ink); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 36px 18px 0; font-weight: 620; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq details > p { margin: 0; padding: 0 0 18px; color: var(--ink-2); }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 24px; border-radius: var(--r-l); background: var(--surface); }
.contact h2 { margin: 0 0 4px; font-size: 18px; }
.contact p { margin: 0; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.footer__brand p { margin: 14px 0 0; max-width: 36ch; font-size: 15px; color: var(--ink-2); }
.footer__h { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.footer ul a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer__bottom p { margin: 0; }
@media (max-width: 899px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Warenkorb ---------- */
.backdrop { position: absolute; inset: 0; background: rgba(17, 19, 24, .45); animation: fade .2s ease; }
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  display: flex; flex-direction: column; background: #fff;
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .25);
  animation: slide .25s cubic-bezier(.2, .8, .2, 1);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 20px; font-weight: 720; }
.drawer__user { padding: 10px 20px; background: var(--surface); font-size: 14px; color: var(--ink-2); }
.drawer__user strong { color: var(--ink); }
.cart-list { flex: 1; overflow: auto; list-style: none; margin: 0; padding: 4px 20px; }
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 72px; height: 72px; border-radius: var(--r-m); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.cart-item__img .pimg { width: 66%; height: 66%; object-fit: contain; }
.cart-item__img .pimg.is-photo { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { display: block; font-weight: 620; line-height: 1.3; text-decoration: none; }
.cart-item__name:hover { text-decoration: underline; }
.cart-item__meta { margin: 2px 0 6px; font-size: 13px; color: var(--ink-3); }
.cart-item__remove { padding: 0; border: 0; background: none; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cart-item__remove:hover { color: var(--sale); }
.cart-item__price { font-weight: 700; white-space: nowrap; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; padding: 40px 24px; text-align: center; color: var(--ink-2); }
.cart-empty .ico { width: 48px; height: 48px; margin-bottom: 8px; color: var(--ink-3); }
.cart-empty p { margin: 0 0 4px; }
.cart-empty strong { color: var(--ink); }
.cart-empty .btn { margin-top: 16px; }
.drawer__foot { display: grid; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r-s); }
.coupon input:focus { outline: none; border-color: var(--ink); }
.sum { display: flex; justify-content: space-between; align-items: baseline; }
.sum strong { font-size: 20px; }
.sum__note { margin: -8px 0 0; font-size: 13px; color: var(--ink-3); }

/* ---------- Dialoge ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal__panel {
  position: relative; width: 100%; max-width: 440px; padding: 28px 24px 24px;
  border-radius: var(--r-l); background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35);
  animation: rise .25s cubic-bezier(.2, .8, .2, 1);
}
.modal__panel h2 { margin: 0 40px 8px 0; font-size: 22px; }
.modal__panel p { margin: 0 0 20px; color: var(--ink-2); }
.modal__close { position: absolute; top: 12px; right: 12px; }
.auth-options { display: grid; gap: 10px; }
.thanks { text-align: center; }
.thanks h2 { margin-right: 0; }
.thanks__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); }
.thanks__icon .ico { width: 28px; height: 28px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--r-m);
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 550;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4);
  animation: toast .25s ease;
}
.toast.is-error { background: var(--sale); }

@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 8px); } }
@keyframes bump { 40% { transform: scale(1.3); } }
@keyframes pulse { 50% { opacity: .55; } }
