/* SG Kontaktformular – Karten-Design, funktioniert auf hellem UND farbigem Hintergrund.
   (Bewusst kein durchsichtiges Glassmorphism mehr: auf weissen Content-Boxen wie
   .sgj-content wäre ein transparent-weisser Rahmen unsichtbar gewesen.) */

.sgkf-form {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.8rem 2rem;
    background: #f4f7fb;
    border: 1px solid #dce6f0;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(26, 58, 92, 0.08);
    color: #1a3a5c;
}

.sgkf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.sgkf-grid--plz {
    grid-template-columns: 100px 1fr;
}

@media (max-width: 480px) {
    .sgkf-grid,
    .sgkf-grid--plz {
        grid-template-columns: 1fr;
    }
}

.sgkf-field {
    margin-bottom: 1.25rem;
}

.sgkf-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1a3a5c;
}

.sgkf-field input,
.sgkf-field textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: #ffffff;
    border: 1px solid #c5d3e2;
    border-radius: 8px;
    color: #33475b;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sgkf-field input:focus,
.sgkf-field textarea:focus {
    outline: none;
    border-color: #2e6da4;
    box-shadow: 0 0 0 3px rgba(46, 109, 164, 0.15);
}

.sgkf-submit {
    width: 100%;
    padding: 0.75rem 1.2rem;
    border: none;
    border-radius: 8px;
    background: #2e6da4;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.sgkf-submit:hover:not(:disabled) {
    background: #1a3a5c;
    transform: translateY(-1px);
}

.sgkf-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sgkf-status {
    margin-top: 1rem;
    font-size: 0.88rem;
    min-height: 1.2em;
    font-weight: 600;
}

.sgkf-status--success { color: #1e8e5a; }
.sgkf-status--error   { color: #c0392b; }
.sgkf-status--pending { color: #7a9ab8; }

/* Honeypot: für Menschen unsichtbar, im DOM aber vorhanden */
.sgkf-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    overflow: hidden;
}
