/* Design-System Tischlerei Niederprüm — Präzisionswerk (gedämpfte Industrial-Palette) */
:root {
  --bg: oklch(0.97 0.004 75);
  --surface: oklch(0.995 0.002 80);
  --surface-sunken: oklch(0.945 0.006 75);
  --ink: oklch(0.2 0.012 55);
  --ink-soft: oklch(0.42 0.012 55);
  --primary: oklch(0.22 0.012 65);
  --primary-light: oklch(0.32 0.014 65);
  --steel: oklch(0.5 0.016 70);
  --accent: oklch(0.6 0.15 45);
  --accent-ink: oklch(0.33 0.13 38);
  --line: oklch(0.88 0.008 70);
  --radius: 2px;
  --radius-feature: 8px;
  --grid-gap: 1.5rem;
  --maxw: 1240px;
  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 260ms;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.98rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }

svg { max-width: 100%; height: auto; }

.icon {
  width: 1.4em;
  height: 1.4em;
  flex: 0 0 auto;
  vertical-align: middle;
  max-width: 32px;
  max-height: 32px;
}

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

ul[class] { list-style: none; margin: 0; padding: 0; }
ul[class]:not(.wp-block-list) { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.002em;
  text-wrap: pretty;
  margin: 0 0 0.5em;
  color: var(--primary);
}

h1 { font-size: clamp(2.6rem, 2rem + 3vw, 4.75rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.6rem + 1.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.7rem); }
h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

p { margin: 0 0 1.1em; max-width: 68ch; }

.measure-wide { max-width: 75ch; }

.tabular { font-variant-numeric: tabular-nums; }

::selection { background: var(--accent-ink); color: #fff; }

.visually-hidden {
  position: absolute !important;
  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: 0.5rem;
  top: -4rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: 0.5rem; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}
