/* ============================================================
   Eigenes CSS (ergänzend zum Tailwind-Build).
   ============================================================ */

/* ============================================================
   Kontaktformular (Kirby Uniform) – eigenes CSS ohne Mobirise/
   Bootstrap-Klassen, Optik nah am bisherigen Formular.
   ============================================================ */
.kf {
  font-family: 'Rubik', sans-serif;
}

/* 12-Spalten-Raster (ersetzt Bootstrap row/col-md-*) */
.kf-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem 1.5rem;
}
.kf-feld {
  display: flex;
  flex-direction: column;
  grid-column: span 12;
}
@media (min-width: 768px) {
  .kf-feld--4  { grid-column: span 4; }
  .kf-feld--6  { grid-column: span 6; }
  .kf-feld--12 { grid-column: span 12; }
}

.kf-label {
  margin-bottom: .357em;
  font-size: 1rem;
  line-height: 1.43;
  color: #565656;
  cursor: pointer;
}
.kf-pflicht {
  color: #26cc14;
}

/* Inputs: wie .form-control im Theme (grau gefüllt, dezenter Rahmen) */
.kf-input {
  width: 100%;
  min-height: 3.5em;
  padding: 1.07em .5em;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.43;
  color: #565656;
  background-color: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: .25rem;
  box-shadow: none;
}
.kf-textarea {
  min-height: 8em;
  resize: vertical;
}
.kf-input:focus {
  outline: none;
  border-color: #26cc14;
  box-shadow: none;
}

/* Datenschutz-Zustimmung (wie gdpr-block) */
.kf-gdpr {
  position: relative;
  display: block;
  margin-top: 1rem;
  padding: 10px 0 10px 24px;
  font-size: 14px;
  color: #a7a7a7;
  cursor: pointer;
  user-select: none;
}
.kf-gdpr input[type="checkbox"] {
  position: absolute;
  top: 13px;
  left: 0;
  width: 15px;
  height: 15px;
  margin: 0;
}
.kf-gdpr a {
  color: #149dcc;
  text-decoration: none;
}

/* Button: grüner Pill-Button wie .btn-primary im Theme */
.kf-aktion {
  margin-top: 1rem;
}
.kf-aktion--center {
  text-align: center;
}
.kf-aktion--left {
  text-align: left;
}
.kf-btn {
  display: inline-block;
  padding: 1rem 3rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  background-color: #26cc14;
  border: 1px solid #26cc14;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.kf-btn:hover,
.kf-btn:focus {
  background-color: #19860d;
  border-color: #19860d;
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);
}

/* Erfolgsmeldung nach dem Absenden */
.kf-erfolg {
  padding: 1.25rem;
  font-size: .9375rem;
  line-height: 1.5;
  color: #fff;
  background-color: #26cc14;
  border-radius: 3px;
}

/* Fehlerliste (Snippet uniform/errors) */
.uniform-errors {
  margin-top: 1rem;
  padding: .75rem 1rem;
  font-size: .9375rem;
  color: #b00020;
  background-color: #fdecea;
  border: 1px solid #f5c6cb;
  border-radius: 3px;
}
.uniform-errors__item + .uniform-errors__item {
  margin-top: .25rem;
}

/* Honeypot-Feld (Spam-Schutz) muss für Menschen unsichtbar sein! */
.uniform__potty {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
