/* ============================================================
   Invictus Academy – Praxis-Handout Landing Page
   Branding: Mediakit (Lila #1A1D7D, DIN-Cond → Oswald, Round 7)
   ============================================================ */

:root {
  --purple: #1a1d7d;        /* Lila */
  --purple-dark: #010419;   /* Dunkel Lila */
  --black: #050505;         /* Schwarz */
  --paper: #f2f2f2;         /* Weiß */
  --surface: #ffffff;
  --ink: #14141a;
  --ink-soft: #44454d;
  --muted: #7a7a82;
  --line: #e1e1e6;
  --line-strong: #cfcfd6;

  --radius: 7px;            /* Round Edges: 7 */
  --maxw: 1080px;

  --display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(720px 460px at 100% 0%, rgba(26,29,125,.10), transparent 60%),
    radial-gradient(560px 420px at 0% 100%, rgba(26,29,125,.06), transparent 60%);
}

.watermark {
  position: fixed; z-index: -1;
  right: -6vw; bottom: -14vh;
  font-family: var(--display); font-weight: 700;
  font-size: 78vh; line-height: .8;
  color: var(--purple); opacity: .04;
  pointer-events: none; user-select: none;
}

h1, h2, .eyebrow, .btn, .bar-tag, .nl-title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
}

a { color: inherit; }

/* ---------- Top bar ---------- */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  padding: 22px 28px;
}
.logo { height: 30px; width: auto; display: block; }
.bar-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  color: var(--purple); border: 1.5px solid var(--purple);
  padding: 6px 12px; border-radius: var(--radius);
}

/* ---------- Page (split) ---------- */
.page {
  flex: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start;
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  padding: 40px 28px 64px;
}

/* ---------- Intro ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--purple); display: block; margin-bottom: 16px; }
.intro h1 {
  font-size: clamp(40px, 6vw, 64px); font-weight: 700; line-height: .98;
  color: var(--black); letter-spacing: 0; margin-bottom: 20px;
}
.lead { font-size: 18px; color: var(--ink-soft); max-width: 30em; margin-bottom: 20px; }
.lead strong { color: var(--ink); font-weight: 600; }

.bullets { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 34px; }
.bullets li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-soft); }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 11px; height: 11px; border-radius: 2px; background: var(--purple);
}
.bullets b { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 16px; font-weight: 600; letter-spacing: .04em;
  border: 0; cursor: pointer; text-decoration: none;
  padding: 15px 26px; border-radius: var(--radius);
  transition: background .18s ease, transform .15s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(0); }

/* Primär: Download */
.download { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.btn-download { background: var(--purple); color: #fff; padding: 16px 30px; font-size: 17px; }
.btn-download:hover { background: #14166a; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(26,29,125,.28); }
.btn-download svg { stroke: #fff; }
.download-meta { font-size: 13px; color: var(--muted); letter-spacing: .02em; padding-left: 2px; }

/* Sekundär: Newsletter-Anmeldung */
.btn-secondary {
  width: 100%; margin-top: 6px;
  background: transparent; color: var(--purple); border: 1.5px solid var(--purple);
}
.btn-secondary:hover { background: var(--purple); color: #fff; }
.btn.loading { pointer-events: none; }
.btn.loading .btn-label { opacity: .55; }
.btn.loading .spinner { display: inline-block; }
.spinner { display: none; width: 16px; height: 16px; border: 2.5px solid rgba(26,29,125,.35); border-top-color: var(--purple); border-radius: 50%; animation: spin .7s linear infinite; }
.btn-secondary:hover .spinner { border-color: rgba(255,255,255,.45); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Newsletter (sekundär, dezent) ---------- */
.newsletter {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 8px 26px rgba(1,4,25,.05);
}
.opt-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: var(--radius); margin-bottom: 14px;
}
.nl-title { font-size: 21px; font-weight: 600; color: var(--black); line-height: 1.1; }
.nl-text { font-size: 14.5px; color: var(--muted); margin: 8px 0 20px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--body); font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--ink); }
.field input {
  width: 100%; font-family: var(--body); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: #fafafb; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input::placeholder { color: #b0b0b8; }
.field input:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 3px rgba(26,29,125,.14); }
.field input.invalid { border-color: #d33; box-shadow: 0 0 0 3px rgba(221,51,51,.12); }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); margin: 10px 0 4px; cursor: pointer; line-height: 1.5; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--purple); cursor: pointer; }
.check a { color: var(--purple); font-weight: 600; }

.form-error { font-size: 14px; color: #c0392b; font-weight: 600; margin-top: 12px; background: rgba(192,57,43,.08); padding: 10px; border-radius: var(--radius); }

.form-success { padding: 8px 2px; animation: fadeUp .4s ease; }
.form-success h2 { font-size: 22px; color: var(--black); margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); font-size: 15px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.foot {
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  padding: 20px 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; font-weight: 600; color: var(--ink-soft); transition: color .15s; }
.foot a:hover { color: var(--purple); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .page { grid-template-columns: 1fr; gap: 36px; padding-top: 18px; }
  .watermark { font-size: 60vh; opacity: .035; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .bar { padding: 18px 20px; }
  .logo { height: 25px; }
  .bar-tag { display: none; }
  .page { padding: 12px 20px 48px; }
  .newsletter { padding: 22px; }
  .btn-download { width: 100%; }
  .foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
