/* ════════════════════════════════════════════════════════════════
   deinproduktatlas — geteiltes Stylesheet (Kategorie- & Produktseiten)
   Designsystem identisch zur Startseite (Cyan, Inter + Playfair).
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg: #080808;
  --bg-warm: #080a0c;
  --card: #101315;
  --card-2: #15181a;
  --anthracite: #1f2426;
  --anthracite-2: #272d30;
  --cyan: #06B6D4;
  --cyan-bright: #22D3EE;
  --cyan-soft: rgba(6, 182, 212, 0.14);
  --cyan-edge: rgba(6, 182, 212, 0.35);
  --magenta: #E20074;
  --magenta-bright: #FF1493;
  --magenta-soft: rgba(226, 0, 116, 0.14);
  --magenta-edge: rgba(226, 0, 116, 0.40);
  --text: #F5F1E8;
  --text-dim: rgba(245, 241, 232, 0.72);
  --text-faint: rgba(245, 241, 232, 0.42);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── Top-Banner ── */
.top-banner {
  display: block;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-bright) 50%, var(--cyan) 100%);
  background-size: 200% 100%;
  color: #06121a;
  text-align: center;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.top-banner .banner-arrow { display: inline-block; margin-left: 10px; font-family: 'Playfair Display', serif; font-size: 18px; transition: transform .25s ease; }
.top-banner:hover .banner-arrow { transform: translateX(5px); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 16px 24px; max-width: 1280px; margin: 0 auto;
}
.nav-brand { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; letter-spacing: -0.3px; flex-shrink: 0; }
.nav-brand .accent { color: var(--cyan); font-style: italic; }
.nav-links { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav-links a {
  padding: 7px 13px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--text-dim); transition: background .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--cyan-soft); color: var(--cyan); }
.nav-cta {
  background: var(--cyan); color: #06121a; padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--cyan-bright); box-shadow: 0 8px 24px rgba(6,182,212,0.25); }

/* ── Breadcrumb ── */
.breadcrumb { padding: 22px 0 0; font-size: 13px; color: var(--text-faint); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }

/* ── Page-Hero (kompakt, ohne Video) ── */
.page-hero { padding: 56px 0 40px; text-align: center; position: relative; }
/* Variante mit Hausstil-Header-Bild */
.page-hero.has-banner { padding: 84px 0 60px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: brightness(0.48) saturate(1.12); }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 0%, rgba(6,182,212,0.20) 0%, transparent 55%),
              linear-gradient(180deg, rgba(8,8,8,0.45) 0%, rgba(8,8,8,0.62) 55%, var(--bg) 100%); }
.page-hero.has-banner .container { position: relative; z-index: 2; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  background: var(--cyan-soft); border: 1px solid var(--cyan-edge); border-radius: 999px;
  color: var(--cyan); font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.page-hero .eyebrow .ic { font-size: 15px; }
.page-hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(34px, 5.5vw, 60px); line-height: 1.06; letter-spacing: -1px;
  margin-bottom: 18px; max-width: 880px; margin-left: auto; margin-right: auto;
}
.page-hero h1 em { color: var(--cyan); font-style: italic; font-weight: 500; }
.page-hero p { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); max-width: 620px; margin: 0 auto; }

/* ── Section ── */
section { padding: 40px 0; }
.section-eyebrow { color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; text-align: center; }
.section-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.8px; text-align: center; margin-bottom: 16px; }
.section-title em { color: var(--cyan); font-style: italic; font-weight: 500; }
.section-sub { text-align: center; color: var(--text-dim); font-size: 17px; max-width: 600px; margin: 0 auto 48px; }

/* ── Kategorie-Grid ── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.cat-card {
  display: block; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 0; transition: transform .2s ease, border-color .2s ease, background .2s ease;
  position: relative; overflow: hidden;
}
.cat-cover { aspect-ratio: 21 / 9; overflow: hidden; position: relative; background: var(--bg); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; filter: brightness(0.85) saturate(1.05); }
.cat-card:hover .cat-cover img { transform: scale(1.05); }
.cat-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--card) 100%); pointer-events: none; }
.cat-body { padding: 24px 26px 28px; position: relative; }
.cat-card::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px;
  background: radial-gradient(circle, var(--cyan-soft) 0%, transparent 65%); pointer-events: none; opacity: 0; transition: opacity .25s ease;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--cyan-edge); background: var(--card-2); }
.cat-card:hover::before { opacity: 1; }
.cat-card h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 23px; margin-bottom: 10px; letter-spacing: -0.3px; }
.cat-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }
.cat-card .cat-meta { display: flex; align-items: center; justify-content: space-between; }
.cat-card .cat-count { font-size: 12.5px; color: var(--text-faint); }
.cat-card .cat-arrow { color: var(--cyan); font-family: 'Playfair Display', serif; font-size: 22px; transition: transform .2s ease; }
.cat-card:hover .cat-arrow { transform: translateX(5px); }

/* ── Produkt-Grid ── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.prod-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.prod-card:hover { transform: translateY(-4px); border-color: var(--cyan-edge); box-shadow: 0 16px 36px rgba(6,182,212,0.10); }
.prod-card.is-featured { border-color: var(--cyan-edge); }
.prod-top { padding: 24px 24px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.prod-logo {
  width: 68px; height: 68px; border-radius: 14px; background: var(--anthracite);
  display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 24px; color: var(--cyan); flex-shrink: 0; overflow: hidden;
}
.prod-logo.has-logo { background: #fff; }
.prod-logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.prod-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--cyan-bright); background: var(--cyan-soft); border: 1px solid var(--cyan-edge); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.prod-body { padding: 16px 24px 0; flex: 1; }
.prod-body h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 21px; margin-bottom: 4px; letter-spacing: -0.3px; }
.prod-tagline { color: var(--cyan); font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.prod-body p { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }
.prod-foot { padding: 18px 24px 24px; display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.prod-cta {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cyan); color: #06121a; padding: 12px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.prod-cta:hover { transform: translateY(-2px); background: var(--cyan-bright); box-shadow: 0 10px 26px rgba(6,182,212,0.28); }
.prod-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: 999px; border: 1px solid var(--border-strong);
  color: var(--text); font-weight: 600; font-size: 14px; transition: border-color .15s ease, background .15s ease;
}
.prod-cta-ghost:hover { border-color: var(--cyan); background: var(--card-2); }

/* ── Family-Cross-Sell ── */
.family-cta {
  display: block; margin: 48px auto 0; max-width: 880px;
  background: linear-gradient(135deg, rgba(226,0,116,0.06), var(--card));
  border: 1px solid var(--magenta-edge); border-radius: 18px; padding: 26px 32px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.family-cta::before { content: ''; position: absolute; top: -120px; right: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(226,0,116,0.20) 0%, transparent 60%); pointer-events: none; }
.family-cta:hover { transform: translateY(-3px); border-color: var(--magenta); box-shadow: 0 18px 40px rgba(226,0,116,0.24); }
.family-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 1; }
.family-cta-eyebrow { color: var(--magenta); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.family-cta-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 24px; letter-spacing: -0.3px; margin-bottom: 4px; color: var(--text); }
.family-cta-title .promptmark { color: var(--magenta); font-style: italic; font-weight: 500; }
.family-cta-sub { color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
.family-cta-sub strong { color: var(--text); }
.family-cta-arrow { color: var(--magenta); font-size: 32px; font-family: 'Playfair Display', serif; flex-shrink: 0; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 40px 24px; text-align: center; color: var(--text-faint); font-size: 13px; margin-top: 40px; }
footer .links { margin-bottom: 14px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--cyan); }
.footer-disclaimer { max-width: 720px; margin: 20px auto 14px; color: var(--text-faint); font-size: 12px; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 1024px) { .container { padding: 0 20px; } }
@media (max-width: 768px) {
  .nav-inner { flex-wrap: wrap; gap: 12px; }
  .nav-links { order: 3; width: 100%; }
  section { padding: 32px 0; }
  .prod-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .family-cta-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-brand { font-size: 18px; }
  .page-hero { padding: 40px 0 28px; }
  footer .links { gap: 14px; flex-direction: column; }
  .prod-foot { flex-direction: column; }
  .prod-cta, .prod-cta-ghost { width: 100%; }
}
