/* komplett überarbeitete Basis-Styles und Variablen */
:root {
  --bg-dark: #05060a;
  --bg-light: #0d0e15;
  --text-primary: #e7f0ff;
  --text-muted: #8b95a8;
  
  --accent-1: #00d9ff;
  --accent-2: #7b61ff;
  --accent-3: #ff5b9e;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.6);
  
  --transition: cubic-bezier(0.2, 0.85, 0.3, 1);
  --duration: 180ms;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography & helpers */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.5px; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

p { margin: 0; color: var(--text-primary); }

.lead { 
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 8px;
  font-weight: 500;
}

.muted { 
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Images */
img { display: block; max-width: 100%; height: auto; }

/* Buttons - base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration) var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: var(--bg-dark);
  box-shadow: 0 8px 28px rgba(0, 217, 255, 0.25);
  font-weight: 700;
}
.btn-primary:hover { 
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 217, 255, 0.35);
}

.btn-secondary {
  background: rgba(0, 217, 255, 0.08);
  color: var(--text-primary);
  border: 1.5px solid rgba(0, 217, 255, 0.3);
  font-weight: 600;
}
.btn-secondary:hover { 
  background: rgba(0, 217, 255, 0.15);
  border-color: var(--accent-1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}
.btn-ghost:hover { 
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-1);
  color: var(--accent-1);
}

/* Inputs */
input, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--duration) var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-2);
  box-shadow: 0 0 20px rgba(123, 97, 255, 0.15);
}

/* Sections */
.section { margin: 48px 0; }
.section-title { font-size: 1.8rem; margin-bottom: 12px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-top: 12px; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .container { width: calc(100% - 32px); padding: 0 16px; }
}