/* ==========================================================
   03 · Basis: Seite, Überschriften, Links, Hilfsklassen
   ========================================================== */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: var(--normal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { color: inherit; margin: 0 0 .5em; }
h1, h2, h3, .section-title {
  font-family: var(--serif);
  font-weight: var(--normal);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.04; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.2; }
h4, h5, h6 { font-family: var(--sans); font-size: var(--step-1); font-weight: var(--fett); line-height: 1.35; }
:is(h1, h2, h3) em { font-style: italic; color: var(--gruen); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: var(--fett); }

a { color: var(--gruen); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--gruen-dunkel); }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 4px; }

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
figure { margin: 0; }
figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: .6rem; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); opacity: 1; margin: 2rem 0; }

/* Inhaltsbreite */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* kleine Überschrift über Titeln */
.eyebrow {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: var(--fett);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gruen);
  margin: 0 0 1rem;
}
.section-title { font-size: var(--step-3); margin-bottom: .45em; }
.section-lead, .lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-soft); }

/* Pille (z. B. über dem Hero-Titel) */
.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--weiss); border: 1px solid var(--line);
  padding: .5rem 1rem; border-radius: 999px;
  font-size: .8125rem; font-weight: var(--halbfett); color: var(--gruen);
  margin: 0;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; flex-shrink: 0; }

.icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--creme); color: var(--gruen);
}

/* Hinweis-Box */
.note {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--creme); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; font-size: .9rem; line-height: 1.6; margin: 0;
}
.note svg { flex-shrink: 0; color: var(--gruen); margin-top: 2px; }

/* Barrierefreiheit */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--gruen-dunkel); color: #fff; padding: .75rem 1.25rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

::selection { background: var(--salbei); color: var(--gruen-dunkel); }
