/* annextalk.com — Produktseite AnnexTalk
   Gestaltung nach docs/identity.md (AnnexSERVER-Identität v1.0, verbindlich):
   Tokens, Steel als Linien-Ton (~5 %-Regel: Akzente, nie Fläche), Manrope für
   Marke/Headlines (selbst gehostet, OFL), System-Stack für Fließtext,
   Spektrallinie als Familien-Signatur in Hero und Footer. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-300.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  /* Neutral (Familie) */
  --ink: #141317;
  --graphite: #3A3A42;
  --slate: #6E6E78;
  --hairline: #E6E4E0;
  --paper: #FAF9F7;
  --surface: #FFFFFF;
  --void: #0E0D11;

  /* Steel (Linien-Ton) */
  --steel: #64748B;
  --steel-dark: #475569;
  --steel-light: #94A3B8;

  /* Semantik Light */
  --bg: var(--paper);
  --bg-surface: var(--surface);
  --border: var(--hairline);
  --text: var(--ink);
  --text-secondary: var(--slate);
  --accent: var(--steel);
  --accent-text: var(--steel-dark);
  --link: var(--steel-dark);

  /* Typo */
  --font-brand: "Manrope", "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--void);
    --bg-surface: var(--ink);
    --border: var(--graphite);
    --text: #FAF9F7;
    --text-secondary: #9B9BA3;
    --accent: var(--steel-light);
    --accent-text: var(--steel-light);
    --link: var(--steel-light);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 16px/1.65 var(--font-ui);
  color: var(--text); background: var(--bg);
  display: flex; flex-direction: column; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
.wrap { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--link); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px;
}

/* Familien-Spektrallinie: diskrete Segmente, Steel betont (identity.md). */
.spektrum { display: flex; gap: 2px; height: 4px; width: 100%; }
.spektrum span { flex: 1; height: 2px; align-self: center; opacity: .55; }
.spektrum span.steel {
  height: 4px; opacity: 1;
  background: linear-gradient(90deg, var(--steel-dark), var(--steel), var(--steel-light));
}

/* Kopfzeile */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.wordmark {
  font-family: var(--font-brand); font-size: 1.15rem; letter-spacing: -.01em;
  text-decoration: none; line-height: 1;
}
.wordmark .a { font-weight: 300; color: var(--text-secondary); }
.wordmark .b { font-weight: 700; color: var(--text); }
.lang-switch { font-size: .85rem; color: var(--text-secondary); }
.lang-switch a { color: var(--text-secondary); text-decoration: none; }
.lang-switch a[aria-current] { color: var(--text); font-weight: 600; }
.lang-switch a:hover { color: var(--text); text-decoration: underline; }

/* Hero */
.hero { padding: 4rem 0 3rem; }
.lockup { display: flex; align-items: center; gap: .9rem; margin-bottom: 2.5rem; }
.lockup svg { width: 56px; height: 56px; flex: none; }
.lockup .words {
  font-family: var(--font-brand); font-size: 1.75rem; letter-spacing: -.015em; line-height: 1;
}
.lockup .words .a { font-weight: 300; color: var(--text-secondary); }
.lockup .words .b { font-weight: 700; color: var(--text); }
.badge {
  display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text); border: 1px solid var(--accent); border-radius: 999px;
  padding: .2rem .7rem; margin-bottom: 1.25rem;
}
h1 {
  font-family: var(--font-brand); font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  line-height: 1.12; letter-spacing: -.02em;
  max-width: 22ch; margin-bottom: 1rem;
}
.claim { font-size: 1.15rem; color: var(--text-secondary); max-width: 44rem; margin-bottom: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
a.cta {
  display: inline-block; font-weight: 600; text-decoration: none;
  color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 1px;
}
a.cta:hover { border-bottom-color: var(--accent-text); }
.note-line { font-size: .9rem; color: var(--text-secondary); }

/* Sektionen */
section.block { padding: 3rem 0; border-top: 1px solid var(--border); }
h2 {
  font-family: var(--font-brand); font-weight: 700; letter-spacing: -.015em;
  font-size: 1.5rem; line-height: 1.2; margin-bottom: .5rem;
}
.section-intro { color: var(--text-secondary); max-width: 44rem; margin-bottom: 2rem; }

/* Feature-Karten */
.features {
  display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.feature { background: var(--bg-surface); padding: 1.5rem; }
.feature h3 {
  font-family: var(--font-brand); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -.01em; margin-bottom: .45rem;
}
.feature p { font-size: .95rem; color: var(--text-secondary); }

/* Screenshots */
.shots {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .shots { grid-template-columns: 1fr 1fr; } }
.shots figure { margin: 0; }
.shots img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-surface);
}
.shots figcaption { font-size: .85rem; color: var(--text-secondary); margin-top: .5rem; }

/* Was das ist / was es nicht ist */
.ist-nicht {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 44rem) { .ist-nicht { grid-template-columns: 1fr 1fr; } }
.ist-nicht h3 {
  font-family: var(--font-brand); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -.01em; margin-bottom: .6rem;
}
.ist-nicht ul { margin-left: 1.1rem; color: var(--text-secondary); }
.ist-nicht li { margin-bottom: .45rem; }

/* Status-Abschnitt */
.status p { max-width: 44rem; margin-bottom: .9rem; color: var(--text-secondary); }
.status p strong { color: var(--text); }

/* Fußzeile */
footer { border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: .35rem 1.25rem;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
  font-size: .85rem; color: var(--text-secondary);
}
footer a { color: var(--text-secondary); }
footer a:hover { color: var(--text); }
