* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

:root {
  --cyan: #00d4ff;
  --cyan-dark: #00a8cc;
  --cyan-glow: rgba(0, 212, 255, 0.6);
  --gold: #d4a574;
  --gold-dark: #b8895c;
  --gold-glow: rgba(212, 165, 116, 0.5);
  --dark: #0a0e1a;
  --mid: #141c2a;
  --card: #1a2332;
  --text: #e8eef7;
  --muted: #8b95a8;
  --border: rgba(0, 212, 255, 0.1);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --rock: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #0d1320;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ========== ANIMATED MESH BACKGROUND ========== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: meshShift 15s ease-in-out infinite;
}

@keyframes meshShift {
  0%, 100% { opacity: 1; transform: scale(1) translate(0, 0); }
  33% { opacity: 0.9; transform: scale(1.05) translate(2%, 1%); }
  66% { opacity: 1; transform: scale(0.98) translate(-1%, 2%); }
}

/* Grid overlay - subtle tech feel */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

/* ========== HEADER ========== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(10, 14, 26, 0.95);
  z-index: 100;
  backdrop-filter: blur(10px);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo:hover img {
  opacity: 0.9;
  transform: scale(1.02);
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
}

nav a:hover {
  color: var(--cyan);
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cyan);
  font-size: 24px;
  cursor: pointer;
}

/* ========== LANGUAGE SWITCHER ========== */
.language-switcher {
  display: flex;
  gap: 8px;
  margin-left: 30px;
}

.lang-btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  transition: var(--transition);
  letter-spacing: 1px;
}

.lang-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  color: var(--dark);
  border-color: var(--cyan);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.gradient {
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tagline {
  font-size: 18px;
  color: var(--cyan);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-description {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
}

.cta {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.cta:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px var(--cyan-glow), 0 0 30px rgba(212, 165, 116, 0.3);
}

.cta:hover::before {
  left: 100%;
}

.cta:active {
  transform: translateY(-2px);
  transition-duration: 0.1s;
}

.cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 320px;
}

.hero-visual .gradient-orb {
  position: relative;
}

.gradient-orb {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, rgba(212, 165, 116, 0.2) 40%, transparent 70%);
  filter: blur(50px);
  animation: orbPulse 5s ease-in-out infinite;
  box-shadow: 0 0 80px var(--cyan-glow), 0 0 120px rgba(212, 165, 116, 0.2);
}

.gradient-orb::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  filter: blur(30px);
  transform: translate(-50%, -50%);
  animation: orbInner 3s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.15) rotate(5deg); opacity: 0.9; }
}

@keyframes orbInner {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}

/* ========== SECTIONS ========== */
section {
  padding: 48px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}

/* Section backgrounds – oben gut, unten heller */
#about, .about-section {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

#services, .services-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.04) 20%, rgba(212, 165, 116, 0.08) 100%);
}

.usecases-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 212, 255, 0.06) 50%, rgba(212, 165, 116, 0.08) 100%);
}

.demos-section {
  background: linear-gradient(180deg, rgba(212, 165, 116, 0.06) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 212, 255, 0.06) 100%);
}

.benefits-section {
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 255, 255, 0.06) 100%);
}

#contact, .contact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(212, 165, 116, 0.1) 30%, rgba(0, 212, 255, 0.08) 100%);
}

section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ========== CARDS ========== */
.card {
  background: linear-gradient(145deg, rgba(30, 40, 58, 0.9) 0%, rgba(25, 35, 52, 0.85) 100%);
  backdrop-filter: blur(10px);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 16px 48px rgba(0, 212, 255, 0.08), 0 0 1px rgba(212, 165, 116, 0.2);
  transform: translateY(-3px);
}

.card-highlight {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.06) 0%, rgba(212, 165, 116, 0.05) 100%);
  border: 1px solid rgba(0, 212, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: inline-block;
}

/* ========== GRID – immer 3 Karten nebeneinander ========== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  text-align: left;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-btn .cta {
  width: 100%;
  text-align: center;
}

/* ========== USE CASES ========== */
.usecase-card {
  text-align: left;
}

.usecase-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.usecase-list {
  list-style: none;
  padding: 0;
}

.usecase-list li {
  color: var(--muted);
  font-size: 13px;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.5;
  transition: var(--transition);
}

.usecase-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
  font-size: 16px;
}

.usecase-card:hover .usecase-list li {
  color: var(--text);
}

.usecase-card:hover .usecase-list li::before {
  color: var(--gold);
}

.cta-section {
  margin-top: 28px;
  animation: fadeInUp 0.8s ease-out;
}

.cta-section p {
  margin-top: 0 !important;
}

/* ========== DEMOS SECTION ========== */
.demos-section {
  background: linear-gradient(180deg, rgba(212, 165, 116, 0.02) 0%, transparent 100%);
}

.demo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.demo-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: var(--transition);
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(212, 165, 116, 0.05));
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 212, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--dark);
  font-weight: bold;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.demo-card:hover .play-button {
  background: var(--cyan);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.demo-info {
  padding: 25px;
  background: var(--mid);
  border-radius: 0 0 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.demo-info h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.demo-info p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
  flex: 1;
}

.demo-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 50px;
  margin-top: 8px;
}

.demo-link:hover {
  color: var(--gold);
  border-color: var(--gold-glow);
  background: rgba(212, 165, 116, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.demo-card:hover {
  border-color: rgba(212, 165, 116, 0.4);
  box-shadow: 0 25px 60px rgba(212, 165, 116, 0.15), 0 0 40px rgba(0, 212, 255, 0.1);
  transform: translateY(-8px);
}

/* Voice demo - Live indicator */
.demo-live .video-placeholder {
  animation: liveGlow 2s ease-in-out infinite;
}

.demo-live .play-button {
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes liveGlow {
  0%, 100% { box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.1); }
  50% { box-shadow: inset 0 0 50px var(--cyan-glow); }
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--cyan-glow); }
  50% { box-shadow: 0 0 0 15px rgba(0, 212, 255, 0); }
}

/* Voice wave bars for active demo */
.voice-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.voice-wave span {
  width: 4px;
  height: 100%;
  background: var(--cyan);
  border-radius: 2px;
  animation: voiceBar 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { animation-delay: 0s; }
.voice-wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; }
.voice-wave span:nth-child(6) { animation-delay: 0.5s; }
.voice-wave span:nth-child(7) { animation-delay: 0.6s; }

@keyframes voiceBar {
  0%, 100% { height: 25%; }
  50% { height: 100%; }
}

/* Voice demo - nur Buttons */
.voice-demo-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.voice-cta {
  min-width: 240px;
}

@media (max-width: 600px) {
  .voice-demo-buttons {
    flex-direction: column;
  }
  .voice-cta {
    width: 100%;
  }
}

.demo-cta {
  margin-top: 32px;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Demo controls */
.demo-controls {
  text-align: center;
  margin-bottom: 28px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

#demo-status-wrap {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#demo-status {
  font-size: 1.2rem;
  color: var(--cyan);
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#demo-status.live {
  color: #22c55e;
}

#demo-status.live .voice-wave {
  display: flex;
}

#demo-status .voice-wave {
  display: none;
}

#demo-status.error {
  color: #ff4444;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

#demo-status.live .status-dot {
  background: #22c55e;
  animation: livePulse 1s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.cta-stop {
  background: linear-gradient(135deg, #dc3545, #c82333) !important;
  box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4) !important;
}

.cta-stop:hover {
  box-shadow: 0 8px 30px rgba(220, 53, 69, 0.6) !important;
}

/* ========== BENEFITS ========== */
.benefits-list {
  list-style: none;
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 100%;
}

.benefits-list li {
  margin-bottom: 0;
  padding: 20px 20px 20px 48px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.9) 0%, rgba(20, 28, 42, 0.85) 100%);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.benefits-list li:hover {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(26, 35, 50, 0.9);
  transform: translateY(-2px);
}

.check {
  position: absolute;
  left: 18px;
  top: 20px;
  color: var(--cyan);
  font-weight: 800;
  font-size: 18px;
}

/* ========== CONTACT ========== */
.contact-intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta-block {
  text-align: center;
  margin-bottom: 36px;
  padding: 36px 24px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06) 0%, rgba(212, 165, 116, 0.06) 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-cta-text {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px !important;
}

.contact-email-cta {
  display: inline-block;
  padding: 16px 36px;
  font-size: 17px;
  text-decoration: none;
}

.contact-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(212, 165, 116, 0.05));
}

.contact-info h3 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--text);
}

.role {
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 30px !important;
  font-size: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-link {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 18px;
  font-weight: 500;
}

.contact-link:hover {
  color: var(--cyan);
  transform: translateX(10px);
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(180deg, rgba(35, 50, 80, 0.6) 0%, rgba(55, 75, 110, 0.5) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  padding: 48px 0 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--cyan);
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
}

.footer-section p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}

.footer-section a:hover {
  color: var(--cyan);
  margin-left: 5px;
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-bottom a {
  color: var(--cyan);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ========== MODAL KONTAKTFORMULAR ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-form {
  background: linear-gradient(145deg, var(--card) 0%, var(--mid) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  color: var(--cyan);
}

.modal-title {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.modal-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .cta {
  width: 100%;
  margin-top: 8px;
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding: 120px 0 80px;
  min-height: 80vh;
}

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-content {
  max-width: 720px;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 20px;
  color: var(--cyan);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--cyan);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-back {
  margin-top: 48px;
}

.legal-back a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}

.legal-back a:hover {
  text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
/* Tablet: 2 Spalten */
@media(max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-visual {
    height: 260px;
  }

  .gradient-orb {
    width: 220px;
    height: 220px;
  }
}

@media(max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }

  .section-title {
    font-size: 36px;
  }

  .language-switcher {
    margin-left: 15px;
    gap: 5px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 10px;
  }

  .usecase-card h3 {
    font-size: 18px;
  }

  .usecase-list li {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .demo-card {
    margin-bottom: 25px;
  }

  .demo-player {
    aspect-ratio: 16 / 9;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .demo-info {
    padding: 20px;
  }

  .demo-info h3 {
    font-size: 16px;
  }

  .demo-info p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  nav {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    flex-direction: column;
    width: 100%;
    padding: 20px;
    gap: 15px;
  }

  nav.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .container {
    padding: 0 20px;
  }

  section {
    padding: 48px 0;
  }

  .contact-card {
    padding: 40px 20px;
  }

  .benefits-list {
    font-size: 18px;
  }

  .hero-content {
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 30px 20px;
  }
}

@media(max-width: 480px) {
  header {
    padding: 15px 0;
  }

  .logo img {
    height: 44px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .tagline {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  nav {
    top: 60px;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== PRINT ========== */
@media print {
  header, footer {
    display: none;
  }

  section {
    page-break-inside: avoid;
  }
}
