/* Neurolytix GmbH — Firmen-Hub. Markenkonsistent zu neuro-webdesign.de:
   Inter, Blau #1566e0, near-black auf Weiß, Gold-Akzent #969175. Premium, ruhig. */
:root {
  --bg: #ffffff;
  --bg-tint: #f7f9fc;
  --surface: #ffffff;
  --text: #1c1c1c;
  --muted: #565b63;
  --faint: #8e8e8f;
  --line: #e9ebef;
  --accent: #1566e0;
  --accent-deep: #0f4fb4;
  --accent-soft: #eaf1fd;
  --gold: #969175;
  --radius: 20px;
  --maxw: 1080px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(20, 32, 54, 0.06);
  --shadow-lift: 0 18px 44px rgba(20, 32, 54, 0.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand b { color: var(--accent); font-weight: 800; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 600; margin-left: 26px; }
.nav a:hover { color: var(--accent); }
.nav .nav-cta {
  color: #fff; background: var(--accent); padding: 9px 16px; border-radius: 999px;
  transition: background 0.2s ease;
}
.nav .nav-cta:hover { color: #fff; background: var(--accent-deep); }
@media (max-width: 560px) { .nav a:not(.nav-cta) { display: none; } .nav .nav-cta { margin-left: 0; } }

/* ── Hero ── */
.hero { position: relative; padding: 104px 0 64px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% 0 auto -10%; height: 620px; z-index: -1;
  background: radial-gradient(60% 60% at 30% 0%, rgba(21, 102, 224, 0.10), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); background: var(--accent-soft);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--gold); }
.hero h1 {
  font-size: clamp(36px, 6.2vw, 60px); line-height: 1.05; letter-spacing: -0.035em;
  margin: 0 0 22px; font-weight: 800; max-width: 18ch;
}
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 60ch; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(21, 102, 224, 0.28); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: #d4d8df; transform: translateY(-1px); }

/* ── Sektionen ── */
section { padding: 56px 0; }
.section-head { margin-bottom: 30px; }
.section-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.025em; margin: 0; font-weight: 800; }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 62ch; }

/* ── Properties (3 Karten) ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease;
}
a.card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #dbe0e8; }
.card .logo-chip {
  width: 60px; height: 60px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--bg-tint); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; overflow: hidden;
}
.card .logo-chip img { width: 100%; height: 100%; object-fit: cover; }
.card .logo-chip.contain img { width: 78%; height: 78%; object-fit: contain; }
.card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.card .role { font-size: 13px; font-weight: 600; color: var(--gold); margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-weight: 600; color: var(--accent); font-size: 15px;
}
a.card:hover .more { gap: 10px; }

/* ── Ansatz ── */
.approach { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .approach .grid { grid-template-columns: 1fr; gap: 28px; } }
.principles { display: grid; gap: 14px; }
.principle { display: flex; gap: 14px; align-items: flex-start; }
.principle .pn {
  flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.principle h4 { margin: 2px 0 3px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Kontakt ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-card .label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.contact-card p { margin: 0; color: var(--text); }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 56px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.site-footer .brand-sm { font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.site-footer .brand-sm b { color: var(--accent); }
.site-footer .links a { color: var(--muted); font-size: 14px; font-weight: 600; margin-left: 22px; }
.site-footer .links a:first-child { margin-left: 0; }
.site-footer .copy { color: var(--faint); font-size: 13.5px; width: 100%; margin-top: 6px; }

/* ── Rechtstexte ── */
.legal { padding: 56px 0 24px; max-width: 760px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.025em; margin: 0 0 8px; font-weight: 800; }
.legal .updated { color: var(--faint); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 19px; margin: 32px 0 8px; letter-spacing: -0.01em; font-weight: 700; }
.legal p, .legal li { color: var(--muted); }
.legal .box { background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.legal .box p { color: var(--text); margin: 0; }
.back { display: inline-block; margin-top: 18px; font-weight: 600; }

/* ── Sanfter Eintritt (kein Bounce) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .reveal.d1 { animation-delay: 0.06s; }
  .reveal.d2 { animation-delay: 0.12s; }
  .reveal.d3 { animation-delay: 0.18s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
