
        /* ASB Brand Colors & Dark Theme Basis */
        :root {
            --asb-red: #d40000;
            --asb-red-hover: #b30000;
            --asb-yellow: #ffd400;
            --bg-dark: #0f0f11;
            --card-bg: #1a1a1e;
            --input-bg: #121215;
            --border-color: #2c2c35;
            --text-main: #ffffff;
            --text-muted: #8c8c9a;
        }

        body { 
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
            /* Dezenter, dunkler Hintergrund mit minimalem Rot-Schimmer in der Mitte */
            background: radial-gradient(circle at 50% 0%, #2a1111 0%, var(--bg-dark) 60%);
            color: var(--text-main);
            display: flex; 
            flex-direction: column;
            align-items: center; 
            min-height: 100vh; 
            margin: 0; 
            padding: 20px;
            box-sizing: border-box;
        }

        /* Card Layout */
        .login-card { 
            background: var(--card-bg);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 35px 25px; 
            border-radius: 16px; 
            box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05); 
            width: 100%; 
            max-width: 400px; 
            box-sizing: border-box;
            margin-top: 40px;
        }

        /* ASB Logo Header */
        .header-area {
            display: flex;
            justify-content: center;
            margin-bottom: 35px;
        }
        .header-area svg {
            width: 220px;
            max-width: 100%;
            height: auto;
            /* Leichter Schatten, damit das Logo auf dem dunklen Grund plastischer wirkt */
            filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
        }

        /* Formular Felder */
        .form-group { 
            position: relative;
            margin-bottom: 18px; 
        }
        
        .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            fill: var(--text-muted);
            pointer-events: none;
            transition: fill 0.3s ease;
        }

        input[type="text"], 
        input[type="password"],
        input[type="number"],
        input[type="email"]{ 
            width: 100%; 
            padding: 16px 15px 16px 45px; 
            background: var(--input-bg); 
            color: var(--text-main);
            border: 1px solid var(--border-color); 
            border-radius: 10px; 
            box-sizing: border-box; 
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        input:focus {
            outline: none;
            border-color: var(--asb-red);
            box-shadow: 0 0 0 2px rgba(212, 0, 0, 0.15);
        }

        input:focus + .input-icon,
        input:not(:placeholder-shown) ~ .input-icon {
            fill: var(--asb-red);
        }
        
        input::placeholder { color: #555562; }

        /* Custom Checkbox (Login Speichern) */
        .options-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            font-size: 14px;
            color: var(--text-muted);
        }
        
        .checkbox-container {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            user-select: none;
        }

        .checkbox-container input[type="checkbox"] {
            /* Versteckt die Standard-Browser-Checkbox */
            appearance: none;
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            background: var(--input-bg);
            border: 2px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
            margin: 0;
            padding: 0;
        }

        /* Das rote ASB-Häkchen, wenn aktiviert */
        .checkbox-container input[type="checkbox"]:checked {
            background: var(--asb-red);
            border-color: var(--asb-red);
        }

        .checkbox-container input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            left: 6px;
            top: 2px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        /* Buttons */
        .btn { 
            width: 100%; 
            padding: 16px; 
            border: none; 
            border-radius: 10px; 
            font-size: 16px; 
            font-weight: 600;
            cursor: pointer; 
            transition: transform 0.1s, background 0.3s, box-shadow 0.3s;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }
        .btn:active { transform: scale(0.98); }

        .btn-login { 
            background: var(--asb-red);
            color: white; 
            margin-bottom: 15px;
            box-shadow: 0 4px 15px rgba(212, 0, 0, 0.25);
        }
        .btn-login:hover {
            background: var(--asb-red-hover);
        }

        .btn-passkey {
            background: #25252c;
            color: var(--text-main);
            border: 1px solid var(--border-color);
        }
        .btn-passkey:hover {
            background: #2e2e36;
            border-color: #3e3e48;
        }
        .btn-passkey svg { width: 18px; height: 18px; fill: currentColor; }

        /* Fehlermeldung */
        .error-msg { 
            background: rgba(212, 0, 0, 0.1); 
            color: #ff6b6b; 
            border: 1px solid rgba(212, 0, 0, 0.3);
            padding: 12px; 
            border-radius: 8px; 
            margin-bottom: 20px; 
            font-size: 14px;
            text-align: center;
        }

        /* Registrieren Link (ASB Gelb) */
        .register-link {
            text-align: center;
            margin-top: 25px;
            font-size: 14px;
            color: var(--text-muted);
        }
        .register-link a {
            color: var(--asb-yellow);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }
        .register-link a:hover { 
            color: #fff;
            text-decoration: underline; 
        }
  .success-msg { 
    background: rgba(46, 213, 115, 0.1); 
    color: #2ed573; 
    border: 1px solid rgba(46, 213, 115, 0.3);
    padding: 12px; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    font-size: 14px;
    text-align: center;
}