/* ==================================================
   KONTAKTFORMULAR
   gemeinsam fuer kontaktform.html und online-beratung.html (DE + EN)
   ================================================== */

.kontakt-leitsatz {
    font-family: "Monotype Corsiva", "Segoe Script", cursive;
    font-size: 25px;
    color: #555;
    text-align: center;
    margin: 6px 0 18px;
}

.kontakt-leitsatz p { margin: 0; }

.kontakt-einleitung {
    max-width: 650px;
    margin: 0 auto 16px;
    line-height: 1.55;
}

/* Vertrauens-Zeilen ueber dem Formular */
.kontakt-vorteile {
    max-width: 650px;
    margin: 0 auto 22px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

.kontakt-vorteile li {
    position: relative;
    margin: 0 0 4px;
    padding-left: 20px;
}

.kontakt-vorteile li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #585858;
    font-weight: 700;
}

.kontaktformular-box {
    max-width: 650px;
    margin: 0 auto 28px;
    padding: 22px;
    background: #f1f1f1;
    border-left: 4px solid #585858;
    box-sizing: border-box;
}


/* Abschnitte (wie Beratungsfragebogen) */
.fragebogen-schritt {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.fragebogen-schritt legend {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #c8c8c8;
}


/* Felder */
.formular-zeile { margin: 0 0 15px; }

.formular-zeile label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.formular-zeile label span { color: #585858; }

.formular-zeile input,
.formular-zeile select,
.formular-zeile textarea {
    display: block;
    width: 100%;
    padding: 10px 11px;
    background: #fff;
    color: #333;
    border: 1px solid #b8b8b8;
    border-radius: 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.35;
    box-sizing: border-box;
}

.formular-zeile input[type="file"] {
    padding: 8px;
    font-size: 13px;
    cursor: pointer;
}

.formular-zeile textarea {
    min-height: 145px;
    resize: vertical;
}

.formular-zeile input:focus,
.formular-zeile select:focus,
.formular-zeile textarea:focus {
    outline: 2px solid #585858;
    outline-offset: 0;
    border-color: #585858;
}

.formular-hinweis {
    display: block;
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #777;
}

/* Tipp, der je nach Auswahl erscheint */
.formular-tipp {
    margin: -4px 0 15px;
    padding: 10px 12px;
    background: #fff;
    border-left: 3px solid #585858;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

.formular-tipp[hidden] { display: none; }


/* Datenschutz-Checkbox */
.formular-datenschutz { margin: 18px 0 8px; }

.formular-datenschutz label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.formular-datenschutz input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex: 0 0 auto;
}

.formular-pflicht {
    margin: 7px 0 15px;
    font-size: 12px;
    color: #777;
}


/* Button */
.kontakt-senden {
    display: inline-block;
    padding: 12px 22px;
    background: #585858;
    color: #fff;
    border: 1px solid #585858;
    border-radius: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.kontakt-senden:hover,
.kontakt-senden:focus {
    background: #333;
    border-color: #333;
}

.kontakt-senden:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
}


/* Datenschutztext unter dem Formular */
.kontakt-datenschutztext {
    max-width: 650px;
    margin: 28px auto 35px;
    font-size: 12px;
    line-height: 1.55;
    color: #666;
}

.kontakt-datenschutztext h2 {
    margin: 0 0 9px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.kontakt-datenschutztext p { margin: 0 0 10px; }


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 650px) {
    .kontakt-leitsatz {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .kontaktformular-box {
        width: 100%;
        margin: 0 0 24px;
        padding: 16px;
    }

    /* 16px verhindert das automatische Zoomen auf dem iPhone */
    .formular-zeile input,
    .formular-zeile select,
    .formular-zeile textarea {
        font-size: 16px;
    }

    .kontakt-senden {
        display: block;
        width: 100%;
        padding: 13px 15px;
        font-size: 15px;
        text-align: center;
    }
}
