/* HdKD Buchungsanfrage — Frontend-Formular (Sprint S2) */
.hdkd-anf-form { max-width: 720px; margin: 0 auto; }
.hdkd-anf-intro { margin: 0 0 16px; color: #444; line-height: 1.5; }

.hdkd-anf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.hdkd-anf-full { grid-column: 1 / -1; }

/* Abschnitts-Überschrift (Kontakt / Ihre Veranstaltung / Raum & Termin) */
.hdkd-anf-section {
    grid-column: 1 / -1;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: #1a5c35; margin: 12px 0 -2px; padding-bottom: 5px;
    border-bottom: 1px solid #e3e3e3;
}
.hdkd-anf-grid > .hdkd-anf-section:first-child { margin-top: 0; }

.hdkd-anf-form label {
    display: flex; flex-direction: column; gap: 4px;
    font-size: 13px; font-weight: 600; color: #333;
}
.hdkd-anf-form input,
.hdkd-anf-form select,
.hdkd-anf-form textarea {
    font-weight: 400; font-size: 15px; padding: 8px 10px;
    border: 1px solid #ccc; border-radius: 6px; width: 100%; box-sizing: border-box;
    background: #fff; color: #222;
}
.hdkd-anf-form input:focus,
.hdkd-anf-form select:focus,
.hdkd-anf-form textarea:focus {
    outline: none; border-color: #1a5c35; box-shadow: 0 0 0 2px rgba(26, 92, 53, .15);
}
.hdkd-anf-form textarea { resize: vertical; }
.hdkd-anf-invalid { border-color: #c0392b !important; box-shadow: 0 0 0 2px rgba(192, 57, 43, .12) !important; }

.hdkd-anf-check { flex-direction: row !important; align-items: center; gap: 8px; font-weight: 400; }
.hdkd-anf-check input { width: auto; }

.hdkd-anf-ds { margin: 14px 0 0; font-size: 13px; }
.hdkd-anf-ds label { flex-direction: row; align-items: center; gap: 6px; font-weight: 400; }
.hdkd-anf-ds input { width: auto; }

.hdkd-anf-actions { margin-top: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hdkd-anf-submit {
    background: #1a5c35; color: #fff; border: none; border-radius: 6px;
    padding: 11px 24px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.hdkd-anf-submit:hover { background: #0e4a28; }
.hdkd-anf-submit:disabled { opacity: .6; cursor: default; }

.hdkd-anf-msg { font-size: 14px; }
.hdkd-anf-ok { color: #1a6632; font-weight: 600; }
.hdkd-anf-err { color: #c0392b; }
.hdkd-anf-done {
    background: #e8f8ee; border: 1px solid #a8d5b5; color: #1a6632;
    border-radius: 8px; padding: 16px 18px; font-size: 15px; font-weight: 600;
}

/* Live-Feedback: Ergebnis-Karte (Verfügbarkeit + Kostenschätzung) */
.hdkd-anf-feedback { display: none; }
.hdkd-anf-feedback.is-shown {
    display: flex; flex-direction: column; gap: 12px;
    background: #f6faf7; border: 1px solid #d6e6dc; border-radius: 10px;
    padding: 14px 16px; margin: 2px 0 0; box-shadow: 0 1px 2px rgba(20, 60, 40, .05);
}
/* Verfügbarkeit als Badge/Pill */
.hdkd-anf-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; line-height: 1; padding: 7px 12px; border-radius: 999px;
}
.hdkd-anf-badge.is-pending { background: #ececec; color: #777; font-weight: 600; }
.hdkd-anf-badge.is-ok { background: #e3f6ea; color: #137a3e; }
.hdkd-anf-badge.is-busy { background: #fde7e4; color: #c0392b; }
/* Kostenschätzung: drei Tarif-Chips */
.hdkd-anf-cost-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #5a6b60; margin-bottom: 2px; }
.hdkd-anf-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hdkd-anf-tier {
    display: flex; flex-direction: column; gap: 2px;
    background: #fff; border: 1px solid #e1e6e2; border-radius: 8px; padding: 9px 11px;
}
.hdkd-anf-tier-lbl { font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: .03em; }
.hdkd-anf-tier-val { font-size: 16px; font-weight: 700; color: #1d2b22; }
.hdkd-anf-tier.is-selected { border-color: #1a5c35; background: #eef7f1; box-shadow: 0 0 0 1px #1a5c35 inset; }
.hdkd-anf-tier.is-selected .hdkd-anf-tier-lbl { color: #1a5c35; }
.hdkd-anf-cost-note { font-size: 11px; color: #8a8f8b; }

/* Honeypot: für Menschen unsichtbar, für Bots ausfüllbar */
.hdkd-anf-hp {
    position: absolute !important; left: -9999px !important; top: auto;
    width: 1px; height: 1px; overflow: hidden;
}

@media (max-width: 600px) {
    .hdkd-anf-grid { grid-template-columns: 1fr; }
    .hdkd-anf-tiers { grid-template-columns: 1fr; }
}
