/* ======================================
   Karte Global — Privacy Notice (Legal) Styles
   Page-specific; always load after base.css
   ====================================== */

.legal-wrap {
  padding: 3.5rem 1.5rem 4.5rem;
}

@media (min-width: 768px) {
  .legal-wrap { padding: 4.5rem 1.5rem 5.5rem; }
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ===== Masthead ===== */
.legal-masthead { margin-bottom: 0; }

.legal-inner .eyebrow { display: block; margin-bottom: 1.25rem; }

.legal-inner h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.12;
  margin-bottom: 0.85rem;
}

.legal-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  max-width: none;
}

.legal-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--secondary);
  margin-bottom: 0;
  max-width: none;
}

.legal-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  margin: 2.25rem 0 2.5rem;
}

/* ===== Intro ===== */
.legal-intro p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: none;
  margin-bottom: 0;
}

/* ===== Sections ===== */
.legal-section {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  font-size: 1.625rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .legal-section h2 { font-size: 1.875rem; }
}

.legal-section h2 .sec-num {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  margin-right: 0.18em;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 1.1rem;
  max-width: none;
}

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

/* Bold run-in lead-ins ("Service providers.", "Payment information.", etc.) */
.legal-section p strong {
  color: var(--headline);
  font-weight: 600;
}

/* Inline links inside the legal body */
.legal-section a,
.legal-intro a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}

.legal-section a:hover,
.legal-intro a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* ===== Service-provider list (Section 3) ===== */
.provider-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.provider-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  max-width: none;
}

.provider-list li:first-child { border-top: 1px solid var(--border); }

.provider-list .provider-label {
  color: var(--headline);
  font-weight: 600;
}

/* ===== Contact card (Section 11) ===== */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  padding: 1.75rem 2rem;
  margin-top: 0.5rem;
}

.contact-card .contact-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--headline);
  margin-bottom: 0.4rem;
}

.contact-card .contact-addr {
  font-size: 0.9375rem;
  color: var(--text-soft);
  margin-bottom: 0.65rem;
}

.contact-card .contact-email {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-all;
}

.contact-card .contact-email:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* ===== Return link ===== */
.legal-return { margin-top: 3rem; }

.legal-return a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-return a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
