/* ---------------------------------------------------------------
   Legal pages (Impressum, Datenschutzerklärung).
   Reuses the brand tokens from style.css; this file only adds the
   reading layout — a single measured column, left-aligned text.
   --------------------------------------------------------------- */

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem clamp(3rem, 8vw, 5rem);
  text-align: left;
}

/* back to the start page — small, top left, above the wordmark */
.legal-back {
  display: flex;            /* own row, so the wordmark sits below it */
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  transition: color 0.2s ease;
}
.legal-back .arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.legal-back:hover,
.legal-back:focus-visible { color: var(--terracotta); }
.legal-back:hover .arrow { transform: translateX(-3px); }

/* small wordmark that doubles as the way back to the page */
.legal-brand {
  display: inline-block;
  text-decoration: none;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.legal-brand .mark {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  color: var(--terracotta);
  line-height: 1;
}
.legal-brand .pre {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta);
  margin-bottom: -0.15em;
}
.legal-brand:hover .mark { color: var(--terracotta-dark); }

.legal h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.legal .updated {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.legal h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: clamp(2rem, 4vw, 2.75rem) 0 0.75rem;
}

.legal h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.5rem 0 0.4rem;
}

.legal p,
.legal li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
}
.legal p + p { margin-top: 0.85rem; }

.legal ul {
  margin: 0.75rem 0 0 1.1rem;
}
.legal li { margin-bottom: 0.35rem; }

.legal a {
  color: var(--terracotta-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* a plain, quiet table for the "what we store" summaries */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.9rem 0.6rem 0;
  border-bottom: 1px solid rgba(138, 125, 111, 0.25);
  line-height: 1.6;
}
.legal-table th {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Anything still to be filled in is marked so it cannot ship unnoticed.
   Delete the <span class="todo"> wrapper once the real value is in. */
.todo {
  background: rgba(173, 83, 64, 0.11);
  border-bottom: 1px dotted var(--terracotta);
  color: var(--terracotta-dark);
  font-weight: 500;
  padding: 0 0.2em;
  border-radius: 2px;
}


.legal-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(138, 125, 111, 0.25);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-footer a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1rem;
}
.legal-footer a:hover { color: var(--terracotta); }
