/* ============================================================
   Shop: Produktkarten, Kategorie-Seite, Paketseite
   ============================================================ */

/* ---------- Produktkarte ---------- */
.pcard {
  display: flex; flex-direction: column; border-radius: 12px; overflow: hidden;
  background: var(--grad-product); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; will-change: transform;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--line-hover); box-shadow: 0 14px 40px rgba(147, 51, 234, .28); }
.pcard-media { cursor: pointer; aspect-ratio: 16/9; color: var(--text); }
.pcard-media:hover { color: var(--text); }
.pcard-fallback { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pcard-fallback img { width: 54px; }
.pcard-fallback span { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .06em; text-shadow: 0 0 18px rgba(192, 38, 211, .7); }
.pcard-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; }
.pcard-fw { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.pcard-fw .chip-fw { padding: 3px 7px; border-radius: 4px; background: rgba(9, 5, 16, .82); }
.pcard-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard-name { font-family: var(--font-display); font-weight: 700; font-size: 23px; cursor: pointer; }
.pcard-name a, .pcard-name a:hover { color: var(--text); }
.pcard-short { font-size: 15px; line-height: 1.65; color: var(--muted); flex: 1; text-wrap: pretty; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.pcard-prices { display: flex; flex-direction: column; gap: 1px; }
.pcard-orig { font-size: 12px; color: var(--muted-2); text-decoration: line-through; }
.pcard-price { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1; }

/* Große Variante (Bestseller auf der Startseite) */
.pcard--lg { border-radius: 16px; }
.pcard--lg:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(147, 51, 234, .3); }
.pcard--lg .pcard-fallback { gap: 8px; }
.pcard--lg .pcard-fallback img { width: 68px; }
.pcard--lg .pcard-fallback span { font-size: 24px; }
.pcard--lg .pcard-fw { left: 14px; bottom: 14px; gap: 6px; }
.pcard--lg .pcard-fw .chip-fw { padding: 4px 9px; border-radius: 5px; background: rgba(9, 5, 16, .85); }
.pcard--lg .pcard-body { padding: 26px 28px 28px; }
.pcard--lg .pcard-name { font-size: 24px; }
.pcard--lg .pcard-short { text-wrap: wrap; }
.pcard--lg .pcard-foot { margin-top: 14px; }
.pcard--lg .pcard-price { font-size: 24px; line-height: normal; }

/* ---------- Kategorie-Seite ---------- */
.cat-page { display: flex; flex-direction: column; gap: 40px; }
.cat-head { display: flex; flex-direction: column; gap: 16px; padding: 24px 0 8px; }
.cat-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 6vw, 76px); line-height: 1; text-transform: uppercase; }
.cat-head p { font-size: 17px; line-height: 1.6; color: var(--soft); max-width: 680px; text-wrap: pretty; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid rgba(168, 85, 247, .16); }
.tb-search {
  flex: 0 1 400px; min-width: 240px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px;
  border: 1px solid rgba(168, 85, 247, .28); border-radius: 4px; background: var(--panel);
}
.tb-search input { flex: 1; min-width: 0; border: none; background: transparent; color: var(--text); font-family: var(--font-mono); font-size: 13px; outline: none; }
.tb-clear { cursor: pointer; color: var(--muted-2); font-size: 12px; }
.tb-clear:hover { color: #fff; }
.tb-actions { display: flex; gap: 10px; align-items: center; }
.tb-menu { position: relative; }
.tb-btn {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 1px solid rgba(168, 85, 247, .28);
  border-radius: 4px; background: var(--panel); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  color: var(--muted); cursor: pointer; white-space: nowrap;
}
.tb-btn:hover { border-color: var(--line-hover); color: #fff; }
.tb-btn .val { color: #fff; font-weight: 500; }
.tb-btn .caret { font-size: 10px; }
.tb-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--purple); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }

.dropdown--tb { right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px; padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.dropdown--filter { min-width: 260px; padding: 14px; gap: 14px; }
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group + .filter-group, .filter-reset { padding-top: 12px; border-top: 1px solid rgba(168, 85, 247, .16); }
.filter-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2); }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 4px; font-size: 13px; cursor: pointer; color: var(--muted); text-align: left; }
.filter-opt.mono { font-family: var(--font-mono); }
.filter-opt:hover { background: rgba(147, 51, 234, .15); }
.filter-opt.is-on { color: #fff; }
.filter-box { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); background: transparent; }
.filter-box.round { border-radius: 50%; }
.filter-opt.is-on .filter-box { border-color: var(--line-hover); background: var(--accent); }
.filter-reset { font-size: 13px; color: var(--accent); cursor: pointer; text-align: left; }
.filter-reset:hover { color: #fff; }
.sort-opt { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; cursor: pointer; color: var(--muted); }
.sort-opt:hover { background: rgba(147, 51, 234, .18); color: #fff; }
.sort-opt.is-on { color: #fff; background: rgba(147, 51, 234, .25); }

.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.subcats { display: flex; gap: 6px; flex-wrap: wrap; }
.subcat {
  padding: 7px 13px; border-radius: 6px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .05em;
  cursor: pointer; color: var(--muted); background: rgba(20, 11, 34, .6); border: 1px solid var(--line);
}
.subcat:hover { color: #fff; }
.subcat.is-on { color: #fff; background: rgba(147, 51, 234, .28); border-color: var(--line-hover); }
.cat-meta { display: flex; align-items: center; gap: 12px; }
.cat-meta .count { font-size: 13px; color: var(--muted-2); }
.view-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(168, 85, 247, .22); border-radius: 7px; background: rgba(20, 11, 34, .7); }
.view-btn { padding: 5px 10px; border-radius: 4px; font-size: 12px; cursor: pointer; color: var(--muted-2); }
.view-btn.is-on { color: #fff; background: rgba(147, 51, 234, .3); }

.empty-box { padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.empty-box .t { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.empty-box .d { font-size: 15px; color: var(--muted); }
.empty-box .link { margin-top: 6px; font-size: 14px; color: var(--accent); cursor: pointer; }
.empty-box .link:hover { color: #fff; }

.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 32px; }
.plist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.plist-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); background: var(--panel); flex-wrap: wrap; }
.plist-row:hover { background: #130a20; }
.plist-name { flex: 1; min-width: 180px; font-family: var(--font-display); font-weight: 700; font-size: 16px; cursor: pointer; color: var(--text); }
.plist-name:hover { color: var(--text); }
.plist-fw { display: flex; gap: 5px; }
.plist-fw span { padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--line-strong); color: var(--soft-2); }
.plist-price { width: 110px; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 17px; }

/* Skeleton-Karten beim Laden */
.pcard.is-skeleton .pcard-media { background: none; }
.sk-line { height: 14px; border-radius: 4px; }
.sk-line.w60 { width: 60%; } .sk-line.w90 { width: 90%; } .sk-line.w40 { width: 40%; height: 22px; }

/* ---------- Paketseite ---------- */
.pkg-page { display: flex; flex-direction: column; gap: 120px; padding-bottom: 80px; }
.pkg-top { display: flex; flex-direction: column; gap: 24px; }
.pkg-crumbs { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-2); flex-wrap: wrap; }
.pkg-crumbs a { color: var(--muted-2); }
.pkg-crumbs a:hover { color: #fff; }
.pkg-crumbs .current { color: var(--text); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.stage { aspect-ratio: 16/9; border: 1px solid rgba(168, 85, 247, .25); background: var(--grad-media-2); }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage-fallback { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stage-fallback img { width: 110px; filter: drop-shadow(0 0 20px rgba(168, 85, 247, .6)); }
.stage-fallback span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.stage-video { position: absolute; inset: 0; background: rgba(7, 4, 13, .35); display: flex; align-items: center; justify-content: center; }
.stage-video .play { font-size: 16px; }
.stage-counter { position: absolute; left: 14px; bottom: 14px; padding: 5px 10px; background: rgba(7, 4, 13, .85); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; }
.stage-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: flex; align-items: center;
  justify-content: center; background: rgba(7, 4, 13, .8); border: 1px solid rgba(168, 85, 247, .35); cursor: pointer; font-size: 18px; color: var(--text);
}
.stage-nav:hover { background: var(--panel-hover); }
.stage-nav.prev { left: 14px; }
.stage-nav.next { right: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; border: 1px solid var(--line);
  background: var(--panel-3); opacity: .55; display: flex; align-items: center; justify-content: center; transition: opacity .15s;
}
.thumb:hover { opacity: 1; }
.thumb.is-on { border-color: var(--accent); opacity: 1; }
.thumb .logo { width: 28px; opacity: .6; }
.thumb .play { position: absolute; font-size: 14px; text-shadow: 0 0 8px #000; }

.buybox {
  position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; padding: 32px;
  border: 1px solid rgba(168, 85, 247, .28); background: var(--grad-panel);
}
.buybox.is-skeleton { min-height: 420px; }
.buybox .sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--accent-2); }
.buybox h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 4vw, 54px); line-height: 1; }
.buybox .fws { display: flex; gap: 6px; flex-wrap: wrap; }
.buybox .fws span { padding: 4px 10px; border: 1px solid rgba(168, 85, 247, .35); font-family: var(--font-mono); font-size: 12px; color: var(--chip-text); }
.buybox .desc { font-size: 15px; line-height: 1.7; color: var(--soft); }
.buybox .desc-html { font-size: 15px; line-height: 1.7; color: var(--soft); }
.price-row { display: flex; align-items: flex-end; gap: 12px; padding-top: 6px; flex-wrap: wrap; }
.price-row .price { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; }
.price-row .orig { font-size: 17px; color: var(--muted-2); text-decoration: line-through; padding-bottom: 4px; }
.price-row .vat { padding-bottom: 6px; font-size: 13px; color: var(--muted-2); }
.price-row .off { margin-bottom: 6px; padding: 3px 9px; background: var(--magenta); font-family: var(--font-display); font-weight: 700; font-size: 12px; }
.countdown { font-family: var(--font-mono); font-size: 13px; color: var(--accent-2); }
.buy-actions { display: flex; flex-direction: column; gap: 10px; }
.usps { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-top: 1px solid rgba(168, 85, 247, .16); border-bottom: 1px solid rgba(168, 85, 247, .16); }
.usps span { display: flex; gap: 12px; font-size: 14px; color: var(--soft-2); }
.usps .ok { color: var(--ok); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-family: var(--font-mono); font-size: 12px; }
.facts .k { color: var(--muted-2); }
.facts a { color: var(--accent); cursor: pointer; }

.pkg-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.pkg-split--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; }
.pkg-long { font-size: 17px; line-height: 1.8; color: var(--soft-2); text-wrap: pretty; }
/* HTML-Beschreibung von Tebex */
.rich { font-size: 17px; line-height: 1.8; color: var(--soft-2); }
.rich p { margin: 0 0 14px; }
.rich ul, .rich ol { margin: 0 0 14px; padding-left: 22px; }
.rich h1, .rich h2, .rich h3, .rich h4 { font-family: var(--font-display); color: var(--text); margin: 18px 0 10px; line-height: 1.2; }
.rich img { max-width: 100%; height: auto; }
.rich a { color: var(--accent); text-decoration: underline; }
.pkg-stack { display: flex; flex-direction: column; gap: 48px; }
.grid-install { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.grid-poss { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.poss-card {
  position: relative; overflow: hidden; padding: 32px 28px; border: 1px solid rgba(168, 85, 247, .22); background: var(--grad-card);
  display: flex; flex-direction: column; gap: 14px; min-height: 260px;
  transition: border-color .35s ease, transform .35s var(--ease); will-change: transform;
}
.poss-card:hover { border-color: var(--line-hover); transform: translate3d(0, -4px, 0); }
.poss-card .ghost { position: absolute; right: -6px; top: -18px; font-family: var(--font-display); font-weight: 700; font-size: 120px; line-height: 1; color: rgba(168, 85, 247, .08); }
.poss-card .n { font-family: var(--font-mono); font-size: 13px; color: var(--accent-2); }
.poss-card .t { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.15; }
.poss-card .d { font-size: 15px; line-height: 1.65; color: var(--muted); }

.feat-sec { display: flex; flex-direction: column; gap: 72px; }
.feat-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 40px 0 8px; }
.feat-head h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 76px); line-height: .98; }
.feat-head h2 .name { background: linear-gradient(180deg, #ffffff, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feat-head p { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 720px; }
.feat-row { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.feat-row.rev { flex-direction: row-reverse; }
.feat-media { flex: 1 1 480px; aspect-ratio: 16/9; border: 1px solid rgba(168, 85, 247, .25); background: radial-gradient(circle at 50% 60%, rgba(147, 51, 234, .4), #0b0614 70%); }
.feat-media .media-img { transition: transform .8s var(--ease-out); }
.feat-media .fallback { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feat-media .fallback img { width: 80px; opacity: .7; }
.feat-media .fallback span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.feat-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.feat-copy .eb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--accent-2); }
.feat-copy h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; }
.feat-copy p { font-size: 16px; line-height: 1.75; color: var(--soft); }

.specs { display: flex; flex-direction: column; border: 1px solid rgba(168, 85, 247, .22); }
.spec { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); background: var(--panel-2); }
.spec .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted-2); }
.spec .v { font-size: 15px; color: var(--text); }

.related-sec { display: flex; flex-direction: column; gap: 40px; }
.sec-row--tight { gap: 20px; }
.grid-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.rcard { cursor: pointer; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--grad-product); color: var(--text); transition: transform .35s var(--ease), border-color .35s ease; will-change: transform; }
.rcard:hover { transform: translateY(-4px); border-color: var(--line-hover); color: var(--text); }
.rcard .media { aspect-ratio: 16/9; }
.rcard .media .logo { width: 56px; }
.rcard .row { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rcard .name { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.rcard .price { font-family: var(--font-display); font-weight: 700; font-size: 18px; }

.help-box {
  position: relative; overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(120deg, #1a0b2e, #0b0614 70%);
  padding: 72px 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.help-box .glow { position: absolute; left: 50%; top: -180px; width: 600px; height: 340px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(192, 38, 211, .38), transparent 70%); }
.help-box > * { position: relative; }
.help-box .glow { position: absolute; }
.help-box h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; }
.help-box p { font-size: 17px; color: var(--soft); max-width: 560px; }
.help-box .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.buybar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 45; width: min(880px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; border: 1px solid rgba(192, 132, 252, .4);
  background: rgba(11, 6, 20, .98); box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}
.buybar img { width: 36px; }
.buybar .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.buybar .name { font-family: var(--font-display); font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .fw { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.buybar .price { font-family: var(--font-display); font-weight: 700; font-size: 22px; }

@media (max-width: 640px) {
  .pkg-page { gap: 72px; }
  .btn-trailer { padding: 12px 18px; font-size: 13px; }
  .buybox { position: static; padding: 24px 20px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .help-box { padding: 48px 20px; }
  .buybar { gap: 10px; padding-left: 12px; }
  .buybar img { display: none; }
  .buybar .price { font-size: 18px; }
  .tb-search { flex-basis: 100%; }
  .spec { grid-template-columns: 1fr; gap: 4px; }
}
