/* Rechteseiten — ruhige Fortführung der Reuter-Markenwelt */
.legal-body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.legal-header {
  background: var(--night);
  color: #fff;
  padding: 16px var(--pad);
}

.legal-header__inner,
.legal-footer__inner {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  min-height: 62px;
}

.legal-brand img {
  width: clamp(150px, 22vw, 210px);
  height: auto;
}

.legal-home {
  color: #fff;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.legal-content {
  width: min(100% - 2 * var(--pad), 860px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
}

.legal-kicker {
  margin: 0 0 14px;
  color: var(--forest-2);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.legal-content h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  margin: 0 0 18px;
  color: var(--night);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: .98;
}

.legal-intro {
  max-width: 58ch;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.legal-notice {
  margin: 30px 0 42px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(31, 74, 34, .16);
  border-left: 5px solid var(--forest-2);
  border-radius: var(--radius-s);
  background: #edf2e8;
}

.legal-notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.15rem;
}

.legal-notice p { margin: 0; }

.legal-section {
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

.legal-section p,
.legal-section address,
.legal-section li {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-section p { margin: 0 0 14px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section address { font-style: normal; }
.legal-section a { color: var(--forest-2); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.legal-section a:hover { color: var(--night); }
.legal-section code {
  padding: .08em .35em;
  border-radius: 5px;
  background: rgba(31, 74, 34, .08);
  font-size: .9em;
  overflow-wrap: anywhere;
}

.legal-contact-list {
  display: grid;
  grid-template-columns: minmax(90px, 145px) minmax(0, 1fr);
  gap: 8px 18px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.legal-contact-list li { display: contents; }
.legal-contact-list li > :first-child { color: var(--muted); font-weight: 700; }
.legal-contact-list li > :last-child { overflow-wrap: anywhere; }

.legal-preference {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.legal-preference > p:first-child {
  min-height: 1.6em;
  color: var(--forest);
  font-weight: 700;
}

.legal-button {
  min-height: 48px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}

.legal-button:hover { background: var(--night-2); transform: translateY(-1px); }
.legal-small { margin: 14px 0 0 !important; color: var(--muted); font-size: .9rem !important; }
.legal-updated { margin: 28px 0 0; color: var(--muted); font-size: .9rem; }

.legal-footer {
  padding: 26px var(--pad);
  background: var(--night);
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
}

.legal-footer__inner { flex-wrap: wrap; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-footer a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.legal-footer a:hover { color: var(--warm-2); }
.legal-credit { margin: 0; max-width: 36ch; line-height: 1.55; text-align: right; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .legal-header__inner { gap: 12px; }
  .legal-brand img { width: 150px; }
  .legal-home { font-size: .92rem; }
  .legal-content { padding-top: 42px; }
  .legal-content h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .legal-contact-list { grid-template-columns: 1fr; gap: 0; }
  .legal-contact-list li { display: grid; gap: 0; margin-bottom: 12px; }
  .legal-contact-list li > :first-child { font-size: .88rem; }
  .legal-button { width: 100%; }
  .legal-footer__inner { align-items: flex-start; flex-direction: column; }
  .legal-credit { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .legal-button { transition: none; }
}
