/* ============================================================================
   PWA RELIABILITY EMPIRE - PERFECT BALANCE DESIGN SYSTEM
   10/10 Lesbarkeit + Maximaler visueller Impact für Authority-Building
   Manufacturing-Präzision meets Unforgettable Visual Experience
============================================================================ */

:root {
  /* Lesbarkeit-optimierte Farbpalette */
  --bg-primary: #000000;      /* Pure black für maximalen Kontrast */
  --bg-secondary: #0a0a0a;    /* Sehr dunkel für Cards */
  --bg-card: #111111;         /* Card-Hintergrund */
  
  /* High-Contrast Text System */
  --text-primary: #ffffff;    /* Pure white für maximale Lesbarkeit */
  --text-secondary: #f0f0f0;  /* Sehr helles Grau */
  --text-muted: #cccccc;      /* Helles Grau für Muted-Text */
  
  /* Futuristic Accent Colors */
  --accent-cyan: #00ffff;     /* Leuchtend Cyan */
  --accent-pink: #ff0099;     /* Leuchtend Pink */
  --accent-green: #00ff99;    /* Leuchtend Grün */
  --accent-red: #ff3366;      /* Alert Red */
  
  /* Glow Effects für Visual Impact */
  --glow-cyan: 0 0 20px var(--accent-cyan);
  --glow-pink: 0 0 20px var(--accent-pink);
  --glow-green: 0 0 20px var(--accent-green);
  
  /* Lesbarkeit-Spezifikationen */
  --font-size-base: 18px;     /* Größer für bessere Lesbarkeit */
  --line-height: 1.8;         /* Optimaler Zeilenabstand */
  --max-width: 72ch;          /* Optimale Zeilenlänge */
  
  /* Layout & Effects */
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === BASE STYLES - LESBARKEIT FIRST === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: var(--line-height);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Futuristic Animated Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 255, 153, 0.06) 0%, transparent 50%);
  z-index: -1;
  animation: bg-shift 20s ease-in-out infinite alternate;
}

@keyframes bg-shift {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.05) rotate(0.5deg); opacity: 1; }
}

/* Subtle scan lines für High-Tech Feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 98px,
    rgba(0, 255, 255, 0.02) 100px
  );
  z-index: -1;
  animation: scan 8s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(-100px); }
  100% { transform: translateY(100vh); }
}

/* === TYPOGRAPHY - MAXIMUM READABILITY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 2rem;
  animation: title-pulse 3s ease-in-out infinite alternate;
}

@keyframes title-pulse {
  0% { filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5)); }
  100% { filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8)); }
}

h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--accent-cyan);
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: var(--glow-cyan);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  border-radius: 2px;
  box-shadow: var(--glow-cyan);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  text-shadow: var(--glow-cyan);
}

p {
  color: var(--text-primary);
  margin-bottom: 1rem;
  max-width: var(--max-width);
}

.lead {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--text-primary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: var(--line-height);
  font-weight: 500;
}

/* === NAVIGATION - FLOATING COMMAND CENTER === */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), var(--glow-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 600px;
  transition: var(--transition);
}

.nav:hover {
  border-color: rgba(0, 255, 255, 0.6);
  transform: translateX(-50%) translateY(-2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.nav nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav a:hover {
  color: var(--accent-cyan);
  background: rgba(0, 255, 255, 0.1);
  text-shadow: var(--glow-cyan);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 2rem 6rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  animation: rotate 30s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === BUTTONS - HIGH-TECH INTERFACE === */
.cta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-cyan), #0099cc);
  color: var(--bg-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--glow-cyan);
}

.btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-cyan);
  color: var(--bg-primary);
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn.ghost:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: translateY(-4px);
  color: var(--accent-cyan);
  text-decoration: none;
}

.btn.emergency {
  background: linear-gradient(135deg, var(--accent-red), #cc0033);
  color: white;
  animation: emergency-pulse 3s ease-in-out infinite;
}

@keyframes emergency-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--glow-pink); }
  50% { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px var(--accent-pink); }
}

.btn.emergency:hover {
  transform: translateY(-4px);
  animation: none;
  color: white;
  text-decoration: none;
}

/* === STATUS CHIPS - HIGHLY VISIBLE === */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 4rem;
}

.chip {
  padding: 1rem 2rem;
  background: rgba(17, 17, 17, 0.8);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  animation: scan-line 4s linear infinite;
}

@keyframes scan-line {
  0% { left: -100%; opacity: 0; }
  50% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.chip:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

/* === SECTIONS === */
.section {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  scroll-margin-top: 6rem;
}

/* === CARDS - STUNNING & READABLE === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
}

.card {
  padding: 3rem;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  text-shadow: var(--glow-cyan);
}

.card p {
  color: var(--text-primary);
  line-height: var(--line-height);
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 1.1rem;
}

/* === SERVICE FEATURES - CRYSTAL CLEAR === */
.service-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  padding-top: 2rem;
}

.service-features li {
  padding: 1rem 0;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  transition: var(--transition);
}

.service-features li:before {
  content: "◆";
  color: var(--accent-green);
  font-weight: bold;
  margin-right: 1.5rem;
  font-size: 1.2em;
  text-shadow: var(--glow-green);
  margin-top: 0.2rem;
}

.service-features li:hover {
  color: var(--accent-cyan);
  padding-left: 1rem;
  text-shadow: var(--glow-cyan);
}

/* === VALUE STATEMENTS === */
.value-statement {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-green);
  text-align: center;
  margin-top: auto;
  padding: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 153, 0.05);
  border-radius: 0 0 var(--radius) var(--radius);
  text-shadow: var(--glow-green);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === EMERGENCY CARD === */
.card.emergency {
  border-color: rgba(255, 51, 102, 0.4);
  background: rgba(255, 51, 102, 0.1);
}

.card.emergency:hover {
  border-color: var(--accent-pink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--glow-pink);
}

.card.emergency h3 {
  color: var(--accent-pink);
  text-shadow: var(--glow-pink);
}

/* === REALITY CHECK BOX === */
.reality-check {
  background: rgba(255, 51, 102, 0.1);
  border: 2px solid var(--accent-red);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 4rem auto;
  max-width: 900px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--glow-pink);
}

.reality-check::before {
  content: '⚠️';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  animation: warning-blink 2s ease-in-out infinite;
}

@keyframes warning-blink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.reality-check h3 {
  color: var(--accent-red);
  margin-bottom: 1.5rem;
  text-shadow: var(--glow-pink);
}

.reality-check p {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.reality-check ul {
  list-style: none;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius);
  margin: 2rem 0;
  font-family: 'Courier New', monospace;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.reality-check li {
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.reality-check li:last-child {
  color: var(--accent-cyan);
  font-weight: 800;
  text-shadow: var(--glow-cyan);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  html { font-size: 16px; }
  
  .nav {
    position: static;
    transform: none;
    margin: 1rem;
    min-width: auto;
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero {
    padding-top: 4rem;
    min-height: auto;
  }
  
  .cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================================
   END: PERFECT BALANCE - 10/10 LESBARKEIT + MAXIMALER VISUELLER IMPACT
============================================================================ */

/* CONTACT BUTTON HOTFIX */
.value-statement { 
  cursor: pointer !important; 
  position: relative; 
  z-index: 10; 
  transition: all 0.3s ease;
}
.value-statement:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 204, 255, 0.3);
}
.card { position: relative; }
body::before, body::after { pointer-events: none; }
.nav { z-index: 2000; }

/* === ULTRA-CLEAN FONT-STACK FÜR MANUFACTURING-GRADE LESBARKEIT === */
body, html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 700;
}

.btn, button {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 600;
}

/* Monospace für Code-Bereiche */
code, pre, .chip, .domain-chip {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', 'Courier New', monospace !important;
}
