/* Outfit (Variable Font, lokal gehostet, DSGVO-konform) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg-color: #050505;
  --bg-surface: #111;
  --bg-glass: rgba(20, 20, 25, 0.7);
  --text-main: #f5f5f7;
  --text-muted: #a1a1aa;
  
  --primary-glow: #00f0ff;
  --secondary-glow: #7000ff;
  
  --gradient-neon: linear-gradient(90deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
  --gradient-surface: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  position: relative; /* iOS-Safari-Fix: overflow-x:hidden wirkt sonst nicht bei absolut positionierten Kindelementen */
}

/* Background Effects */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-glow);
  top: -10%;
  left: -5%;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary-glow);
  right: -10%;
  top: 30%;
}

/* Typography */
h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 40px;
  text-align: center;
}

p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.125rem;
}

.highlight-text {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reusable Components */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient-neon);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: var(--glass-border);
  background: rgba(5,5,5,0.7);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-image {
  height: 32px;
  width: auto;
  display: block;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  border: var(--glass-border);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
}

/* Testimonials / Social Proof */
.social-proof {
  background: rgba(17,17,17,0.5);
  border-top: var(--glass-border);
  border-bottom: var(--glass-border);
  padding: 40px 0;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 0.7;
}

.logos span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Workflow / Dual Component Section */
.components {
  padding: 120px 0;
}

.component-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.component-card h3 {
  font-size: 1.75rem;
  margin-bottom: 15px;
  color: #fff;
}

.component-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-surface);
  border: var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--primary-glow);
}

/* Features List */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--secondary-glow);
  font-size: 1.5rem;
}

.feature-text h4 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  color: #fff;
}

.feature-text p {
  font-size: 1rem;
  margin: 0;
}

/* CTA Section / Contact Form */
.contact-section {
  padding: 120px 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTIwIDBMMCAwTDAgMjBMMjAgMjBMMjAgMFoiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjAyKSIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9zdmc+');
}

.contact-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 16px;
  background: rgba(0,0,0,0.5);
  border: var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-glow);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  border-top: var(--glass-border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  color: var(--primary-glow);
}

/* Responsive */
@media(max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .component-grid {
    grid-template-columns: 1fr;
  }
}

/* Setup animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
