/* ==========================================
   INTER FONT (300, 400, 500, 600, 800, 900)
   ========================================== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('./fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('./fonts/inter-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('./fonts/inter-900.woff2') format('woff2'); }


/* ==========================================
   FIRA CODE FONT (400, 500)
   ========================================== */
@font-face { font-family: 'Fira Code'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/fira-code-400.woff2') format('woff2'); }
@font-face { font-family: 'Fira Code'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/fira-code-500.woff2') format('woff2'); }


/* ==========================================
   ATKINSON HYPERLEGIBLE (400, 700) - Lesehilfe
   ========================================== */
@font-face { font-family: 'Atkinson'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/see/atkinson-400.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson'; font-style: italic; font-weight: 400; font-display: swap; src: url('./fonts/see/atkinson-400i.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson'; font-style: normal; font-weight: 700; font-display: swap; src: url('./fonts/see/atkinson-700.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson'; font-style: italic; font-weight: 700; font-display: swap; src: url('./fonts/see/atkinson-700i.woff2') format('woff2'); }


/* ==========================================
   BARRIEREFREIHEIT: LESEHILFE-MODUS AKTIVIERUNG
   ========================================== */
html[data-accessibility="reading-mode"] body,
html[data-accessibility="reading-mode"] p,
html[data-accessibility="reading-mode"] h1,
html[data-accessibility="reading-mode"] h2,
html[data-accessibility="reading-mode"] h3,
html[data-accessibility="reading-mode"] a,
html[data-accessibility="reading-mode"] span,
html[data-accessibility="reading-mode"] div,
html[data-accessibility="reading-mode"] button {
    font-family: 'Atkinson', sans-serif !important;
    letter-spacing: 0.02em !important; /* Macht die Buchstaben noch etwas klarer */


/* ==========================================
   SNDE PAGE TRANSITIONS (Zero-Latency)
   ========================================== */

/* 1. Sanftes Einblenden beim Laden der Seite */
body {
    animation: sndePageFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}


/* 2. Sanftes Ausblenden, wenn man auf einen Link klickt */
body.snde-page-exit {
    animation: sndePageFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}


/* Die Animationen */
@keyframes sndePageFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}


@keyframes sndePageFadeOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }

/* ==========================================
   SNDE KEYBOARD ACCESSIBILITY (Tastatur-Navigation)
   ========================================== */


/* 1. Entfernt den hässlichen Standard-Rahmen bei normalen Mausklicks */
*:focus:not(:focus-visible) {
    outline: none !important;
}


/* 2. Snde-Oranger Rahmen, sobald die Tab-Taste genutzt wird */
*:focus-visible {
    outline: 2px solid #FF6600 !important;
    outline-offset: 4px !important;
    border-radius: 4px;




}