/* EAI Consulting — Design-System v3.0 (23.11.2026)
 * Skill-Basis: ui-ux-pro-max "Trust & Authority + Conversion", Accessible & Ethical.
 * Palette: Navy #0F172A + Blau-CTA #0369A1. Fonts: Lexend (Headlines) + Source Sans 3 (Fließtext). */

:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --ink: #020617;
  --slate: #334155;
  --muted: #475569;
  --accent: #0369a1;
  --accent-hover: #075985;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --soft: #e8ecf1;
  --ok: #15803d;
  --err: #b91c1c;
  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ============ Basis ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 0.75em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.container { max-width: 70rem; margin: 0 auto; padding: 0 1.5rem; }
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }
.section h2 { margin-bottom: 0.5rem; }
.section .section-lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; margin-bottom: 2rem; }
.hidden, .aiq-hidden { display: none !important; }

/* ============ Buttons (griffig, kein Überlauf) ============ */
/* .button/.aiq-secondary = generische Button-Klassen (auch vom AI-Questionnaire-JS verwendet) */
.btn, .button, .aiq-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.button { background: var(--accent); color: #fff; }
.button:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--navy); line-height: 1.15; display: flex; flex-direction: column; }
.brand-name small { font-weight: 500; font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.02em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-left: auto; }
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}
.main-nav a:hover { color: var(--navy); background: var(--soft); text-decoration: none; }
.header-cta { min-height: 40px; padding: 0.4rem 1rem; font-size: 0.9375rem; }
@media (max-width: 640px) {
  .header-inner { gap: 0.5rem; }
  .main-nav { order: 3; width: 100%; margin-left: 0; }
}

/* ============ Hero ============ */
.hero { background: var(--navy); color: #fff; }
.hero .container { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { color: #fff; max-width: 46rem; }
.hero .hero-sub { font-size: 1.1875rem; color: #cbd5e1; max-width: 46rem; margin-bottom: 0; }
.hero .eyebrow { color: #7dd3fc; }

/* ============ Beweis-Leiste (Kunden + Zahlen) ============ */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof-inner { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.proof-label { font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); white-space: nowrap; }
.client-row { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: baseline; }
.client { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--slate); letter-spacing: 0.01em; }
.client.more { font-weight: 500; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 720px) { .proof-inner { grid-template-columns: 1fr; gap: 0.75rem; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; color: var(--navy); }
.stat span { font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============ Cards / Leistungen ============ */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
}
.card h3 { color: var(--navy); }
.card p { color: var(--slate); margin-bottom: 0; }
.card .card-kicker { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.5rem; }

/* ============ Zeitlinie (Expertise) ============ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: tl; }
.tl-item { position: relative; padding: 0 0 0 1.1rem; border-left: 3px solid var(--accent); }
.tl-item b { font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; color: var(--navy); display: block; }
.tl-item span { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 720px) { .timeline { grid-template-columns: repeat(2, 1fr); } }

/* ============ CTA-Band ============ */
.cta-band { background: var(--accent); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; justify-content: space-between; padding-top: 2.75rem; padding-bottom: 2.75rem; }
.cta-band h2 { color: #fff; margin-bottom: 0.25rem; }
.cta-band p { color: #e0f2fe; margin-bottom: 0; }

/* ============ Kontakt ============ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.contact-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.5rem; }
.contact-item b { font-family: var(--font-head); display: block; color: var(--navy); margin-bottom: 0.25rem; }
.contact-item a, .contact-item span { color: var(--slate); }

/* ============ Footer ============ */
.site-footer { background: var(--navy); color: #94a3b8; padding: 2.5rem 0; font-size: 0.9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.site-footer p { margin-bottom: 0.25rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ============ Legal-Seiten (Datenschutz/Impressum/Reports) ============ */
.legal { max-width: 46em; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.legal h1 { font-size: 1.75rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95em; }
.legal th, .legal td { border: 1px solid var(--line); padding: 0.45em 0.6em; text-align: left; vertical-align: top; }
.legal th { background: var(--soft); }
.legal blockquote { border-left: 4px solid var(--accent); margin: 1em 0; padding: 0.4em 1em; background: #f0f7fb; }
.legal .top-nav { margin-bottom: 1.5em; font-size: 0.95rem; }
.legal .hinweis { background: #f0f7fb; border-left: 4px solid var(--accent); padding: 0.6em 1em; margin: 1em 0; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.legal code { background: var(--soft); padding: 0.1em 0.35em; border-radius: 3px; }

/* ============ News ============ */
.news-article h2 { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.news-article h3 { margin-top: 1.75rem; }
.news-article .quelle { font-size: 0.9375rem; color: var(--muted); }

/* ============ AI-Questionnaire ============ */
.aiq-wrap { max-width: 60em; margin: 0 auto; }
.aiq-progress { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; margin-bottom: 0.5rem; }
.aiq-progress-bar { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 0.25s ease; }
.aiq-step { font-family: var(--font-head); font-size: 0.875rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
#aiq-intro { color: var(--muted); }
.aiq-group { margin-top: 1.5rem; color: var(--navy); font-size: 1.05rem; }
.aiq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; margin: 1.25rem 0; }
.aiq-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.aiq-card:hover { border-color: var(--accent); }
.aiq-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.aiq-card.selected { border-color: var(--accent); background: #e8f2fb; }
.aiq-card.selected::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.aiq-card-label { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); }
.aiq-card-sub { font-size: 0.9375rem; color: var(--muted); margin-top: 0.2rem; }
.aiq-hint { font-size: 0.9375rem; color: var(--muted); }
.aiq-nav { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.aiq-secondary { background: #fff; color: var(--slate); border-color: var(--line); }
.aiq-secondary:hover { border-color: var(--muted); color: var(--ink); background: var(--soft); }
.aiq-form p { margin-bottom: 1rem; }
.aiq-form label { font-family: var(--font-head); font-weight: 600; color: var(--slate); }
.aiq-form input[type="text"], .aiq-form input[type="email"] {
  display: block; width: 100%; max-width: 30em;
  margin-top: 0.35rem; padding: 0.55rem 0.75rem;
  font-size: 1rem; font-family: var(--font-body);
  border: 1px solid var(--line); border-radius: 8px;
}
.aiq-form input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.2); }
.aiq-consent { display: flex; gap: 0.6rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; }
.aiq-consent input { width: 1.25em; height: 1.25em; margin-top: 0.2em; flex-shrink: 0; }
.aiq-consent label { font-weight: 400; }
.aiq-error { color: var(--err); font-weight: 600; }
.aiq-stage, .aiq-badge {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  background: var(--soft); color: var(--slate);
  border-radius: 999px; padding: 0.15em 0.65em;
}
.aiq-badge { background: var(--accent); color: #fff; }
.aiq-stages { list-style: none; padding: 0; }
.aiq-stages li { padding: 0.25rem 0; }
.aiq-promise { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.aiq-reports { list-style: none; padding: 0; }
.aiq-reports li { padding: 0.35rem 0; }
.aiq-report-hot { font-weight: 600; }

/* ============ FAQ ============ */
.faq h3 { margin-top: 1.5rem; }
