/* ─── Language switching — pure CSS ───────────────────────────── */
html.lang-de .en { display: none; }
html.lang-en .de { display: none; }

/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark:     #080808;
  --bg-light:    #E8E9EF;
  --text-dark:   #1d1d1f;
  --text-light:  #f5f5f7;
  --accent:      #2DD4BF;
  --purple:      #7c3aed;
  --pink:        #C084FC;
  --indigo:      #818cf8;
  --indigo-deep: #3f49b1;
  --overlay-black: rgba(0,0,0,0.7);
  --overlay-light: rgba(0,0,0,0.08);
  --radius:      20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font), sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
nav.scrolled {
  background: rgba(8,8,8,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-light);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: rgba(245,245,247,0.72);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.1px;
}
.nav-links a:hover { color: var(--text-light); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

#nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  width: 150px;
  padding: 7px 0;
  white-space: nowrap;
}

/* ─── Hero ─────────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,0.10) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129,140,248,0.08) 0%, transparent 70%);
  bottom: -100px; right: 10%;
  pointer-events: none;
}

.hero-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s ease forwards;
}

.hero-title {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -3px;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.9s 0.25s ease forwards;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--indigo-deep) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  color: rgba(245,245,247,0.6);
  max-width: 600px;
  line-height: 1.55;
  letter-spacing: -0.2px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s ease forwards;
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s 0.55s ease forwards;
}
.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  padding: 11px 26px;
  font-size: 14px;
}

.btn-primary {
  padding: 14px 32px;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3240b8 0%, #504ccf 52%, var(--accent) 140%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow:
    0 12px 30px rgba(63, 73, 177, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease,
    opacity 0.24s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-22deg);
  opacity: 0;
  pointer-events: none;
  transition: left 0.5s ease, opacity 0.3s ease;
}

.btn-primary:hover {
  opacity: 1;
  filter: saturate(1.06) brightness(1.04);
  background-position: 100% 50%;
  box-shadow:
          0 10px 30px var(--indigo-deep),
          0 6px 15px black;
}

.btn-primary:hover::after {
  left: 155%;
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.995);
}

.btn-ghost {
  padding: 14px 32px;
  border-radius: 980px;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-light);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
  transform: scale(0.98);
  box-shadow:
          0 10px 30px var(--indigo-deep),
          0 6px 15px black;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245,245,247,0.3);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.2s ease forwards;
}

.scroll-line {
  width: 3px; height: 60px;
  background: linear-gradient(to bottom, rgba(45,212,191,0.7), transparent);
  animation: scrollPulse 3s infinite;
}

#intro {
  background: var(--bg-light);
  padding: 100px 24px;
  text-align: center;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 500;
  margin-bottom: 40px;
}
.intro-headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  max-width: 820px;
  margin: 0 auto 32px;
  color: var(--text-dark);
}
.intro-body {
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(29,29,31,0.65);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── Intro Value Points ───────────────────────────────────────── */
.value-points {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 72px;
  flex-wrap: nowrap;
}
.value-point {
  flex: 1;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid rgba(29,29,31,0.12);
}
.value-point:last-child {
  border-right: none;
}
.value-point strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.2px;
  display: block;
}
.value-point span {
  font-size: 13px;
  color: rgba(29,29,31,0.48);
  line-height: 1.5;
  display: block;
}
.value-divider {
  border: none;
  border-top: 1px solid rgba(29,29,31,0.08);
  margin: 32px auto 0;
  max-width: 560px;
  width: 100%;
}

/* ─── Large Visual Panel ───────────────────────────────────────── */
.visual-panel {
  width: 100%;
  padding: 0 0 0;
}
.visual-card {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  min-height: clamp(600px, 95svh, 1200px);
  background: #0a0a1e;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0);
}
.visual-card::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../images/collaboration.png') center top / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}
.visual-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(var(--bg-dark) 0%, rgba(0,0,0,0.52) 50%, var(--bg-dark) 100%);
  z-index: 1;
  pointer-events: none;
}
.visual-card-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.visual-card-text h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.visual-card-text .visual-lead {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(245,245,247,0.96);
  max-width: 800px;
  margin: 0 auto 64px;
  line-height: 1.6;
}

.visual-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
  margin-top: 48px;
}

.visual-group-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.visual-group-card:hover {
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-4px);
}

.visual-group-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.visual-group-card .group-desc {
  font-size: 15px;
  color: rgba(245, 245, 247, 0.72);
  margin-bottom: 32px;
  line-height: 1.5;
}

.group-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.group-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-item .item-title {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.group-item .item-detail {
  font-size: 13px;
  color: rgba(245, 245, 247, 0.68);
  line-height: 1.4;
}

/* ─── Shared section labels & titles ───────────────────────────── */
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 32px;
  text-align: center;
}
.section-eyebrow.purple { color: var(--purple); }
.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.06;
  text-align: center;
  margin-bottom: 56px;
  color: var(--text-dark);
}

#ai-feature {
  background: var(--bg-dark);
  padding: 140px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#ai-feature .intro-headline { color: var(--text-light); }
#ai-feature .intro-body { color: rgba(245,245,247,0.6); }
#ai-feature::before {
  content: '';
  position: absolute;
  width: 1200px; height: 1200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129,140,248,0.08) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 80px auto 0;
  text-align: left;
}
.feature-item h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.feature-item p {
  font-size: 16px;
  color: rgba(245,245,247,0.5);
  line-height: 1.7;
}
.feature-item .fi-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  display: block;
  margin-bottom: 12px;
}

.gradient-strip {
  min-height: 500px;
  max-height: 50dvh;
  background: linear-gradient(160deg, #0e0a1e 0%, #0a0a2e 30%, #080818 60%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.gradient-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45,212,191,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(129,140,248,0.10) 0%, transparent 50%);
}
.strip-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}
.strip-content h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.05;
  max-width: 900px;
}
.strip-content h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.strip-content p {
  margin-top: 24px;
  font-size: 20px;
  color: rgba(245,245,247,0.5);
  max-width: 540px;
  margin-left: auto; margin-right: auto;
  line-height: 1.6;
}

#process {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 120px 24px;
}
.process-steps {
  max-width: 900px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 52px 0;
  border-bottom: 1px solid var(--overlay-light);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--overlay-light);
  padding-top: 4px;
}
.step-content h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.step-content p {
  font-size: 16px;
  color: #6e6e73;
  line-height: 1.7;
  max-width: 620px;
}

#cta {
  background:
    radial-gradient(circle at 18% 26%, rgba(45, 212, 191, 0.14) 0%, rgba(45, 212, 191, 0.07) 16%, transparent 42%),
    radial-gradient(circle at 84% 18%, rgba(129, 140, 248, 0.12) 0%, rgba(129, 140, 248, 0.06) 18%, transparent 38%),
    radial-gradient(circle at 76% 78%, rgba(192, 132, 252, 0.12) 0%, rgba(192, 132, 252, 0.05) 16%, transparent 36%),
    linear-gradient(180deg, #04050a 0%, #070a12 34%, #090d16 62%, #04050a 100%);
  padding: 132px 24px 116px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100dvh - 364px);
}
#cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.82) 0%, transparent 74%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.82) 0%, transparent 74%);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}
#cta::before {
  content: none;
}
#cta h2 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  max-width: 760px;
  margin: 0 auto 24px;
}
#cta p {
  line-height: 1.6;
}

.cta-content {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  transform: translateY(-10px);
}

.cta-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px) 0 0;
}

.cta-lead {
  max-width: 620px;
  margin: 0 auto 42px;
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(245,245,247,0.74);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

#cta .btn-ghost:hover {
  transform: translateY(-1px);
}

.cta-note {
  font-size: 14px;
  color: rgba(245,245,247,0.72);
  letter-spacing: -0.01em;
  margin-top: 0 !important;
}

.cta-support-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
  color: rgba(245,245,247,0.36);
  font-size: 13px;
}

.cta-support-links a {
  display: inline-flex;
  gap: 7px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 450;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.cta-support-icon {
  width: 15px;
  flex-shrink: 0;
  opacity: 0.7;
}

.cta-support-links a:hover {
  color: var(--accent);
  opacity: 0.9;
}

.cta-support-links a:hover .cta-support-icon {
  opacity: 0.68;
}

footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px;
  color: rgba(245,245,247,0.65);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
}
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 12px; max-width: 300px; line-height: 1.65; }
.footer-brand .footer-links {
  margin-top: 14px;
  flex-wrap: wrap;
}
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h3 {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ebebeb;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(245,245,247,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-light); }
.footer-bottom {
  padding: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; }
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-72px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(72px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes dotScale {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.3); opacity: 1;   }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}
