/* ==========================================================================
   WeReSo – base.css
   Design tokens, reset, typography. Loaded first. No layout, no components.
   ========================================================================== */

:root {
  /* Brand palette – taken from the WeReSo print flyer */
  --c-green: #6db33f;        /* Signal-Grün: badges, CTAs, brand word */
  --c-green-deep: #4e8a2a;   /* hover / pressed */
  --c-black: #141414;        /* header, footer, headlines */
  --c-ink: #232323;          /* body text on light */
  --c-muted: #6a6a6a;        /* secondary text */
  --c-concrete: #ededea;     /* card background, like the flyer panels */
  --c-line: #d9d9d4;
  --c-white: #ffffff;

  /* Type */
  --f-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --fs-hero: clamp(2.6rem, 6.2vw, 5.4rem);
  --fs-h2: clamp(2rem, 4vw, 3.2rem);
  --fs-h3: 1.6rem;
  --fs-body: 1.05rem;
  --fs-small: 0.85rem;

  /* Rhythm */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius-card: 22px;
  --radius-pill: 8px;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-white);
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  color: var(--c-black);
}

h1 { font-size: var(--fs-hero); text-transform: uppercase; }
h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 var(--space-2); }

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

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

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

:focus-visible {
  outline: 3px solid var(--c-green);
  outline-offset: 3px;
}

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

/* Eyebrow: small green label above headlines – mirrors the article code line on the flyer */
.eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: var(--space-1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
