/* ==========================================================================
   FONTS – self-hosted, keine externen Anfragen (DSGVO-konform ohne Consent)
   ========================================================================== */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/raleway-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/raleway-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}

/* ==========================================================================
   DESIGN TOKENS
   -- Farbkonzept: Tiefschwarz/Neutralgrau als Basis, Signalrot als
      einziger Akzent (bewusst gewählt: Warnfarbe aus der Baubranche selbst,
      kein dekoratives Beiwerk).
   ========================================================================== */
:root {
  /* Farben */
  --color-ink: #cccccc;          /* Tiefschwarz, dunkle Sektions-Hintergründe (Header/Hero/Footer) */
  --color-text: rgb(51, 51, 51); /* Standard-Schriftfarbe für Fließtext auf hellem Grund */
  --color-muted: #6f6f6f;        /* neutrales Grau, sekundärer/gedämpfter Text */
  --color-line: #d9d9d9;         /* Trennlinien, Rahmen */
  --color-paper: #f4f4f3;        /* Hintergrund hell */
  --color-white: #000;
  --color-accent: rgb(214, 7, 7);   /* einziger Akzent */
  --color-accent-ink: #ffffff;      /* Text auf Akzentfläche */

  /* Typografie */
  --font-display: "Raleway", "Arial", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  --step-3: clamp(2.25rem, 1.8rem + 2.25vw, 3.75rem);
  --step-4: clamp(2.75rem, 2rem + 3.75vw, 5.25rem);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px; /* fast kantig – passt zum "straight" Ton */
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--ccolor-accent-ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; color: var(--color-text); }
h1 { text-transform: uppercase; font-weight: 800; letter-spacing: 0.01em; }
h2 { font-weight: 400; text-transform: none; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }
