/* ============================================================
   SMARTWE CUSTOM CSS - BAUVISION VERSION 1.4
   ============================================================ */

/* 1. SCHRIFTART VON BAUVISION SERVER LADEN */
@import url('https://bauvision.de/wp-content/uploads/sites/2/generatepress/fonts/fonts.css?ver=1746176374');

/* Globaler Font-Reset */
#smartwe-onlineform-container, 
.onlineforms-body, 
input, 
button, 
label, 
textarea, 
select,
.sw-form-control,
li {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* 2. NACHRICHTEN-SEGMENT (ID-SPEZIFISCH) ELIMINIEREN */
/* Entfernt das Wort "Nachricht" und das dazugehörige Feld */
#LABEL_NOTES2, 
label#LABEL_NOTES2,
[id*="LABEL_NOTES"],
textarea,
[id*="NOTES"],
.sw-onlineforms-form-textarea-container {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

/* 3. BESCHRIFTUNGEN (LABELS) - OPTIK WIE <li> */
label, 
.sw-form-group label, 
.onlineforms-label,
.formlabel {
    display: block !important;
    font-weight: 400 !important;      /* Schlank wie Listentext */
    font-size: 16px !important;       /* Wie auf bauvision.de */
    color: #333333 !important;        /* Dunkelgrau */
    line-height: 1.6 !important;      
    margin-bottom: 5px !important;
    text-transform: none !important;
    width: 100% !important;
}

/* 4. EINGABEFELDER - FLACH & EINHEITLICHE BREITE */
.sw-form-control, 
input[type="text"], 
input[type="email"], 
input[type="tel"], 
select {
    height: 32px !important;          
    padding: 0 12px !important;       
    font-size: 16px !important;       
    line-height: 32px !important;     
    border: 1px solid #ced4da !important;
    border-radius: 2px !important;
    background-color: #ffffff !important;
    color: #333 !important;
    box-shadow: none !important;
    
    /* Absolute Gleichbreite erzwingen */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* 5. DER BLAUE BUTTON - (BASIEREND AUF DEM FUNKTIONIERENDEN CODE) */
#onlineforms-submit-button, 
button.onlineforms-submit-button, 
.sw-btn-primary, 
.btn-primary,
input[type="submit"] {
    /* ABSTAND NACH OBEN */
    margin-top: 20px !important;

    /* HINTERGRUND: Löscht Graustufen und Verläufe komplett */
    background: #003056 !important; 
    background-color: #003056 !important;
    background-image: none !important; 
    filter: none !important; 

    /* TEXT & SCHRIFT */
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    
    /* FORM & GRÖSSE (33% flacher) */
    width: 100% !important;
    padding: 12px 20px !important;    
    border: none !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    
    /* SYSTEM-STYLES AUSSCHALTEN */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    display: block !important;
    transition: background 0.2s ease !important;
}

/* HOVER-ZUSTAND */
#onlineforms-submit-button:hover, 
button.onlineforms-submit-button:hover, 
.sw-btn-primary:hover,
.btn-primary:hover {
    background: #004a99 !important;
    background-color: #004a99 !important;
    background-image: none !important;
}

/* 6. HINWEISTEXTE AUSBLENDEN / FEHLER BEHALTEN */
.errordiv, .onlineforms-field-hint {
    display: none !important;
}

.has-error .errordiv, .onlineforms-field-error, .was-validated .errordiv {
    display: block !important;
    color: #e30613 !important;      
    font-size: 13px !important;
    margin-top: 4px !important;
}

/* 7. ALLGEMEINE ABSTÄNDE */
.sw-form-group, .form-group {
    margin-bottom: 20px !important;
    width: 100% !important;
}

li {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333333 !important;
}