/* ─── LEGAL PAGES (Impressum, Datenschutz) ─── */

:root {
  --ink:       #0E1217;
  --cream:     #F7F3EC;
  --gold:      #B8935A;
  --gold-soft: #D4B888;
  --gold-deep: #8A6E40;
  --muted:     #6B6660;
  --line:      #E0D5BF;

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body:    "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;

  --max:       900px;
  --max-wide:  1280px;
  --gutter:    clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.container        { max-width: var(--max);      margin: 0 auto; padding: 0 var(--gutter); }
.container-wide   { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--gutter); }

/* ─── HEADER ────────────────────────────────────────────── */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.35em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.logo small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  font-weight: 400;
  opacity: 0.65;
  margin-top: 4px;
}
.back-link {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.back-link:hover { color: var(--ink); }
.back-link .arrow { display: inline-block; margin-right: 0.3rem; }

/* ─── HERO ──────────────────────────────────────────────── */

.legal-hero {
  padding: clamp(3rem, 8vh, 5rem) 0 clamp(2rem, 5vh, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.legal-hero .eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.legal-hero h1 {
  font-family: var(--ff-display);
  font-weight: 350;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.legal-hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 9;
}

/* ─── CONTENT ───────────────────────────────────────────── */

.legal-content {
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
}
.legal-content h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-content > section:first-child h2,
.legal-content > h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}
.legal-content h4 {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gold-deep);
  margin-top: 1.25rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.legal-content p {
  margin-bottom: 1rem;
  color: var(--ink);
  max-width: 62ch;
}
.legal-content p.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.legal-content ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
  max-width: 62ch;
}
.legal-content ul li::before {
  content: "·";
  position: absolute;
  left: 0.5rem;
  top: -0.1rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}
.legal-content strong { font-weight: 600; }
.legal-content address {
  font-style: normal;
  margin-bottom: 1rem;
}
.legal-content .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ─── FOOTER ────────────────────────────────────────────── */

footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 1.5rem; display: inline-block; }
.footer-brand p {
  font-size: 0.92rem;
  color: rgba(247, 243, 236, 0.55);
  line-height: 1.7;
  max-width: 22rem;
}
.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.92rem;
  color: rgba(247, 243, 236, 0.75);
  line-height: 1.7;
  transition: color 0.2s;
  margin-bottom: 0.3rem;
  text-decoration: none;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(247, 243, 236, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(247, 243, 236, 0.4);
}
.footer-bottom em {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--gold-soft);
}
.footer-bottom a {
  color: rgba(247, 243, 236, 0.55);
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--gold-soft); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
