/* Jumppad shop page styles */

/* ============ Header ============ */
.ks-header { background: var(--surface-elev); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.ks-pre {
  background: var(--ink-900);
  color: var(--ink-150);
  font-size: 12px;
  font-family: var(--font-mono);
}
.ks-pre__row { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.ks-pre__left, .ks-pre__right { display: flex; align-items: center; gap: 10px; }
.ks-pre__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.ks-pre a { color: var(--ink-150); }
.ks-pre a:hover { color: white; }
.ks-pre__sep { opacity: 0.4; }
.ks-pre__link { background: transparent; border: none; color: var(--ink-150); cursor: pointer; padding: 0; font: inherit; }
.ks-pre__link:hover { color: white; text-decoration: underline; }

.ks-main {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.ks-megabtn {
  height: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
  font-weight: 500;
}
.ks-megabtn:hover { background: var(--surface-2); }
.ks-megabtn__lines { display: inline-flex; flex-direction: column; gap: 3px; }
.ks-megabtn__lines span { width: 16px; height: 2px; background: var(--ink-900); border-radius: 1px; }
.ks-megabtn.is-open .ks-megabtn__lines span:nth-child(2) { width: 10px; }

.ks-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  height: 44px;
  padding: 0 14px;
  color: var(--ink-500);
  max-width: 560px;
  width: 100%;
  justify-self: start;
}
.ks-search:focus-within { background: var(--surface-elev); border-color: var(--ks-red); }
.ks-search__input { flex: 1; border: 0; background: transparent; outline: 0; font-size: 14px; color: var(--text); }
.ks-search__kbd { font-size: 11px; padding: 2px 6px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface-elev); color: var(--text-muted); }

.ks-actions { display: flex; align-items: center; gap: 4px; }
.ks-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.ks-action:hover { background: var(--surface-2); color: var(--text); }
.ks-action--accent { color: var(--ks-red); }
.ks-action--accent:hover { background: var(--ks-red-50); }
.ks-action--cart { background: var(--ink-900); color: white; padding: 8px 14px; }
.ks-action--cart:hover { background: var(--ink-700); color: white; }
.ks-cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--ks-red); color: white;
  border-radius: 999px; min-width: 18px; height: 18px;
  font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.ks-cart-total { margin-left: 4px; font-size: 13px; font-weight: 600; }

/* ============ Mega menu ============ */
.mega-backdrop {
  position: fixed; inset: 0; background: rgba(19,19,16,0.4);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.mega-backdrop.is-open { opacity: 1; pointer-events: auto; }
.mega {
  position: fixed; left: 0; right: 0; top: 108px;
  background: var(--surface-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 70;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform 0.2s, opacity 0.2s;
}
.mega.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mega__inner { display: grid; grid-template-columns: 220px 1fr 320px; gap: 32px; padding: 28px 0 36px; }
.mega__nav { display: flex; flex-direction: column; gap: 2px; }
.mega__nav-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--r-sm);
  cursor: pointer; gap: 12px;
  background: transparent; border: none;
  font: inherit; text-align: left;
}
.mega__nav-item:hover, .mega__nav-item.is-active { background: var(--surface-2); color: var(--text); }
.mega__nav-item .count { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); }
.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mega__col h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin: 0 0 10px; font-family: var(--font-mono); font-weight: 500;
}
.mega__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.mega__col a { font-size: 14px; color: var(--text); }
.mega__col a:hover { color: var(--ks-red); }
.mega__promo { background: var(--ink-900); color: white; border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; }
.mega__promo .eyebrow { color: var(--ink-300); }
.mega__promo h3 { font-size: 28px; line-height: 1.05; margin: 8px 0 12px; letter-spacing: -0.02em; }
.mega__promo p { color: var(--ink-200); font-size: 14px; }
.mega__close { position: absolute; right: 24px; top: 20px; background: transparent; border: none; cursor: pointer; padding: 8px; color: var(--text-muted); }

/* ============ Home hero (v2 — single-column dark canvas, less bloat) ============ */
.hero-v2 {
  background:
    radial-gradient(800px 500px at 20% 20%, rgba(249,230,59,0.06), transparent 60%),
    radial-gradient(700px 500px at 80% 80%, rgba(59,192,249,0.06), transparent 60%),
    #131310;
  border-radius: var(--r-xl);
  margin-top: 24px;
  padding: 64px 64px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  color: #f3f3ec;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.hero-v2__left { z-index: 2; position: relative; }
.hero-v2__title {
  font-size: 76px;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 14px 0 18px;
  font-weight: 500;
  text-wrap: balance;
}
.hero-v2__title em { color: var(--ks-red); font-style: normal; }
.hero-v2__sub {
  font-size: 18px;
  color: rgba(243,243,236,0.65);
  max-width: 480px;
  line-height: 1.45;
}
.hero-v2__cta { display: flex; gap: 10px; margin-top: 32px; }
.btn-ghost-dark {
  background: rgba(255,255,255,0.08) !important;
  color: white !important;
  border-color: rgba(255,255,255,0.18) !important;
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.14) !important; }

.hero-v2__stats {
  display: flex; gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-v2__stats > div { display: flex; flex-direction: column; }
.hero-v2__stats .n { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.hero-v2__stats .l { font-size: 11px; color: rgba(243,243,236,0.5); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

.hero-v2__right { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; }
.hero-v2__schematic { width: 100%; max-width: 480px; }

/* Old `.hero` styles still used by other places? Keep them defined */

/* Home NetzwerkBOX teaser */
.home-nbx {
  margin-top: 56px;
  background:
    radial-gradient(700px 500px at 80% 20%, rgba(249,230,59,0.06), transparent 50%),
    radial-gradient(600px 400px at 10% 100%, rgba(59,192,249,0.06), transparent 50%),
    #0d0d0b;
  border-radius: var(--r-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  color: #f3f3ec;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}
.home-nbx > div:not(.home-nbx__left):not(.home-nbx__right):not(.home-nbx__nav) {
  position: absolute; inset: 0; pointer-events: none;
}
/* gallery nav over the canon CTA */
.home-nbx__nav { position: absolute; z-index: 4; right: 32px; bottom: 28px; display: flex; align-items: center; gap: 12px; }
.home-nbx__nav button { width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); color: #f3f3ec; cursor: pointer; font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.home-nbx__nav button:hover { background: rgba(255,255,255,0.18); }
.home-nbx__dots { display: flex; gap: 7px; }
.home-nbx__dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.3); cursor: pointer; transition: background .15s ease; }
.home-nbx__dots span.is-on { background: var(--cable-yellow); }
.home-nbx__left, .home-nbx__right { position: relative; z-index: 2; }
.home-nbx__left h2 {
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 12px 0 16px;
  font-weight: 500;
}
.home-nbx__left p {
  color: rgba(243,243,236,0.65);
  max-width: 460px;
  font-size: 16px;
  line-height: 1.5;
}
.home-nbx__right { display: flex; align-items: center; justify-content: center; position: relative; min-height: 360px; }

@media (max-width: 1100px) {
  .hero-v2 { grid-template-columns: 1fr; padding: 40px; }
  .hero-v2__title { font-size: 56px; }
  .home-nbx { grid-template-columns: 1fr; padding: 40px; }
  .home-nbx__left h2 { font-size: 44px; }
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 24px;
  padding-bottom: 8px;
}
.hero__main {
  position: relative;
  background: var(--ink-900);
  color: white;
  border-radius: var(--r-xl);
  padding: 56px 56px 0;
  min-height: 460px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero__eyebrow { color: var(--ink-300); }
.hero__title { font-size: 64px; line-height: 0.98; letter-spacing: -0.035em; margin: 12px 0 16px; font-weight: 500; text-wrap: balance; }
.hero__title em { color: var(--ks-red); font-style: normal; }
.hero__sub { font-size: 17px; color: var(--ink-200); max-width: 520px; line-height: 1.4; }
.hero__cta { display: flex; gap: 12px; margin-top: 28px; }
.hero__stats {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-left: -56px; margin-right: -56px;
  padding: 20px 56px;
}
.hero__stat .n { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-family: var(--font-mono); }
.hero__stat .l { font-size: 12px; color: var(--ink-300); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; }
.hero__schematic {
  position: absolute; right: -80px; top: 40px; width: 540px; opacity: 0.55;
  pointer-events: none;
}

.hero__side { display: grid; grid-template-rows: 1.3fr 1fr; gap: 24px; }
.hero__card {
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 220px;
}
.hero__card--red { background: var(--ks-red); color: white; }
.hero__card--neutral { background: var(--surface); border: 1px solid var(--border); }
.hero__card h3 { font-size: 28px; line-height: 1.05; letter-spacing: -0.025em; margin: 4px 0 8px; font-weight: 500; }
.hero__card .pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  background: rgba(255,255,255,0.18); font-size: 12px; font-family: var(--font-mono);
  align-self: flex-start;
}
.hero__card--neutral .pill { background: var(--surface-2); color: var(--text); }
.hero__card .link { font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }

/* ============ Section / category grid ============ */
.sh { display: flex; align-items: flex-end; justify-content: space-between; margin: 56px 0 20px; }
.sh__title { font-size: 34px; line-height: 1; margin: 6px 0 0; letter-spacing: -0.025em; font-weight: 500; }
.sh__action { font-weight: 500; color: var(--ks-red); }
.sh__action:hover { text-decoration: underline; }

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 160px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.cat:hover { border-color: var(--text); transform: translateY(-2px); }
.cat__icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border-radius: var(--r-sm); }
.cat__title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.cat__sub { font-size: 13px; color: var(--text-muted); margin-top: -8px; font-family: var(--font-mono); }
.cat__count { font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); margin-top: auto; }
.cat__arrow { position: absolute; top: 20px; right: 20px; opacity: 0.3; transition: transform 0.15s, opacity 0.15s; }
.cat:hover .cat__arrow { opacity: 1; transform: translate(3px, -3px); }

/* ============ Product card ============ */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pc:hover { border-color: var(--text); box-shadow: var(--shadow-md); }
.pc__media {
  position: relative;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pc__badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--ink-900); color: white;
}
.pc__badge--sale { background: var(--ks-red); }
.pc__badge--stock { background: rgba(255,255,255,0.92); color: var(--text); border: 1px solid var(--border); }
.placeholder { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; }
.placeholder--fiber { background: linear-gradient(135deg, #1a2030, #2a3144); }
.placeholder--fiber .placeholder__sku { color: rgba(255,255,255,0.6); }
.placeholder__sku { position: absolute; bottom: 8px; right: 10px; font-size: 10px; color: rgba(0,0,0,0.4); }

.pc__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc__sku { font-size: 11px; color: var(--text-faint); }
.pc__name { font-size: 14px; line-height: 1.3; color: var(--text); font-weight: 500; min-height: 36px; }
.pc__name:hover { color: var(--ks-red); }
.pc__specs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--text-muted); }
.pc__specs b { color: var(--text-faint); font-weight: 400; margin-right: 4px; }
.pc__bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.pc__price-row { display: flex; align-items: baseline; gap: 6px; }
.pc__price-now { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.pc__price-old { font-size: 12px; color: var(--text-faint); text-decoration: line-through; }
.pc__b2b { color: var(--ks-red); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.pc__stock { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-top: 2px; }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--ok); }
.dot-warn { background: var(--warn); }
.dot-bad { background: var(--ks-red); }

/* ============ Stripes / Promo bands ============ */
.stripe-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.stripe {
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.stripe:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.18); }
.stripe .link { transition: gap .15s ease, transform .15s ease; }
.stripe:hover .link { gap: 10px; }
.stripe--customcables:hover { background: linear-gradient(135deg, #3a3a36, #131310); }
.stripe--lexikon:hover { border-color: var(--ks-red); }
.stripe--konfig:hover { background: var(--ks-red-600); }
.stripe--customcables { background: linear-gradient(135deg, #2a2a26, #131310); color: white; }
.stripe--lexikon     { background: var(--surface); border: 1px solid var(--border); }
.stripe--konfig      { background: var(--ks-red); color: white; }
.stripe h3 { font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; margin: 4px 0; }
.stripe p { font-size: 14px; opacity: 0.85; max-width: 420px; }
.stripe .link { margin-top: auto; font-weight: 500; }

/* ============ Footer ============ */
.ks-footer { background: var(--ink-900); color: var(--ink-200); margin-top: 88px; padding: 56px 0 24px; }
.ks-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ks-footer__tag { font-size: 14px; color: var(--ink-300); margin: 16px 0 16px; max-width: 360px; line-height: 1.5; }
.ks-footer__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.ks-footer__badges .chip { background: rgba(255,255,255,0.06); color: var(--ink-200); }
.ks-footer__h { color: var(--ink-300); margin-bottom: 14px; }
.ks-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ks-footer__list a { color: var(--ink-200); }
.ks-footer__list a:hover { color: white; }
.ks-footer__contact { font-size: 14px; line-height: 1.7; }
.ks-footer__addr { color: var(--ink-300); margin-top: 12px; }
.ks-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 12px; color: var(--ink-400); }
.ks-footer__legal { display: flex; gap: 18px; }
.ks-footer__legal a:hover { color: white; }

/* ============ PLP v2 (chip-based filter bar) ============ */
.plp-v2__head { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 32px; margin-bottom: 16px; gap: 24px; }
.plp-v2__head-r { display: flex; gap: 8px; align-items: center; }
.plp-v2__search {
  height: 40px;
  width: 280px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 0 14px;
  background: var(--surface-elev);
}
.plp-v2__search:focus { outline: 2px solid var(--ks-red); outline-offset: -1px; border-color: var(--ks-red); }

.filtbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.filtbar__dd { position: relative; }
.filtbar__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s ease, border-color .12s ease;
}
.filtbar__btn:hover { background: var(--surface-2); }
.filtbar__btn.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filtbar__badge { font-size: 11px; background: var(--ks-red); color: white; padding: 1px 6px; border-radius: 999px; }
.filtbar__btn.is-active .filtbar__badge { background: var(--ks-red); color: white; }
.filtbar__opt-c { color: var(--text-faint); font-size: 11px; }
.filtbar__btn.is-active .filtbar__opt-c { color: var(--text-faint); opacity: 0.65; }

.filtbar__tog {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1.5px solid var(--border-strong);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.filtbar__btn.is-active .filtbar__tog { border-color: var(--bg); background: var(--bg); }
.filtbar__btn.is-active .filtbar__tog::after {
  content: ""; position: absolute; inset: 2px;
  background: var(--text);
  clip-path: polygon(20% 50%, 0 65%, 40% 100%, 100% 30%, 80% 15%, 40% 70%);
}

.filtbar__divider { width: 1px; height: 22px; background: var(--border); margin: 0 6px; }

.filtbar__pop {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 200px;
  z-index: 30;
}
.filtbar__opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}
.filtbar__opt:hover { background: var(--surface-2); }
.filtbar__opt input { accent-color: var(--ks-red); }
.filtbar__opt-c { margin-left: auto; }

.filtbar__clear {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--font-mono);
  text-decoration: underline;
}
.filtbar__clear:hover { color: var(--ks-red); }
.plp__filters { position: sticky; top: 120px; align-self: start; }
.plp__filter-group { padding: 16px 0; border-bottom: 1px solid var(--border); }
.plp__filter-group:first-child { padding-top: 0; }
.plp__filter-h { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 12px; font-size: 14px; }
.plp__filter-h .count { color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; }
.plp__filter-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.plp__filter-opt input { accent-color: var(--ks-red); }
.plp__filter-opt .num { color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; margin-left: auto; }
.plp__filter-opt:hover { color: var(--ks-red); }

.plp__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.plp__crumb { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.plp__title { font-size: 36px; letter-spacing: -0.025em; font-weight: 500; margin: 6px 0 0; }
.plp__count { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-family: var(--font-mono); }
.plp__sort { display: flex; gap: 8px; align-items: center; }

.plp__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.plp__chip {
  display: inline-flex; gap: 6px; align-items: center;
  background: var(--ks-red-50); color: var(--ks-red-600);
  padding: 4px 10px; border-radius: 999px; font-size: 12px;
  border: none; cursor: pointer;
}
.plp__chip:hover { background: var(--ks-red); color: white; }
.plp__chip .x { font-weight: 600; }

/* ============ PDP ============ */
.pdp { margin-top: 32px; }
.pdp__crumb { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.pdp__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; margin-top: 16px; }
.pdp__gallery { display: grid; grid-template-rows: 1fr 80px; gap: 12px; }
.pdp__hero { background: var(--surface-2); border-radius: var(--r-lg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 60px; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(5, 80px); gap: 8px; }
.pdp__thumb { background: var(--surface-2); border-radius: var(--r-sm); aspect-ratio: 1; cursor: pointer; border: 1px solid transparent; display: flex; align-items: center; justify-content: center; padding: 8px; }
.pdp__thumb.is-active { border-color: var(--text); }

.pdp__info { display: flex; flex-direction: column; gap: 20px; }
.pdp__sku { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.pdp__name { font-size: 36px; letter-spacing: -0.025em; font-weight: 500; line-height: 1.1; margin: 0; }
.pdp__price-block { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; }
.pdp__price-now { font-size: 36px; font-weight: 600; font-family: var(--font-mono); letter-spacing: -0.02em; }
.pdp__price-old { font-size: 16px; color: var(--text-faint); text-decoration: line-through; font-family: var(--font-mono); }
.pdp__price-vat { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); margin-top: 2px; }

.pdp__breakdown { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-family: var(--font-mono); }
.pdp__breakdown-row { display: flex; justify-content: space-between; padding: 4px 0; }
.pdp__breakdown-row.is-total { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 8px; font-weight: 600; }

.pdp__qty { display: flex; align-items: center; gap: 4px; }
.pdp__qty button { width: 40px; height: 40px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--r-sm); cursor: pointer; font-size: 16px; }
.pdp__qty input { width: 70px; height: 40px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); text-align: center; font-family: var(--font-mono); }

.pdp__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.pdp__spec { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 13px; }
.pdp__spec:nth-child(odd) { border-right: 1px solid var(--border); }
.pdp__spec { border-bottom: 1px solid var(--border); }
.pdp__spec:nth-last-child(-n+2) { border-bottom: none; }
.pdp__spec .k { color: var(--text-muted); font-family: var(--font-mono); }
.pdp__spec .v { font-weight: 500; }

.pdp__tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border); margin: 56px 0 24px; }
.pdp__tab { padding: 14px 0; border-bottom: 2px solid transparent; cursor: pointer; font-weight: 500; }
.pdp__tab.is-active { border-bottom-color: var(--ks-red); color: var(--ks-red); }

/* ============ Cart ============ */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 32px; margin-top: 32px; }
.cart-line {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-line__media { background: var(--surface-2); border-radius: var(--r-sm); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 6px; }
.cart-line__name { font-weight: 500; margin-bottom: 4px; }
.cart-line__sku { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.cart-line__specs { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.cart-line__qty { display: flex; align-items: center; gap: 4px; }
.cart-line__qty button { width: 28px; height: 28px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 4px; cursor: pointer; }
.cart-line__qty input { width: 52px; height: 28px; border: 1px solid var(--border-strong); border-radius: 4px; text-align: center; font-family: var(--font-mono); font-size: 13px; }
.cart-line__price { font-family: var(--font-mono); font-weight: 600; font-size: 15px; text-align: right; min-width: 90px; }
.cart-line__del { background: transparent; border: none; cursor: pointer; color: var(--text-faint); }
.cart-line__del:hover { color: var(--ks-red); }

.cart-summary { position: sticky; top: 120px; align-self: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.cart-summary h3 { font-size: 18px; margin: 0 0 16px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-family: var(--font-mono); font-size: 14px; }
.cart-summary__row.is-total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 18px; font-weight: 600; }
.cart-summary__row.is-discount { color: var(--ok); }

/* ============ Quickorder ============ */
.qo { margin-top: 32px; }
.qo__hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.qo__paste textarea {
  width: 100%;
  min-height: 280px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  resize: vertical;
  background: var(--surface);
}
.qo__paste textarea:focus { outline: 2px solid var(--ks-red); outline-offset: -1px; border-color: var(--ks-red); }
.qo__paste-hint { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.qo__drop {
  border: 2px dashed var(--border-strong);
  border-radius: var(--r-md);
  padding: 40px;
  text-align: center;
  background: var(--surface);
  min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}

.qo__results { margin-top: 32px; }
.qo__table { width: 100%; border-collapse: collapse; }
.qo__table th { text-align: left; font-size: 11px; text-transform: uppercase; color: var(--text-muted); padding: 8px 12px; font-family: var(--font-mono); letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.qo__table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.qo__table .mono { font-family: var(--font-mono); }
.qo__table .num { text-align: right; }

/* ============ Lexikon ============ */
.lex { margin-top: 32px; }
.lex__hero {
  background: var(--ink-900);
  color: white;
  border-radius: var(--r-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lex__hero > div { position: relative; z-index: 2; }
.lex__hero > div:has(svg + canvas), .lex__hero > div:first-child:not(:nth-child(2)) { z-index: 2; }
.lex__hero h1 { font-size: 56px; letter-spacing: -0.03em; line-height: 1; margin: 12px 0 16px; font-weight: 500; }
.lex__hero p { color: var(--ink-200); font-size: 17px; max-width: 460px; }
.lex__searchbar { display: flex; gap: 8px; margin-top: 24px; max-width: 460px; }
.lex__searchbar input { flex: 1; }
.lex__alphabet { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; margin-top: 28px; max-width: 540px; }
.lex__letter {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: var(--r-sm);
  height: 36px;
  color: white;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
}
.lex__letter:hover, .lex__letter.is-active { background: var(--ks-red); }
.lex__letter.is-empty { opacity: 0.2; cursor: not-allowed; }

.lex__entries { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lex__entry { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.lex__entry:hover { border-color: var(--text); }
.lex__entry h3 { font-size: 20px; font-weight: 500; margin: 0 0 6px; letter-spacing: -0.02em; }
.lex__entry .meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.lex__entry p { font-size: 14px; color: var(--text-muted); margin: 8px 0 12px; line-height: 1.5; }
.lex__entry .link { color: var(--ks-red); font-weight: 500; font-size: 13px; }

/* ============ Konfigurator / NetzwerkBOX ============ */
.konf { margin-top: 32px; }
.konf__hero {
  background: linear-gradient(135deg, #131310 0%, #2c2c26 100%);
  color: white;
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 420px;
}
.konf__hero h1 { font-size: 56px; letter-spacing: -0.03em; line-height: 1; margin: 12px 0 16px; font-weight: 500; }
.konf__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 56px 0 24px; }
.konf__step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.konf__step .n { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.konf__step h4 { font-size: 14px; margin: 4px 0; font-weight: 500; }
.konf__step.is-active { background: var(--ks-red); color: white; border-color: var(--ks-red); }
.konf__step.is-active .n { color: rgba(255,255,255,0.7); }

/* NetzwerkBOX moved to styles/netzwerkbox.css */

/* ============ Search ============ */
.search-results { margin-top: 32px; }
.search-results__title { font-size: 32px; letter-spacing: -0.025em; font-weight: 500; }
.search-results__title em { color: var(--ks-red); font-style: normal; }
.search-tabs { display: flex; gap: 4px; margin: 20px 0 28px; border-bottom: 1px solid var(--border); }
.search-tab { padding: 10px 16px; border-bottom: 2px solid transparent; cursor: pointer; font-size: 14px; }
.search-tab.is-active { border-bottom-color: var(--ks-red); color: var(--ks-red); font-weight: 500; }
.search-tab .count { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); margin-left: 6px; }

/* ============ Account / B2B teaser ============ */
.acc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-top: 32px; }
.acc__login { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 48px; }
.acc__b2b {
  background: linear-gradient(135deg, #131310 0%, #2c2c26 100%);
  color: white;
  border-radius: var(--r-lg); padding: 48px;
}
.acc__b2b h2 { font-size: 36px; letter-spacing: -0.025em; line-height: 1; margin: 0 0 16px; font-weight: 500; }
.acc__b2b ul { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 12px; }
.acc__b2b ul li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-200); }
.acc__b2b ul li svg { color: var(--ks-red); flex-shrink: 0; }

/* ============ Tweaks panel position fix ============ */
.tweaks-anchor { position: fixed; bottom: 24px; right: 24px; z-index: 80; }

/* ============ CHECKOUT ============ */
.checkout { margin-top: 24px; }
.checkout__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--border);
}
.checkout__stepper {
  display: flex; align-items: stretch;
  gap: 0;
  margin: 32px 0 32px;
  position: relative;
}
.checkout__step {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 16px 12px 0;
  flex: 1;
  position: relative;
}
.checkout__step:not(:last-child)::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 24px; height: 1px;
  background: var(--border);
}
.checkout__stepn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.checkout__step.is-current .checkout__stepn { background: var(--ks-red); border-color: var(--ks-red); color: white; }
.checkout__step.is-done    .checkout__stepn { background: var(--ok); border-color: var(--ok); color: white; }
.checkout__stept { font-weight: 500; font-size: 14px; }
.checkout__stepd { font-size: 11px; color: var(--text-muted); }
.checkout__step.is-current .checkout__stept { color: var(--ks-red); }

.checkout__body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: flex-start;
}
.checkout__main {
  display: flex; flex-direction: column; gap: 16px;
}
.checkout__panel {
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.checkout__h {
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 6px 0 0;
}

.checkout__addr {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.checkout__addr:hover { border-color: var(--border-strong); }
.checkout__addr.is-active { border-color: var(--ks-red); background: var(--ks-red-50); }
.checkout__addr--new {
  border-style: dashed;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-muted);
  gap: 6px;
}

.checkout__addr-radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.checkout__addr.is-active .checkout__addr-radio {
  border-color: var(--ks-red);
}
.checkout__addr.is-active .checkout__addr-radio::after {
  content: ""; position: absolute; inset: 2px;
  background: var(--ks-red);
  border-radius: 50%;
}

.checkout__opt {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
.checkout__opt:hover:not(.is-disabled) { border-color: var(--border-strong); }
.checkout__opt.is-active { border-color: var(--ks-red); background: var(--ks-red-50); }
.checkout__opt.is-disabled { opacity: 0.5; cursor: not-allowed; }
.checkout__opt .checkout__addr-radio { margin-top: 0; }
.checkout__opt.is-active .checkout__addr-radio { border-color: var(--ks-red); }
.checkout__opt.is-active .checkout__addr-radio::after {
  content: ""; position: absolute; inset: 2px;
  background: var(--ks-red); border-radius: 50%;
}

.checkout__nav {
  display: flex; gap: 8px; padding-top: 16px;
}

/* Confirmation */
.checkout__confirm {
  text-align: center;
  max-width: 640px;
  margin: 32px auto 0;
  padding: 48px 24px;
}
.checkout__confirm-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--ok);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.checkout__confirm-h {
  font-size: 44px;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 12px 0 12px;
  text-wrap: balance;
}
.checkout__confirm p {
  color: var(--text-muted);
  font-size: 16px;
}
.checkout__confirm-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px auto 0;
  max-width: 600px;
}

/* PDF modal */
.pdf-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: flex-start; justify-content: center;
  z-index: 100;
  padding: 40px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}
.pdf-modal__inner {
  background: white;
  border-radius: 8px;
  max-width: 820px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}
.pdf-modal__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  background: #f7f7f5;
  border-bottom: 1px solid #e6e6df;
  color: var(--ink-900);
}
.pdf-modal__body { padding: 56px 64px; background: white; color: var(--ink-900); }

.pdf { font-family: var(--font-sans); color: var(--ink-900); }
.pdf__header { display: flex; justify-content: space-between; align-items: flex-start; }
.pdf__qr {
  margin-top: 28px;
  padding: 20px;
  border: 2px solid var(--ink-900);
  border-radius: 4px;
  position: relative;
}
.pdf__qr::before {
  content: "✂ - - - - - - - - - - - - - - - - - - - - -";
  position: absolute; top: -10px; left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  color: #8c8c80;
  background: white;
  padding: 0 8px;
  display: inline-block;
  letter-spacing: 4px;
}

/* ============ Responsive nudges ============ */
@media (max-width: 1280px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .ks-main { grid-template-columns: auto auto 1fr auto; }
  .ks-search { max-width: 320px; }
}
