/* ============================================================ */
/* login.css - Anmeldeseite (app_Login)                         */
/* Brand-Klassen (mtv-btn, mtv-input, mtv-req) kommen aus       */
/* mtv_common.css; hier nur Layout und die Eigenheiten der Seite */
/* ============================================================ */

/* Handy: nur die Landschaft. Ab 900px (Tablet quer, Desktop) das Bild mit
   Handy, gepunkteten Linien und Haeusern - ohne Schriftzug, der steht als
   Logo ueber der Karte. Logo und Karte sitzen oben, nicht mittig. */
.lgn-wrap {
    font-family: var(--mtv-font, 'Inter', Arial, sans-serif);
    font-size: 12px;
    color: #493a30;
    background: #f2f0f0 url(img/login/landschaft.jpg) center bottom / cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4vh 16px 16px 16px;
    box-sizing: border-box;
}

.lgn-mitte {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

@media (min-width: 900px) {
    .lgn-wrap {
        background-image: url(img/login/landschaft_desktop.jpg);
        background-position: center center;
        padding-top: 5vh;
    }
    .lgn-mitte {
        gap: 40px;
    }
}

/* Logo deutlich groesser als die Karte, schrumpft mit dem Bildschirm */
.lgn-logo {
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    padding: 18px 28px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.lgn-logo img {
    width: 100%;
    max-width: 840px;
    height: auto;
    display: block;
}

.lgn-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #a19e92;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(73, 58, 48, 0.12);
    overflow: hidden;
}

.lgn-head {
    background: #85bb22;
    color: #493a30;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lgn-head-title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lgn-body {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lgn-intro {
    margin: 0 0 4px 0;
    color: #493a30;
    line-height: 1.5;
}

.lgn-feld {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lgn-label {
    font-weight: 600;
    color: #493a30;
}

.lgn-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding: 10px 12px;
}

.lgn-pw-wrap {
    position: relative;
}

.lgn-pw-wrap .lgn-input {
    padding-right: 42px;
}

.lgn-pw-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #0074be;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    font-size: 14px;
}

.lgn-pw-toggle:hover {
    background: #f2f0f0;
}

.lgn-agb {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
    color: #493a30;
}

.lgn-agb input {
    margin: 2px 0 0 0;
    width: 16px;
    height: 16px;
    accent-color: #0a651f;
    flex: 0 0 auto;
}

.lgn-aktionen {
    display: flex;
    gap: 8px;
}

.lgn-btn-voll {
    width: 100%;
    justify-content: center;
}

.lgn-oder {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a19e92;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lgn-oder::before,
.lgn-oder::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #a19e92;
    opacity: 0.6;
}

.lgn-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 4px;
}

.lgn-link {
    color: #0074be;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lgn-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .lgn-wrap {
        padding: 12px;
        align-items: flex-start;
    }
    .lgn-mitte {
        max-width: none;
        gap: 14px;
    }
    .lgn-logo {
        padding: 10px 12px;
    }
    .lgn-card {
        max-width: none;
    }
    .lgn-body {
        padding: 16px;
    }
}

.lgn-links-agb {
    justify-content: flex-start;
    margin-top: -4px;
}
