/* ================================
   Design Tokens (global)
   ================================ */
:root {
  /* Brand */
  --color-brand: #1515BA;
  --color-brand-contrast: #ffffff;
  --color-brand-600: #1010a0;
  --color-brand-700: #0b0b8a;
  /* RGB der Brand für bequeme Alphas */
  --brand-rgb: 21, 21, 186;

  /* Neutrals */
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-text: #1D1D1F;
  --color-muted: #86868B;
  --color-neutral: #F0F2F5;
  --color-dark: #1D1D1F;
  --color-dark-90: rgba(29, 29, 31, .9);
  --color-white: #ffffff;
  --color-black: #0a0a0a;

  /* Spacing */
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;

  /* Typography */
  --font-sans: ui-sans-serif, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2rem, 4vw, 3rem);
  --fs-h1: clamp(1.75rem, 3vw, 2.25rem);
  --fs-body: 1rem;

  /* Effects */
  --shadow-md: 0 6px 24px rgba(0,0,0,.25);
  --shadow-brand: 0 10px 25px rgba(var(--brand-rgb), .30);

  /* Layout */
  --container: 80rem; /* 1280px */
  --radius-sm: .5rem;
  --radius: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;

  /* Typo */
  --font-orbitron: 'Orbitron', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Timing/Easing */
  --easing: cubic-bezier(.4, 0, .2, 1);
  --transition: 300ms var(--easing);

  /* Breakpoints (nur als Referenz; CSS nutzt Media Queries) */
  --bp-menu: 845px;
}

/* ================================
   Typografie-Basics
   ================================ */
html { color-scheme: light; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); }

/* Headlines wie „früher" in Orbitron */
h1, h2, h3 { font-family: var(--font-orbitron); }

/* Optional: Kleinere Headlines ebenfalls Orbitron
h4, h5, h6 { font-family: var(--font-orbitron); }
*/

/* ================================
   Nützliche Hilfs-Utilities (optional)
   ================================ */
.text-brand { color: var(--color-brand); }
.bg-brand { background-color: var(--color-brand); }
.bg-brand-10 { background-color: rgba(var(--brand-rgb), .10); }
.bg-brand-20 { background-color: rgba(var(--brand-rgb), .20); }

.radius-xl { border-radius: var(--radius-xl); }
.transition-default { transition: var(--transition); }

/* Motion-Respekt (Parallax etc. sanfter/aus) */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Container utility */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-features {
  display: grid;
  gap: 2rem;
}

/* Section utilities */
.section {
  margin-bottom: 4rem;
}

.section-hero {
  position: relative;
  overflow: hidden;
}

/* Card component */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Button components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-brand);
  color: var(--color-brand-contrast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
  text-decoration: none;
}

/* Utility classes for margins/padding */
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.text-center { text-align: center; }
