/* =========================================================================
   Layout für die Rechtsseiten (Impressum, Datenschutz).
   Nutzt @font-face und :root-Variablen aus styles.css – keine externen Aufrufe.
   ========================================================================= */

html, body { background: var(--du-bg); }
body {
  color: var(--du-ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
}
.page-top .wordmark {
  font-weight: 600;
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  text-decoration: none;
  color: var(--du-ink);
}
.page-top .back {
  font-size: .85rem;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--du-muted);
  transition: color .2s var(--ease);
}
.page-top .back:hover { color: var(--du-ink); }

.doc { flex: 1; }
.doc .kicker {
  margin: 0 0 .6rem;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--du-muted);
  font-weight: 500;
}
.doc h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 2.5rem;
}
.doc h2 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2.4rem 0 .7rem;
}
.doc p,
.doc address {
  font-size: 1rem;
  line-height: 1.65;
  color: #2c2a22;
  font-style: normal;
  margin: 0 0 1rem;
  max-width: 38rem;
}
.doc address { white-space: pre-line; }
.doc a { color: var(--du-ink); text-decoration: underline; text-underline-offset: 2px; }
.doc a:hover { color: var(--du-muted); }

.doc-foot {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(22,21,15,.12);
  font-size: .85rem;
  color: var(--du-muted);
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}
.doc-foot a { color: var(--du-muted); text-decoration: none; }
.doc-foot a:hover { color: var(--du-ink); }

a:focus-visible {
  outline: 2px solid var(--du-ink);
  outline-offset: 3px;
  border-radius: 2px;
}
