/* login.css - Backup-Basis mit Glas-Fix */

body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #121212;
    /* Ein leichter Hintergrund-Verlauf lässt den Glas-Effekt besser wirken als pures Schwarz */
    background-image: radial-gradient(circle at center, #222 0%, #000 100%);
    color: #e0e0e0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-container {
    display: flex;
    width: 900px;
    height: 600px;
    
    /* --- GLAS-EFFEKT START --- */
    background: rgba(30, 30, 30, 0.6); /* Transparenter Hintergrund */
    backdrop-filter: blur(15px);       /* Milchglas-Effekt */
    -webkit-backdrop-filter: blur(15px); 
    border: 1px solid rgba(255, 255, 255, 0.1); /* Feiner Rand */
    /* ------------------------- */

    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* --- LINKE SEITE (HERO) --- */

.hero-section {
    flex: 1;
    /* WICHTIG: Hier nutzen wir rgba() damit der Glas-Effekt erhalten bleibt */
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.85) 0%, rgba(42, 82, 152, 0.85) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 40px;
    /* Optional: feine Trennlinie rechts */
    border-right: 1px solid rgba(255, 255, 255, 0.05); 
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3)); 
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.pro-badge {
    background: #ffd700;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 1rem;
    vertical-align: middle;
    margin-left: 5px;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* --- RECHTE SEITE (FORMS) --- */

.form-section {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent; /* Wichtig für Glas-Effekt */
}

.auth-box h2 {
    color: #ffd700;
    margin: 0 0 10px 0;
}

.subtext {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #ccc;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 12px;
    
    /* --- EINGABEFELDER DUNKEL & TRANSPARENT --- */
    background: rgba(0, 0, 0, 0.3); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* ----------------------------------------- */
    
    border-radius: 6px;
    color: #fff; /* Weiße Schrift */
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s;
}

.input-group input:focus {
    border-color: #2ecc71;
    background: rgba(255, 255, 255, 0.05); /* Leicht heller beim Reinklicken */
}

.actions {
    text-align: right;
    margin-bottom: 20px;
}

.actions a {
    color: #888;
    font-size: 0.85rem;
    text-decoration: none;
}
.actions a:hover { color: #fff; }

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.1s;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: scale(0.98);
}

.switch-mode {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.switch-mode a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}

.error-msg {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.success-msg {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

/* Responsive für Handys (1:1 aus Backup übernommen) */
@media (max-width: 768px) {
    .landing-container {
        flex-direction: column;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    .hero-section {
        flex: 0 0 150px; 
        padding: 20px;
    }
    .hero-logo { width: 50px; margin-bottom: 10px; }
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { display: none; }
    .form-section { padding: 30px; }
}

.col-rsl { width: 90px; text-align: right; }