/* ===================================================================
   FineDine.shop - Legal, Compliance, Policies & Impressum Styles
   Austrian & EU Consumer Protection Law (ECG, DSGVO, KSchG, GewO)
   =================================================================== */

.legal-page-header {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, #060709 0%, #101217 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.legal-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 0.6rem;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--text-highlight);
  margin-bottom: 0.8rem;
}

.legal-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.legal-badge-pill {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.legal-main-content {
  padding: 4rem 0 7rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Sticky Legal Sidebar */
.legal-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.legal-sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-nav-list a {
  font-size: 0.82rem;
  color: var(--text-sub);
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.legal-nav-list a:hover, .legal-nav-list a.active {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-primary);
  transform: translateX(3px);
}

.austria-tax-summary-box {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.austria-tax-summary-box strong {
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.3rem;
}

/* Legal Body Content */
.legal-body {
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 1.8;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--text-highlight);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-light);
  margin: 1.8rem 0 0.8rem;
}

.legal-body p {
  margin-bottom: 1.2rem;
}

.legal-body ul, .legal-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-body li {
  line-height: 1.6;
}

.legal-callout-box {
  background: rgba(212, 175, 55, 0.05);
  border-left: 3px solid var(--gold-primary);
  padding: 1.4rem 1.8rem;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-callout-box h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.legal-callout-box p:last-child {
  margin-bottom: 0;
}

/* Impressum Table */
.impressum-table-wrap {
  margin: 2rem 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.impressum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.impressum-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.impressum-table tr:last-child {
  border-bottom: none;
}

.impressum-table th {
  text-align: left;
  padding: 1rem 1.2rem;
  color: var(--text-muted);
  width: 35%;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.2);
}

.impressum-table td {
  padding: 1rem 1.2rem;
  color: var(--text-main);
}

.impressum-highlight {
  color: var(--gold-light);
  font-weight: 600;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .legal-sidebar {
    position: static;
  }
}
