/* Scan2Help.me — Sperrbildschirm / ICE-Wallpaper landing (Calm Trust) */
/* Linked only from public/sperrbildschirm.php */

body.ls-landing {
  --ls-navy: #0c1f3c;
  --ls-navy-mid: #1e3a5f;
  --ls-glow: rgba(201, 162, 39, 0.22);
  --ls-soft: #eef2f7;
}

/* —— Hero —— */
.ls-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 85% 40%, rgba(201, 162, 39, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(30, 58, 95, 0.9) 0%, transparent 50%),
    linear-gradient(125deg, #0c1f3c 0%, #163556 48%, #1e3a5f 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.ls-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  opacity: 0.7;
}

.ls-hero .wrap {
  position: relative;
  z-index: 1;
}

.ls-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .ls-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
}

.ls-hero .eyebrow,
.ls-hero .ls-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5e6a8;
}

.ls-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, "Nunito", sans-serif);
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.ls-hero-lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}

.ls-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.ls-hero-actions .btn-primary {
  background: var(--cta, #c9a227);
  color: var(--cta-text, #0c1f3c);
  border: none;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.ls-hero-actions .btn-primary:hover {
  background: #d4ad2f;
  color: var(--cta-text, #0c1f3c);
}

.ls-hero-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: var(--radius, 10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ls-hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* Phone stage */
.ls-phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 18rem;
}

.ls-phone-stage::before {
  content: "";
  position: absolute;
  width: min(88%, 22rem);
  height: min(88%, 22rem);
  border-radius: 50%;
  background: radial-gradient(circle, var(--ls-glow) 0%, transparent 68%);
  filter: blur(4px);
  z-index: 0;
  animation: ls-glow-pulse 5.5s ease-in-out infinite;
}

.ls-phone-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  border-radius: 1.35rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #2a455f 0%, #0c1f3c 55%, #081628 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 8px 16px rgba(0, 0, 0, 0.25);
  animation: ls-float 6s ease-in-out infinite;
}

.ls-phone-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% 28%;
  border-radius: 0.95rem;
  background: #111;
}

/* —— Points strip —— */
.ls-points {
  background: var(--surface, #fff);
  border-bottom: 1px solid var(--border, #d8dee6);
  padding: 1.35rem 0;
}

.ls-points-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .ls-points-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.ls-points-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted, #5a6570);
  line-height: 1.4;
}

.ls-points-list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.25rem;
  border-radius: 50%;
  background: var(--ok, #0f766e);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--ok, #0f766e);
}

/* —— Steps —— */
.ls-landing .ls-steps-section.section {
  background: var(--ls-soft, #eef2f7);
}

.ls-steps {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
  counter-reset: lsstep;
}

@media (min-width: 800px) {
  .ls-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ls-step {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d8dee6);
  border-radius: var(--radius-lg, 14px);
  padding: 1.35rem 1.2rem;
  counter-increment: lsstep;
  box-shadow: 0 4px 18px rgba(12, 31, 60, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ls-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(12, 31, 60, 0.1);
}

.ls-step::before {
  content: counter(lsstep);
  display: flex;
  width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary, #1e3a5f);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.ls-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--primary-deep, #0c1f3c);
}

.ls-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, #5a6570);
  line-height: 1.5;
}

/* —— Benefits —— */
.ls-benefits .check {
  max-width: 40rem;
  margin: 1rem auto 0;
}

/* —— FAQ —— */
.ls-faq .faq-list {
  max-width: 40rem;
}

/* —— Compare —— */
.ls-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0 0.75rem;
  border: 1px solid var(--border, #d8dee6);
  border-radius: var(--radius-lg, 14px);
  background: var(--surface, #fff);
}

.ls-compare-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.ls-compare-table th,
.ls-compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border, #d8dee6);
  color: var(--muted, #5a6570);
  line-height: 1.45;
}

.ls-compare-table thead th {
  background: var(--ls-soft, #eef2f7);
  color: var(--primary-deep, #0c1f3c);
  font-weight: 700;
  font-size: 0.8rem;
}

.ls-compare-table tbody th {
  color: var(--primary-deep, #0c1f3c);
  font-weight: 600;
  background: rgba(238, 242, 247, 0.45);
  width: 22%;
}

.ls-compare-table tbody td:first-of-type {
  color: var(--primary, #1e3a5f);
  font-weight: 600;
}

.ls-compare-table tr:last-child th,
.ls-compare-table tr:last-child td {
  border-bottom: none;
}

.ls-compare-note {
  margin: 0.75rem auto 0;
  max-width: 48rem;
  font-size: 0.9rem;
  color: var(--muted, #5a6570);
  text-align: center;
  line-height: 1.5;
}

/* —— Hybrid —— */
.ls-hybrid {
  background: var(--surface, #fff);
}

.ls-hybrid-inner {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.ls-hybrid-inner .section-head {
  margin-inline: auto;
  text-align: center;
}

.ls-hybrid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.35rem 0 0;
}

/* —— CTA band —— */
.ls-cta-band {
  background:
    linear-gradient(125deg, #0c1f3c 0%, #1e3a5f 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}

.ls-cta-band h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display, "Nunito", sans-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #fff;
}

.ls-cta-band p {
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

.ls-cta-band .btn-primary {
  background: var(--cta, #c9a227);
  color: var(--cta-text, #0c1f3c);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.ls-cta-band .btn-primary:hover {
  background: #d4ad2f;
  color: var(--cta-text, #0c1f3c);
}

/* —— Motion —— */
@keyframes ls-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ls-glow-pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes ls-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.ls-hero-copy,
.ls-phone-stage {
  animation: ls-fade-up 0.7s ease both;
}

.ls-phone-stage {
  animation-delay: 0.12s;
}

.ls-step:nth-child(1) { animation: ls-fade-up 0.55s ease 0.05s both; }
.ls-step:nth-child(2) { animation: ls-fade-up 0.55s ease 0.15s both; }
.ls-step:nth-child(3) { animation: ls-fade-up 0.55s ease 0.25s both; }

@media (prefers-reduced-motion: reduce) {
  .ls-phone-frame,
  .ls-phone-stage::before,
  .ls-hero-copy,
  .ls-phone-stage,
  .ls-step {
    animation: none !important;
  }
  .ls-step:hover {
    transform: none;
  }
}
