/* Reset, CSS-Variablen (Platzhalter — Design/Farben werden später final abgestimmt),
   Basis-Typografie. Mobile-first: keine Breakpoints hier, die kommen in layout.css. */

:root {
  --color-bg: #ffffff;
  --color-text: #1f2421;
  --color-primary: #2f5d3a;
  --color-primary-dark: #1e3d26;
  --color-accent: #8a6a19;
  --color-accent-dark: #6e5314;
  --color-border: #dfe3e0;
  --color-muted: #5b655e;

  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;

  --max-width: 72rem;
  --radius: 0.375rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-primary-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary-dark);
  color: #fff;
  padding: var(--space-2) var(--space-3);
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}
