/* Passwortformular fuer Vorschauseiten, LeapGreat-Design.
   Farben kommen aus der Theme-Palette, mit Rueckfallwerten. */

.lg-pw {
    display: flex;
    justify-content: center;
    padding: clamp(48px, 9vw, 120px) 20px;
}

.lg-pw__card {
    width: 100%;
    max-width: 520px;
    background: var(--wp--preset--color--white, #fff);
    border: 1px solid rgba(21, 21, 21, .12);
    border-radius: 18px;
    padding: clamp(28px, 5vw, 48px);
    box-shadow: 0 22px 55px rgba(21, 21, 21, .08);
}

.lg-pw__eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--wp--preset--color--gold, #d69a2d);
}

.lg-pw__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    color: var(--wp--preset--color--black, #151515);
}

.lg-pw__text {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--wp--preset--color--grey, #777c78);
}

.lg-pw__label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--wp--preset--color--grey, #777c78);
}

/* Feld und Knopf auf gleicher Hoehe, gleiche Grundlinie */
.lg-pw__row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
}

.lg-pw__input {
    flex: 1 1 220px;
    min-width: 0;
    height: 54px;
    padding: 0 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--wp--preset--color--black, #151515);
    background: var(--wp--preset--color--base, #f4f4f0);
    border: 1px solid rgba(21, 21, 21, .16);
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.lg-pw__input:focus {
    outline: none;
    background: #fff;
    border-color: var(--wp--preset--color--gold, #d69a2d);
    box-shadow: 0 0 0 4px rgba(214, 154, 45, .18);
}

.lg-pw__button {
    flex: 0 0 auto;
    height: 54px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: var(--wp--preset--color--black, #151515);
    background: var(--wp--preset--color--gold, #d69a2d);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.lg-pw__button:hover {
    background: #c98009;
    transform: translateY(-1px);
}

.lg-pw__button:focus-visible {
    outline: 2px solid var(--wp--preset--color--black, #151515);
    outline-offset: 2px;
}

/* Schmale Ansicht: Knopf auf volle Breite unter das Feld */
@media (max-width: 480px) {
    .lg-pw__input,
    .lg-pw__button {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lg-pw__input,
    .lg-pw__button {
        transition: none;
    }
}
