/* ===========================================================
   BCA — Business Consulting Automation · Coming Soon
   Brand colors sampled from the source deck.
   =========================================================== */

:root {
  --indigo-950: #14143a;
  --indigo-900: #1b1b50;
  --indigo-800: #242267;
  --indigo:     #393b86;   /* primary brand */
  --indigo-600: #4a4ca0;
  --periwinkle: #8c9be0;
  --periwinkle-200: #c3ccf2;
  --blue:       #4d5898;   /* logo blue */
  --gold:       #f3d956;   /* accent */
  --gold-600:   #f0c437;
  --cyan:       #45d2e6;   /* tech glow */

  --ink:    #16162b;
  --slate:  #5a5a78;
  --paper:  #ffffff;
  --mist:   #f4f5fb;
  --mist-2: #eceefb;

  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(31, 31, 92, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(31, 31, 92, 0.30);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.narrow { max-width: 880px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--gold); color: var(--indigo-900); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Background canvas (scoped to hero by JS) ---------- */
#bg-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero, .section-indigo, .cta, .site-footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 0.6em 1.15em; font-size: 0.92rem; }
.btn-primary { background: var(--gold); color: var(--indigo-900); box-shadow: 0 10px 26px -10px rgba(243, 217, 86, .7); }
.btn-primary:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(27, 27, 80, .82);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -14px rgba(0,0,0,.5);
  padding: 8px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: auto; flex: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: .04em; }
.brand-sub { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--periwinkle-200); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { color: rgba(255,255,255,.86); font-weight: 500; font-size: .96rem; position: relative; padding: 4px 0; }
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-links > a:not(.btn):hover { color: #fff; }
.nav-links > a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Kickers / titles ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(243,217,86,.2); animation: pulse 2s infinite; }
.kicker-dark { color: var(--blue); }
.kicker-dark::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; color: var(--ink); max-width: 18ch; margin-bottom: 14px; }
.section-title.light { color: #fff; max-width: 20ch; }
.hl { color: var(--gold); }
.hl-ink { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 90px;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(69,210,230,.16), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(140,155,224,.22), transparent 55%),
    linear-gradient(160deg, var(--indigo-900) 0%, var(--indigo-950) 70%);
  color: #fff; text-align: center; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(closest-side at 50% 30%, rgba(243,217,86,.10), transparent);
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 4.5rem); font-weight: 800; max-width: 16ch; margin-bottom: 22px; text-shadow: 0 6px 30px rgba(0,0,0,.3); }
.hero-lead { max-width: 60ch; font-size: clamp(1rem, 2.2vw, 1.22rem); color: rgba(255,255,255,.84); margin-bottom: 36px; }
.hero-lead strong { color: #fff; font-weight: 600; }

.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 40px; }
.hero-badges li {
  font-size: .85rem; font-weight: 500; color: var(--periwinkle-200);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 7px 15px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* Hero CTA */
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-cta-note { font-size: .92rem; color: rgba(255,255,255,.65); }
.hero-cta-note a { color: var(--gold); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.hero-cta-note a:hover { color: var(--gold-600); }

/* scroll cue */
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: scrolldot 1.8s infinite; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-mist { background: var(--mist); }
.section .kicker { margin-bottom: 14px; }
.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--slate); max-width: 62ch; margin-top: 10px; }
.center .lead { margin-inline: auto; }
#about h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); max-width: 24ch; margin-inline: auto; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; margin-top: 44px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--mist-2); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.section-mist .card { background: #fff; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.card p { color: var(--slate); font-size: .98rem; }
.card-stat { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; color: var(--gold-600); line-height: 1; margin-bottom: 10px; }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feat-ic {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem;
  border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--indigo) 0%, var(--blue) 100%); color: #fff;
}

/* ---------- Split (solution) ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.check-list { margin-top: 26px; display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 38px; color: var(--slate); font-size: 1.02rem; }
.check-list li strong { color: var(--ink); font-weight: 600; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--gold); color: var(--indigo-900); border-radius: 50%; font-size: .8rem; font-weight: 700;
}
.diff-card {
  background: linear-gradient(155deg, var(--indigo) 0%, var(--indigo-900) 100%);
  color: #fff; border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.diff-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(243,217,86,.25), transparent 70%); }
.diff-card .kicker { color: var(--gold); }
.diff-quote { font-size: 1.12rem; line-height: 1.6; color: rgba(255,255,255,.9); }
.diff-quote strong { color: var(--gold); font-weight: 600; }

/* ---------- Comparison table ---------- */
.table-wrap { margin-top: 40px; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--mist-2); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--mist-2); font-size: .98rem; }
.compare thead th { background: var(--indigo); color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; }
.compare thead th:first-child { border-top-left-radius: var(--radius); }
.compare thead th:last-child { border-top-right-radius: var(--radius); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: var(--mist); }
.compare td.yes { color: #1c8a52; font-weight: 600; }
.compare td.no  { color: #c0392b; font-weight: 600; }
.compare td.warn { color: #b8860b; font-weight: 600; }
.compare td.yes::before { content: "✓ "; }
.compare td.no::before  { content: "✕ "; }
.compare td.warn::before { content: "▲ "; font-size: .8em; }

/* ---------- Stats (indigo band) ---------- */
.section-indigo {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(69,210,230,.14), transparent 60%),
    linear-gradient(150deg, var(--indigo) 0%, var(--indigo-900) 100%);
  color: #fff;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 46px; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--gold); line-height: 1; }
.stat-num .unit { font-size: .5em; color: #fff; margin-left: 2px; }
.stat-cap { display: block; margin-top: 10px; font-size: .9rem; color: var(--periwinkle-200); }
.src { margin-top: 30px; font-size: .82rem; color: rgba(255,255,255,.55); text-align: center; }

/* ---------- Roadmap timeline ---------- */
.timeline { margin-top: 50px; position: relative; display: grid; gap: 30px; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--blue)); }
.tl-item { position: relative; padding-left: 64px; }
.tl-item::before {
  content: ""; position: absolute; left: 12px; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--gold); border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-q { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .08em; color: #fff; background: var(--indigo); padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.tl-item h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.tl-item p { color: var(--slate); max-width: 60ch; }

/* ---------- Team ---------- */
.leads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; max-width: 640px; margin-inline: auto; }
.lead-card { background: #fff; border: 1px solid var(--mist-2); border-radius: var(--radius); padding: 28px 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lead-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(140deg, var(--indigo), var(--blue)); margin-bottom: 8px; }
.lead-name { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.lead-role { font-size: .88rem; color: var(--slate); }
.lead-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin-top: 12px; }
.lead-tags li { font-size: .74rem; font-weight: 500; color: var(--indigo); background: var(--mist-2); border: 1px solid #dde0f4; padding: 4px 10px; border-radius: 999px; }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(700px 400px at 50% 120%, rgba(243,217,86,.14), transparent 60%),
    linear-gradient(150deg, var(--indigo-900) 0%, var(--indigo-950) 100%);
  color: #fff;
}
.cta h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; max-width: 18ch; margin: 0 auto 18px; }
.cta .lead { color: rgba(255,255,255,.82); margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-950); color: rgba(255,255,255,.8); padding: 60px 0 28px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo-mark { width: 44px; margin-bottom: 12px; }
.footer-name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer-tag { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--periwinkle-200); }
.footer-contacts { display: grid; gap: 8px; font-style: normal; align-content: start; }
.footer-contacts a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; font-size: .85rem; }
.footer-bottom .muted { color: rgba(255,255,255,.5); }
.footer-bottom .disclaimer { flex-basis: 100%; color: rgba(255,255,255,.62); margin-bottom: 6px; line-height: 1.5; }
.footer-legal { flex-basis: 100%; margin-top: 6px; font-size: .85rem; }
.footer-legal a { color: var(--periwinkle-200); }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Legal pages (impressum / datenschutz) ---------- */
.legal-top { background: var(--indigo); padding: 16px 0; }
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 820px; }
.legal .back { display: inline-block; margin-bottom: 18px; color: var(--slate); font-weight: 500; }
.legal .back:hover { color: var(--indigo); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--ink); margin-bottom: 6px; }
.legal h2 { font-family: var(--font-display); font-size: 1.2rem; color: var(--indigo); margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink); font-size: 1rem; line-height: 1.7; }
.legal address { font-style: normal; }
.legal ul { list-style: disc; padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; }
.legal a { color: var(--indigo-600); text-decoration: underline; text-underline-offset: 2px; }
.legal .updated { color: var(--slate); font-size: .9rem; }
.fill { color: #b3261e; background: #fdecea; font-weight: 600; padding: 0 5px; border-radius: 4px; }
.todo-banner { background: #fdecea; border: 1px solid #f1b0a8; color: #922b21; padding: 14px 18px; border-radius: 10px; margin: 8px 0 28px; font-size: .95rem; line-height: 1.6; }
.legal-note { border-left: 4px solid var(--gold); background: var(--mist); padding: 14px 18px; border-radius: 8px; margin: 22px 0 0; color: var(--slate); font-size: .95rem; }
.doc-version { position: fixed; bottom: 8px; right: 11px; z-index: 50; font-family: var(--font-body); font-size: 10px; letter-spacing: .4px; color: var(--slate); opacity: .6; pointer-events: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(243,217,86,.4); } 50% { box-shadow: 0 0 0 6px rgba(243,217,86,0); } }
@keyframes scrolldot { 0% { top: 8px; opacity: 1; } 70% { top: 24px; opacity: 0; } 100% { top: 8px; opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .leads { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--indigo-900); padding: 100px 32px 40px;
    transform: translateX(100%); transition: transform .32s ease; box-shadow: -20px 0 50px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links .btn { width: 100%; }
}
@media (max-width: 560px) {
  .cards-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
