/*
 * Kontaktformular - Darstellung.
 * Gehoert zu js/kontaktformular.js.
 *
 * Wie der Preisrechner stammt auch dieses Formular aus einer Zeit, in der es
 * eigenstaendig lief. Die festen Farbcodes sind im August 2026 auf die
 * Variablen aus grundlagen.css umgestellt worden, die Darstellung blieb
 * dabei unveraendert.
 *
 * Ebenfalls entfallen ist die feste Schriftart 'Segoe UI', die Wrapper, Felder
 * und Schaltflaeche vorgaben - ein Ueberbleibsel aus der eigenstaendigen
 * Fassung. Das Formular erbt jetzt Roboto vom Rest der Seite. Die Schriftgrade
 * mussten dafuer nicht angepasst werden: sie waren bereits Punkt fuer Punkt
 * dieselben wie im Angebotsformular des Rechners (0.85/1.02rem Beschriftung,
 * 1/1.2rem Feld, 1.05/1.26rem Schaltflaeche).
 */

.lsc-kf-wrap { max-width: 780px; margin: 0 auto; padding: 32px 16px 64px; color: var(--text-blass); }
.lsc-kf-divider { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; }
.lsc-kf-divider::before, .lsc-kf-divider::after { content: ''; flex: 1; height: 1px; background: var(--rahmen); }
/* Stand als style="display:block; text-align:center; line-height:1.5" im HTML. */
.lsc-kf-divider-inhalt { text-align: center; line-height: 1.5; }

.lsc-kf-form { display: flex; flex-direction: column; gap: 14px; }
.lsc-kf-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lsc-kf-col-left { display: flex; flex-direction: column; gap: 14px; }
.lsc-kf-field-wrap { display: flex; flex-direction: column; }
.lsc-kf-nachricht-wrap { display: flex; flex-direction: column; height: 100%; }
.lsc-kf-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; line-height: 1.2; }

.lsc-kf-input { box-sizing: border-box; width: 100%; background: var(--feld-hell); border: 2px solid var(--text-blass); border-radius: 8px; color: var(--karte); font-size: 1rem; padding: 12px 16px !important; outline: none; transition: border-color 0.2s; display: block; }
.lsc-kf-input::placeholder { color: var(--grau-5); }
.lsc-kf-input:focus { border-color: var(--orange); }
.lsc-kf-textarea { flex: 1; resize: none; line-height: 1.4; }

.lsc-kf-btn { box-sizing: border-box; display: block; width: 100%; background: var(--orange-schleier-15); color: #fff; border: 2px solid var(--orange); border-radius: 10px; font-size: 1.05rem; font-weight: 700; padding: 15px; cursor: pointer; transition: background 0.2s, transform 0.1s; letter-spacing: 0.02em; }
.lsc-kf-btn:hover { background: var(--orange-schleier-28); }
.lsc-kf-btn:active { transform: scale(0.98); }
.lsc-kf-btn:disabled { background: var(--punkt); color: var(--grau-5); cursor: not-allowed; border-color: var(--punkt); }

.lsc-kf-dsgvo { box-sizing: border-box; background: var(--karte); border: 2px solid var(--rahmen); border-radius: 8px; padding: 14px 16px; font-size: 0.78rem; color: var(--grau-5); line-height: 1.6; }
/* Stand als style="color:inherit; text-decoration:underline" am Link. */
.lsc-kf-dsgvo a { color: inherit; text-decoration: underline; }

#lsc-kf-success { display: none; box-sizing: border-box; background: var(--gut-flaeche); border: 2px solid var(--gut-rand); border-radius: 8px; padding: 16px; color: var(--gut-text); font-size: 0.9rem; margin-top: 12px; }
#lsc-kf-error   { display: none; box-sizing: border-box; background: var(--fehler-flaeche); border: 2px solid var(--fehler-rand); border-radius: 8px; padding: 16px; color: var(--fehler-text); font-size: 0.9rem; margin-top: 12px; }

@media (min-width: 561px) {
  .lsc-kf-wrap { max-width: 1040px; padding: 40px 32px 80px; }
  .lsc-kf-input { font-size: 1.2rem; padding: 14px 18px !important; }
  .lsc-kf-btn { font-size: 1.26rem; padding: 17px; }
  .lsc-kf-dsgvo { font-size: 1.05rem; }
  .lsc-kf-label { font-size: 1.02rem; }
}

@media (max-width: 560px) {
  .lsc-kf-two-col { grid-template-columns: 1fr; }
  .lsc-kf-textarea { height: 120px; }
  .lsc-kf-divider-sub { font-size: 0.72em !important; }
}
