/* Basis — Galabau Daniel Wolff */
body {
  font-family: var(--f-text);
  font-size: var(--fs-text);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-creme);
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-tanne);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-hero); line-height: 1.06; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
/* H3/H4 aus der Textfamilie — ruhigeres Gesamtbild (Design-Review §2) */
h3 { font-family: var(--f-text); font-weight: 600; font-size: var(--fs-h3); line-height: 1.3; color: var(--c-tanne); }
h4 { font-family: var(--f-text); font-weight: 600; font-size: var(--fs-h4); color: var(--c-tanne); }

/* Sektionskopf-Rhythmus: Vorzeile 0.75 → H2 1 → Lead 2.5 zum Inhalt.
   Gilt automatisch überall — keine Einzel-Margins in Sektionen. */
.vorzeile { margin-bottom: 0 !important; }
.vorzeile + h1, .vorzeile + h2 { margin-top: 0.75rem; }
h1 + .lead, h2 + .lead { margin-top: 1rem; }
.sektion .spanne > h2:not(.mittig) { max-width: 24ch; }
.cta-band h2 { max-width: 22ch; }

p { max-width: var(--breite-text); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-text-soft); }
.klein { font-size: var(--fs-klein); color: var(--c-text-soft); }

a { transition: color var(--zeit); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
p a { color: var(--c-moos-tief); }
p a:hover { color: var(--c-tanne); }

::selection { background: var(--c-moos); color: var(--c-tanne-tief); }

.sektion { padding-block: var(--raum-sektion); position: relative; }
.spanne { max-width: var(--breite-max); margin-inline: auto; padding-inline: var(--rand); }
.spanne--schmal { max-width: calc(var(--breite-text) + 2 * var(--rand)); }

.dunkel {
  background: var(--c-tanne);
  color: var(--c-hell);
}
.dunkel h2, .dunkel h3, .dunkel h4 { color: var(--c-hell); }
.dunkel .lead, .dunkel .klein { color: var(--c-hell-soft); }

/* Vorzeile über Headlines */
.vorzeile {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-klein);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-moos-tief);
  margin-bottom: 1.1rem;
}
.vorzeile::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--c-moos);
  border-radius: 2px;
}
.dunkel .vorzeile { color: var(--c-moos); }

/* Skizzen-Unterstreichung (Herkunfts-Brücke zum Flyer) */
.skizze { position: relative; display: inline-block; }
.skizze svg {
  position: absolute;
  left: 0;
  bottom: -0.28em;
  width: 100%;
  height: 0.32em;
  overflow: visible;
}
.skizze svg path {
  fill: none;
  stroke: var(--c-sonne);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.85;
}

/* Screenreader */
.sr-only {
  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; top: -60px; left: 1rem; z-index: 300;
  background: var(--c-tanne); color: var(--c-hell);
  padding: 0.7rem 1.2rem; border-radius: 0 0 10px 10px;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
