/* =========================
   BASE – Variablen, Reset, Typografie
   ========================= */

/* === CSS-VARIABLEN ====================================================== */

:root {
  --color-primary: #c1272b;      /* CTAs / Highlights (Rot) */
  --color-accent: #285ca2;       /* Blau-Akzent (Links, Icons) */
  --color-dark: #002a47;         /* Dunkles Marineblau (Hero-Card, Header) */
  --color-bg: #ffffff;           /* Standard-Hintergrund */
  --color-section-alt: #f6f7fb;  /* Hellgrau für abwechselnde Abschnitte */
  --color-text: #333333;         /* Grundtextfarbe */
  --color-muted: #777777;        /* Zweittext, Meta-Infos */

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-width: 1200px;
  --spacing: 1.5rem;
  --header-height: 80px;
}

/* === RESET ============================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* === BODY-BASIS ======================================================== */

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

/* === TYPOGRAFIE ======================================================== */

h1, h2, h3 {
  color: var(--color-dark);
}

/* === LINKS ============================================================= */

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Ausnahme: Buttons */
a.btn,
a.btn:visited,
button.btn {
  text-decoration: none;
}

a.btn:hover,
button.btn:hover {
  text-decoration: none;
}

/* === LAYOUT-CONTAINER ================================================== */

header,
main,
footer {
  width: 100%;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* === UTILITIES ========================================================== */

/* Visuell versteckter Text (für Screenreader) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
