/* Shop (shop.html) – SaaS-Marktplatz-Look, 2026-10-04.
   Ergänzt style.css/site.css nur für den Shop; eigene sp-*-Klassen, damit
   andere Seiten (Login, App, Rechtliches) unberührt bleiben. */
.shop-products {
  --sp-bg-card: #11101d;
  --sp-bg-card-2: #151326;
  --sp-border: #29223f;
  --sp-border-strong: #3d3260;
  --sp-purple: #8b5cf6;
  --sp-purple-2: #a855f7;
  --sp-purple-light: #c4b5fd;
  --sp-cyan: #67e8f9;
  --sp-text: #f5f3ff;
  --sp-muted: #a1a1aa;
  max-width: 1280px; margin: 0 auto; padding: 56px 24px 0; text-align: left;
}
body { background: #080711; }

/* Aktiver Menüpunkt "Shop" */
@media (min-width: 1021px) {
  .sn-links a.active { position: relative; }
  .sn-links a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; border-radius: 2px;
    background: var(--sp-purple, #8b5cf6); box-shadow: 0 0 10px rgba(139, 92, 246, .7);
  }
}

.sp-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sp-purple-light); }
.sp-accent { color: #a78bfa; }

/* ---------------------------------------------------------------- Buttons */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  font: inherit; font-size: 14.5px; font-weight: 600; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.sp-btn-primary {
  color: #fff; background: linear-gradient(180deg, #9a6dfa, var(--sp-purple) 60%, #7c4be8); border-color: rgba(196, 181, 253, .35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .16) inset, 0 8px 22px -10px rgba(139, 92, 246, .8);
}
.sp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .16) inset, 0 12px 28px -10px rgba(139, 92, 246, .95); }
.sp-btn-primary:disabled { opacity: .7; cursor: wait; transform: none; }
.sp-btn-ghost { color: var(--sp-text); background: rgba(255, 255, 255, .03); border-color: var(--sp-border-strong); }
.sp-btn-ghost:hover { border-color: var(--sp-purple); background: rgba(139, 92, 246, .08); }
.sp-btn-soon { color: #fbbf24; background: rgba(251, 191, 36, .06); border-color: rgba(251, 191, 36, .45); cursor: not-allowed; }
.sp-btn-lg { min-height: 54px; padding: 0 30px; font-size: 16px; border-radius: 12px; }

/* ------------------------------------------------------------------- Hero */
/* Hero + Trust-Leiste als eigener Block. Auf Desktop mindestens so hoch wie der
   sichtbare Bereich unter der Navigation (65px) und dem Seitenabstand (56px),
   damit "Unsere Produkte" erst nach dem Scrollen erscheint. Normaler Fluss. */
.sp-top { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 861px) and (min-height: 640px) {
  .sp-top { min-height: calc(100vh - 121px); min-height: calc(100svh - 121px); padding-bottom: 24px; }
}
.sp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.sp-hero h1 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; margin: 16px 0 20px; color: var(--sp-text); }
.sp-lead { color: var(--sp-muted); font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.6; max-width: 32em; margin: 0 0 32px; }
/* Filter als zusammenhängender Segment-Schalter */
.sp-filters {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 14px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--sp-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.sp-filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--sp-muted); cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 10px;
  transition: color .2s, background-color .2s, box-shadow .2s, border-color .2s;
}
.sp-filter svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.sp-filter:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.sp-filter:focus-visible { outline: 2px solid var(--sp-purple-light); outline-offset: 2px; }
.sp-filter.active {
  color: #fff; background: linear-gradient(180deg, #9a6dfa, var(--sp-purple) 60%, #7c4be8);
  border-color: rgba(196, 181, 253, .35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 18px -6px rgba(139, 92, 246, .8);
}
.sp-filter.active svg { opacity: 1; }
.sp-hero-media {
  margin: 0; aspect-ratio: 1672 / 941; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .9), 0 0 80px -32px rgba(139, 92, 246, .4);
}
.sp-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* --------------------------------------------------------- Vertrauensleiste */
.sp-trust {
  list-style: none; margin: 48px 0 0; padding: 22px 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  background: linear-gradient(180deg, var(--sp-bg-card-2), var(--sp-bg-card)); border: 1px solid var(--sp-border-strong); border-radius: 16px;
}
.sp-trust li { display: flex; align-items: center; gap: 14px; font-size: 13.5px; line-height: 1.4; color: #d6d2e6; }
.sp-trust li + li { border-left: 1px solid var(--sp-border); padding-left: 16px; }
.sp-stripe { font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: #a78bfa; flex-shrink: 0; }
.sp-trust-icon {
  display: inline-flex; width: 42px; height: 42px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%;
  color: var(--sp-purple-light); background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .3);
}
.sp-trust-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-order-status { text-align: center; margin: 24px 0 0; }

/* --------------------------------------------------------- Produkt-Bereich */
.sp-head { text-align: center; max-width: 760px; margin: 120px auto 40px; }
.sp-head h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 750; letter-spacing: -.025em; line-height: 1.15; margin: 12px 0 12px; color: var(--sp-text); }
.sp-head p { color: var(--sp-muted); font-size: 15.5px; margin: 0; }

.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sp-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px;
  background: linear-gradient(180deg, var(--sp-bg-card-2), var(--sp-bg-card)); border: 1px solid var(--sp-border);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sp-card[hidden] { display: none; }
.sp-card:hover { transform: translateY(-3px); border-color: var(--sp-border-strong); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9), 0 0 36px -18px rgba(139, 92, 246, .55); }
.sp-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; background: #0c0a18; border-bottom: 1px solid var(--sp-border); }
.sp-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.sp-card:hover .sp-card-media img { transform: scale(1.04); }
.sp-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 7, 17, .5)); pointer-events: none; }
.sp-badge {
  position: absolute; left: 14px; top: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(139, 92, 246, .85); border: 1px solid rgba(196, 181, 253, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.sp-badge.soon { background: rgba(17, 16, 29, .85); border-color: rgba(251, 191, 36, .5); color: #fde68a; }
.sp-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.sp-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin: 0; color: var(--sp-text); }
.sp-card-sub { color: var(--sp-muted); font-size: 14px; margin: 4px 0 0; line-height: 1.45; }
.sp-price { font-size: 22px; font-weight: 750; color: #c4b5fd; margin: 12px 0 14px; letter-spacing: -.01em; }
.sp-price span { font-size: 15px; font-weight: 500; color: var(--sp-muted); }
.is-soon .sp-price { color: var(--sp-muted); }
.sp-features { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.sp-features li { position: relative; padding-left: 28px; font-size: 14px; color: #d6d2e6; line-height: 1.4; }
.sp-features li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%;
  background: var(--sp-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 11px;
}
.is-soon .sp-features li::before { background-color: #3d3260; }
.sp-card-error { margin: -8px 0 12px; font-size: 13px; }
.sp-card-actions { margin-top: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.sp-card-actions .sp-btn { width: 100%; padding: 0 12px; }
.sp-card:hover .sp-btn-primary { box-shadow: 0 1px 0 rgba(255, 255, 255, .16) inset, 0 10px 26px -8px rgba(139, 92, 246, .95); }
.sp-empty-filter { text-align: center; color: var(--sp-muted); margin: 8px 0 0; }

/* ------------------------------------------------------------ Abschluss-CTA */
.sp-cta {
  position: relative; overflow: hidden; margin: 72px 0 0; padding: clamp(32px, 4.5vw, 56px); border-radius: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(180deg, var(--sp-bg-card-2), var(--sp-bg-card)); border: 1px solid var(--sp-border-strong);
}
.sp-cta-bg {
  position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .35; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.sp-cta > *:not(.sp-cta-bg) { position: relative; }
.sp-cta h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 750; letter-spacing: -.025em; line-height: 1.1; margin: 12px 0; color: var(--sp-text); }
.sp-cta p { color: #c9c4dc; font-size: 15.5px; max-width: 34em; margin: 0; }

/* -------------------------------------------------------------- Detail-Modal */
#modal-desc { white-space: pre-line; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .sp-trust li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .sp-hero { grid-template-columns: 1fr; }
  .sp-cta { flex-direction: column; align-items: flex-start; }
  .sp-cta-bg { width: 100%; opacity: .18; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) {
  .shop-products { padding: 36px 16px 0; }
  .sp-grid { grid-template-columns: 1fr; gap: 18px; }
  .sp-trust { grid-template-columns: 1fr; padding: 18px 20px; gap: 14px; }
  .sp-trust li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--sp-border); padding-top: 14px; }
  .sp-filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .sp-filter { justify-content: center; }
  .sp-hero-media { aspect-ratio: 4 / 3; }
  .sp-hero-media img { object-position: 62% 50%; }
  .sp-head { margin-top: 88px; text-align: left; }
  .sp-card-actions .sp-btn { min-height: 48px; }
  .sp-cta .sp-btn-lg { width: 100%; }
}
