/* MSE — polices auto-hébergées (Barlow, SIL Open Font License) + formulaires légaux */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-condensed-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }

/* ── Pages légales ──────────────────────────────────────────────────────── */
.mse-prose h2 { text-transform: none; }
.mse-prose p, .mse-prose li { color: var(--ink-2); }
.mse-prose ul, .mse-prose ol { padding-left: 1.3em; }
.mse-prose li { margin-bottom: .35em; }
.mse-prose address { font-style: normal; line-height: 1.7; }
.mse-prose .mse-legal-box { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: var(--r); padding: 18px 22px; margin: 1.2em 0; }
.mse-prose .mse-legal-form-sample { background: var(--surface); border: 1px dashed var(--muted); border-radius: var(--r); padding: 18px 22px; }
.mse-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 1rem; }
.mse-prose th, .mse-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mse-prose th { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mse-prose .mse-table-wrap { overflow-x: auto; }

/* ── Formulaires (Kontakt, Widerruf) ────────────────────────────────────── */
.mse-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); margin: 1.5em 0; display: grid; gap: 16px; }
.mse-form .mse-field { display: flex; flex-direction: column; gap: 6px; }
.mse-form label { font-weight: 600; font-size: .975rem; color: var(--ink); }
.mse-form label small { font-weight: 400; color: var(--muted); }
.mse-form input[type=text], .mse-form input[type=email], .mse-form input[type=tel], .mse-form textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; font-size: 1rem; color: var(--ink);
}
.mse-form input:focus, .mse-form textarea:focus { border-color: var(--green); outline: 0; }
.mse-form textarea { min-height: 150px; resize: vertical; }
.mse-form .mse-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mse-form .mse-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.mse-form .mse-check input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--green); }
.mse-form-note { font-size: .925rem; color: var(--muted); margin: 0; }
.mse-alert { border-radius: var(--r); padding: 16px 20px; margin: 1em 0; border-left: 5px solid var(--green); background: var(--green-light); color: var(--ink); }
.mse-alert-err { border-left-color: var(--red); background: #fdecea; }
.mse-alert dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 10px 0 0; }
.mse-alert dt { font-weight: 600; }
.mse-alert dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .mse-alert dl { grid-template-columns: 1fr; } .mse-alert dd { margin-bottom: 6px; } }

/* Bouton « Vertrag widerrufen » dans le pied de page */
.mse-theme a.mse-withdraw-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r);
  border: 2px solid var(--yellow); color: var(--yellow); font-family: var(--f-head); font-weight: 700;
  font-size: 1rem; letter-spacing: .05em; text-transform: uppercase;
}
.mse-theme a.mse-withdraw-link:hover { background: var(--yellow); color: var(--ink); }
.mse-delivery-line { margin: -10px 0 18px; font-weight: 600; color: var(--green-dark); }
