/* ============================================================
   SalzZ — base element defaults & a few reusable brand utilities.
   Kept light: tokens do the heavy lifting.
   ============================================================ */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0 0 0.4em; color: var(--text-primary); text-wrap: balance; }
h1 { font-family: var(--font-display); font-weight: var(--fw-regular); font-size: var(--text-h1); line-height: var(--lh-heading); }
h2 { font-family: var(--font-display); font-weight: var(--fw-regular); font-size: var(--text-h2); line-height: var(--lh-heading); }
h3 { font-family: var(--font-body); font-weight: var(--fw-body-bold); font-size: var(--text-h3); line-height: var(--lh-snug); }
p  { margin: 0 0 1em; text-wrap: pretty; }
a  { color: var(--text-link); text-decoration-thickness: 2px; text-underline-offset: 2px; }

/* ---- Signature SalzZ "fond" / sticker label ---------------
   Mirrors the claim badge under the logo: a solid colored tag
   with a faintly skewed, hand-cut feel. */
.salzz-fond {
  display: inline-block;
  padding: 0.35em 0.7em;
  background: var(--surface-accent);
  color: var(--text-on-accent);
  font-family: var(--font-display);
  border-radius: var(--radius-tag);
  transform: rotate(-1.2deg);
}
.salzz-fond--cyan { background: var(--surface-brand); color: var(--text-on-brand); }

/* ---- The cyan illustration pattern, as a section backdrop -- */
.salzz-pattern {
  background-color: var(--salzz-cyan);
  background-image: url("../assets/backgrounds/hintergrund.jpg");
  background-size: cover;
  background-position: center;
}

/* ---- Focus visibility (accessible, on-brand) -------------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
