/* Google-Ads-Landingpage /lp/onlineshop/: Referenzprojekt und Video-Stimmen.
   Grundlayout kommt von main.css, service-page.css, web-apps-page.css und /lp/web-app/lp.css. */

/* ── Referenzprojekt Sonnenkönig ─────────────────────────────── */
.lps-case {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}
.lps-case__shots {
  position: relative;
  margin: 0 0 40px;
}
.lps-case__desktop {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg, 16px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg, 0 20px 40px rgba(15, 23, 42, .12));
}
.lps-case__phone {
  position: absolute;
  right: -12px;
  bottom: -40px;
  width: 26%;
  height: auto;
  border-radius: 18px;
  border: 4px solid #0f172a;
  background: #0f172a;
  box-shadow: var(--shadow-xl, 0 24px 48px rgba(15, 23, 42, .22));
}
.lps-case__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lps-case__facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.lps-case__facts div {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md, 12px);
  background: var(--color-surface, #fff);
}
.lps-case__facts dt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.lps-case__facts dd {
  margin: 4px 0 0;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-ink);
}
.lps-case__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.lps-case__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
  color: var(--color-ink);
}
.lps-case__list .ph {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}
.lps-case__review {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid #f5a623;
  border-radius: 0 var(--r-md, 12px) var(--r-md, 12px) 0;
  background: var(--color-surface, #fff);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lps-case__review blockquote { margin: 0; }
.lps-case__review blockquote p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-ink);
}
.lps-case__review figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-ink);
}
.lps-case__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.lps-case__live {
  font-weight: 600;
  color: var(--color-accent);
}
.lps-case__live::after { content: " ↗"; }

@media (max-width: 960px) {
  .lps-case { grid-template-columns: 1fr; gap: 32px; }
  .lps-case__phone { right: 8px; width: 24%; }
}
@media (max-width: 560px) {
  .lps-case__facts { grid-template-columns: 1fr; }
  .lps-case__shots { margin-bottom: 28px; }
  .lps-case__phone { bottom: -28px; border-width: 3px; border-radius: 12px; }
}

/* ── Letzte Karte im Karussell: Portfolio ────────────────────── */
.wa-app-card.lps-more-card {
  justify-content: center;
  gap: 10px;
  padding: var(--s4, 32px);
  background: linear-gradient(160deg, var(--color-accent-soft, #eef1ff) 0%, #fff 70%);
  border-style: dashed;
}
.lps-more-card__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  color: var(--color-accent);
  box-shadow: var(--shadow-sm, 0 2px 6px rgba(15, 23, 42, .08));
}
.lps-more-card h3 { margin: 6px 0 0; }
.lps-more-card p { margin: 0; color: var(--color-text-muted); }
.lps-more-card .wa-app-card__link { margin-top: 8px; }

/* ── Kundenstimmen: Text links, Videos rechts ────────────────── */
.lps-reviews {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.lps-reviews .wa-featured-quote { max-width: none; margin: 0; }
.lps-reviews .lp-quotes { max-width: none; margin: 16px 0 0; }
.lps-reviews .lp-quote figcaption { flex-wrap: wrap; row-gap: 2px; }
.lps-reviews .lp-quote__platform { white-space: nowrap; }
.lps-reviews__videos {
  position: sticky;
  top: calc(var(--header-offset, 88px) + 16px);
}
.lps-reviews__label {
  margin: 0 0 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.lps-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lps-videos .video-meta {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .875rem;
}
@media (max-width: 960px) {
  .lps-reviews { grid-template-columns: 1fr; }
  .lps-reviews__videos { position: static; max-width: 520px; margin: 0 auto; width: 100%; }
}

/* ── Popup mit Kurzinfo zum Shop ─────────────────────────────── */
.lps-modal {
  margin: auto; /* main.css setzt margin für alle Elemente auf 0, <dialog> braucht auto zum Zentrieren */
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg, 16px);
  box-shadow: var(--shadow-xl, 0 24px 48px rgba(15, 23, 42, .25));
  overflow: auto;
}
.lps-modal::backdrop { background: rgba(15, 23, 42, .55); }
.lps-modal[open] { animation: lps-modal-in .2s ease-out; }
@keyframes lps-modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.lps-modal__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.lps-modal__img {
  /* Desktop: Vorschau nie verzerren oder beschneiden, egal wie lang der Text rechts ist.
     Das Bild steht in voller Breite der Spalte, vertikal mittig, die Fläche drumherum ist ruhig getönt. */
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 28px;
  object-fit: contain;
  object-position: center;
  background: var(--color-bg, #f6f7fb);
}
.lps-modal__body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lps-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink);
  cursor: pointer;
}
.lps-modal__close:hover { border-color: var(--color-ink); }
.lps-modal__cat {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.lps-modal__title { margin: 0; font-size: 1.5rem; }
.lps-modal__desc { margin: 0; line-height: 1.6; color: var(--color-ink); }
.lps-modal__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lps-modal__facts li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-accent-soft, #eef1ff);
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-ink);
}
.lps-modal__quote {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #f5a623;
  background: var(--color-bg, #f6f7fb);
  border-radius: 0 12px 12px 0;
}
.lps-modal__quote blockquote { margin: 4px 0; }
.lps-modal__quote p { margin: 0; font-size: .95rem; line-height: 1.5; }
.lps-modal__quote figcaption { font-size: .8rem; font-weight: 600; color: var(--color-text-muted); }
.lps-modal__video { font-weight: 600; color: var(--color-accent); }
.lps-modal__video::before { content: "▶ "; font-size: .8em; }
.lps-modal__ctas {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.lps-modal__link { font-weight: 600; color: var(--color-accent); }
.lps-modal__live::after { content: " ↗"; }
@media (max-width: 720px) {
  .lps-modal__inner { grid-template-columns: 1fr; }
  .lps-modal__img { height: auto; aspect-ratio: 16 / 10; padding: 0; object-fit: cover; }
  .lps-modal__body { padding: 20px 18px 22px; }
  .lps-modal__ctas .btn { width: 100%; justify-content: center; }
}

/* ── Nachweis aus der Google Search Console (Relaunch-Referenz) ── */
.lps-gsc { margin: 48px 0 0; }
.lps-gsc img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
}
.lps-gsc figcaption {
  margin-top: 12px;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.lps-gsc figcaption strong { color: var(--color-ink); }
