/* ==========================================================================
   Landingpages (server/views/landing.tsx)
   Akzentfarben je Produkt: --lp-accent und --lp-accent-2 (aus site/products)
   ========================================================================== */
.lp { --lp-grad: linear-gradient(100deg, var(--lp-accent), var(--lp-accent-2)); }

.lp-disclosure {
  margin: 0; padding: 9px 16px; text-align: center; font-size: .82rem;
  background: #fff1d6; color: #6a4300; border-bottom: 1px solid #f5dcae;
}
.lp-disclosure a { color: inherit; font-weight: 700; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: #efe6f7;
  padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px);
}
.lp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.5px); background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
}
.lp-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.lp-blob--1 { width: 520px; height: 520px; right: -120px; top: -160px; background: var(--lp-accent-2); }
.lp-blob--2 { width: 420px; height: 420px; left: -140px; bottom: -200px; background: var(--lp-accent); opacity: .35; }
.lp-blob--3 { width: 600px; height: 600px; right: -200px; bottom: -300px; background: var(--lp-accent-2); opacity: .4; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.lp .breadcrumb { color: #b9a8cc; margin-bottom: 18px; font-size: .88rem; }
.lp .breadcrumb a { color: #e3d6f0; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff;
}
.lp-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-grad); }
.lp-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.03; margin-bottom: 18px; }
.lp-hl { display: block; background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 1.15rem; color: #d5c7e3; max-width: 600px; }
.lp-facts { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lp-facts li {
  padding: 14px 14px 12px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lp-facts strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: #fff; line-height: 1.15; }
.lp-facts span { display: block; font-size: .78rem; color: #c7b6d9; margin-top: 4px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.lp-btn svg { width: 19px; height: 19px; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn--primary { background: var(--lp-grad); color: #1d1128; box-shadow: 0 12px 34px color-mix(in srgb, var(--lp-accent-2) 45%, transparent); }
.lp-btn--primary:hover { filter: saturate(1.15) brightness(1.04); }
.lp-btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.lp-btn--ghost:hover { border-color: #fff; }
.lp-btn--dark { background: var(--navy-900); color: #fff; }
.lp-price { margin: 16px 0 0; font-size: .88rem; color: #c7b6d9; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.lp-price strong { font-family: var(--font-display); font-size: 1.6rem; color: #fff; }

.lp-hero-media { position: relative; }
.lp-figure { margin: 0; position: relative; }
.lp-figure img { width: 100%; height: auto; border-radius: var(--radius-l); display: block; background: #2d1a4d; }
.lp-figure figcaption { position: absolute; right: 12px; bottom: 12px; font-size: .72rem; color: #fff; background: rgba(13,7,22,.6); padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lp-figure--hero img { aspect-ratio: 16 / 11; object-fit: cover; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: rotate(1.2deg); border: 4px solid rgba(255,255,255,.08); }
.lp-figure--hero::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--radius-l); background: var(--lp-grad); opacity: .85; z-index: -1; transform: rotate(-2deg); }
.lp-figure--product img { object-fit: contain; background: #fff; padding: 24px; }
.lp-figure--placeholder { aspect-ratio: 16 / 11; border-radius: var(--radius-l); display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, var(--lp-accent-2), transparent 60%), radial-gradient(circle at 80% 80%, var(--lp-accent), transparent 55%), var(--navy-800); color: #fff; }
.lp-figure--placeholder svg { width: 96px; height: 96px; opacity: .9; }

/* ---------- Abschnitte ---------- */
.lp-section { padding: clamp(56px, 8vw, 96px) 0; background: var(--surface); }
.lp-section--tint { background: var(--bg); }
.lp-head { max-width: 760px; margin-bottom: 36px; }
.lp-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.lp-head p { color: var(--muted); }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.lp-section--tint .lp-card { background: #fff; }

.lp-verdict-wrap { padding-top: 0; background: var(--surface); }
.lp-verdict-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: -48px; position: relative; z-index: 2; }
.lp-verdict { position: relative; overflow: hidden; }
.lp-verdict::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--lp-grad); }
.lp-verdict h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lp-verdict p { color: var(--ink-2); font-size: 1.05rem; }
.lp-fit { display: grid; gap: 16px; }
.lp-fit h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 10px; }
.lp-fit h3 svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; }
.lp-fit-yes h3 svg { background: #d9f6f2; color: #0b7a70; }
.lp-fit-no h3 svg { background: #ffe3ea; color: #c21e4f; }
.lp-fit ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.lp-fit li + li { margin-top: 4px; }

.lp-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-hl-card { position: relative; padding: 26px 24px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.lp-hl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,17,40,.1); }
.lp-hl-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; background: var(--lp-grad); color: #1d1128; }
.lp-hl-icon svg { width: 26px; height: 26px; }
.lp-hl-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.lp-hl-card p { margin: 0; color: var(--muted); font-size: .96rem; }

.lp-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: 28px 0; }
.lp-detail + .lp-detail { border-top: 1px solid var(--line); }
.lp-detail--rev .lp-detail-copy { order: 2; }
.lp-detail--text { grid-template-columns: minmax(0, 820px); }
.lp-detail h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.lp-detail-copy p, .lp-detail-copy li { color: var(--ink-2); }
.lp-detail-copy ul { padding-left: 1.2em; }
.lp-detail-copy strong { color: var(--ink); }
.lp-detail .lp-figure img { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }

.lp-inline-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--radius-l); background: var(--bg); border: 1px dashed color-mix(in srgb, var(--lp-accent-2) 45%, var(--line)); }
.lp-inline-cta p { margin: 0; color: var(--ink-2); }

.lp-specs-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.lp-specs { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.lp-specs th, .lp-specs td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lp-specs tr:last-child th, .lp-specs tr:last-child td { border-bottom: 0; }
.lp-specs th { width: 38%; font-weight: 700; color: var(--ink); font-size: .95rem; }
.lp-specs td { color: var(--ink-2); }
.lp-specs tr:nth-child(even) { background: #fdf9f5; }
.lp-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.lp-proscons { display: grid; gap: 16px; }
.lp-proscons h3 { font-size: 1.1rem; }
.lp-proscons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-proscons li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.lp-proscons li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.lp-pros { border-left: 5px solid #2ec4b6; }
.lp-pros svg { color: #0b7a70; }
.lp-cons { border-left: 5px solid #ff4f79; }
.lp-cons svg { color: #c21e4f; }

.lp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-gallery .lp-figure img { aspect-ratio: 4 / 3; object-fit: cover; }

.lp-extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-extra { display: flex; flex-direction: column; }
.lp-extra .lp-figure { margin: -8px -8px 16px; }
.lp-extra .lp-figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.lp-extra h3 { font-size: 1.1rem; }
.lp-extra p { color: var(--muted); flex: 1; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--teal); text-decoration: none; }
.lp-link svg { width: 16px; height: 16px; }

.lp-video { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--radius-l); text-decoration: none; color: #fff; background: radial-gradient(400px 200px at 100% 0%, color-mix(in srgb, var(--lp-accent-2) 60%, transparent), transparent 60%), var(--navy-900); }
.lp-video-play { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: var(--lp-grad); color: #1d1128; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.lp-video strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.lp-video small { display: block; color: #c7b6d9; margin-top: 4px; }
.lp-video:hover .lp-video-play { transform: scale(1.06); }

.lp-faq-wrap { max-width: 900px; }
.lp-faq details { background: #fff; }

.lp-final { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 110px) 0; background: var(--navy-900); color: #efe6f7; text-align: center; }
.lp-final-inner { max-width: 760px; }
.lp-final h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.lp-final p { color: #d5c7e3; }
.lp-final .lp-price { justify-content: center; }

.lp-author-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.lp-author { display: flex; gap: 20px; align-items: flex-start; }
.lp-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--lp-accent); }
.lp-author h2 { font-size: 1.35rem; }
.lp-author p { color: var(--ink-2); font-size: .96rem; }
.lp-author-links { font-size: .9rem; }
.lp-author-links a { color: var(--teal); }
.lp-author-grid .newsletter { border-radius: var(--radius-l); }
.lp-more { margin-top: 28px; text-align: center; }

/* Mobile Kauf-Leiste (ohne JavaScript, klebt am unteren Rand) */
.lp-sticky { display: none; }
@media (max-width: 760px) {
  .lp-sticky {
    position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 11, 36, .94); color: #fff;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.1);
  }
  .lp-sticky span { font-family: var(--font-display); font-weight: 700; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lp-sticky .lp-btn { padding: 10px 18px; font-size: .92rem; flex: none; }
}

@media (max-width: 1024px) {
  .lp-highlights, .lp-extras { grid-template-columns: repeat(2, 1fr); }
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lp-hero-grid, .lp-verdict-grid, .lp-specs-grid, .lp-author-grid { grid-template-columns: 1fr; }
  .lp-verdict-grid { margin-top: 0; padding-top: 32px; }
  .lp-detail { grid-template-columns: 1fr; }
  .lp-detail--rev .lp-detail-copy { order: 0; }
  .lp-gallery { grid-template-columns: repeat(2, 1fr); }
  .lp-figure--hero img { transform: none; }
}
@media (max-width: 560px) {
  .lp-highlights, .lp-extras, .lp-gallery { grid-template-columns: 1fr; }
  .lp-actions .lp-btn { width: 100%; }
  .lp-author { flex-direction: column; }
  .lp-specs th, .lp-specs td { padding: 12px 14px; display: block; width: auto; border-bottom: 0; }
  .lp-specs th { padding-bottom: 0; }
  .lp-specs tr { display: block; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-btn, .lp-hl-card, .pcard, .pcard-media img { transition: none; }
  .lp-figure--hero img { transform: none; }
}
