/*
 * base.css
 * ─────────────────────────────────────────────────────
 * Grundlegende Stile: Reset, Body-Defaults, Typografie,
 * Auswahl-Styling und allgemeine Helferklassen.
 */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-on-surface);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Auswahl ── */
::selection {
  background: var(--color-primary-container);
  color: var(--color-on-primary-container);
}

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

/* ── Links ── */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-primary-dim);
}

/* ── Überschriften ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-on-surface);
}

/* ── Listen ── */
ul { list-style: none; }

/* ── Material Symbols ── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  font-family: 'Material Symbols Outlined';
}


/* ── Scroll-Reveal Animation ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms ease, transform 600ms ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Abschnitts-Label ── */
.section-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
}
