@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

.ema-formular,
.ema-formular label,
.ema-formular input,
.ema-formular textarea,
.ema-formular button,
.ema-success,
.ema-errors {
    font-family: 'Montserrat', sans-serif;
}

.ema-produkt-info {
    background: #f0f6ff;
    border: 1px solid #c3d9f5;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
}

.ema-feld {
    margin-bottom: 20px;
}

.ema-feld label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    font-size: 14px;
    color: #333;
}

.ema-pflicht {
    color: #c00;
}

.ema-feld input[type="text"],
.ema-feld input[type="email"],
.ema-feld input[type="tel"],
.ema-feld input[type="date"],
.ema-feld input[type="number"],
.ema-feld textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ema-feld input:focus,
.ema-feld textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.12);
}

.ema-feld textarea {
    resize: vertical;
}

/* Checkbox */
.ema-feld-checkbox {
    margin-bottom: 16px;
}

.ema-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400 !important;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.ema-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #0073aa;
    cursor: pointer;
}

.ema-checkbox-label a {
    color: #0073aa;
    text-decoration: underline;
}

.ema-checkbox-label a:hover {
    color: #005a87;
}

.ema-submit-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.ema-submit-btn:hover {
    background: #005a87;
}

.ema-success {
    background: #eafbea;
    border: 1px solid #a3d9a3;
    border-radius: 6px;
    padding: 22px 26px;
    max-width: 620px;
}

.ema-success h3 {
    margin-top: 0;
    color: #2a7a2a;
    font-family: 'Montserrat', sans-serif;
}

.ema-errors {
    background: #fff3f3;
    border: 1px solid #f5c6c6;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #a00;
    font-size: 14px;
}

.ema-formular {
    max-width: 620px;
}

/* ── Sticky Bar & Button ── */
.ema-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 14px 24px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: ema-bar-in 0.35s 0.3s ease both;
}

.ema-sticky-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0,0,0,0.30);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.ema-sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.40);
    text-decoration: none;
}

@keyframes ema-bar-in {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}