/* ============================================================
   RADO-TEC GMBH — Premium Design System
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  --bg-0:       #000510;
  --bg-1:       #030818;
  --bg-2:       #060d24;
  --bg-3:       #0a1030;
  --bg-ai:      #07031a;

  --cyan:        #00d4ff;
  --cyan-bright: #40e0ff;
  --cyan-dim:    rgba(0,212,255,0.12);
  --cyan-glow:   rgba(0,212,255,0.06);
  --cyan-border: rgba(0,212,255,0.2);

  --purple:        #7c3aed;
  --purple-bright: #a855f7;
  --purple-dim:    rgba(124,58,237,0.15);
  --purple-glow:   rgba(168,85,247,0.08);
  --purple-border: rgba(124,58,237,0.3);

  --blue:        #3b82f6;
  --blue-dim:    rgba(59,130,246,0.1);

  --text-0: #ffffff;
  --text-1: #e2e8f4;
  --text-2: #8892a4;
  --text-3: #4a5568;

  --glass-bg:     rgba(255,255,255,0.028);
  --glass-border: rgba(255,255,255,0.07);
  --glass-hover:  rgba(255,255,255,0.055);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Courier New', 'Fira Code', monospace;

  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-power:   cubic-bezier(0.77, 0, 0.175, 1);

  --section-v: clamp(80px, 12vw, 160px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

::selection { background: var(--cyan-dim); color: var(--cyan); }

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-smooth), height 0.25s var(--ease-smooth),
              background 0.25s, opacity 0.25s;
  mix-blend-mode: screen;
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(0,212,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-smooth), height 0.4s var(--ease-smooth),
              border-color 0.3s, opacity 0.3s;
  will-change: transform;
}

body:has(a:hover) #cursor        { width: 6px; height: 6px; background: var(--cyan-bright); }
body:has(a:hover) #cursor-ring   { width: 60px; height: 60px; border-color: var(--cyan); }
body:has(button:hover) #cursor   { width: 6px; height: 6px; background: var(--purple-bright); }
body:has(button:hover) #cursor-ring { border-color: var(--purple-bright); }

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease-smooth), padding 0.3s;
}

#navbar.scrolled {
  padding: 14px 48px;
  background: rgba(3,8,24,0.85);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  height: 62px;
  width: auto;
  filter: invert(1) hue-rotate(180deg);
  transition: filter 0.3s, transform 0.3s var(--ease-spring);
}

.nav-logo:hover img { transform: scale(1.05); }

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text-0);
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover { color: var(--text-0); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 10px 22px;
  cursor: none;
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  letter-spacing: 0.04em;
}

.btn-ghost:hover {
  color: var(--text-0);
  border-color: var(--cyan-border);
  background: var(--cyan-glow);
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-0);
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 8px;
  padding: 10px 24px;
  cursor: none;
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s var(--ease-spring);
  letter-spacing: 0.04em;
}

.btn-primary:hover {
  background: var(--cyan-bright);
  box-shadow: 0 0 30px rgba(0,212,255,0.35), 0 0 60px rgba(0,212,255,0.15);
  transform: translateY(-1px);
}

/* ── Mobile Menu ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-1);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero Journey (Scroll Container) ── */
#hero-journey {
  height: 600vh;
  position: relative;
}

#hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Vignette overlay */
#hero-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,5,16,0.75) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Bottom gradient fade */
#hero-sticky::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-0));
  z-index: 3;
  pointer-events: none;
}

/* ── Hero Text Scenes ── */
#hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  opacity: 0;
  text-align: center;
}

.hero-scene.is-active { pointer-events: auto; }

/* Scene 1 — Identity */
.scene-1-logo {
  width: clamp(180px, 28vw, 380px);
  height: auto;
  filter: invert(1) hue-rotate(180deg);
  margin-bottom: 2.5rem;
  opacity: 1;
  transform-origin: center center;
  will-change: transform;
}

.scene-1-company {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-0);
  line-height: 1;
}

.scene-1-divider {
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  margin: 1.5rem auto;
}

.scene-1-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* Scene 2 — Mission */
.scene-2-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.scene-2-headline .line { display: block; overflow: hidden; }
.scene-2-headline .line span { display: block; }

.scene-2-headline .word-enterprise { color: var(--text-0); }
.scene-2-headline .word-ai {
  background: linear-gradient(135deg, var(--cyan), var(--purple-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.scene-2-headline .word-oracle { color: var(--text-2); }

/* Scene 3 — Oracle Expertise */
.scene-3-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.scene-3-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-0);
  max-width: 1000px;
}

/* Scene 4 — Transition */
.scene-4-from {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 3.2rem);
  font-weight: 300;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

.scene-4-arrow {
  font-size: 2rem;
  color: var(--cyan);
  margin: 0.75rem 0;
  display: block;
}

.scene-4-to {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 4.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* Scene 5 — AI Transformation */
.scene-5-verb {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 2.8rem);
  font-weight: 300;
  color: var(--text-2);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.scene-5-subject {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 40%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scene-5-object {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 2.8rem);
  font-weight: 300;
  color: var(--text-1);
  margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.4s;
}

.scroll-indicator.hidden { opacity: 0; }

.scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(0,212,255,0.4);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 3px; height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
}

/* ── Trust Section ── */
#trust {
  padding: var(--section-v) clamp(24px, 8vw, 120px);
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}

#trust::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.trust-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-eyebrow::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--cyan);
}

.trust-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-0);
  line-height: 1.05;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.trust-body {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 4rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  max-width: 1200px;
}

.trust-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, background 0.35s;
}

.trust-card:first-child { border-radius: 16px 0 0 16px; }
.trust-card:last-child { border-radius: 0 16px 16px 0; }

.trust-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan-glow), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.trust-card:hover { border-color: var(--cyan-border); background: var(--glass-hover); }
.trust-card:hover::before { opacity: 1; }

.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.trust-metric {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-metric-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-0);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.trust-metric-desc {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

.trust-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4rem;
  align-items: center;
}

.trust-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-2);
  transition: border-color 0.3s, color 0.3s;
}

.trust-cert-badge:hover { border-color: var(--cyan-border); color: var(--cyan); }

.trust-cert-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

/* ── Services Section ── */
#services {
  padding: var(--section-v) clamp(24px, 8vw, 120px);
  background: var(--bg-0);
  position: relative;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--cyan);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-0);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-0);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease-smooth);
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,212,255,0.06) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover { background: var(--glass-hover); }
.service-card:hover::before { opacity: 1; }

.service-card-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}

.service-card:hover .service-card-glow { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--glass-bg);
  transition: border-color 0.3s, background 0.3s;
}

.service-card:hover .service-icon {
  border-color: var(--cyan-border);
  background: var(--cyan-glow);
}

.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--text-2);
  transition: stroke 0.3s;
}

.service-card:hover .service-icon svg { stroke: var(--cyan); }

.service-card-number {
  position: absolute;
  top: 2rem; right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-3);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

.service-tag {
  display: inline-flex;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.service-tag::after {
  content: '→';
  transition: transform 0.3s var(--ease-spring);
}

.service-card:hover .service-tag { color: var(--cyan); }
.service-card:hover .service-tag::after { transform: translateX(4px); }

/* AI card variant */
.service-card.ai-card::before {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(168,85,247,0.07) 0%, transparent 65%);
}

.service-card.ai-card:hover .service-icon { border-color: var(--purple-border); background: var(--purple-glow); }
.service-card.ai-card:hover .service-icon svg { stroke: var(--purple-bright); }
.service-card.ai-card .service-card-glow { background: linear-gradient(to right, transparent, var(--purple-bright), transparent); }
.service-card.ai-card:hover .service-tag { color: var(--purple-bright); }

/* ── AI Transformation Section ── */
#ai-transform {
  padding: var(--section-v) clamp(24px, 8vw, 120px);
  background: var(--bg-ai);
  position: relative;
  overflow: hidden;
}

#ai-transform::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#ai-transform::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--purple), transparent);
}

.ai-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
  max-width: 1400px;
}

.ai-text .section-eyebrow { color: var(--purple-bright); }
.ai-text .section-eyebrow::before { background: var(--purple-bright); }

.ai-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin-bottom: 2rem;
}

.ai-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-body {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.ai-capabilities {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ai-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--glass-border);
  cursor: none;
  transition: padding-left 0.3s var(--ease-smooth);
}

.ai-cap-item:hover { padding-left: 8px; }

.ai-cap-dot {
  width: 6px; height: 6px;
  background: var(--purple-bright);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.ai-cap-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.2rem;
}

.ai-cap-desc {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* AI Visual Side */
.ai-visual {
  position: relative;
  height: 500px;
}

.ai-node-network {
  width: 100%;
  height: 100%;
}

/* ── CTA Section ── */
#cta {
  padding: var(--section-v) clamp(24px, 8vw, 120px);
  background: var(--bg-1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.06) 0%, rgba(124,58,237,0.04) 40%, transparent 70%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-0);
  line-height: 1.02;
  margin-bottom: 1.5rem;
}

.cta-body {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-large {
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 12px;
}

/* ── Kunden Marquee ── */
#kunden {
  padding: clamp(20px, 3vw, 40px) 0;
  background: var(--bg-0);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.kunden-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 1.25rem;
}

.kunden-track-wrap {
  position: relative;
  overflow: hidden;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.kunden-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: kundenScroll 28s linear infinite;
}

.kunden-track:hover { animation-play-state: paused; }

@keyframes kundenScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.kunden-logo-slot {
  flex-shrink: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  transition: opacity 0.35s;
}

.kunden-logo-slot img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  /* grayscale → invert: schwarze Logos → weiß; weiße Hintergründe → schwarz
     screen-blend: schwarze Anteile verschwinden auf dunklem Hintergrund */
  filter: grayscale(1) invert(1) brightness(0.8);
  mix-blend-mode: screen;
  opacity: 0.52;
  transition: filter 0.35s, opacity 0.35s;
}

/* Bundesministerium & andere text-heavy Logos */
.kunden-logo-slot.kunden-logo-xl img {
  height: 90px;
  max-width: 320px;
}

/* Hover Standard — Originalfarben */
.kunden-logo-slot:hover img {
  filter: brightness(1.05);
  mix-blend-mode: normal;
  opacity: 1;
}

/* Logos mit dunkler Schrift (ITZ-Bund, BMV):
   grayscale+invert hält schwarze Schrift weiß */
.kunden-logo-slot.kunden-logo-dark:hover img {
  filter: grayscale(1) invert(1) brightness(1.35);
  mix-blend-mode: screen;
  opacity: 1;
}

/* DB Systel: invert(1) hue-rotate(180deg) — Schwarz→weiß (Systel),
   Rot bleibt Rot (DB-Raute), weißer Hintergrund verschwindet via screen */
.kunden-logo-slot.kunden-logo-db:hover img {
  filter: invert(1) hue-rotate(180deg) brightness(1.1);
  mix-blend-mode: screen;
  opacity: 1;
}

/* ── Footer ── */
footer {
  background: var(--bg-0);
  border-top: 1px solid var(--glass-border);
  padding: 80px clamp(24px, 8vw, 120px) 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

.footer-brand { }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: invert(1) hue-rotate(180deg);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 36px; height: 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
  cursor: none;
  text-decoration: none;
  color: var(--text-2);
}

.footer-social-btn:hover {
  border-color: var(--cyan-border);
  background: var(--cyan-glow);
  color: var(--cyan);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-0);
  margin-bottom: 1.5rem;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-links a {
  font-size: 0.875rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col-links a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-legal a:hover { color: var(--text-1); }

/* ── Inner Page Header ── */
.inner-hero {
  padding: 160px clamp(24px, 8vw, 120px) 100px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background: radial-gradient(ellipse at 30% 100%, rgba(0,212,255,0.05), transparent 70%);
}

.inner-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.inner-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--cyan);
}

.inner-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-0);
  line-height: 1;
  margin-bottom: 2rem;
}

.inner-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.7;
}

/* ── Content Sections ── */
.content-section {
  padding: var(--section-v) clamp(24px, 8vw, 120px);
}

.content-section.alt { background: var(--bg-1); }

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.content-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin-bottom: 1.25rem;
}

.content-prose p {
  font-size: 0.975rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.content-prose p:last-child { margin-bottom: 0; }

.value-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
}

.value-item {
  background: var(--glass-bg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: background 0.3s;
  border-bottom: 1px solid var(--glass-border);
}

.value-item:last-child { border-bottom: none; }
.value-item:hover { background: var(--glass-hover); }

.value-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 0.3rem;
}

.value-desc {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ── Impressum ── */
.impressum-content {
  max-width: 800px;
}

.impressum-section {
  margin-bottom: 3rem;
}

.impressum-section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.impressum-section p,
.impressum-section address {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.8;
  font-style: normal;
}

.impressum-section a {
  color: var(--cyan);
  text-decoration: none;
}

.impressum-section a:hover { color: var(--cyan-bright); }

/* ── GSAP Animation Base States ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-fade {
  opacity: 0;
}

.stagger-child {
  opacity: 0;
  transform: translateY(30px);
}

/* ── Utility ── */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: linear-gradient(135deg, var(--purple-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.max-container { max-width: 1400px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-content { grid-template-columns: 1fr; }
  .ai-visual { height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .content-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #navbar { padding: 16px 24px; }
  #navbar.scrolled { padding: 12px 24px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3,8,24,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 1200;
    font-size: 1.5rem;
  }

  .nav-mobile-open .nav-hamburger {
    position: fixed;
    top: 16px;
    right: 24px;
    z-index: 1300;
  }

  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .trust-card:first-child { border-radius: 16px 16px 0 0; }
  .trust-card:last-child { border-radius: 0 0 16px 16px; }
  .trust-grid { grid-template-columns: 1fr; }
  .ai-visual { display: none; }

  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Ambient Audio Toggle ───────────────────────────────────────────────── */
#audio-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 14, 28, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

#audio-toggle:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(0,212,255,0.4);
  background: rgba(8, 14, 28, 0.88);
  transform: scale(1.08);
}

#audio-toggle.audio-active {
  color: var(--accent);
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 4px 24px rgba(0,212,255,0.18);
}

#audio-toggle.audio-prompt {
  border-color: rgba(0,212,255,0.55);
  animation: audioPromptPulse 2s ease-in-out 3;
}

@keyframes audioPromptPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(0,0,0,0.4); transform: scale(1); }
  50%      { box-shadow: 0 0 24px rgba(0,212,255,0.35); transform: scale(1.12); }
}

#audio-toggle svg {
  display: block;
  flex-shrink: 0;
}
