/* ============================================================================
   ARCON — Theme
   Layout-Sprache nach dem Vorbild bulwarkmail.org, Farben ARCON.

   ➜ ALLE Farben stehen in EINEM Block (:root) und spiegeln die ARCON-CI aus
      style.css. Zum Umfärben dort ändern, nicht hier.
   ➜ Geltungsbereich ist body:has(.a-hero) statt einer body-Klasse: webhulls
      Layout gibt <body> ohne Klassen-Hook aus, und ein Inline-Script, das
      eine setzt, wird von webhulls CSP (script-src 'self') geblockt.
   ➜ Schriften kommen aus style.css: Space Grotesk (Display) und Manrope
      (Text) liegen als woff2 in /static/fonts/ und sind dort per @font-face
      eingebunden. Dieses Theme deklariert keine eigenen Schriften.
   ============================================================================ */

/* ── Tokens ────────────────────────────────────────────────────────────── */

:root {
  /* --- FARBEN ---------------------------------------------------------
     Übernommen aus site/static/css/style.css (":root", Design System
     "The Neon Monolith"). Das ist die verbindliche ARCON-CI — Primärakzent
     ist Electric Cyan, Amber ist der Sekundärakzent. Nicht hier ändern,
     sondern in style.css; dieser Block spiegelt sie nur unter den Namen,
     die dieses Theme verwendet.
     ------------------------------------------------------------------- */
  --ink:        #080f18;                 /* --bg          Seitenhintergrund */
  --ink-raised: #121a25;                 /* --bg-card     Karten, Panels    */
  --ink-sunken: #080f18;                 /* --bg          Terminal, Code    */
  --line:       rgba(66, 72, 83, .30);   /* Hairlines, Rahmen               */
  --line-soft:  rgba(66, 72, 83, .15);   /* --border                        */
  --fg:         #e8eefc;                 /* --fg          Fließtext hell    */
  --fg-strong:  #f3faff;                 /* --tertiary    Headlines         */
  --muted:      #a5abb8;                 /* --fg-muted    Sekundärtext      */
  --accent:     #81ecff;                 /* --primary     Electric Cyan     */
  --accent-ink: #005762;                 /* --primary-ink Text auf --accent */
  --accent-dim: rgba(129, 236, 255, .10);/* --primary-dim                   */
  --accent-2:   #f4a237;                 /* --amber       Amber Signal      */
  --ok:         #4ade80;                 /* --green                         */
  --warn:       #f4a237;                 /* --amber                         */
  --code-fg:    #d1dfe6;                 /* --tertiary-dim Code-/CLI-Text   */
  --danger:     #ff6b6b;                 /* --red         Formularfehler    */
  /* -------------------------------------------------------------------- */

  /* Space Grotesk und Manrope sind über style.css selbst gehostet, Mono
     bewusst systemseitig — so lädt die Seite keine Datei, die es nicht gibt. */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-text: Manrope, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --wrap: 1140px;
  --wrap-narrow: 760px;
  --gut: 24px;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --sect-y: clamp(72px, 9vw, 132px);
}

/* ── Reset & Basis ─────────────────────────────────────────────────────── */

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

body:has(.a-hero) {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:has(.a-hero) img { max-width: 100%; display: block; }

body:has(.a-hero) a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-underline-offset: 3px;
}

body:has(.a-hero) :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.a-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* Grid- und Flex-Kinder dürfen unter ihre Min-Content-Breite schrumpfen.
   Ohne min-width: 0 wächst die Spur auf die Min-Content-Breite des Codes
   darin, das overflow-x: auto auf .a-call/.a-cmd greift nie und die Seite
   wird breiter als der Viewport. Weil webhull html/body auf
   overflow-x: hidden setzt, gäbe es dann keinen Scrollbalken — der Text
   wäre nicht scrollbar, sondern abgeschnitten. */
.a-exchange > *,
.a-split > *,
.a-pane > *,
.a-rows > *,
.a-steps > li > *,
.a-art > * { min-width: 0; }

.a-section { padding-block: var(--sect-y); }
.a-section + .a-section { padding-top: 0; }
.a-section.is-ruled { border-top: 1px solid var(--line-soft); padding-top: var(--sect-y); }

/* ── Typografie ────────────────────────────────────────────────────────── */

.a-display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--fg-strong);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.a-display--xl { font-size: clamp(2.6rem, 7.4vw, 5.2rem); }
.a-display--lg { font-size: clamp(2.1rem, 4.8vw, 3.3rem); }
.a-display--md { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; line-height: 1.12; }

.a-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
  margin: 22px 0 0;
}

.a-body { max-width: 68ch; color: var(--muted); margin: 18px 0 0; }
.a-body strong { color: var(--fg); font-weight: 550; }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.a-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1;
  padding: 13px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.a-btn.a-btn--solid {
  background: var(--accent);
  color: #000;
  font-weight: 600;
}
.a-btn.a-btn--solid:hover { background: color-mix(in srgb, var(--accent) 86%, #fff); color: #000; }

.a-btn.a-btn--wire {
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}
.a-btn.a-btn--wire:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }

.a-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */

/* --nav-height kommt aus style.css; die Nav ist position:fixed, ohne den
   Summanden klebt die Headline auf schmalen Viewports an ihrer Unterkante. */
.a-hero {
  padding-top: calc(var(--nav-height, 64px) + clamp(32px, 6vw, 72px));
  padding-bottom: clamp(40px, 5vw, 64px);
}

.a-hero__h { max-width: 17ch; }

.a-hero__lede { max-width: 56ch; }

.a-facts {
  display: flex;
  flex-wrap: wrap;
  margin-top: 56px;
  border-top: 1px solid var(--line-soft);
}

.a-fact {
  flex: 1 1 200px;
  padding: 18px 22px 18px 0;
  border-right: 1px solid var(--line-soft);
}
.a-fact:last-child { border-right: 0; }
.a-fact + .a-fact { padding-left: 22px; }

.a-fact__k {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--fg-strong);
  letter-spacing: -0.015em;
}
.a-fact__v { font-size: 0.86rem; color: var(--muted); margin-top: 3px; }

/* ── Panel / Mockup-Rahmen ─────────────────────────────────────────────── */

.a-panel {
  background: var(--ink-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.a-panel__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink-sunken) 60%, var(--ink-raised));
}

.a-panel__lights { display: flex; gap: 6px; }
.a-panel__lights i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
  display: block;
}
.a-panel__lights i:first-child { background: color-mix(in srgb, var(--dot-red, #ff5f56) 45%, var(--line)); }

.a-panel__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.a-panel__body { padding: 22px; }

.a-caption {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  margin: 14px 0 0;
}

/* ── MCP-Austausch (Hero-Mockup) ───────────────────────────────────────── */

.a-exchange { display: grid; gap: 18px; }
@media (min-width: 880px) { .a-exchange { grid-template-columns: 1fr 1fr; gap: 26px; } }

.a-turn__who {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.a-call {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--ink-sunken);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--accent-2);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  margin-bottom: 8px;
  color: var(--code-fg);
  overflow-x: auto;
  white-space: nowrap;
}
.a-call em { color: var(--accent); font-style: normal; }

.a-art {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  margin-bottom: 8px;
  background: var(--ink-sunken);
}

.a-art__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 2px 6px;
  border-radius: 3px;
  flex: none;
  margin-top: 2px;
  border: 1px solid currentColor;
}
.a-art__tag--p { color: var(--accent); }
.a-art__tag--s { color: var(--accent-2); }
.a-art__tag--a { color: var(--ok); }
.a-art__tag--k { color: var(--muted); }

.a-art__txt { font-size: 0.87rem; line-height: 1.42; }
.a-art__txt b { color: var(--fg-strong); font-weight: 550; display: block; }
.a-art__txt span { color: var(--muted); font-size: 0.82rem; }

/* ── Claim-Liste (»Was MCP geändert hat«) ──────────────────────────────── */

.a-split { display: grid; gap: 40px; }
@media (min-width: 900px) { .a-split { grid-template-columns: 1fr 1fr; gap: 64px; } }

.a-claims { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }

.a-claims > li { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }

.a-claims h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 550;
  color: var(--fg-strong);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.a-claims p { margin: 0; font-size: 0.94rem; color: var(--muted); line-height: 1.55; }

.a-claims__lead,
.a-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0 0 4px;
}

/* ── Zeitleiste ────────────────────────────────────────────────────────── */

/* Die Leiste ist breiter als schmale Viewports und deshalb scrollbar.
   Der ausblendende rechte Rand zeigt, dass es rechts weitergeht — sonst
   liegen 2024 und 2026 unsichtbar außerhalb. Oberhalb von 700px passt sie
   vollständig, dort bleibt die Maske weg. */
.a-time { margin-top: 56px; overflow-x: auto; padding-bottom: 4px; }
@media (max-width: 700px) {
  .a-time {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
  }
}

.a-time__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(128px, 1fr);
  border-top: 1px solid var(--line);
  min-width: 640px;
}

.a-time__stop { padding: 18px 16px 0 0; position: relative; }
.a-time__stop::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.a-time__stop--now::before { background: var(--accent); }

.a-time__y {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--muted);
}
.a-time__stop--now .a-time__y { color: var(--accent); }

.a-time__l {
  font-size: 0.88rem;
  color: var(--fg);
  margin-top: 4px;
  line-height: 1.35;
}

/* ── Tabs / Showcase ───────────────────────────────────────────────────── */

.a-tabs { margin-top: 44px; }

.a-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

.a-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 11px 14px;
  font-family: var(--font-text);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease;
}
.a-tab:hover { color: var(--fg); }
.a-tab[aria-selected="true"] { color: var(--fg-strong); border-bottom-color: var(--accent); }

.a-tabs__pane { display: none; }
.a-tabs__pane.is-on { display: block; }

.a-pane { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .a-pane { grid-template-columns: 0.85fr 1.15fr; gap: 48px; } }

.a-pane__copy h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 550;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 0 0 12px;
}
.a-pane__copy p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.a-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.a-chip {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

/* Struktur-Mockups */
.a-tree { font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.95; }
.a-tree i { color: var(--line); font-style: normal; }
.a-tree b { color: var(--fg-strong); font-weight: 500; }
.a-tree span { color: var(--muted); }
.a-tree u { color: var(--accent); text-decoration: none; }

.a-rows { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; }
.a-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-sunken);
  padding: 11px 14px;
  font-size: 0.88rem;
}
.a-row__id { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); flex: none; width: 76px; }
.a-row__t { flex: 1; min-width: 0; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-row__s {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  flex: none;
  border: 1px solid currentColor;
  color: var(--muted);
}
.a-row__s--ok { color: var(--ok); }
.a-row__s--go { color: var(--accent); }
.a-row__s--dr { color: var(--muted); }

.a-heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.a-heat div {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.a-heat div[data-fill="3"] { background: color-mix(in srgb, var(--accent) 42%, var(--ink-raised)); color: var(--accent-ink); border-color: transparent; }
.a-heat div[data-fill="2"] { background: color-mix(in srgb, var(--accent) 22%, var(--ink-raised)); color: var(--fg); border-color: transparent; }
.a-heat div[data-fill="1"] { background: color-mix(in srgb, var(--accent) 9%, var(--ink-raised)); color: var(--fg); border-color: transparent; }

/* ── Terminal / Quick Start ────────────────────────────────────────────── */

.a-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }

.a-steps > li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.a-steps > li::before {
  content: counter(s);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 3px;
}

.a-steps h3 {
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--fg-strong);
  margin: 0 0 8px;
}

.a-cmd {
  font-family: var(--font-mono);
  font-size: 0.83rem;
  background: var(--ink-sunken);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  color: var(--code-fg);
  overflow-x: auto;
  white-space: nowrap;
}
.a-cmd::before { content: "$ "; color: var(--accent); }
.a-cmd--plain::before { content: none; }

.a-grid4 { display: grid; gap: 26px; margin-top: 8px; }
@media (min-width: 640px) { .a-grid4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .a-grid4 { grid-template-columns: repeat(4, 1fr); gap: 30px; } }

.a-def h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  margin: 0 0 7px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.a-def p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* ── Status: live vs. offen ────────────────────────────────────────────── */

.a-status { display: grid; gap: 30px; margin-top: 42px; }
@media (min-width: 860px) { .a-status { grid-template-columns: 1fr 1fr; gap: 48px; } }

.a-status h3 {
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg-strong);
  margin: 0 0 14px;
}

.a-list { margin: 0; padding: 0; list-style: none; }
.a-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
  color: var(--fg);
}
.a-list li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 9px;
  background: var(--ok);
}
.a-list--open li::before { background: transparent; border: 1px solid var(--muted); }
.a-list--open li { color: var(--muted); }

.a-quote {
  margin: 0;
  border-left: 2px solid var(--accent);
  padding-left: 22px;
}
.a-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.38;
  color: var(--fg-strong);
  margin: 0;
  text-wrap: balance;
}
.a-quote footer { font-size: 0.86rem; color: var(--muted); margin-top: 14px; }

.a-counts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.a-count__n {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--fg-strong);
  line-height: 1;
}
.a-count__l { font-size: 0.85rem; color: var(--muted); margin-top: 7px; max-width: 22ch; }

/* ── Karten (Bis V1) ───────────────────────────────────────────────────── */

.a-cards { display: grid; gap: 16px; margin-top: 42px; }
@media (min-width: 760px) { .a-cards { grid-template-columns: 1fr 1fr; } }

.a-card {
  background: var(--ink-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}

.a-card__k {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.a-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 550;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 0 0 10px;
}
.a-card p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

/* ── Preise ────────────────────────────────────────────────────────────── */

.a-tiers { display: grid; gap: 16px; margin-top: 42px; }
@media (min-width: 860px) { .a-tiers { grid-template-columns: repeat(3, 1fr); } }

.a-tier {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.a-tier--mid { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }

.a-tier__n {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
}
.a-tier__p {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--fg-strong);
  margin: 14px 0 2px;
}
.a-tier__p small { font-family: var(--font-text); font-size: 0.82rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }

.a-tier ul { margin: 20px 0 0; padding: 0; list-style: none; }
.a-tier li {
  font-size: 0.89rem;
  color: var(--muted);
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
}
.a-tier li:first-child { border-top: 0; }

.a-tier__note { font-size: 0.88rem; color: var(--muted); margin-top: 26px; max-width: 60ch; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.a-faq { margin-top: 42px; border-top: 1px solid var(--line); max-width: 78ch; }

.a-faq details { border-bottom: 1px solid var(--line); }

.a-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 36px 19px 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
}
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}
.a-faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }

.a-faq details > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 68ch;
}

/* ── Abschluss-CTA + Formular ──────────────────────────────────────────── */

.a-close { padding-block: clamp(80px, 11vw, 150px); border-top: 1px solid var(--line-soft); }

.a-close__h { font-size: clamp(2.8rem, 9vw, 6rem); }

.a-form { margin-top: 44px; max-width: 520px; }

.a-form .form-field { margin-bottom: 16px; }

.a-form .form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--fg);
  margin-bottom: 7px;
}
.a-form .form-required { color: var(--accent); }

.a-form .form-input,
.a-form .form-textarea,
.a-form .form-select {
  width: 100%;
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--ink-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  transition: border-color .16s ease;
}
.a-form .form-input:focus,
.a-form .form-textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.a-form .form-textarea { resize: vertical; min-height: 96px; }

.a-form .form-field--error .form-input,
.a-form .form-field--error .form-textarea { border-color: var(--danger); }
.a-form .form-field-hint { font-size: 0.8rem; color: var(--danger); margin-top: 6px; }

.a-form .form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.a-form .form-actions { margin-top: 24px; }
.a-form .form-submit { width: auto; }

.a-form .waitlist-note { font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; }

.a-form-msg {
  /* margin-inline:0 hebt das margin:auto aus style.css .form-message auf */
  margin: 20px 0 0;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  border: 1px solid var(--line);
  max-width: 520px;
}
.a-form-msg.form-success { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); color: var(--fg); }
.a-form-msg.form-error { border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); color: var(--fg); }

/* ── Reduced motion ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  body:has(.a-hero) *, body:has(.a-hero) *::before, body:has(.a-hero) *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ── Schmale Viewports ─────────────────────────────────────────────────── */

@media (max-width: 620px) {
  .a-fact { border-right: 0; border-bottom: 1px solid var(--line-soft); flex-basis: 100%; }
  .a-fact + .a-fact { padding-left: 0; }
  .a-counts { gap: 28px; }
  .a-panel__body { padding: 16px; }
}
