/* GRUNDFORM — Rechtstexte (Impressum / Datenschutz)
   Schwarz auf Weiß — matched to index.html?theme=t-light (default)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #FFFFFF;
  color: #1A1A1A;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* Terrakotta accent — consistent with t-light website */
:root { --legal-accent: #B85C38; --legal-line: #E4E4E4; }

/* ----- HEADER -------------------------------------------------- */
.legal-hdr {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--legal-line);
}
.legal-hdr-inner {
  max-width: 880px; margin: 0 auto; padding: 0 40px;
  height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.legal-hdr .gf-logo { height: 22px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-grotesk); font-weight: 200;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #555; transition: color .3s var(--ease);
  white-space: nowrap;
}
.legal-back::before { content: "←"; letter-spacing: 0; font-size: 14px; }
.legal-back:hover { color: var(--legal-accent); }

/* ----- MAIN ---------------------------------------------------- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 80px 40px 120px; }

.legal-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-grotesk); font-weight: 300;
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--legal-accent); margin-bottom: 24px;
}
.legal-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--legal-accent); }
.legal-eyebrow::after { content: "."; margin-left: -1em; font-size: 1.35em; line-height: 0; font-weight: 500; }

.legal-wrap h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 52px; line-height: 1.05; color: #000; margin-bottom: 14px;
}
.legal-updated {
  font-family: var(--font-grotesk); font-weight: 300;
  font-size: 12px; letter-spacing: 0.1em; color: #888; margin-bottom: 56px;
}

.legal-wrap h2 {
  font-family: var(--font-grotesk); font-weight: 400;
  font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #000; margin: 48px 0 16px; padding-top: 28px; border-top: 1px solid var(--legal-line);
}
.legal-wrap h2:first-of-type { border-top: none; padding-top: 0; }

.legal-wrap h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 21px; color: #000; margin: 28px 0 10px;
}

.legal-wrap p {
  font-size: 16px; line-height: 1.75; color: #333;
  margin-bottom: 14px; max-width: 64ch; text-wrap: pretty;
}

.legal-wrap ul { margin: 4px 0 18px 0; padding: 0; list-style: none; }
.legal-wrap li {
  font-size: 16px; line-height: 1.7; color: #333;
  padding-left: 22px; position: relative; margin-bottom: 8px;
}
.legal-wrap li::before { content: "—"; position: absolute; left: 0; color: #999; }

.legal-wrap a.inline {
  color: var(--legal-accent); text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .25s var(--ease);
}
.legal-wrap a.inline:hover { color: #000; }

.legal-wrap strong { font-weight: 600; color: #000; }

.legal-dl {
  display: grid; grid-template-columns: 200px 1fr; gap: 18px 24px;
  margin: 8px 0 20px;
}
.legal-dl dt {
  font-family: var(--font-grotesk); font-weight: 300;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #888; padding-top: 3px;
}
.legal-dl dd {
  font-size: 16px; line-height: 1.6; color: #000;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px;
}

.legal-note {
  margin-top: 64px; padding: 22px 26px;
  background: #F7F5F1; border: 1px solid var(--legal-line);
}
.legal-note p {
  font-size: 13px; line-height: 1.6; color: #666;
  margin: 0; max-width: none;
}

/* ----- FOOTER -------------------------------------------------- */
.legal-foot { border-top: 1px solid var(--legal-line); background: #FFF; }
.legal-foot-inner {
  max-width: 880px; margin: 0 auto; padding: 32px 40px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.legal-foot a, .legal-foot span {
  font-family: var(--font-grotesk); font-weight: 200;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #888;
}
.legal-foot a { transition: color .3s var(--ease); }
.legal-foot a:hover { color: var(--legal-accent); }
.legal-foot nav { display: flex; gap: 28px; }
