/* ==========================================================================
   AI-OS Take-off — ai.proactive.com.na
   Proactive Consulting (Pty) Ltd · Aviation/Concorde theme
   Tokens: Proactive Rot/Silber/Weiss + Night-Sky Navy
   ========================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-var.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial Narrow"), local("Helvetica Neue Condensed"), local("Arial");
  size-adjust: 104%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  --red: #e00000;
  --red-deep: #c40000;
  --red-bright: #fe0000;
  --silver: #bfbfbf;
  --night: #0b1526;
  --night-2: #14243d;
  --night-line: #22375c;
  --paper: #ffffff;
  --paper-2: #f5f7fa;
  --ink: #1b2430;
  --ink-soft: #4a5568;
  --ink-faint: #8a94a3;
  --cloud: #dfe5ec;
  --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --max-w: 1080px;
  --max-w-text: 760px;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(11, 21, 38, 0.10);
}

/* ---------- Reset / Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Links im Fliesstext unterscheidbar ohne Farbe (a11y) */
main p a, .footer-meta a, .site-footer p a, .faq-body a { text-decoration: underline; text-underline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: inherit;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 600; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

section { padding: 84px 0; }

/* ---------- Utility ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}

.on-night .eyebrow { color: #ff6b5e; }

.lede { font-size: 1.16rem; color: var(--ink-soft); }
.on-night .lede { color: var(--cloud); }

.red-rule {
  width: 56px; height: 4px; border: 0; border-radius: 2px;
  background: var(--red); margin: 18px 0 26px;
}

.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }

.on-night {
  background: linear-gradient(180deg, var(--night) 0%, #0e1c33 100%);
  color: #f2f5f9;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 22px 0;
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}

.brand-logo img { height: 40px; width: auto; }

.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--silver);
}

.lang-toggle a {
  color: var(--silver);
  padding: 4px 7px;
  border-radius: 6px;
}

.lang-toggle a:hover { text-decoration: none; color: #fff; }
.lang-toggle a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.lang-toggle .sep { opacity: 0.4; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(224, 0, 0, 0.16), transparent 60%),
    radial-gradient(900px 480px at -8% 110%, rgba(34, 55, 92, 0.9), transparent 65%),
    linear-gradient(178deg, #060d19 0%, var(--night) 46%, #17293f 100%);
  color: #fff;
  padding: 172px 0 118px;
}

/* Contrails */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  height: 1px;
  left: -10%;
  right: -10%;
  background: linear-gradient(90deg, transparent, rgba(191, 191, 191, 0.35) 35%, rgba(191, 191, 191, 0.06) 80%, transparent);
  transform: rotate(-7deg);
  pointer-events: none;
}
.hero::before { top: 34%; }
.hero::after { top: 58%; opacity: 0.5; }

.hero-inner { position: relative; z-index: 2; max-width: 860px; }

.hero h1 { color: #fff; margin-bottom: 0.35em; text-wrap: balance; }
.hero h1 .accent { color: var(--red-bright); }

.hero .sub {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--cloud);
  max-width: 620px;
  margin-bottom: 1.6em;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--silver);
  margin-top: 1.5em;
}

.hero-meta .dot { color: var(--red-bright); padding: 0 8px; }

.cta-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  background: var(--red);
  padding: 16px 34px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 26px rgba(224, 0, 0, 0.35);
}

.cta-btn:hover { background: var(--red-deep); transform: translateY(-2px); text-decoration: none; }

.cta-note {
  display: block;
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--silver);
}

/* ---------- Founder ---------- */

.founder-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}

.founder-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-photo figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 12px;
}

@media (max-width: 820px) {
  .founder-grid { grid-template-columns: 1fr; gap: 30px; }
  .founder-photo { max-width: 320px; }
}

/* ---------- Honest note / aside ---------- */

.honest-note {
  border-left: 4px solid var(--red);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin-top: 34px;
}

.honest-note p { margin: 0; color: var(--ink-soft); }
.honest-note strong { color: var(--ink); }

/* ---------- Flight Phases ---------- */

.phases-list {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
  position: relative;
}

.phases-list::before {
  content: "";
  position: absolute;
  left: 17px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--red) 0%, var(--night-line) 100%);
}

.phase {
  position: relative;
  padding: 0 0 38px 64px;
}

.phase:last-child { padding-bottom: 0; }

.phase-marker {
  position: absolute;
  left: 0; top: 2px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--night-2);
  border: 2px solid var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.phase h3 { color: #fff; margin-bottom: 0.35em; }
.phase h3 .phase-label { color: var(--red-bright); }
.phase p { color: var(--cloud); max-width: 640px; }

.phases-outro {
  margin-top: 44px;
  font-style: italic;
  color: var(--silver);
  border-top: 1px solid var(--night-line);
  padding-top: 26px;
  max-width: 640px;
}

/* ---------- Value Stack ---------- */

.component-list { margin-top: 30px; display: grid; gap: 18px; }

.component {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  background: var(--paper);
}

.component::before {
  content: "";
  width: 10px; height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red);
}

.component h4 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.component p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.included-card {
  margin-top: 44px;
  background: var(--night);
  color: #f2f5f9;
  border-radius: var(--radius);
  padding: 36px 38px;
  box-shadow: var(--shadow);
}

.included-card h3 { color: #fff; }

.included-card ul { margin: 18px 0 0; padding: 0; list-style: none; }

.included-card li {
  padding: 10px 0 10px 34px;
  position: relative;
  border-bottom: 1px solid var(--night-line);
  color: var(--cloud);
}

.included-card li:last-child { border-bottom: 0; }

.included-card li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--red-bright);
  font-weight: 700;
}

.stack-outro { margin-top: 30px; font-style: italic; color: var(--ink-soft); }

/* ---------- Personas ---------- */

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.persona-card {
  background: var(--paper);
  border: 1px solid var(--cloud);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.persona-card .persona-title {
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}

.persona-card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

@media (max-width: 860px) {
  .persona-grid { grid-template-columns: 1fr; }
}

.notfor {
  margin-top: 44px;
  background: var(--paper);
  border: 1px dashed var(--silver);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.notfor h3 { margin-bottom: 14px; }

.notfor ul { margin: 0; padding: 0; list-style: none; }

.notfor li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--ink-soft);
}

.notfor li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---------- Investment ---------- */

.price-card {
  background: var(--paper);
  border: 2px solid var(--night);
  border-radius: var(--radius);
  padding: 40px 42px;
  margin-top: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
}

.price-figure {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--night);
  line-height: 1.05;
}

.price-figure .curr { color: var(--red); }

.price-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 8px 0 22px;
}

.eoi-note {
  margin-top: 34px;
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: var(--ink-soft);
}

/* ---------- Guarantee ---------- */

.guarantee { text-align: left; }

.guarantee-card {
  max-width: var(--max-w-text);
  margin: 0 auto;
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  padding: 40px 42px;
  background: rgba(255, 255, 255, 0.03);
}

.guarantee-card h2 { color: #fff; }
.guarantee-card p { color: var(--cloud); }

.guarantee-seal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
  border: 1px solid var(--red);
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* ---------- FAQ ---------- */

.faq-list { margin-top: 34px; }

.faq-item {
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: var(--paper);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item[open] summary { border-bottom: 1px solid var(--cloud); }

.faq-body { padding: 20px 24px; color: var(--ink-soft); }

.faq-body ul { margin: 10px 0; padding-left: 22px; }
.faq-body li { margin-bottom: 6px; }

/* ---------- Form ---------- */

.form-card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--cloud);
  box-shadow: var(--shadow);
  padding: 44px 46px;
  max-width: 720px;
  margin: 40px auto 0;
}

@media (max-width: 640px) { .form-card { padding: 30px 22px; } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.field label .req { color: var(--red); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--cloud);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.12);
}

.field textarea { min-height: 96px; resize: vertical; }

.radio-row { display: flex; gap: 22px; margin-top: 4px; }

.radio-row label, .check-row label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  margin-bottom: 0;
}

.radio-row input, .check-row input {
  accent-color: var(--red);
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.check-row { margin-top: 6px; }

.form-actions { margin-top: 28px; text-align: center; }

.form-actions .cta-note { color: var(--ink-faint); }

.form-error {
  display: none;
  margin-top: 18px;
  background: #fdecec;
  color: #a11212;
  border: 1px solid #f3bcbc;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.form-error.show { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form-success.show { display: block; }

.form-success h3 { color: var(--ink); }
.form-success p { color: var(--ink-soft); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: #060d19;
  color: var(--silver);
  padding: 64px 0 44px;
  font-size: 0.93rem;
}

.site-footer .container { position: relative; z-index: 2; }

.runway-watermark {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 900px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
}

.site-footer .brand-logo img { height: 34px; margin-bottom: 18px; }

.site-footer .footer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.footer-tagline { color: var(--cloud); margin-bottom: 26px; }

.site-footer a { color: var(--cloud); }
.site-footer a:hover { color: #fff; }

.footer-meta {
  border-top: 1px solid var(--night-line);
  margin-top: 30px;
  padding-top: 24px;
  font-size: 0.83rem;
  color: #7d8a9c;
}

.footer-meta p { margin-bottom: 8px; }

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 140px 0 90px; }
  .included-card { padding: 28px 22px; }
  .price-card { padding: 30px 24px; }
  .guarantee-card { padding: 30px 24px; }
}

/* ---------- Concorde Silhouetten ---------- */

.concorde-hero {
  position: absolute;
  top: 6%;
  right: 2%;
  width: 560px;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1100px) {
  .concorde-hero { width: 420px; top: 5%; }
}

@media (max-width: 820px) {
  .concorde-hero { width: 300px; top: 4%; right: 0; opacity: 0.75; }
}

#flight-phases { position: relative; overflow: hidden; }

.concorde-watermark {
  position: absolute;
  top: 50%;
  right: 1%;
  width: 420px;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.16;
  transform: translateY(-50%) rotate(18deg);
  pointer-events: none;
}

@media (max-width: 820px) {
  .concorde-watermark { width: 260px; right: -40px; opacity: 0.12; }
}

#flight-phases .container-text { position: relative; z-index: 2; }

/* ---------- Scroll-Progress-Bar ---------- */

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  z-index: 60;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ---------- Page TOC (Desktop) ---------- */

.page-toc {
  display: none;
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
}

@media (min-width: 1280px) {
  .page-toc { display: block; }
}

.page-toc ul { list-style: none; margin: 0; padding: 0; }

.page-toc li { margin: 2px 0; }

.page-toc a {
  display: block;
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 5px 0 5px 18px;
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.page-toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.45;
  transition: width 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.page-toc a:hover { color: var(--ink); text-decoration: none; }

.page-toc a.active { color: var(--red); }

.page-toc a.active::before { width: 16px; opacity: 1; background: var(--red); }

/* TOC ueber dunklen Sektionen */
.page-toc.on-dark a { color: rgba(191, 191, 191, 0.75); }
.page-toc.on-dark a:hover { color: #fff; }
.page-toc.on-dark a.active { color: var(--red-bright); }
.page-toc.on-dark a.active::before { background: var(--red-bright); }

/* ---------- Floating CTA ---------- */

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--red);
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(224, 0, 0, 0.4), 0 3px 10px rgba(11, 21, 38, 0.25);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.15s ease;
}

.floating-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.floating-cta:hover { background: var(--red-deep); text-decoration: none; }

@media (max-width: 640px) {
  .floating-cta { right: 14px; bottom: 14px; padding: 12px 20px; font-size: 0.9rem; }
}
