/* Gemeinsame Gestaltung des Kontaktformulars (Markup: _includes/formular.njk, Funktion: assets/js/kontakt-mailto.js).
   Grundlage ist die bestätigte Gestaltung der Trainingsseiten. Farben über die Seitentokens (--nd-page-accent …),
   ohne Tokens (Startseite, Über mich) greift Petrol. Das äußere Kartenlayout bleibt pro Seite lokal. */
.mf { display: grid; gap: 18px; }
.mf label { display: grid; gap: 7px; font-size: 15px; font-weight: 700; color: #202b34; }
.mf .optional { color: var(--muted, #56616b); font-weight: 500; }
.mf input, .mf textarea {
  box-shadow: none; width: 100%; min-height: 54px; padding: 13px 15px; border: 1px solid #838e88; border-radius: 10px;
  background: #f7f5ef; color: var(--ink, #20242a); font: inherit; font-size: 16px; font-weight: 400;
}
.mf textarea { min-height: 120px; resize: vertical; }
.mf input::placeholder, .mf textarea::placeholder { color: var(--muted, #56616b); opacity: 1; }
.mf input:focus-visible, .mf textarea:focus-visible {
  outline: 3px solid var(--nd-focus-ring, #144f4c); outline-offset: 3px;
  border-color: var(--nd-focus-ring, #144f4c); box-shadow: 0 0 0 4px var(--nd-action-soft, #e8f1f0);
}
.mf input:user-invalid, .mf input[aria-invalid="true"] { border-color: #a23f2e; background: #fbf1ec; }
.mf .mf-error { color: #9b2c2c; font-size: 14px; font-weight: 600; line-height: 1.4; }
.mf .form-help { font-size: 13px; font-weight: 400; color: var(--muted, #56616b); line-height: 1.5; }
.mf button[type="submit"] { width: 100%; }
.mf .form-status { display: none; margin: 0; padding: 12px 14px; border-radius: 6px; background: var(--nd-page-accent-soft, #e8f1f0); color: var(--nd-page-accent-hover, #144f4c); font-size: 14px; font-weight: 700; line-height: 1.45; }
.mf .form-status.visible { display: block; }
.mf .form-note { margin: -4px 0 0; font-size: 14px; color: var(--muted, #56616b); line-height: 1.5; }
.mf .form-direct { margin: -8px 0 0; color: var(--ink, #20242a); font-size: 14px; line-height: 1.5; }
.mf .form-direct a { color: var(--nd-page-accent-hover, #144f4c); font-weight: 700; text-underline-offset: 0.2em; }
