/* ============================================================
   CLASSY — Rechtsseiten
   Bewusst ohne Navigation, ohne Animation. Reine Lesbarkeit.
   ============================================================ */

.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 5rem) var(--gutter) clamp(4rem, 7vw, 7rem);
  color: var(--fg);
}
body.tone-paper { background: var(--paper); }

.legal__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--rule);
}
.legal__back { display: inline-flex; align-items: center; min-height: 2.75rem; }
.legal__back:hover { color: var(--rust); }
.legal__top img { width: 5.25rem; }

.legal__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 5vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: .8rem;
}
.legal__updated {
  color: var(--soft);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: .7rem;
}
.legal h3 { font-size: var(--fs-base); font-weight: 700; margin-top: 1.6rem; margin-bottom: .5rem; }
.legal p, .legal li, .legal address { color: var(--soft); }
.legal p + p { margin-top: .9rem; }

.legal ul { margin-top: .8rem; }
.legal ul li { position: relative; padding-left: 1.2rem; margin-bottom: .4rem; }
.legal ul li::before { content: '–'; position: absolute; left: 0; color: var(--rust); }

.legal a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }
.legal .legal__back, .legal .legal__footer a { color: inherit; text-decoration: none; }

.legal address { font-style: normal; margin-top: .8rem; line-height: 1.85; }

/* Warnblock: markiert, was noch fehlt. Vor dem Livegang entfernen. */
.legal__notice { padding: 1.2rem 1.4rem; margin-bottom: 2.5rem; background: var(--sand); border-left: 3px solid var(--rust); }
.legal__notice p { color: var(--ink); font-size: var(--fs-small); }
.legal__notice strong { display: block; margin-bottom: .3rem; }

/* 404 */
.notfound { text-align: center; }
.notfound img { width: min(18rem, 70%); margin: 0 auto 2rem; }
.notfound .btn { margin-top: 1.6rem; color: var(--paper); text-decoration: none; }

/* Platzhalter innerhalb des Fliesstextes */
.todo {
  display: inline-block;
  padding: .05rem .45rem;
  background: var(--sand);
  border-bottom: 1.5px dashed var(--rust);
  font-weight: 500;
  font-size: .94em;
  color: var(--ink);
}

.legal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  letter-spacing: .1em;
}
