/* AI Heroes – Landingpage
   Statisches CSS, kein Build-Schritt. Farbwelt der Heroes-Familie (dunkles Navy,
   Funnel Sans) mit eigenem Cyan-Akzent statt des Lime von Legacy Heroes. */

:root {
  --bg: #141A24;
  --bg-soft: #1B2230;
  --surface: #232C3D;
  --surface-raised: #2A3346;
  --surface-hover: #313B50;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #E8ECF2;
  --text-muted: #A4ACBC;
  --text-dim: #6F7787;
  --ink-on-accent: #0B0F17;

  --accent: #47DDFF;
  --accent-strong: #7BE8FF;
  --accent-soft: rgba(71, 221, 255, 0.14);

  /* Status, nur für Findings im Report-Beispiel, immer mit Textlabel */
  --critical: #FF7A7A;
  --critical-soft: rgba(255, 122, 122, 0.16);
  --high: #FFB35C;
  --high-soft: rgba(255, 179, 92, 0.16);
  --medium: #FFE066;
  --medium-soft: rgba(255, 224, 102, 0.16);

  --font: 'Funnel Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1120px;
  --gutter: 1.25rem;
  --section: clamp(3.5rem, 8vw, 6rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); text-wrap: balance; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
code { font-family: var(--mono); font-size: 0.92em; background: rgba(255,255,255,0.08); padding: 0.08em 0.35em; border-radius: 4px; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 780px; }
.small { font-size: 0.9rem; color: var(--text-muted); }
.placeholder { color: var(--text-dim); font-style: italic; }
.placeholder-link { border-bottom: 1px dashed var(--text-dim); color: var(--text-muted); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--ink-on-accent); padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--ink-on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--ink-on-accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 700; border-bottom: 1px solid transparent; }
.text-link:hover { border-bottom-color: currentColor; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 26, 36, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 800; font-size: 1.25rem; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) { color: var(--text-muted); font-weight: 600; }
.site-nav a:not(.btn):hover { color: var(--text); }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; padding: 10px; border-radius: var(--radius-sm); }
.nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .site-nav a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 1rem; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--accent); }
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(71, 221, 255, 0.16), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(71, 221, 255, 0.06), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy h1 { margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-muted); max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0 1.8rem; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.hero-meta li { position: relative; padding-left: 1rem; }
.hero-meta li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Report-Beispiel */
.report {
  margin: 0; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  overflow: hidden;
}
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem; background: var(--surface-raised); border-bottom: 1px solid var(--border); }
.report-title { font-weight: 800; }
.report-tag { font-size: 0.8rem; color: var(--text-muted); }
.findings { list-style: none; padding: 0.4rem 0; }
.finding { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--border); align-items: start; }
.finding:last-child { border-bottom: 0; }
.finding strong { display: block; font-size: 0.98rem; }
.finding p { margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--text-muted); }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.55rem; border-radius: 999px; margin-top: 0.15rem; min-width: 4.6rem; text-align: center; }
.badge-critical { background: var(--critical-soft); color: var(--critical); }
.badge-high { background: var(--high-soft); color: var(--high); }
.badge-medium { background: var(--medium-soft); color: var(--medium); }
.fix-prompt { margin: 0.5rem 1.2rem 1.2rem; padding: 0.9rem 1rem; background: var(--accent-soft); border: 1px solid rgba(71,221,255,0.3); border-radius: var(--radius-sm); }
.fix-label { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.fix-prompt p { margin: 0; font-size: 0.9rem; color: var(--text); }

/* Leitgedanke */
.band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.band-inner { max-width: 820px; text-align: center; }
.band-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 0.8rem; }
.band-text { color: var(--text-muted); font-size: 1.1rem; margin: 0; }

/* KPI-Zeile */
.stats { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.stat-row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.stat-value { display: block; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; line-height: 1.05; margin-bottom: 0.4rem; }
.stat-label { display: block; color: var(--text-muted); font-size: 0.95rem; line-height: 1.4; }
.stat-source { color: var(--text-dim); font-size: 0.85rem; margin: 1rem 0 0; }

/* Sektionen */
.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: 0.6rem; }
.section-intro { color: var(--text-muted); font-size: 1.15rem; margin: 0; }

/* Vibe-Check */
.check-grid { display: grid; grid-template-columns: 1fr 1fr 320px; gap: 2rem; align-items: start; }
.check-col h3 { margin-bottom: 1rem; }
.check-list { list-style: none; }
.check-list li { position: relative; padding: 0.55rem 0 0.55rem 1.9rem; border-bottom: 1px solid var(--border); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.95rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.2 2.6 2.6 5.4-5.6' fill='none' stroke='%2347DDFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.steps { list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0.4rem 0 1rem 3rem; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.35rem; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--accent); color: var(--ink-on-accent); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem;
}
.steps strong { display: block; font-size: 1.05rem; margin-bottom: 0.2rem; }
.steps p { margin: 0; color: var(--text-muted); }

.price-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 90px; }
.price-name { font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 0.4rem; }
.price { display: flex; align-items: baseline; gap: 0.6rem; margin: 0; }
.price-amount { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.price-note { color: var(--text-muted); font-size: 0.95rem; }
.price-time { color: var(--text-muted); margin: 0.35rem 0 1rem; }
.price-includes { list-style: none; margin-bottom: 1.3rem; }
.price-includes li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; border-top: 1px solid var(--border); font-size: 0.97rem; }
.price-includes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.stages { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.stage { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.stage-active { border-color: rgba(71,221,255,0.45); box-shadow: 0 0 0 1px rgba(71,221,255,0.2) inset; }
.stage-num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface-hover); color: var(--text); font-weight: 800; margin-bottom: 0.8rem; }
.stage-active .stage-num { background: var(--accent); color: var(--ink-on-accent); }
.stage h3 { margin-bottom: 0.2rem; }
.stage-meta { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.6rem; }
.stage p:last-child { margin: 0; color: var(--text-muted); }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); margin-bottom: 1rem; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--text-muted); }

/* Warum */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pillar h3 { position: relative; padding-top: 0.9rem; }
.pillar h3::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 3px; border-radius: 2px; background: var(--accent); }
.pillar p { color: var(--text-muted); margin: 0; }
.not-list { margin-top: clamp(2rem, 4vw, 3rem); padding: 1.5rem 1.6rem; border: 1px dashed var(--border-strong); border-radius: var(--radius); max-width: 760px; }
.not-list h3 { margin-bottom: 0.6rem; }
.not-list ul { list-style: none; }
.not-list li { position: relative; padding: 0.3rem 0 0.3rem 1.5rem; color: var(--text-muted); }
.not-list li::before { content: "×"; position: absolute; left: 0; color: var(--text-dim); font-weight: 800; }

/* Referenzen */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.case { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.case-kicker { color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem; }
.case blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--accent); }
.case blockquote p { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.case blockquote footer { color: var(--text-muted); font-size: 0.92rem; }
.case-text { margin: 0; color: var(--text-muted); }
.case-lead { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--accent); }
.case-lead p { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.case-lead footer { color: var(--text-muted); font-size: 0.92rem; }
.trust-note { margin: 1.2rem 0 0; color: var(--text-dim); font-size: 0.9rem; }

/* Über uns */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-grid p { color: var(--text-muted); }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; gap: 0.2rem; }
.facts strong { font-size: 1.25rem; }
.facts span { color: var(--text-muted); font-size: 0.92rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.85rem; color: var(--accent); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 0.15s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 1.1rem; color: var(--text-muted); max-width: 64ch; }

/* Kontakt */
.contact { background: radial-gradient(700px 400px at 100% 0%, rgba(71,221,255,0.12), transparent 60%), var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-alt { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.contact-alt p { margin-bottom: 0.4rem; }
.contact-form { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.optional { color: var(--text-dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0.7rem 0.85rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field textarea { resize: vertical; min-height: 6rem; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--accent); }
.field-check label { font-weight: 400; color: var(--text-muted); }
.contact-form .small { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; background: var(--bg-soft); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--text-dim); font-size: 0.9rem; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1.2rem; }
.footer-inner nav a { color: var(--text-muted); }

/* Responsiv */
@media (max-width: 1000px) {
  .check-grid { grid-template-columns: 1fr 1fr; }
  .price-card { grid-column: 1 / -1; position: static; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stat-row, .stages, .pillars { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .check-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .price-amount { font-size: 2.4rem; }
}

/* Rechtliche Unterseiten */
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal p { color: var(--text-muted); margin: 0 0 1rem; }
.legal p a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border-strong); }
.legal p a:hover { border-bottom-color: var(--accent); }
.legal-date { color: var(--text-dim); font-size: 0.9rem; margin-top: 2.5rem; }
