    /* Eintrags-Formular (von vergleiche24): Abschnitte 1–3 mit Nummer, Feldnamen über den Feldern, Button über die volle Breite.
       Einstellbar über CSS-Variablen (Block "Eintrag hinzufügen"); ohne Angabe Theme-Farbe bzw. Standard. */

    .bd-profiles-form {
        --pf-accent: var(--theme-palette-color-1, var(--theme-link-initial-color, #2271b1));
        max-width: 800px;
        margin: 0 auto;
        text-align: left;
    }

    .bd-profiles-form .bd-fields {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -8px;
    }

    .bd-profiles-form .bd-label {
        display: block;
        box-sizing: border-box;
        padding: 0 8px 16px 8px;
    }

    .bd-profiles-form .bd-w-100 { flex: 0 0 100%; }
    .bd-profiles-form .bd-w-70 { flex: 0 0 70%; }
    .bd-profiles-form .bd-w-50 { flex: 0 0 50%; }
    .bd-profiles-form .bd-w-30 { flex: 0 0 30%; }

    /* Abschnitte mit Nummer im Kreis und Trennlinie */

    .bd-profiles-form .bd-pf-section + .bd-pf-section {
        margin-top: 8px;
        padding-top: 24px;
        border-top: 1px solid var(--pf-divider, #e6e9ef);
    }

    .bd-profiles-form .bd-pf-head {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 0 16px 0;
    }

    .bd-profiles-form .bd-pf-no {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--pf-num-bg, var(--pf-accent));
        color: var(--pf-num-color, #fff);
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
    }

    .bd-profiles-form .bd-pf-heading {
        color: var(--pf-head-color, inherit);
        font-size: var(--pf-head-size, 24px);
        font-weight: 700;
        line-height: 1.2;
    }

    /* Feldnamen, Pflicht und optional */

    .bd-profiles-form .bd-label > .bd-title {
        display: block;
        padding: 0 0 6px 0;
        font-size: var(--pf-label-size, 15px);
        font-weight: 700;
    }

    .bd-profiles-form .bd-req {
        color: #d63638;
    }

    .bd-profiles-form .bd-opt {
        font-weight: normal;
        opacity: .6;
    }

    /* Eingabefelder */

    .bd-profiles-form .bd-label input[type="text"],
    .bd-profiles-form .bd-label input[type="email"],
    .bd-profiles-form .bd-label input[type="tel"],
    .bd-profiles-form .bd-label textarea {
        display: block;
        box-sizing: border-box;
        width: 100%;
        min-height: 48px;
        padding: 11px 14px;
        border: 1px solid var(--pf-field-border, #d5dbe5);
        border-radius: var(--pf-field-radius, 8px);
        background: var(--pf-field-bg, #fff);
        font-size: var(--pf-field-size, 16px);
        box-shadow: none;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

    .bd-profiles-form .bd-label input::placeholder,
    .bd-profiles-form .bd-label textarea::placeholder {
        color: #9aa3af;
        opacity: 1;
    }

    .bd-profiles-form .bd-label input:focus,
    .bd-profiles-form .bd-label textarea:focus {
        outline: none;
        border-color: var(--pf-accent);
        box-shadow: inset 0 0 0 1px var(--pf-accent);
    }

    /* Branchen */

    .bd-profiles-form .bd-cats {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 6px 16px;
        max-height: 260px;
        overflow-y: auto;
        padding: 12px 14px;
        border: 1px solid var(--pf-field-border, #d5dbe5);
        border-radius: var(--pf-field-radius, 8px);
        background: var(--pf-field-bg, #fff);
    }

    .bd-profiles-form .bd-cat {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        cursor: pointer;
    }

    /* Datenschutz */

    .bd-profiles-form .bd-label-checkbox {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
    }

    .bd-profiles-form .bd-label-checkbox > input {
        flex: 0 0 auto;
        width: 20px;
        height: 20px;
        margin: 2px 0 0 0;
        accent-color: var(--pf-accent);
    }

    /* Fehler */

    .bd-profiles-form .bd-label.bd-fault input,
    .bd-profiles-form .bd-label.bd-fault textarea,
    .bd-profiles-form .bd-label.bd-fault .bd-cats {
        border-color: #d63638;
        box-shadow: inset 0 0 0 1px #d63638;
    }

    .bd-profiles-form .bd-label-checkbox.bd-fault > span {
        color: #d63638;
    }

    .bd-profiles-form .bd-hp {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }

    /* Button über die volle Breite, Hinweis darunter */

    .bd-profiles-form .bd-submit {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        min-height: 54px;
        margin: 4px 0 0 0;
        padding: 12px 24px;
        border: 0;
        border-radius: 999px;
        background: var(--pf-btn-bg, var(--pf-accent));
        color: var(--pf-btn-color, #fff);
        font-size: var(--pf-btn-size, 18px);
        font-weight: 700;
        cursor: pointer;
        transition: filter .15s ease, box-shadow .15s ease;
    }

    .bd-profiles-form .bd-submit:hover {
        filter: brightness(.92);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    }

    .bd-profiles-form .bd-submit-icon {
        flex: 0 0 auto;
    }

    .bd-profiles-form .bd-pf-note {
        margin: 12px 0 0 0;
        font-size: 14px;
        text-align: center;
        opacity: .75;
    }

    .bd-profiles-form .bd-pf-note:empty {
        display: none;
    }

    .bd-profiles-form.bd-load .bd-submit {
        opacity: .5;
        pointer-events: none;
    }

    .bd-profiles-form .bd-info-con:not(:empty) {
        margin: 0 0 16px 0;
    }

    /* älteres Formular (ohne Abschnitte): Fußzeile mit Pflichtfeld-Hinweis */

    .bd-profiles-form .bd-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .bd-profiles-form .bd-footer .bd-submit {
        width: auto;
    }

    .bd-profiles-form .bd-required-info {
        font-size: 14px;
        opacity: .7;
    }

    @media (max-width: 600px) {

        .bd-profiles-form .bd-w-70,
        .bd-profiles-form .bd-w-50,
        .bd-profiles-form .bd-w-30 { flex: 0 0 100%; }

    }

    /* Feldname im Feld (wie im Lead-Formular): leer steht er als Platzhalter im Feld; beim Anklicken bzw. ausgefüllt
       sitzt er oben in der Rahmenlinie des Feldes */

    .bd-profiles-form .bd-float {
        position: relative;
    }

    .bd-profiles-form .bd-float-label {
        position: absolute;
        z-index: 2;
        top: 0;
        left: 20px;
        transform: translateY(-50%);
        max-width: calc(100% - 40px);
        overflow: hidden;
        padding: 0 6px;
        background: var(--pf-field-bg, #fff);
        color: var(--pf-accent);
        font-size: var(--pf-label-size, 12px);
        font-weight: 600;
        line-height: 1.3;
        white-space: nowrap;
        text-overflow: ellipsis;
        pointer-events: none;
        opacity: 0;
        transition: opacity .15s ease;
    }

    .bd-profiles-form .bd-float:focus-within .bd-float-label,
    .bd-profiles-form .bd-float input:not(:placeholder-shown) ~ .bd-float-label,
    .bd-profiles-form .bd-float textarea:not(:placeholder-shown) ~ .bd-float-label,
    .bd-profiles-form .bd-float input:-webkit-autofill ~ .bd-float-label {
        opacity: 1;
    }

    .bd-profiles-form .bd-float:focus-within input::placeholder,
    .bd-profiles-form .bd-float:focus-within textarea::placeholder {
        color: transparent;
    }

    /* ausgefüllt: Rahmen in der Akzentfarbe (wie beim Fokus) */

    .bd-profiles-form .bd-float input:not(:placeholder-shown),
    .bd-profiles-form .bd-float textarea:not(:placeholder-shown) {
        border-color: var(--pf-accent);
    }

    .bd-profiles-form .bd-float.bd-fault .bd-float-label {
        color: #d63638;
    }

    /* Platzhalter = Feldname: in der Textfarbe der Felder etwas heller */

    .bd-profiles-form .bd-float input::placeholder,
    .bd-profiles-form .bd-float textarea::placeholder {
        color: #8a94a3;
    }
