/* Landingpage von deine-partei.com. Sichtbar nur, wenn boot.js NICHT ins Spiel schickt (Klasse .play am <html>). */
html.play .landing { display: none; }
html:not(.play) #phone { display: none; }
html:not(.play), html:not(.play) body { height: auto; min-height: 100%; }
html:not(.play) body { display: block; }

.landing {
  --lp-bg: #0b0d12; --lp-bg2: #11141b; --lp-card: #161a23; --lp-line: #262c39; --lp-text: #eef1f6; --lp-muted: #9aa3b4;
  --lp-accent: #f97316; --lp-accent2: #fb923c; --lp-paper: #f3efe4;
  --lp-pad: clamp(16px, 4vw, 80px); /* volle Bildschirmbreite, Rand wächst mit */
  background: var(--lp-bg); color: var(--lp-text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden;
}
.landing a { color: inherit; }
.landing h1, .landing h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; letter-spacing: -.01em; }

/* Kopfleiste */
.lp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px var(--lp-pad); background: rgba(11, 13, 18, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lp-line); }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; white-space: nowrap; }
.lp-brand img { border-radius: 8px; }
.lp-nav { display: none; gap: 22px; margin-left: 18px; font-size: 15px; }
.lp-nav a { color: var(--lp-muted); text-decoration: none; }
.lp-nav a:hover { color: var(--lp-text); }
.lp-actions { margin-left: auto; display: flex; gap: 8px; }
@media (min-width: 900px) { .lp-nav { display: flex; } }

/* Knöpfe */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--lp-accent); color: #111 !important; font-weight: 800; text-decoration: none; border: 1px solid var(--lp-accent); transition: transform .12s, background .12s; white-space: nowrap; }
.lp-btn:hover { background: var(--lp-accent2); transform: translateY(-1px); }
.lp-btn.ghost { background: transparent; color: var(--lp-text) !important; border-color: var(--lp-line); }
.lp-btn.ghost:hover { border-color: var(--lp-muted); background: rgba(255, 255, 255, .04); }
.lp-btn.big { min-height: 52px; padding: 0 24px; font-size: 17px; border-radius: 14px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lp-cta.center { justify-content: center; }

/* Kopfbereich */
.lp-hero { display: grid; gap: 32px; padding: 40px var(--lp-pad) 56px; align-items: center;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(249, 115, 22, .22), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(59, 130, 246, .14), transparent 60%); }
.lp-eyebrow { color: var(--lp-accent2); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin: 0 0 10px; }
.lp-hero h1 { font-size: clamp(36px, 9vw, 64px); line-height: 1.02; margin: 0; }
.lp-hero h1 span { color: var(--lp-accent); }
.lp-lead { color: #cdd3df; font-size: clamp(18px, 1.3vw, 21px); max-width: 38em; margin: 18px 0 0; }
.lp-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-facts li { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: #cdd3df; }
.lp-hero-art { position: relative; height: 520px; max-width: 420px; width: 100%; margin: 0 auto; }
@media (min-width: 900px) { .lp-hero { grid-template-columns: 1.1fr .9fr; padding-top: 64px; padding-bottom: 80px; } .lp-hero-art { height: 600px; } }
@media (min-width: 1500px) { .lp-hero h1 { font-size: 76px; } .lp-hero-art { height: 680px; max-width: 480px; } .lp-grid.modes { grid-template-columns: repeat(4, 1fr); } }

/* Handyrahmen */
.lp-phone { border-radius: 34px; padding: 9px; background: #05060a; border: 1px solid #2c3342; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.lp-hero-art .lp-phone { position: absolute; width: 62%; }
.lp-hero-art .front { left: 4%; top: 0; z-index: 2; transform: rotate(-4deg); }
.lp-hero-art .back { right: 0; top: 8%; transform: rotate(6deg); opacity: .92; }
.lp-bubble { position: absolute; z-index: 3; background: var(--lp-paper); color: #1b1b1b; font-weight: 800; font-size: 14px; padding: 8px 12px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); animation: lp-float 5s ease-in-out infinite; white-space: nowrap; }
.lp-bubble.b1 { right: 2%; top: 2%; }
.lp-bubble.b2 { left: -2%; top: 46%; animation-delay: -1.6s; }
.lp-bubble.b3 { right: 0; bottom: 6%; animation-delay: -3.2s; }
@keyframes lp-float { 50% { transform: translateY(-8px); } }

/* Schlagzeilen-Laufband */
.lp-ticker { overflow: hidden; background: var(--lp-paper); color: #1b1b1b; border-top: 3px double #1b1b1b; border-bottom: 3px double #1b1b1b; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
.lp-ticker-run { display: flex; gap: 48px; width: max-content; padding: 12px 0; animation: lp-ticker 60s linear infinite; }
.lp-ticker-run span { white-space: nowrap; }
@keyframes lp-ticker { to { transform: translateX(-50%); } }

/* Abschnitte */
.lp-section { padding: 64px var(--lp-pad); }
.lp-section h2 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; margin: 0 0 10px; }
.lp-sub { color: var(--lp-muted); font-size: 18px; max-width: 40em; margin: 0 0 28px; }
.lp-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.lp-grid.modes { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.lp-grid.two { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.lp-card { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 18px; padding: 22px; }
.lp-card .ic { font-size: 30px; width: 54px; height: 54px; display: grid; place-items: center; background: #1f2430; border-radius: 14px; margin-bottom: 12px; }
.lp-card h3 { margin: 0 0 6px; font-size: 19px; }
.lp-card p { margin: 0; color: #c3c9d6; }

/* Bilderband */
.lp-shots { background: var(--lp-bg2); }
.lp-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(250px, 70%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px; scrollbar-width: thin; }
.lp-gallery figure { margin: 0; scroll-snap-align: start; }
.lp-gallery figcaption { text-align: center; color: var(--lp-muted); font-size: 14px; margin-top: 12px; }

/* Schritte */
.lp-steps { list-style: none; counter-reset: s; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.lp-steps li { counter-increment: s; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 18px; padding: 22px 22px 22px 76px; position: relative; }
.lp-steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--lp-accent); color: #111; font: 900 20px/40px 'Playfair Display', Georgia, serif; text-align: center; }
.lp-steps b { display: block; font-size: 18px; margin-bottom: 4px; }
.lp-steps span { color: #c3c9d6; }

/* Konto */
.lp-account { display: grid; gap: 24px; align-items: start; background: linear-gradient(180deg, var(--lp-bg2), var(--lp-bg)); }
@media (min-width: 900px) { .lp-account { grid-template-columns: 1.1fr .9fr; } }
.lp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-checks li { padding-left: 32px; position: relative; color: #dfe3ea; }
.lp-checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(34, 197, 94, .18); color: #4ade80; font-weight: 900; display: grid; place-items: center; font-size: 13px; }
.lp-howto { background: var(--lp-paper); color: #1b1b1b; border-radius: 18px; padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.lp-howto h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; margin: 0 0 10px; }
.lp-howto ol { margin: 0 0 12px; padding-left: 22px; }
.lp-howto li { margin: 6px 0; }
.lp-howto p { margin: 0; font-size: 14px; color: #444; }
.lp-howto a { color: #c2410c; }

/* Fragen */
.lp-faq { display: grid; gap: 10px; align-items: start; }
@media (min-width: 1100px) { .lp-faq { grid-template-columns: 1fr 1fr; } }
.lp-faq details { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 14px; padding: 4px 18px; }
.lp-faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::after { content: '+'; color: var(--lp-accent); font-size: 22px; line-height: 1; }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq p { margin: 0 0 16px; color: #c3c9d6; }
.lp-faq a { color: var(--lp-accent2); }

/* Schluss */
.lp-final { text-align: center; padding: 72px 16px; background: radial-gradient(700px 300px at 50% 100%, rgba(249, 115, 22, .25), transparent 70%); }
.lp-final h2 { font-size: clamp(32px, 7vw, 52px); margin: 0 0 8px; }
.lp-final p { color: var(--lp-muted); margin: 0 0 24px; font-size: 18px; }
.lp-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 24px var(--lp-pad); border-top: 1px solid var(--lp-line); color: var(--lp-muted); font-size: 14px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lp-foot a { color: var(--lp-muted); }

@media (prefers-reduced-motion: reduce) {
  .lp-ticker-run, .lp-bubble { animation: none; }
  .lp-btn { transition: none; }
}
@media (max-width: 420px) { .lp-top .lp-btn { padding: 0 12px; } .lp-brand { font-size: 16px; } }

/* Comics */
.lp-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 82%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; margin-bottom: 18px; scrollbar-width: thin; }
.lp-strip img { display: block; width: 100%; height: auto; border-radius: 12px; scroll-snap-align: start; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
@media (min-width: 1100px) { .lp-strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.lp-grid.three { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.lp-cardlink { margin-top: 10px !important; }
.lp-cardlink a { color: var(--lp-accent2); font-weight: 800; text-decoration: none; }

/* Play-Store-Link im Kopfbereich */
.lp-store { margin: 14px 0 0; font-size: 15px; }
.lp-store a { color: var(--lp-accent2); font-weight: 800; text-decoration: none; }
.lp-store a:hover { text-decoration: underline; }
