@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Variables ─── */
:root {
  --color-bg:             #ffffff;
  --color-bg-secondary:   #f9fafb;
  --color-bg-tertiary:    #f3f4f6;
  --color-border:         #e5e7eb;
  --color-border-strong:  #d1d5db;

  --color-text:           #111111;
  --color-text-secondary: #6b7280;
  --color-text-tertiary:  #9ca3af;

  --color-accent:         #22c55e;
  --color-accent-hover:   #16a34a;
  --color-accent-light:   #dcfce7;

  --color-black:          #000000;
  --color-white:          #ffffff;

  --gruen-light:   #4ade80;
  --gruen-mid:     #22c55e;
  --gruen-dunkel:  #1a4731;
  --gruen-primary: #16a34a;
  --gruen-tint:    #f0fdf4;
  --gruen-subtle:  rgba(34, 197, 94, 0.25);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  --fw-light:     300;
  --fw-normal:    400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;
  --fw-black:     900;

  --lh-tight:   1.1;
  --lh-snug:    1.3;
  --lh-normal:  1.5;
  --lh-relaxed: 1.7;

  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);

  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  --nav-height:        64px;
  --container-max:     1200px;
  --container-padding: 1.5rem;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-normal);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: radial-gradient(rgba(0,0,0,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl);  }
h5 { font-size: var(--text-lg);  }
h6 { font-size: var(--text-base);}

p { line-height: var(--lh-relaxed); color: var(--color-text-secondary); }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

main { flex: 1; }

.section    { padding: var(--sp-24) 0; }
.section-lg { padding: var(--sp-32) 0; }

.section__header { max-width: 640px; margin-bottom: var(--sp-12); }
.section__header--center { margin-left: auto; margin-right: auto; text-align: center; }

.section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
}

.section__title { margin-bottom: var(--sp-4); }

.section__desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* ─── Grid ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn--primary { background: var(--color-black); color: var(--color-white); }
.btn--primary:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--accent { background: var(--color-accent); color: var(--color-white); }
.btn--accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}

.btn--outline {
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--color-text);
  background: var(--color-bg-tertiary);
}

.btn--ghost { color: var(--color-text-secondary); }
.btn--ghost:hover { color: var(--color-text); background: var(--color-bg-tertiary); }

.btn--lg { padding: 0.875rem 1.75rem; font-size: var(--text-base); border-radius: var(--radius-lg); }
.btn--sm { padding: 0.4rem 0.875rem; font-size: var(--text-xs); }

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
}

.badge--accent {
  background: var(--color-accent-light);
  border-color: rgba(34,197,94,0.3);
  color: var(--color-accent-hover);
}

/* ─── Card ─── */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12), 0 0 0 1px rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

/* ─── Divider ─── */
.divider { width: 100%; height: 1px; background: var(--color-border); }

/* ─── Utility ─── */
.text-accent    { color: var(--color-accent); }
.text-secondary { color: var(--color-text-secondary); }
.text-sm        { font-size: var(--text-sm); }
.text-lg        { font-size: var(--text-lg); }
.font-medium    { font-weight: var(--fw-medium); }
.font-semibold  { font-weight: var(--fw-semibold); }
.font-bold      { font-weight: var(--fw-bold); }
.text-center    { text-align: center; }
.sr-only        { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sw-banner { padding: 28px 24px; }
}

@media (max-width: 768px) {
  :root { --container-padding: 1rem; }
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section    { padding: var(--sp-16) 0; }
  .section-lg { padding: var(--sp-20) 0; }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ─── Logo Bar ─── */
.logo-ticker {
  background: transparent;
  padding: 20px 0 24px;
}

.logo-ticker__label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  line-height: 1;
}

.logo-ticker__wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.logo-ticker__track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-ticker__logo {
  height: 26px;
  width: auto;
  opacity: 0.38;
  filter: grayscale(100%);
  display: block;
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.logo-ticker__logo:hover {
  opacity: 0.68;
  filter: grayscale(30%);
}

@media (max-width: 768px) {
  .logo-ticker__track {
    justify-content: center;
    gap: 20px;
  }
  .logo-ticker__logo { height: 22px; }
}

/* ─── SW Banner ─── */
.sw-banner {
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 32px 40px;
}

.sw-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.sw-banner-left { flex: 1; min-width: 0; }

.sw-banner-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--gruen-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sw-banner-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 420px;
}

.sw-banner-icons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.sw-banner-icon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  white-space: nowrap;
}

.sw-banner-icon-item svg { color: var(--gruen-mid); flex-shrink: 0; }

.sw-banner-divider {
  width: 1px;
  height: 20px;
  background: #222222;
  flex-shrink: 0;
}

.sw-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gruen-dunkel);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition-base);
}

.sw-banner-cta:hover { background: #0f3320; }

@media (max-width: 768px) {
  .sw-banner { padding: 28px 20px; }
  .sw-banner-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sw-banner-icons { flex-wrap: wrap; gap: 16px; }
  .sw-banner-divider { display: none; }
  .sw-banner-cta { width: 100%; justify-content: center; }
}

/* ─── KI Globe Section ─── */
.ai-globe-section {
  position: relative;
  background: transparent;
  overflow: hidden;
  padding: var(--sp-3) 0;
}

.ai-globe-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 440px;
}

.ai-globe-canvas {
  position: relative;
  align-self: stretch;
  pointer-events: none;
  min-height: 360px;
}

.ai-globe-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 520px;
  padding: var(--sp-10) var(--sp-12) var(--sp-10) 0;
}

@media (max-width: 900px) {
  .ai-globe-split {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .ai-globe-content {
    text-align: center;
    max-width: 100%;
    padding: 0 0 var(--sp-4);
  }
  .ai-globe-canvas {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .ai-globe-canvas { display: none; }
}

.ai-globe-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16a34a;
  margin-bottom: var(--sp-3);
}

.ai-globe-headline {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #111111;
  margin-bottom: var(--sp-4);
}

.ai-globe-desc {
  font-size: var(--text-base);
  color: #374151;
  line-height: 1.75;
}

.ai-globe-desc strong {
  font-weight: 600;
  color: #111111;
}

/* ─── Agents Module Section ─── */
.am-section { background: transparent; padding: var(--sp-8) 0; }

.am-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: var(--sp-10);
}

.am-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.am-headline {
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #111111;
}

.am-sub {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.7;
}

.am-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  min-width: 0; /* prevents grid blowout */
}

.am-slider { overflow: hidden; width: 100%; }

.am-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.am-slide {
  flex: 0 0 100%;
  aspect-ratio: 3 / 2;
  min-height: 220px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.am-slide:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(34,197,94,0.12), 0 0 0 1px rgba(34,197,94,0.2);
}

.am-slide__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.am-slide__icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.am-slide__label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.am-slide__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: var(--lh-snug);
  flex: 1;
}

.am-slide__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  flex: 1;
}

.am-slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.am-tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: #16a34a;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius-full);
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.am-slide__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  background: var(--color-accent);
  color: #ffffff;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), transform var(--transition-fast);
  margin-top: auto;
  align-self: flex-start;
  white-space: nowrap;
}

.am-slide__link:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.am-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.am-dots { display: flex; gap: var(--sp-2); align-items: center; }

.am-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.am-dot.active {
  background: #111111;
  transform: scale(1.35);
}

.am-arrows { display: flex; gap: var(--sp-2); }

.am-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-full);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: #111111;
  transition: border-color 0.2s, color 0.2s;
}

.am-arrow:hover { border-color: #22c55e; color: #22c55e; }
.am-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

@media (max-width: 900px) {
  .am-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ─── Value Demo Section ─── */
.vd-section {
  background: transparent;
  padding: var(--sp-8) 0;
}

.vd-headline {
  font-size: 2rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
  text-align: center;
}

.vd-sub {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.vd-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 56px;
  align-items: center;
}

.vd-kpis {
  display: flex;
  flex-direction: column;
}

.vd-kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
}
.vd-kpi:first-child { padding-top: 0; }
.vd-kpi:last-child  { padding-bottom: 0; }

.vd-kpi__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
}

.vd-kpi__desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .vd-grid { grid-template-columns: 1fr; }
  .vd-demo { display: none; }
}
@media (max-width: 768px) {
  .vd-section { padding: 52px 0; }
  .vd-headline { font-size: 1.5rem; margin-bottom: 10px; }
}
