/* ASQ – Stylesheet
   Schriften lokal gehostet (SIL Open Font License), keine externen Anfragen. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #FAFAFB;
  --ink: #14161A;
  --ink-soft: #2A2E35;
  --muted: #4B5058;
  --line: #E1E3E8;
  --line-strong: #C9CDD4;
  --accent: #C2185B;
  --accent-dark: #9C1F5E;
  --check: #1F7A6D;

  --term-bg: #151A22;
  --term-line: #2A313C;
  --term-dot: #3A4350;
  --term-dim: #8E9AAB;
  --term-text: #D5DAE2;
  --term-bright: #F3F1EC;
  --term-ok: #7CC4B8;
  --term-mid: #E9D27A;
  --term-bad: #F28B82;
  --term-accent: #F48FB1;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --pad-x: clamp(20px, 6.5vw, 96px);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 10;
}
.skip-link:focus { top: 16px; color: #FFFFFF; }

/* ---------- Kopfzeile ---------- */

.site-header {
  height: 88px;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo span { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink-soft); color: var(--bg); }

.btn-accent { background: var(--accent); color: #FFFFFF; min-height: 54px; padding: 0 28px; }
.btn-accent:hover { background: var(--accent-dark); color: #FFFFFF; }

.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

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

.hero {
  flex-grow: 1;
  padding: 24px var(--pad-x) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 72px;
  align-items: center;
}

.hero-text { display: flex; flex-direction: column; gap: 22px; }

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 17ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.benefits {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.benefits li {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.benefits h2 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.benefits p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 4px; }
.cta p { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 500; }

/* ---------- Terminal ---------- */

.terminal {
  margin: 0;
  width: 100%;
  justify-self: end;
  background: var(--term-bg);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-mono);
  color: var(--term-text);
}

.terminal-bar {
  height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--term-line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.terminal-bar i { width: 11px; height: 11px; border-radius: 999px; background: var(--term-dot); }
.terminal-bar span { margin-left: 12px; font-size: 13px; color: var(--term-dim); }

.terminal-body {
  margin: 0;
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  line-height: 1.4;
}

.term-cmd { color: var(--term-dim); }

.term-list { margin: 0; display: flex; flex-direction: column; gap: inherit; }
.term-row { display: flex; align-items: baseline; gap: 10px; }
.term-row dt { margin: 0; flex-grow: 1; display: flex; align-items: baseline; gap: 10px; }
.term-row .dots { flex-grow: 1; border-bottom: 1px dotted var(--term-dot); min-width: 16px; }
.term-row dd { margin: 0; white-space: nowrap; }
.ok { color: var(--term-ok); }
.mid { color: var(--term-mid); }
.bad { color: var(--term-bad); }

.term-result {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--term-line);
  color: var(--term-bright);
}
.term-result strong { font-weight: 400; color: var(--term-accent); }

.cursor {
  display: inline-block;
  width: 9px;
  height: 18px;
  margin-left: 6px;
  vertical-align: -3px;
  background: var(--term-accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Vertrauensleiste und Fußzeile ---------- */

.trust {
  list-style: none;
  margin: 0 var(--pad-x);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  font-size: 15px;
  color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--check); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.site-footer {
  margin: 0 var(--pad-x);
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Rechtstexte ---------- */

.legal {
  flex-grow: 1;
  padding: 32px var(--pad-x) 64px;
}
.legal-inner { max-width: 720px; }
.legal h1 {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.legal h2 { margin: 36px 0 10px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.65; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal address { font-style: normal; line-height: 1.65; color: var(--ink-soft); margin: 0 0 14px; }
.legal .meta { margin-top: 40px; font-size: 15px; color: var(--muted); }

/* ---------- Responsiv ---------- */

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .terminal { max-width: 560px; justify-self: start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { height: 72px; }
  .logo { font-size: 26px; }
  .site-header .btn { min-height: 44px; padding: 0 18px; font-size: 16px; }
  .hero { padding-top: 12px; gap: 40px; }
  .lead { font-size: 17px; }
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cta p { font-size: 20px; }
  .btn-accent { width: 100%; }
  .terminal-body { padding: 20px 16px 24px; font-size: 13px; gap: 12px; }
  .terminal-bar span { font-size: 12px; }
  .term-row dt { gap: 6px; }
  .trust { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
  .btn { transition: none; }
}
