/* ==========================================================================
   Kontaktformular – moderne Fassung (Wunsch Stefan, 22.11.2026)
   Bewusste Abweichung von der Live-Seite: kein weisser Kasten hinter Formular und
   Beschriftungen, ruhige Felder mit Goldakzent. Übersteuert den WPForms-Nachbau in
   home-2.css (wird alphabetisch danach geladen). Diese Datei löschen = Live-Aussehen.
   ========================================================================== */
.page-id-5 #s-kontakt .hb-col-form { background-color: transparent; }
.page-id-5 #s-kontakt .uk-container > .uk-grid { padding: 72px 0; }
.page-id-5 #s-kontakt .hb-form { margin: 0 !important; }

.page-id-5 #s-kontakt .hb-form .hb-feld { padding: 0 0 22px; }

.page-id-5 #s-kontakt .hb-form label,
.page-id-5 #s-kontakt .hb-form .hb-feld-name .el-item + .el-item label {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 8px !important;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: none;
    color: #001007;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.page-id-5 #s-kontakt .hb-form label span {
    color: #b5a580;
    font-weight: 600;
}

.page-id-5 #s-kontakt .hb-form .uk-input,
.page-id-5 #s-kontakt .hb-form .uk-textarea {
    padding: 14px 16px;
    border: 1px solid #d9d6cc;
    border-radius: 6px;
    background: #fff;
    color: #001007;
    font-size: 17px;
    line-height: 24px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.page-id-5 #s-kontakt .hb-form .uk-textarea {
    height: 168px;
    min-height: 120px;
}
.page-id-5 #s-kontakt .hb-form .uk-input:hover,
.page-id-5 #s-kontakt .hb-form .uk-textarea:hover { border-color: #b5a580; }
.page-id-5 #s-kontakt .hb-form .uk-input:focus,
.page-id-5 #s-kontakt .hb-form .uk-textarea:focus {
    border: 1px solid #b5a580;
    border-color: #b5a580 !important;
    background-color: #fff;
    color: #001007;
    box-shadow: 0 0 0 4px rgba(181, 165, 128, .25);
}
.page-id-5 #s-kontakt .hb-form [data-ye-form-field-errors]:not(:empty) {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
}

/* Vorname und Nachname nebeneinander, oben bündig, je mit eigener Beschriftung */
.page-id-5 #s-kontakt .hb-form .hb-feld-name > .uk-grid {
    align-items: flex-start;
    gap: 20px;
}

.page-id-5 #s-kontakt .hb-form .hb-senden { padding: 6px 0 0; }
.page-id-5 #s-kontakt .hb-form .hb-senden .uk-button {
    padding: 16px 40px;
    border-radius: 6px;
    font-size: 12px;
    letter-spacing: 3px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.page-id-5 #s-kontakt .hb-form .hb-senden .uk-button:hover,
.page-id-5 #s-kontakt .hb-form .hb-senden .uk-button:focus-visible {
    border-color: #001007;
    background: #001007;
    color: #fff;
}
.page-id-5 #s-kontakt .hb-form .hb-senden .uk-button:focus-visible {
    box-shadow: 0 0 0 4px rgba(181, 165, 128, .45);
}

@media (max-width: 767px) {
    .page-id-5 #s-kontakt .uk-container > .uk-grid { padding: 48px 0; row-gap: 40px; }
    .page-id-5 #s-kontakt .hb-form .uk-input,
    .page-id-5 #s-kontakt .hb-form .uk-textarea { font-size: 16px; }
}
@media (max-width: 544px) {
    .page-id-5 #s-kontakt .hb-form .hb-feld-name > .uk-grid { flex-wrap: wrap; gap: 0; }
    .page-id-5 #s-kontakt .hb-form .hb-feld-name > .uk-grid > .el-item { flex: 1 1 100%; }
    .page-id-5 #s-kontakt .hb-form .hb-feld-name > .uk-grid > .el-item:first-child { padding-bottom: 22px; }
    .page-id-5 #s-kontakt .hb-form .hb-senden .uk-button { width: 100%; }
}

/* Seitenränder, damit Felder nicht am Bildschirmrand kleben (Abnahme 22.11.2026) */
@media (max-width: 1100px) {
    .page-id-5 #s-kontakt .uk-container { padding-left: 30px !important; padding-right: 30px !important; }
}
@media (max-width: 544px) {
    .page-id-5 #s-kontakt .uk-container { padding-left: 20px !important; padding-right: 20px !important; }
}
/* Bestätigungsdialog von Essentials im Stil der Seite statt blauem UIkit-Knopf */
.uk-modal-dialog .uk-modal-footer .uk-button-primary,
.uk-modal-dialog .uk-button-primary {
    border: 1px solid #b5a580; border-radius: 6px; background: #b5a580; color: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
}
.uk-modal-dialog .uk-button-primary:hover, .uk-modal-dialog .uk-button-primary:focus { background: #001007; border-color: #001007; color: #fff; }
