/* ==========================================================================
   base.css — Reset, CSS-Variablen, Typografie
   ========================================================================== */

:root {
  /* Farben */
  --color-primary: #0e2a47;
  --color-primary-light: #16385c;
  --color-accent: #9e1b26;
  --color-accent-dark: #7c151e;
  --color-text: #2b2f33;
  --color-text-muted: #5c6570;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6f8;
  --color-border: #e2e5ea;
  --color-white: #ffffff;

  /* Typografie */
  --font-base: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.375rem;
  --fs-h4: 1.125rem;
  --fs-body: 1.0625rem;
  --line-height-base: 1.6;

  /* Layout */
  --content-max-width: 1200px;
  --section-spacing: 6.25rem;
  --header-height: 64px;
  --radius: 8px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

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

.text-muted {
  color: var(--color-text-muted);
}

/* --- Utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
