/* bt-fonts.css — bindet Mulish LOKAL ein (selbst gehostet, KEIN Google-CDN,
   keine IP-Uebertragung an Dritte) und setzt sie global als Schriftart.
   Wird NACH dem Theme geladen, damit es dessen Schrift ueberschreibt.

   >>> Voraussetzung: Schriftdatei muss hier liegen:
       wwwroot/fonts/Mulish-VariableFont_wght.ttf
   Bezug: https://fonts.google.com/specimen/Mulish  ->  "Get font" -> "Download all".
   Details siehe wwwroot/fonts/README.txt */

@font-face {
    font-family: 'Mulish';
    src: url('../fonts/Mulish-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 900;   /* Variable Font: deckt alle Schnitte 200..900 ab */
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-body-font-family: 'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
}

.btn, .form-control, .form-select, .input-group-text, .dropdown-menu,
.nav, .navbar, .card, .modal, .alert, .badge, .table,
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--bs-body-font-family);
}

/* --- Autofill: blaue/gelbe Browser-Färbung entfernen, Feld bleibt weiß --- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #26262e !important;
    caret-color: #26262e;
    transition: background-color 9999s ease-in-out 0s;
}

/* --- Links/btn-link: nicht rot, sondern Marken-Violett --- */
:root {
    --bs-link-color: #6D28C9;
    --bs-link-hover-color: #581C9E;
    --bs-link-color-rgb: 109, 40, 201;
    --bs-link-hover-color-rgb: 88, 28, 158;
}
a,
.btn-link {
    color: #6D28C9;
}
a:hover,
.btn-link:hover {
    color: #581C9E;
}
