/* ===========================
   AnchorCore – legal.css
   Impressum & Datenschutz
   =========================== */

.legal-page {
  padding-top: calc(68px + 64px);
  padding-bottom: 96px;
  min-height: 100vh;
}

.legal-header {
  margin-bottom: 48px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding: 6px 0;
  transition: color var(--transition);
}
.back-link:hover { color: var(--gold); }

.legal-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.legal-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-date {
  font-size: .82rem;
  color: var(--text-sub);
}

/* Content */
.legal-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  line-height: 1.8;
}

.legal-box p {
  font-size: .9rem;
  color: var(--text-muted);
}

.legal-box a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.legal-box a:hover { color: var(--gold-light); }

.legal-list {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-list li {
  font-size: .88rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.legal-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.legal-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .9rem;
  color: var(--text-muted);
}
.legal-table td {
  padding: 5px 0;
  vertical-align: top;
}
.legal-table td:first-child {
  color: var(--text);
  font-weight: 500;
  min-width: 100px;
  padding-right: 16px;
}

/* Notice box */
.legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(201,168,76,.06);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius);
  margin-top: 8px;
}
.legal-notice span { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.legal-notice p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.legal-notice strong { color: var(--text); }

@media (max-width: 768px) {
  .legal-page { padding-top: calc(68px + 40px); padding-bottom: 72px; }
  .legal-box { padding: 18px 20px; }
  .legal-header h1 { font-size: 1.9rem; }
}
