/* ============================================================
   BASE · Modern Reset, Body, Default-Typografie, .container
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  /* Anker-Sprünge (z. B. #audio-engineering) nicht unter den Header schieben */
  scroll-padding-top: 6rem;
}

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: var(--fs-base);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Links erben Farbe, kein Default-Unterstrich */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

button {
  font: inherit;
  cursor: pointer;
}

/* Default-Headlines (Switzer) – Größen werden je Kontext überschrieben */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  line-height: 1.15;
}

h1 {
  font-size: 104px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

h2 {
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

p {
  font-family: var(--font-body);
}

/* === FOCUS STATES (Accessibility) === */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* === LAYOUT-HELFER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Mono-Helfer für dosierte Akzente */
.mono {
  font-family: var(--font-mono);
}

/* Akzent-Textfarben (statt Inline-Styles) */
.text-solar   { color: var(--solar); }
.text-coral   { color: var(--coral); }
.text-magenta { color: var(--magenta); }
.text-cyan    { color: var(--cyan); }

/* Screenreader-only (für visuell versteckte Labels/Headings) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
