[x-cloak] { 
    display: none !important; 
}

.lmf-modal-open { 
    overflow: hidden !important; 
}

/* Modal Overlay */
.lmf-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow-y: auto;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
}

.lmf-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #64748b;
    z-index: 10000;
    padding: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lmf-close-btn:hover {
    color: #ffffff;
}

.lmf-close-btn svg {
    width: 2rem;
    height: 2rem;
}

/* Container & Layout */
.lmf-section {
    min-height: 100vh;
    color: #ffffff;
    padding: 5rem 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lmf-container {
    max-width: 56rem;
    margin: 0 auto;
}

.lmf-text-center {
    text-align: center;
}

/* Header & Fortschritt */
.lmf-header {
    text-align: center;
    margin-bottom: 4rem;
}

.lmf-emoji-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.lmf-emoji-box {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(3deg);
}

.lmf-emoji {
    font-size: 1.875rem;
}

.lmf-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    margin-top: 0;
}

.lmf-subtitle {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

.lmf-progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.lmf-dot {
    height: 0.375rem;
    border-radius: 9999px;
    transition: all 0.7s ease;
}

.lmf-dot.active {
    width: 2.5rem;
    background-color: #2563eb;
}

.lmf-dot.inactive {
    width: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.lmf-step-indicator {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #64748b;
    margin-top: 1.5rem;
    font-weight: 900;
}

/* Formular Grids */
.lmf-grid-3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.lmf-grid-1 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .lmf-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lmf-title {
        font-size: 3rem;
    }
}

/* Option Buttons */
.lmf-card-btn {
    position: relative;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.03);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.lmf-card-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.lmf-card-btn.selected {
    border-color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 0 1px #2563eb;
}

.lmf-card-emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lmf-card-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-style: italic;
    text-transform: uppercase;
}

.lmf-card-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
    font-weight: 500;
}

/* List Item Buttons (Step 2) */
.lmf-list-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ffffff;
}

.lmf-list-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.lmf-list-btn.selected {
    border-color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
}

.lmf-radio-indicator {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lmf-radio-indicator.selected {
    border-color: #2563eb;
    background-color: #2563eb;
    color: #ffffff;
}

/* Aspect Square Buttons (Step 3) */
.lmf-square-btn {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.lmf-square-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.lmf-square-btn.selected {
    border-color: #2563eb;
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.lmf-square-label {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
}

/* Eingabefelder (Step 4) */
.lmf-form-wrapper {
    max-width: 42rem;
    margin: 0 auto;
}

.lmf-input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .lmf-input-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lmf-col-span-2 {
        grid-column: span 2 / span 2;
    }
}

.lmf-input {
    width: 100%;
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    transition: border-color 0.2s ease;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    box-sizing: border-box;
}

.lmf-input:focus {
    border-color: #2563eb;
}

.lmf-privacy-box {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lmf-privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.lmf-checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.lmf-checkbox {
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lmf-checkbox:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

.lmf-checkbox-icon {
    position: absolute;
    width: 1rem;
    height: 1rem;
    color: #ffffff;
    pointer-events: none;
    left: 0.25rem;
    top: 0.25rem;
}

.lmf-privacy-text {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.6;
}

.lmf-privacy-text a {
    color: #2563eb;
    text-decoration: underline;
}

/* Steuerungsknöpfe unten */
.lmf-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.lmf-btn-back {
    display: flex;
    align-items: center;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}

.lmf-btn-back:hover {
    color: #ffffff;
}

.lmf-btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.lmf-btn-primary:hover {
    background-color: #1d4ed8;
}

.lmf-btn-primary:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.lmf-btn-submit {
    background-color: #ffffff;
    color: #000000;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lmf-btn-submit:hover {
    background-color: #2563eb;
    color: #ffffff;
}

/* Danke-Seite */
.lmf-success-box {
    text-align: center;
    padding: 5rem 0;
}

.lmf-success-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.lmf-success-icon {
    width: 6rem;
    height: 6rem;
    background-color: #2563eb;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.4);
}

.lmf-success-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-style: italic;
    text-transform: uppercase;
}

.lmf-success-desc {
    color: #94a3b8;
    font-size: 1.125rem;
    max-width: 28rem;
    margin: 0 auto 2.5rem auto;
}