/* ==========================================================================
   FARB-VARIABLEN (Global)
   ========================================================================== */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --success: #28a745;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --error-bg: #f8d7da;
    --error-text: #721c24;
    --warning-bg: #fff3cd;
    --warning-text: #856404;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}

html {
    scrollbar-gutter: stable;
}

/* --- 1. GRUNDLAYOUT (BODY) --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
}

/* --- 5. MELDUNGEN & TEXTE --- */
h1 { color: #2c3e50; }
h2, h3 { color: #34495e; }

/* ==========================================================================
   UTILITY KLASSEN (Abstände, Text, Layout)
   ========================================================================== */

/* --- Abstände (Margin & Padding) --- */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: 5px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-5 { margin-bottom: 5px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-25 { margin-bottom: 25px !important; }

.ml-5 { margin-left: 5px !important; }
.mx-5 { margin-left: 5px !important; margin-right: 5px !important; }

.p-15 { padding: 15px !important; }
.py-10 { padding-top: 10px !important; padding-bottom: 10px !important; }
.py-12 { padding-top: 12px !important; padding-bottom: 12px !important; }
.px-10 { padding-left: 10px !important; padding-right: 10px !important; }
.pb-10 { padding-bottom: 10px !important; }

/* --- Text & Farben --- */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

.text-muted { color: #666666 !important; }
.text-muted-light { color: #888888 !important; }
.text-dark { color: #333333 !important; }
.text-success { color: #28a745 !important; }
.text-danger { color: #dc3545 !important; }

.fw-bold { font-weight: bold !important; }
.fw-normal { font-weight: normal !important; }

.fs-xs { font-size: 0.6em !important; }
.fs-sm { font-size: 0.85em !important; }
.fs-md { font-size: 1.1em !important; }
.fs-lg { font-size: 1.3em !important; }
.fs-xl { font-size: 1.5em !important; }

/* --- Layout & Flexbox --- */
.container-1200 { max-width: 1200px; margin: 0 auto; padding: 20px; }
.flex { display: flex !important; }
.justify-between { justify-content: space-between !important; }
.align-center { align-items: center !important; }
.w-100 { width: 100% !important; }
.w-45 { width: 45px !important; }
.inline-block { display: inline-block !important; }
.valign-middle { vertical-align: middle !important; }
.d-none { display: none !important; }
.overflow-x-auto { overflow-x: auto !important; }

/* --- Boxen & Rahmen --- */
.bg-light { background-color: #f8f9fa !important; }
.bg-cash-light { background-color: #f1f8f5 !important; }
.border-light { border: 1px solid #ddd !important; }
.border-bottom-light { border-bottom: 1px solid #eee !important; }
.border-bottom-thick { border-bottom: 2px solid #ddd !important; }
.rounded { border-radius: 5px !important; }


/* --- Zusätzliche Helper für Buchungen --- */
.container-1400 { max-width: 1400px; margin: 0 auto; padding: 20px; }
.col-span-2 { grid-column: span 2; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 !important; }
.gap-10 { gap: 10px !important; }
.align-end { align-items: flex-end !important; }
.text-primary { color: #007bff !important; }
.text-warning { color: #fd7e14 !important; }
.mr-10 { margin-right: 10px !important; }
.ml-10 { margin-left: 10px !important; }
.pt-15 { padding-top: 15px !important; }
.p-30 { padding: 30px !important; }
.border-top-light { border-top: 1px solid #eee !important; }
.border-bottom-primary { border-bottom: 2px solid #007bff !important; }

/* --- Zusätzliche Helper für Import --- */
.container-900 { max-width: 900px; margin: 0 auto; padding: 20px; }
.flex-2 { flex: 2 !important; }
.gap-15 { gap: 15px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.p-40 { padding: 40px !important; }
.bg-light-gray { background-color: #f9f9f9 !important; }
.text-danger { color: red !important; }
.border-none { border: none !important; }
.cursor-pointer { cursor: pointer !important; }
.overflow-auto { overflow: auto !important; }
.max-h-200 { max-height: 200px !important; }

/* --- Zusätzliche Helper für Konten & Typografie --- */
.container-1000 { max-width: 1000px; margin: 0 auto; padding: 20px; }
.mb-40 { margin-bottom: 40px !important; }
.p-20 { padding: 20px !important; }
.bg-white { background-color: #fff !important; }
.shadow-sm { box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important; }
.font-mono { font-family: monospace !important; }
.no-underline { text-decoration: none !important; }
.min-w-90 { min-width: 90px !important; }

/* Status-Rahmen & Hintergründe */
.border-warning { border: 2px solid #ffc107 !important; }
.bg-warning-light { background-color: #fff9e6 !important; }

/* --- Zusätzliche Helper für Wertpapiere --- */
.container-1100 { max-width: 1100px; margin: 0 auto; padding: 20px; }
.btn-info { background-color: #17a2b8; color: white; padding: 10px 15px; text-decoration: none; border-radius: 5px; font-weight: bold; transition: 0.2s; }
.btn-info:hover { background-color: #138496; }
.text-light-gray { color: #ccc !important; }

/* --- Zusätzliche Helper für Kurs-Menu --- */
.max-w-350 { max-width: 350px !important; }
.my-40 { margin-top: 40px !important; margin-bottom: 40px !important; }
.border-none { border: none !important; }
.border-top-dashed { border-top: 2px dashed #ddd !important; }
.border-left-purple { border-left: 5px solid #6f42c1 !important; }
.sticky-top { position: sticky; top: 0; z-index: 10; }
.align-top { vertical-align: top !important; }

/* --- Zusätzliche Helper für Split & Formulare --- */
.max-w-600 { max-width: 600px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.p-25 { padding: 25px !important; }
.fs-2xl { font-size: 2em !important; }

/* --- Zusätzliche Helper für Text --- */
.text-uppercase { text-transform: uppercase !important; }
.letter-spacing-1 { letter-spacing: 1px !important; }
.border-dashed { border: 1px dashed #ccc !important; }