/* ============================================================
   TYPOGRAPHY — Wundexperte ICW
   ============================================================ */

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-primary);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--color-text);
  max-width: 68ch;
}

p + p {
  margin-top: var(--space-3);
}

strong {
  font-weight: var(--font-weight-bold);
}

em {
  font-style: italic;
}

small {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Eyebrow label above section headings */
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

/* Section header pattern */
.section-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.section-header .eyebrow {
  margin-bottom: var(--space-1);
}

.section-header h2 {
  margin-bottom: var(--space-2);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: var(--space-3) auto 0;
  border-radius: var(--radius-pill);
}

/* Left-aligned section header variant */
.section-header--left {
  text-align: left;
}

.section-header--left p {
  margin: 0;
}

.section-header--left::after {
  margin-left: 0;
}

/* Pull quote */
blockquote.pull-quote {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-3) var(--space-4);
  margin: var(--space-5) 0;
  background: var(--color-bg-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote.pull-quote p {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  max-width: none;
}

blockquote.pull-quote cite {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  font-style: normal;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-2);
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-medium);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-2);
  text-decoration: none;
  color: var(--color-white);
}
