/* IronAxis-Website (ironaxis.app)
   Farben und Schriften aus der App (app/globals.css, --ath-*; app/fonts). */

@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/InterTight-latin-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-latin-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #080908;
  --surf: #0d0e0d;
  --surf-2: #141513;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fafaf8;
  --dim: #a8aaa6;
  --mute: #8b8d8a;
  --acc: #c7ff3d;
  --acc-fg: #111803;
  --acc-soft: rgba(199, 255, 61, 0.10);
  --warn: #ff6a1f;
  --ui: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }

/* ---------- Entwurfs-Hinweis ---------- */
.draft-bar {
  background: var(--warn);
  color: #1a0a00;
  font: 600 13px/1.4 var(--mono);
  text-align: center;
  padding: 6px 16px;
}

/* ---------- Kopfzeile ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand span { color: var(--acc); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--dim); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 720px) {
  .nav .hide-sm { display: none; }
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font: 700 16px/1 var(--ui);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-acc { background: var(--acc); color: var(--acc-fg); }
.btn-acc:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--dim); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- Typo ---------- */
.kicker {
  font: 600 13px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc);
  margin: 0 0 14px;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 72px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--dim); max-width: 44ch; margin: 20px 0 0; }
.hl { color: var(--acc); }
.muted { color: var(--mute); }
.small { font-size: 14px; }

/* ---------- Abschnitte ---------- */
section { padding-block: 88px; }
section + section { border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head p { color: var(--dim); margin: 16px 0 0; font-size: 18px; }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--mono);
  color: var(--acc);
  background: var(--acc-soft);
  border: 1px solid rgba(199, 255, 61, 0.28);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }

/* Screenshot-Platzhalter: bewusst sichtbar als Platzhalter — echte
   Screenshots mit Demo-Daten folgen, keine nachgestellten App-Bilder. */
.shot {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
  border-radius: 28px;
  border: 1px dashed var(--line-2);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.02) 14px 28px),
    var(--surf);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--mute);
  font: 500 13px/1.5 var(--mono);
}
.shot.wide { aspect-ratio: 16 / 10; max-width: 100%; border-radius: 16px; }

/* ---------- Zwei Einstiege ---------- */
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .entries { grid-template-columns: 1fr; } }
.entry {
  display: block;
  text-decoration: none;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  transition: border-color .15s, transform .15s;
}
.entry:hover { border-color: var(--acc); transform: translateY(-2px); }
.entry h3 { font-size: 28px; margin-bottom: 10px; }
.entry p { color: var(--dim); margin: 0 0 22px; }
.entry .go { color: var(--acc); font-weight: 700; }

/* ---------- Karten-Raster ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--dim); margin: 0; font-size: 16px; }
.card .num { font: 600 13px/1 var(--mono); color: var(--acc); margin-bottom: 16px; display: block; }

/* ---------- Problem / Liste ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 32px; position: relative; color: var(--dim); }
.checks li strong { color: var(--text); font-weight: 700; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--acc-soft); border: 1px solid rgba(199,255,61,.35);
}
.checks.x li::before { background: rgba(255,106,31,.10); border-color: rgba(255,106,31,.4); }

/* ---------- Beta-Kasten ---------- */
.beta {
  background: var(--acc);
  color: var(--acc-fg);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
}
.beta .kicker { color: var(--acc-fg); opacity: .7; }
.beta p { font-size: 18px; max-width: 60ch; }
.beta .btn-dark { background: var(--acc-fg); color: var(--acc); }
.beta-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 32px 0; }
.beta-cols h3 { font-size: 18px; margin-bottom: 8px; }
.beta-cols p { font-size: 16px; margin: 0; opacity: .85; }

/* ---------- Über ---------- */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4 / 5; border-radius: 20px; }

/* ---------- Preise ---------- */
.table-wrap { overflow-x: auto; }
table.prices { border-collapse: collapse; width: 100%; max-width: 560px; font-variant-numeric: tabular-nums; }
.prices th, .prices td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.prices th { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.prices td:last-child, .prices th:last-child { text-align: right; }
.prices tr.free td { color: var(--acc); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--acc); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); margin: 12px 0 0; }

/* ---------- Abschluss-Aufruf ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { color: var(--dim); max-width: 52ch; margin: 18px auto 30px; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-line { font: 500 14px/1.6 var(--mono); color: var(--mute); margin-top: 22px; }
.contact-line b { color: var(--text); font-weight: 600; }

/* ---------- Fußzeile ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 40px; color: var(--mute); font-size: 14px; }
.site-foot .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--text); }

/* ---------- Rechner ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc > * { min-width: 0; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.field input {
  font: 700 28px/1 var(--ui);
  color: var(--text);
  background: var(--surf-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.field input:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.field .hint { font-size: 14px; color: var(--mute); }
.result-big { font: 800 clamp(48px, 8vw, 76px)/1 var(--ui); color: var(--acc); font-variant-numeric: tabular-nums; }
.result-big small { font-size: .4em; color: var(--dim); font-weight: 600; }
.err { color: var(--warn); font-size: 15px; min-height: 1.5em; }
table.loads { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; margin-top: 20px; }
.loads th, .loads td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; }
.loads th:first-child, .loads td:first-child { text-align: left; }
@media (max-width: 420px) { .loads th, .loads td { padding: 10px 5px; font-size: 15px; } .calc .card { padding: 20px 16px; } }
.loads th { font: 600 12px/1 var(--mono); color: var(--mute); text-transform: uppercase; }
.prose { max-width: 720px; color: var(--dim); }
.prose h2 { color: var(--text); margin: 48px 0 16px; font-size: 30px; }
.prose code { font-family: var(--mono); color: var(--text); background: var(--surf-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ---------- Reels (selbst ausgeliefert, kein Instagram-Einbau) ---------- */
.reel {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}
.reel video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--surf);
}
.reel figcaption { font: 500 13px/1.5 var(--mono); color: var(--mute); margin-top: 10px; text-align: center; }
.reel figcaption a { color: var(--acc); }
.media-row { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: center; }
@media (max-width: 860px) { .media-row { grid-template-columns: 1fr; } }
.example {
  font: 500 15px/1.6 var(--mono);
  background: var(--surf-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--acc);
  border-radius: 10px;
  padding: 16px 18px;
  color: var(--dim);
  margin-top: 22px;
}
.example b { color: var(--text); }

/* ---------- App-Ausschnitte (echte Ansichten, Demo-Daten) ---------- */
.appshot { margin: 0; }
.appshot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.appshot figcaption { font: 500 13px/1.5 var(--mono); color: var(--mute); margin-top: 12px; }
.appshots { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; margin-top: 40px; }
.appshot.wide { margin-top: 40px; }

/* ---------- Handy-Ausschnitte (Athleten-App, 390 × 844) ---------- */
.phones { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 44px; align-items: start; }
.phone { margin: 0; max-width: 270px; width: 100%; margin-inline: auto; }
.phone img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  border: 6px solid #1c1d1b;
  outline: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.phone figcaption { font: 500 13px/1.5 var(--mono); color: var(--mute); margin-top: 12px; text-align: center; }
.phone .pending { display: inline-block; margin-top: 6px; color: var(--warn); }
