/* IronCodex Marketing-Landingpage — Slice 1 (Grundgerüst)
   Statisch, keine externen Ressourcen, Premium-Dark passend zum App-Theme. */

:root {
  color-scheme: dark;

  --bg: #050507;
  --card: #0E0E12;
  --elevated: #1A1A20;
  --border: #252532;
  --text: #FFFFFF;
  --text-secondary: #A5A5B5;
  --text-muted: #6F6F7A;
  --accent: #7B2DFF;
  --accent-2: #9B5CFF;
  --accent-3: #4361FF;
  --highlight: #00E0FF;
  --success: #35C77B;
  --warning: #E0A22A;
  --danger: #E5484D;
  --accent-gradient: linear-gradient(90deg, #7B2DFF, #4361FF);
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--highlight);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
}

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

.wordmark {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--text);
}

.wordmark span {
  color: var(--accent-2);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.lang-switch a {
  color: var(--text-secondary);
}

.lang-switch [aria-current="true"] {
  color: var(--text);
}

/* Hero */

.hero {
  padding-block: 56px 72px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero h1 .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--accent-2);
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-secondary);
  margin: 0 0 28px;
}

.soon-pill {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Phone-Mockup (reines CSS, kein Bild) */

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 300 / 620;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow:
    0 0 0 1px rgba(123, 45, 255, 0.08),
    0 30px 80px -20px rgba(123, 45, 255, 0.35);
  padding: 14px;
}

.phone-notch {
  width: 84px;
  height: 8px;
  border-radius: 999px;
  background: var(--elevated);
  margin: 0 auto 10px;
}

.phone-screen {
  height: calc(100% - 26px);
  border-radius: 26px;
  background: linear-gradient(160deg, var(--card) 0%, var(--elevated) 55%, rgba(123, 45, 255, 0.18) 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.phone-screen p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Intro */

.intro {
  padding-block: 48px 72px;
  border-top: 1px solid var(--border);
}

.intro h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 16px;
}

.intro p {
  max-width: 720px;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 32px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 14px;
}

.copyright {
  color: var(--text-muted);
  font-size: 13px;
}

/* Responsiv: einspaltig ab 820px, Phone-Mockup darunter */

@media (max-width: 820px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  /* Copy first (claim above the fold), compact mockup below it. */
  .phone-frame {
    width: min(260px, 68vw);
  }
}

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