/* ==================================================================
   aikyma.ai — Shared Design System
   Verwendet auf: index.html, produkt.html, approach.html, team.html, kontakt.html
   ================================================================== */

:root {
  /* Farben aus Pitch-Deck extrahiert */
  --navy-deep: #1E2A3A;
  --navy-darker: #182330;
  --navy-lighter: #2A3A4E;

  --teal: #3FBAC2;
  --teal-hover: #55C9D0;
  --teal-soft: rgba(63, 186, 194, 0.12);
  --teal-line: rgba(63, 186, 194, 0.3);

  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #8FA0B5;
  --text-on-dark-dim: #5A6F85;

  --bg-light: #F5F7FA;
  --bg-lighter: #FAFBFC;
  --text-on-light: #1E2A3A;
  --text-on-light-muted: #5A6F85;
  --border-light: #E1E7EE;

  /* Typografie */
  --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Grid */
  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-lighter);
  color: var(--text-on-light);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* =======================================================
   LAYOUT
   ======================================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}
.section-dark {
  background: var(--navy-deep);
  color: var(--text-on-dark);
}
.section-light {
  background: var(--bg-lighter);
}
.section-tinted {
  background: var(--bg-light);
}
.section-tight {
  padding: clamp(48px, 8vw, 88px) 0;
}

/* =======================================================
   TYPOGRAPHY
   ======================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 24px;
  max-width: 780px;
}

h3.subsection-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-on-light-muted);
  max-width: 680px;
  margin-bottom: 48px;
}
.section-dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* =======================================================
   NAVIGATION
   ======================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(30, 42, 58, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(24, 35, 48, 0.95);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-on-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.nav-logo-chevron {
  color: var(--teal);
  font-weight: 700;
}
.nav-logo-sub {
  font-size: 10px;
  color: var(--text-on-dark-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-left: 4px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links > a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}
.nav-links > a:hover { opacity: 1; color: var(--teal); }
.nav-links > a.active {
  color: var(--teal);
  opacity: 1;
}
.nav-links > a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -24px;
  height: 2px;
  background: var(--teal);
}
.nav-lang {
  display: flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  margin-left: 16px;
  user-select: none;
}
.nav-lang span.active {
  color: var(--text-on-dark);
}

/* =======================================================
   BUTTONS
   ======================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--navy-deep);
}
.btn-outline-dark:hover {
  background: var(--navy-deep);
  color: var(--text-on-dark);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}
.btn-arrow {
  transition: transform 0.2s var(--ease);
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* =======================================================
   PAGE HERO (smaller variant for sub-pages)
   ======================================================= */
.page-hero {
  background: var(--navy-deep);
  color: var(--text-on-dark);
  padding: calc(72px + 88px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-circles {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 480px;
  height: 480px;
  pointer-events: none;
  opacity: 0.7;
}
.page-hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--teal);
}
.page-hero-circle-1 {
  width: 300px;
  height: 300px;
  top: 40px;
  left: 40px;
  background: rgba(63, 186, 194, 0.04);
}
.page-hero-circle-2 {
  width: 220px;
  height: 220px;
  bottom: 40px;
  right: 40px;
  background: rgba(63, 186, 194, 0.08);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.page-hero-eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.page-hero h1 .accent { color: var(--teal); }
.page-hero-lede {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.55;
  color: var(--text-on-dark-muted);
  max-width: 680px;
}

/* =======================================================
   FOOTER
   ======================================================= */
.footer {
  background: var(--navy-darker);
  color: var(--text-on-dark);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.footer-brand-logo .chevron { color: var(--teal); }
.footer-brand-tagline {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  max-width: 300px;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-on-dark-dim);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-on-dark-dim); text-decoration: none; font-size: 12px; }
.footer-legal a:hover { color: var(--teal); }

/* =======================================================
   FINAL CTA (shared block)
   ======================================================= */
.final-cta {
  background: var(--navy-deep);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.final-cta-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.5;
}
.final-cta-circles .c {
  position: absolute;
  border: 2px solid var(--teal);
  border-radius: 50%;
  opacity: 0.1;
}
.final-cta-circles .c1 { width: 400px; height: 400px; top: -200px; left: -200px; }
.final-cta-circles .c2 { width: 600px; height: 600px; top: -300px; left: -300px; opacity: 0.05; }
.final-cta-circles .c3 { width: 200px; height: 200px; top: -100px; left: -100px; opacity: 0.2; }
.final-cta-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}
.final-cta h2 .accent { color: var(--teal); }
.final-cta p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-on-dark-muted);
  margin-bottom: 48px;
  line-height: 1.6;
}
.final-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =======================================================
   GENERIC CARDS
   ======================================================= */
.card-light {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.2s;
}
.card-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(30, 42, 58, 0.12);
  border-color: var(--teal-line);
}
.card-dark {
  background: linear-gradient(155deg, #243346 0%, var(--navy-darker) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 28px;
  color: var(--text-on-dark);
  transition: all 0.3s;
}
.card-dark:hover {
  transform: translateY(-2px);
  border-color: var(--teal-line);
}

/* =======================================================
   UTILITY
   ======================================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.text-accent { color: var(--teal); }
.text-muted { color: var(--text-on-light-muted); }

.anchor-scroll {
  scroll-margin-top: 88px;
}

/* =======================================================
   RESPONSIVE (shared)
   ======================================================= */
@media (max-width: 1024px) {
  .nav-links > a:not(.btn) { display: none; }
  .nav-lang { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-inner { height: 60px; }
  .nav-links { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
