/* ============================================================
   Landing Page — Ding gegen Drohne
   Dark Mode, Inter, Cyan/Magenta-Akzente passend zur App
   ============================================================ */

:root {
  --bg: #0b0e14;
  --bg-2: #12161f;
  --panel: #161b26;
  --panel-2: #1a1f2e;
  --border: #262b38;
  --text: #e6e9ef;
  --muted: #8b93a7;
  --muted-2: #656d80;
  --accent: #4cc9f0;
  --accent-2: #7ee0ff;
  --magenta: #f72585;
  --warn: #ffd166;
  --success: #06d6a0;
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 { font-size: 32px; margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }

p { color: var(--muted); }

.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(76, 201, 240, 0.08);
  border: 1px solid rgba(76, 201, 240, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #0b0e14;
  box-shadow: 0 4px 20px rgba(76, 201, 240, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent-2);
  box-shadow: 0 6px 28px rgba(76, 201, 240, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #ff6b00 0%, #ff9500 100%);
  color: #0b0e14;
  box-shadow: 0 4px 20px rgba(255, 149, 0, 0.25);
}
.btn-secondary:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 28px rgba(255, 149, 0, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--panel);
}

.btn-large { padding: 16px 32px; font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse at 20% 20%, rgba(76, 201, 240, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(247, 37, 133, 0.06) 0%, transparent 50%),
              var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}

.hero-copy .lead {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 540px;
  opacity: 0.85;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: var(--muted-2);
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Wie es funktioniert ---------- */
.how {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how-step {
  text-align: center;
  padding: 24px;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(76, 201, 240, 0.1);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.how-step h3 { color: var(--text); }
.how-step p { font-size: 14px; }

/* ---------- Objekt-Highlights ---------- */
.highlights { padding: 80px 0; }

.highlights h2 { text-align: center; }

.section-lead {
  text-align: center;
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 48px;
}

.obj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.obj-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.obj-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.obj-card.featured {
  border-color: rgba(76, 201, 240, 0.4);
  box-shadow: 0 8px 32px rgba(76, 201, 240, 0.08);
}

.obj-emoji {
  font-size: 40px;
  margin-bottom: 12px;
}

.obj-card h3 {
  color: var(--text);
  font-size: 20px;
  margin-bottom: 16px;
}

.obj-stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.obj-stats li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.obj-stats span { color: var(--muted); }
.obj-stats strong { color: var(--text); font-weight: 600; }

.obj-card p { font-size: 14px; }

.highlights-cta {
  text-align: center;
}

/* ---------- Buch-Sektion ---------- */
.book {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.book-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.book-copy .kicker { color: var(--warn); background: rgba(255, 209, 102, 0.08); border-color: rgba(255, 209, 102, 0.25); }
.book-copy h2 { margin-bottom: 20px; }
.book-copy .lead {
  font-size: 16px;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 24px;
}
.book-copy em { color: var(--warn); font-style: normal; font-weight: 600; }

.book-facts {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.book-facts li {
  font-size: 14px;
  color: var(--muted);
}

.disclaimer {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 12px;
  opacity: 0.7;
}

.book-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.book-cover-link {
  display: block;
  transform: rotate(-4deg) perspective(1000px) rotateY(-6deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
  border-radius: 4px;
  position: relative;
}
.book-cover-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
  border-radius: 4px 0 0 4px;
  z-index: 2;
  pointer-events: none;
}
.book-cover-link:hover {
  transform: rotate(-2deg) perspective(1000px) rotateY(-3deg) scale(1.03);
}
.book-cover-img {
  display: block;
  width: 240px;
  height: auto;
  border-radius: 4px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 10px 25px rgba(247, 37, 133, 0.15),
    -6px 0 20px rgba(0, 0, 0, 0.3);
}

/* ---------- Newsletter ---------- */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.newsletter-copy h2 {
  margin: 12px 0 16px;
}
.newsletter-copy p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.newsletter-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--text);
  opacity: 0.9;
  font-size: 15px;
}
.benefit-icon {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 196, 182, 0.12);
  border-radius: 50%;
  font-size: 12px;
}

.newsletter-form-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.15);
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--muted-2);
}
.newsletter-form button {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
}
.newsletter-hint {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}
.newsletter-hint a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.newsletter-status {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}
.newsletter-status.is-error { color: #ff6b6b; }
.newsletter-status.is-ok { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Install / Mobile ---------- */
.install {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.install h2 { text-align: center; }
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.install-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.install-card h3 {
  color: var(--text);
  font-size: 20px;
  margin-bottom: 16px;
}
.install-card ol {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}
.install-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ---------- Final CTA ---------- */
.cta {
  padding: 80px 24px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(76, 201, 240, 0.08) 0%, transparent 60%),
              var(--bg);
}
.cta h2 { font-size: 40px; margin-bottom: 12px; }
.cta p { font-size: 17px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-links {
  margin: 20px 0 8px;
  color: var(--muted);
}
.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover { text-decoration: underline; }
.footer-legal {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 12px;
}

/* Share-Buttons — dieselben Styles wie in style.css */
.share-row {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.share-label {
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-right: 4px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--border);
  font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
}
.share-btn:hover {
  transform: translateY(-1px);
  border-color: var(--muted);
}
.share-btn.wa:hover   { background: #25d366; color: #fff; border-color: #25d366; }
.share-btn.x:hover    { background: #000; color: #fff; border-color: #000; }
.share-btn.copy:hover { background: var(--accent); color: #0b0e14; border-color: var(--accent); }
.share-btn.copied {
  background: var(--success); color: #0b0e14; border-color: var(--success);
}
.share-btn svg { flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 60px 24px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
  .obj-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .book-visual { order: -1; }
  .install-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  h2 { font-size: 26px; }
  .cta h2 { font-size: 30px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost, .btn-secondary { justify-content: center; }
  .book-facts { flex-direction: column; gap: 8px; }
}
