/* ============================================================
   mkLearn – marketing.css
   Layout-Regeln für die Landing-Page (index.html) und die
   Legal-Pages. Setzt auf den Variablen aus shared.css auf.
   DNA: Dark-Neon + Matrix-Rain (siehe Baustein
   ui/baustein-landing-dark-neon-matrix.md), angepasst für eine
   Lern-App ohne FREE/PRO-Gating.
   ============================================================ */

body {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ── Kopf: App-Icon → Wortmarke → Tagline ─────────────────── */
.logo-icon {
  display: block;
  margin: 0 auto 16px;
  width: 96px;
  height: 96px;
  border-radius: 22.5%;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  background: var(--surface);
}
.logo {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
}
.logo .g { color: var(--accent); }
.logo sup {
  font-size: 0.38em;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0;
  margin-left: 3px;
  vertical-align: super;
}
.tagline {
  font-size: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 4px;
  margin-bottom: 48px;
  text-align: center;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero { margin-bottom: 56px; text-align: center; }
.hero h1 {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 28px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Section-Label ────────────────────────────────────────── */
.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  margin-top: 48px;
  text-align: center;
}

/* ── Feature-/Anleitung-Cards ─────────────────────────────── */
.features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Themen-Übersicht (Grid aus Themen-Kacheln) ───────────── */
.topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.topic-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.15s;
}
.topic-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.topic-card .topic-emoji { font-size: 26px; line-height: 1; display: block; margin-bottom: 8px; }
.topic-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.topic-card p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.topic-card.soon { opacity: 0.55; pointer-events: none; }
@media (max-width: 480px) {
  .topics { grid-template-columns: 1fr; }
}

/* ── Datenschutz-Highlight ────────────────────────────────── */
.highlight-card {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.highlight-card .hc-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.highlight-card .hc-title { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.highlight-card .hc-text { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Version-Zeile ────────────────────────────────────────── */
.version-line {
  text-align: center;
  font-size: 11px;
  color: #888;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  margin: 32px 0 40px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer-logo {
  display: block;
  max-width: 150px;
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 8px;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 0.9; }
footer {
  text-align: center;
  font-size: 12px;
  color: #888;
  font-family: var(--font-mono);
  line-height: 1.8;
  margin-top: 0;
}
footer a { color: #aaa; text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
footer a.footer-prologixx {
  color: inherit;
  border: 1px solid transparent;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}
footer a.footer-prologixx:hover {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}
footer a.footer-legal:hover { color: var(--accent); }

/* ── Matrix-Rain Canvas ───────────────────────────────────── */
#matrixCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.12;
}

/* ── Legal-Pages (Impressum / Datenschutz) ────────────────── */
.legal { max-width: 640px; }
.legal .logo-icon { width: 72px; height: 72px; margin-bottom: 12px; }
.legal .logo { font-size: 28px; }
.legal .legal-tagline {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  text-align: center;
  margin: 4px 0 28px;
}
.legal h1 { font-size: 26px; margin-bottom: 6px; }
.legal h2 { font-size: 18px; margin: 28px 0 10px; color: var(--accent); }
.legal h3 { font-size: 14px; font-weight: 700; color: var(--text); margin: 16px 0 6px; }
.legal p, .legal li { font-size: 14px; color: var(--muted); margin-bottom: 10px; line-height: 1.7; }
.legal ul { margin: 6px 0 12px 18px; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal code { font-family: var(--font-mono); color: var(--text); font-size: 13px; }
.legal .stand { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.legal .back-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 28px;
}
.legal .back-link:hover { color: var(--accent); text-decoration: none; }

/* Geschützte (klick-zu-enthüllen) E-Mail-Adresse */
.protected-email {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  cursor: pointer;
  user-select: none;
}
.protected-email-icon { width: 14px; height: 14px; opacity: 0.7; }
.protected-email.revealed { cursor: text; user-select: text; }
.protected-email.revealed .protected-email-icon { display: none; }
