/* ── Trattoria Da Maria – Legal pages (Impressum/Datenschutz) ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: #6B1A20; text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration: none; }

/* ── Header ── */
.legal-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 1.5rem;
  position: sticky; top: 0; z-index: 10;
}
.legal-header-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.legal-logo {
  display: flex; align-items: center; gap: .65rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500;
  color: #111;
  text-decoration: none;
}
.legal-logo img { width: 38px; height: 38px; object-fit: contain; }
.legal-back {
  font-size: .8rem; letter-spacing: .08em;
  color: #555;
  text-decoration: none;
}
.legal-back:hover { color: #6B1A20; }

/* ── Main ── */
.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.legal-main h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 2rem;
  color: #111;
}
.legal-main h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2.4rem 0 .8rem;
  color: #111;
}
.legal-main h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.6rem 0 .5rem;
  color: #111;
}
.legal-main h4 {
  font-size: .95rem;
  font-weight: 600;
  margin: 1.2rem 0 .4rem;
  color: #222;
}
.legal-main p {
  margin-bottom: 1rem;
  font-size: .95rem;
  color: #222;
}
.legal-main ul, .legal-main ol {
  margin: 0 0 1rem 1.4rem;
  font-size: .95rem;
}
.legal-main li { margin-bottom: .35rem; }
.legal-main strong { color: #111; }
.legal-main address {
  font-style: normal;
  background: #f6f4f0;
  padding: 1rem 1.2rem;
  border-left: 3px solid #6B1A20;
  margin: 1rem 0;
  font-size: .95rem;
  line-height: 1.7;
}

/* ── Footer (matches index.html) ── */
.legal-footer {
  background: #2A1810;
  color: rgba(248, 242, 232, .7);
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
}
.legal-footer .footer-logo {
  width: 90px; height: auto;
  margin: 0 auto 1.4rem;
  opacity: .95;
}
.legal-footer .footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; letter-spacing: .14em; text-transform: uppercase;
  color: #F8F2E8;
  margin-bottom: .4rem;
}
.legal-footer .footer-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #D4B574;
  margin-bottom: 2.2rem;
  font-size: 1rem;
}
.legal-footer .footer-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  max-width: 760px; margin: 0 auto 2.5rem;
  font-size: .9rem;
  line-height: 1.7;
}
@media (min-width: 700px) {
  .legal-footer .footer-info { grid-template-columns: repeat(3, 1fr); }
}
.legal-footer .footer-info-block .label {
  font-size: .6rem; letter-spacing: .26em; text-transform: uppercase;
  color: #D4B574; font-weight: 500;
  margin-bottom: .65rem;
}
.legal-footer .footer-info-block .value {
  color: rgba(248, 242, 232, .85);
}
.legal-footer .footer-info-block a {
  color: rgba(248, 242, 232, .85);
  text-decoration: none;
}
.legal-footer .footer-info-block a:hover { color: #C49A4A; }
.legal-footer .footer-legal {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
  font-size: .78rem; letter-spacing: .1em;
}
.legal-footer .footer-legal a {
  color: rgba(248, 242, 232, .7);
  text-decoration: none;
  transition: color .25s ease;
}
.legal-footer .footer-legal a:hover { color: #C49A4A; }
.legal-footer .footer-bar {
  border-top: 1px solid rgba(196, 154, 74, .2);
  padding-top: 1.6rem;
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(248, 242, 232, .5);
}
