/* ==========================================================================
   BASE STYLES – Typografie, Links, generelle Elemente
   ========================================================================== */

body {
  font-family: var(--pn-font-body);
  font-size: var(--pn-text-base);
  font-weight: var(--pn-weight-normal);
  color: var(--pn-color-gray-800);
  background-color: var(--pn-color-white);
}

/* ── Überschriften ─────────────────────────────────────────────────────── */
h1 {
  font-size: var(--pn-text-4xl);
  font-weight: var(--pn-weight-bold);
  color: var(--pn-color-gray-900);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--pn-text-3xl);
  font-weight: var(--pn-weight-semibold);
  color: var(--pn-color-gray-900);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--pn-text-2xl);
  font-weight: var(--pn-weight-semibold);
  color: var(--pn-color-gray-900);
}

h4 {
  font-size: var(--pn-text-xl);
  font-weight: var(--pn-weight-semibold);
  color: var(--pn-color-gray-800);
}

/* ── Fließtext ─────────────────────────────────────────────────────────── */
p {
  line-height: var(--pn-leading-normal);
  color: var(--pn-color-gray-600);
}

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

/* ── Links ─────────────────────────────────────────────────────────────── */
a:not(.btn) {
  color: var(--pn-accent-500);
  transition: color var(--pn-transition-fast);
}

a:not(.btn):hover {
  color: var(--pn-accent-700);
}

/* ── Listen ────────────────────────────────────────────────────────────── */
.list {
  display: flex;
  flex-direction: column;
  gap: var(--pn-space-3);
}

.list li {
  position: relative;
  padding-left: var(--pn-space-6);
  color: var(--pn-color-gray-600);
  line-height: var(--pn-leading-normal);
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: var(--pn-radius-full);
  background-color: var(--pn-accent-400);
}

/* ── Utilities ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--pn-max-width);
  margin-inline: auto;
  padding-inline: var(--pn-space-6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

/* ── Focus Styles (a11y) ───────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--pn-accent-500);
  outline-offset: 2px;
  border-radius: var(--pn-radius-sm);
}

/* ── Selection ─────────────────────────────────────────────────────────── */
::selection {
  background-color: var(--pn-accent-100);
  color: var(--pn-accent-900);
}

/* ── Responsive Typografie ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: var(--pn-text-3xl); }
  h2 { font-size: var(--pn-text-2xl); }
  h3 { font-size: var(--pn-text-xl); }
}
