/**
 * Freiwillige Feuerwehr Baar Schwaben
 * Modern Theme 2026 - Kontaktformular Stylesheet
 */

#kontaktformular {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    max-width: 720px;
    margin-inline: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--ff-red-600);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

textarea#message {
    min-height: 160px;
    resize: vertical;
}

/* Modal / Feedback Box */
#box {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-surface-elevated);
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 320px;
    max-width: 90vw;
    z-index: 1001;
}

#box_text {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

#blocker {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
}

/* Kontakt-Karten */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-hover);
    margin-bottom: 0.75rem;
}

.contact-card p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}