/* ============================================================
   STYLE.CSS – Automatic Solutions
   Basis: Reset, Variablen, Typografie, Layout
   ============================================================ */

/* --- CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- CSS-Variablen (Dark Theme, Amber Accent) --- */
:root {
  /* Farben */
  --color-bg: #0f0d08;
  --color-surface: #141008;
  --color-card: #1c1810;
  --color-border: #2a2520;
  --color-text: #f0ece4;
  --color-muted: #8a8070;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-accent-glow: rgba(245, 158, 11, 0.15);

  /* Abstände */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Typografie */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.65;

  /* Radien */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Breiten */
  --container-max: 1120px;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

ul, ol {
  list-style: none;
}

/* --- Typografie --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1rem; font-weight: 600; }

p {
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--color-text);
  font-weight: 600;
}

small {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--sm {
  padding: var(--space-xl) 0;
}

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

/* --- Utilities --- */
.text-accent {
  color: var(--color-accent);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

/* --- Responsive Base --- */
@media (max-width: 768px) {
  .container {
    padding-inline: var(--space-md);
  }

  .section {
    padding: var(--space-xl) 0;
  }
}
