/* ============================================================
   legal-pages.css — gemeinsames Stylesheet fuer alle Legal-/Rechts-Seiten
   Konsolidiert 2026-05-21 (CSP-Sprint Phase 3.2b.1 Schluss).

   Ersetzt 6 vorherige Einzel-Files mit ueberlappenden .agb-*-Regeln:
     agb-en-page.css, datenschutz-en-page.css, impressum-en-page.css,
     datenschutz-page.css, impressum-page.css, versand-page.css

   Verwendet von:
     - agb.html, agb-en.html
     - datenschutz.html, datenschutz-en.html
     - impressum.html, impressum-en.html
     - versand.html

   Vereinheitlichungen gegenueber den Quell-Files:
     - color: #000 (nur DE-Seiten) → var(--text) wie EN-Seiten (theme-konform)
     - .agb-part-title font-weight 800 (nur agb-en) → 700 (Mehrheit)
   ============================================================ */

/* ── Layout ───────────────────────────────────────── */
.agb-section {
  padding: 80px 0 100px;
}

.agb-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Headings ─────────────────────────────────────── */
.agb-main-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #830e25;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.agb-part-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #830e25;
  margin: 48px 0 24px;
  letter-spacing: 0.06em;
}

.agb-part-title:first-child {
  margin-top: 0;
}

.agb-section-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #830e25;
  margin: 32px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Nummerierte Sub-Items (z.B. "1. Identitaet des Verkaeufers"
   im EU-Pflicht-Informationsteil) */
.agb-info-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #830e25;
  margin: 24px 0 8px;
}

/* ── Trennlinie ───────────────────────────────────── */
.agb-divider {
  border: none;
  border-top: 2px solid #830e25;
  margin: 40px 0;
  opacity: 0.25;
}

/* ── Block-Elemente (Adressen, Formular-Boxen, Hinweise) ── */
.agb-address {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 12px 0 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

/* Widerrufsformular-Box — visuell staerker hervorgehoben als Address-Box */
.agb-form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid #830e25;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0 24px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

/* Im Formular bewusst engere Zeilen, damit Felder-Liste kompakt bleibt */
.agb-form-box p {
  margin-bottom: 6px !important;
}

/* Hervorgehobene Box fuer wichtige Hinweise (z.B. Lieferzeiten, Zahlungsfristen) */
.agb-highlight-box {
  background: #FDF0F2;
  border: 1px solid rgba(131, 14, 37, 0.15);
  border-left: 3px solid #830e25;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0 24px;
}

.agb-highlight-box p {
  margin-bottom: 4px !important;
}

/* ── Text ─────────────────────────────────────────── */
.agb-container p,
.agb-container li {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text);
}

.agb-container p {
  margin-bottom: 12px;
}

.agb-container li {
  margin-bottom: 4px;
}

.agb-container ul,
.agb-container ol {
  margin: 8px 0 16px 20px;
  padding: 0;
}

/* ── Legal-Banner (Sprach-/Verweis-Hinweis oben auf EN-Seiten) ── */
.legal-banner {
  background: rgba(131, 14, 37, 0.08);
  border-left: 4px solid #830e25;
  padding: 14px 20px;
  margin: 0 0 28px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
  border-radius: 4px;
}

.legal-banner strong {
  color: #830e25;
}

/* ── Footer (Stand-Datum) ─────────────────────────── */
.agb-last-updated {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
