/* bazuba-leads form styling — minimal, theme-kompatibel, CSS-Variablen für Override */

/* ============================================================
   BUTTON-SCHUTZ gegen Theme-Overrides (Hello Elementor stylt jedes <button>
   schwarz, 25px-Radius, breites Padding). Zwei Ebenen:
   1) Genereller Reset für ALLE Plugin-Buttons: neutralisiert die Eigenschaften,
      die kein Plugin-Button je vom Theme will (Größe/Schrift/Transform).
      Background/Radius/Padding bleiben bewusst frei → der Submit-Button setzt
      sie selbst, Icon-Buttons über .bzbl-iconbtn.
   2) .bzbl-iconbtn: wiederverwendbarer transparenter Icon-Button (Schließen,
      Entfernen …). Künftige Icon-Buttons einfach class="… bzbl-iconbtn" geben.
   ============================================================ */
.bzbl-form button,
.bzbl-exit button,
.bzbl-ablauf button {
    -webkit-appearance: none !important;
    appearance: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    font-family: inherit !important;
}
.bzbl-iconbtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    color: #8a8f99 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.bzbl-iconbtn:hover {
    background: #f0f1f3 !important;
    color: #1a1a2e !important;
    transform: none !important;
}
.bzbl-iconbtn svg { width: 18px !important; height: 18px !important; display: block; }

/* Überschriften an die globale Elementor-Schrift koppeln (Gilroy Bold) — Body erbt Gilroy Regular */
.bzbl-form__col-title,
.bzbl-thank-you__headline,
.bzbl-ablauf__title,
.bzbl-ablauf__step h4,
.bzbl-exit__title,
.bzbl-vn__title,
.bzbl-ms__title {
    font-family: var(--e-global-typography-primary-font-family, "Gilroy Bold"), "DM Sans", system-ui, -apple-system, sans-serif !important;
}

.bzbl-form {
    --bzbl-accent: #1eaf9b;
    --bzbl-accent-dark: #178a7a;
    --bzbl-border: rgba(0, 0, 0, 0.15);
    --bzbl-bg: #fafafa;
    --bzbl-text: #222;
    --bzbl-muted: #888;
    --bzbl-error: #d63d3d;
    --bzbl-radius: 10px;
    --bzbl-field-gap: 16px;
    --bzbl-autofill-bg: #fafafa; /* autoausgefüllte Felder sehen aus wie normale (nicht blau) */
    --bzbl-field-height: 56px;   /* einheitliche Höhe Single-Line-Felder */
    font-family: inherit !important;
    color: var(--bzbl-text);
    width: 100%;
    /* Kein max-width default → Form nimmt volle Container-Breite ein.
       Einschränkung via Shortcode-Attribut max_width="..." auf inline style.
       Über Container hinauswachsen via full_bleed="1" Attribut. */
    margin: 0 auto;
    padding: 48px;
    background: #fff;
    border: 2px solid var(--bzbl-border);
    border-radius: var(--bzbl-radius);
    box-sizing: border-box;
}
.bzbl-form *,
.bzbl-form *::before,
.bzbl-form *::after {
    box-sizing: border-box;
}
.bzbl-form__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 24px;
    align-items: stretch;
}
.bzbl-form__col {
    display: flex;
    flex-direction: column;
}
.bzbl-form__col > .bzbl-field {
    flex-shrink: 0;
}
.bzbl-form__col > .bzbl-field--grow {
    flex: 1;
}

/* Coverage-Bestätigung ("bazuba ist in [Ort] für Sie da") darf die Spalten-Ausrichtung nicht
   verschieben. Sie wird per JS als Geschwister direkt NACH dem PLZ-Feld in die linke Spalte
   gesetzt; im Fluss würde sie die linke Spalte (und damit die mitwachsende Textarea rechts)
   verlängern → die Unterkanten lägen nicht mehr auf einer Linie. Ab Tablet/Desktop hängt sie
   daher absolut UNTER dem PLZ-Feld (zählt nicht zur Spaltenhöhe): PLZ-Feld links und Textarea
   rechts schließen bündig ab, auch wenn die PLZ erkannt wird. Mobil (eine Spalte, Textarea
   wächst nicht) bleibt sie im normalen Fluss direkt unter dem Feld. */
@media (min-width: 769px) {
    .bzbl-form__columns > .bzbl-form__col:first-child { position: relative; }
    .bzbl-form__col > .bzbl-coverage {
        position: absolute;
        /* top:100% landet am Spalten-Boden, der die ~13px Untermarge des PLZ-Felds einschließt
           → wirkte vom Feld gelöst. -9px holt die Zeile dicht ans Feld (gemessen ~4px Abstand). */
        top: calc(100% - 9px);
        left: 0;
        right: 0;
        margin: 0;
    }
    /* Platz reservieren, solange die (absolut hängende) Coverage-Zeile sichtbar ist, damit sie
       den darunterliegenden Datei-Upload nicht überlappt und sauber davon getrennt ist
       (gemessen ~29px Abstand). :has wird im Stack bereits genutzt. */
    .bzbl-form__columns:has(.bzbl-coverage:not([hidden])) {
        margin-bottom: 36px;
    }
}

/* Full-Bleed: Form wächst über den Eltern-Container hinaus auf 100vw.
   Wird via Shortcode-Attribut full_bleed="1" aktiviert. */
.bzbl-form--fullbleed {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

/* Tablet (Portrait + kleine Landscape): 2-Spalten beibehalten, aber kompakter */
@media (min-width: 769px) and (max-width: 1023px) {
    .bzbl-form { padding: 28px; }
    .bzbl-form__columns { gap: 28px; }
}

/* Mobile: alles eine Spalte, Submit voll breit für Touch */
@media (max-width: 768px) {
    .bzbl-form {
        padding: 20px;
        border-radius: 6px;
    }
    .bzbl-form__columns {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 18px;
    }
    .bzbl-form__col > .bzbl-field--grow {
        flex: 0;
    }
    .bzbl-form__col-title {
        font-size: 17px;
        margin-bottom: 16px;
    }
    .bzbl-form__submit {
        margin-top: 24px;
    }
    .bzbl-form__btn {
        width: 100%;
        padding: 16px 24px;
    }
    .bzbl-field--checkbox {
        margin-top: 16px;
    }
    .bzbl-field--upload .bzbl-upload__zone {
        min-height: 80px;
        padding: 14px 12px;
    }
}

.bzbl-form__col-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--bzbl-text);
    letter-spacing: -0.01em;
}
.bzbl-form__col-optional {
    font-size: 0.65em;
    font-weight: 400;
    color: var(--bzbl-muted);
    letter-spacing: 0;
}
.bzbl-field {
    margin-bottom: 14px;
    position: relative;
}
.bzbl-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}
.bzbl-required {
    color: var(--bzbl-accent);
}
/* Feld-Hinweistext (erklärt z.B. warum PLZ/Ort gebraucht wird). Sitzt als Geschwister direkt
   unter dem Feld; das Feld bekommt dann weniger Bottom-Margin, der Hinweis trägt den Abstand
   zum nächsten Feld. Compound-Selektor, damit Media-Query-Overrides von --floating nicht gewinnen. */
.bzbl-field--floating.bzbl-field--has-hint { margin-bottom: 6px; }
.bzbl-field__hint {
    margin: 0 0 16px;
    padding: 0 4px;
    /* Identisch zur Chips-Legende („Wann erreichen wir Sie…") + den Feld-Labels (14px/500),
       damit die zwei grauen Zeilen im Rückruf-Modal nicht „fast, aber nicht ganz gleich" wirken.
       Bewusst nicht kleiner: <12px wäre für die 45+/Senioren-Zielgruppe schlechter lesbar. */
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--bzbl-muted, #888);
}
.bzbl-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.bzbl-field input[type="text"],
.bzbl-field input[type="email"],
.bzbl-field input[type="tel"],
.bzbl-field textarea,
.bzbl-field select {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--bzbl-text);
    background: var(--bzbl-bg);
    border: 2px solid var(--bzbl-border);
    border-radius: var(--bzbl-radius);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
    line-height: 1.4;
}
/* Select: nativer Dropdown-Pfeil aus, eigener Chevron als Background-SVG direkt
   am Select (kein Pseudo-Element/Gradient-Hack mehr → sauberer, fett-tauglich). */
.bzbl-field--floating select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 9px;
    padding-right: 44px;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bzbl-field--floating select:focus {
    /* Chevron bei Focus in Akzentfarbe */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%231eaf9b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
}
/* Optionsliste (aufgeklappt): lesbar, normal-gewichtet (Browser-abhängig stylbar) */
.bzbl-field--floating select option {
    font-weight: 400;
    color: var(--bzbl-text);
    background: #fff;
    padding: 8px 10px;
}
.bzbl-field--floating select option:checked {
    font-weight: 600;
}
.bzbl-field input:focus,
.bzbl-field textarea:focus,
.bzbl-field select:focus {
    border-color: var(--bzbl-accent);
    box-shadow: 0 0 0 3px rgba(30, 175, 155, 0.15);
}
.bzbl-field textarea {
    resize: vertical;
    min-height: 140px;
    padding: 16px;
}

/* Outlined-Label-Pattern: Label sitzt IMMER oben im Border, wie Material-Design-Outlined-Inputs.
   Konsistent zwischen Inputs, Select und Textarea (keine Höhen-abhängige Mittel-Positionierung). */
.bzbl-field--floating {
    position: relative;
    margin-bottom: var(--bzbl-field-gap);
}
.bzbl-field--floating label {
    position: absolute;
    left: 10px;
    top: -9px;
    padding: 1px 7px;
    margin: 0;
    pointer-events: none;
    color: var(--bzbl-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    background: #fff;
    border-radius: 6px;          /* runde Ecken für den Label-Hintergrund (das "Kasterl") */
    z-index: 1;
    transition: color .15s ease;
}
/* Bei Focus oder ausgefülltem Feld: Akzentfarbe für Label.
   WICHTIG: input:not([type="hidden"]) — sonst matchen die versteckten Hidden-Felder
   des Autocomplete (plz/city/region/country) die :not(:placeholder-shown)-Regel
   (hidden inputs haben keinen Placeholder = gelten als "gefüllt") und färben das
   PLZ-Label dauerhaft grün, auch wenn das sichtbare Feld leer ist. */
.bzbl-field--floating input:not([type="hidden"]):not([type="file"]):focus ~ label,
.bzbl-field--floating input:not([type="hidden"]):not([type="file"]):not(:placeholder-shown) ~ label,
.bzbl-field--floating textarea:focus ~ label,
.bzbl-field--floating textarea:not(:placeholder-shown) ~ label,
.bzbl-field--floating select:focus ~ label,
.bzbl-field--floating select.bzbl-has-value ~ label,
.bzbl-field--floating .bzbst-input-wrap:has(input:focus) ~ label,
.bzbl-field--floating .bzbst-input-wrap:has(input.bzbl-has-value) ~ label,
.bzbl-field--floating input.bzbl-has-value ~ label {
    color: var(--bzbl-accent);
}

/* Grow-Field (Textarea in einer Spalte): nimmt restliche Spalten-Höhe ein */
.bzbl-field--grow {
    display: flex;
    flex-direction: column;
}
.bzbl-field--grow textarea {
    flex: 1;
    height: auto;
    min-height: 140px;
}

/* Autofill-Erkennung (Chrome/WebKit): füllt der Browser das PLZ/Ort-Feld automatisch, feuert
   animationstart mit diesem Keyframe → das JS (autoResolveLocation) löst den Wert dann zur
   vollständigen Auswahl auf (Hidden-plz + Coverage), damit der Submit nicht scheitert. */
@keyframes bzbl-autofill-detect { from { } to { } }
.bzbl-form input[data-bzbl-autocomplete]:-webkit-autofill {
    animation-name: bzbl-autofill-detect;
    animation-duration: 0.001s;
}

/* Autocomplete-Dropdown vom bazuba-standorte: Override für sauberes Lead-Form-Styling.
   bazuba-standorte CSS wird NACH bazuba-leads CSS geladen — wir brauchen daher
   !important + Stacking-Context (Field bekommt z-index wenn Dropdown offen ist). */
.bzbl-form .bzbst-input-wrap {
    position: relative !important;
    width: 100% !important;
    flex: none !important;
    min-width: 0 !important;
}
.bzbl-form .bzbl-field--floating:focus-within {
    /* Wenn das Autocomplete-Input fokussiert ist (= Dropdown offen),
       hebt das Field-Container über alle Geschwister. */
    z-index: 9999;
}
.bzbl-form .bzbst-suggestions {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 4px) !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding: 6px !important;
    list-style: none !important;
    background: #fff !important;
    background-color: #fff !important;
    border: 2px solid var(--bzbl-border) !important;
    border-radius: var(--bzbl-radius) !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18) !important;
    box-sizing: border-box !important;
}
.bzbl-form .bzbst-suggestion {
    display: grid !important;
    grid-template-columns: 56px 1fr auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 1px !important;
    align-items: center !important;
    padding: 9px 12px !important;
    cursor: pointer !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    background: transparent !important;
    transition: background .1s ease !important;
}
.bzbl-form .bzbst-suggestion + .bzbst-suggestion {
    margin-top: 2px !important;
}
.bzbl-form .bzbst-suggestion:hover,
.bzbl-form .bzbst-suggestion.is-active {
    background: var(--bzbl-bg) !important;
}
.bzbl-form .bzbst-suggestion--info {
    display: block !important;
    color: var(--bzbl-muted) !important;
    font-style: italic !important;
    text-align: center !important;
    cursor: default !important;
    pointer-events: none !important;
}
.bzbl-form .bzbst-suggestion--info:hover {
    background: transparent !important;
}
.bzbl-form .bzbst-suggestion__plz {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    font-weight: 600 !important;
    color: var(--bzbl-text) !important;
}
.bzbl-form .bzbst-suggestion__city {
    grid-column: 2 !important;
    grid-row: 1 !important;
    color: var(--bzbl-text) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.bzbl-form .bzbst-suggestion__region {
    grid-column: 2 !important;
    grid-row: 2 !important;
    color: var(--bzbl-muted) !important;
    font-size: 11px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.bzbl-form .bzbst-suggestion__country {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    color: var(--bzbl-muted) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    background: rgba(0,0,0,0.06) !important;
    padding: 3px 6px !important;
    border-radius: 3px !important;
}

/* HINWEIS: Früher rutschte hier das Autocomplete-Label bei Focus/Eingabe auf
   top:5px nach unten ins Feld (Überbleibsel vom alten Floating-Pattern vor der
   Outlined-Umstellung). Das war inkonsistent zu den übrigen Feldern, deren Label
   IMMER oben im Border sitzt. Regel entfernt — das Label bleibt jetzt über die
   Basis-Regel (.bzbl-field--floating label, top:-9px) konstant oben, die
   Akzentfarbe bei Focus/Value kommt aus dem :has()-Block weiter oben. */

/* Clear-Button (schwarzes X) für das PLZ/Ort-Autocomplete-Feld.
   Wird per JS in den .bzbl-field--floating Container eingefügt und nur
   sichtbar wenn das Feld gefüllt ist. Weißer Verlauf hinter dem X damit
   der Text darunter nicht reinläuft (analog zum Gradient beim Select). */
.bzbl-field--has-clear .bzbl-field__clear {
    position: absolute;
    top: 2px;
    bottom: 2px;
    right: 2px;
    width: 56px;
    display: none;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px 0 24px;
    margin: 0;
    border: none;
    background: linear-gradient(to right,
        rgba(250, 250, 250, 0) 0%,
        var(--bzbl-bg) 45%,
        var(--bzbl-bg) 100%);
    color: #000;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    pointer-events: auto;
    z-index: 3;
    transition: color .15s ease, transform .1s ease;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
}
.bzbl-field--has-clear .bzbl-field__clear svg {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}
.bzbl-field--has-clear .bzbl-field__clear:hover {
    color: var(--bzbl-accent-dark);
}
.bzbl-field--has-clear .bzbl-field__clear:active {
    transform: scale(0.92);
}
.bzbl-field--has-clear .bzbl-field__clear:focus {
    outline: 2px solid var(--bzbl-accent);
    outline-offset: -2px;
}
/* Sichtbar wenn Feld gefüllt — Klasse wird vom JS auf den Container gesetzt */
.bzbl-field--clearable .bzbl-field__clear {
    display: flex;
}
/* Beim sichtbaren X: Platz für Cursor im Input freihalten, damit Text und X
   sich nicht überlappen. Padding-right vom Wrap-Input erhöhen. */
.bzbl-field--clearable .bzbst-input-wrap input,
.bzbl-field--clearable input[data-bzbl-autocomplete="1"] {
    padding-right: 52px !important;
}
.bzbl-field--checkbox {
    display: flex;
    align-items: flex-start;
    justify-content: center;   /* zentriert, passend zum Button + Trust-Bar darunter */
    gap: 10px;
    margin-top: 20px;
}
.bzbl-field--checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--bzbl-accent);
    width: 16px;
    height: 16px;
}
.bzbl-field--checkbox span {
    font-size: 13px;
    line-height: 1.4;
}
.bzbl-field--checkbox a {
    color: var(--bzbl-accent);
}
/* ============================================================
   DATEI-UPLOAD (.bzbl-field--upload) — Outlined-Feld wie die anderen,
   mit Drop-Zone, Kamera/Galerie, Downscaling-Vorschau (Thumbnails).
   ============================================================ */
.bzbl-field--upload {
    margin-bottom: var(--bzbl-field-gap);
}
.bzbl-upload__input {
    /* nur Picker — visuell entfernt, aber bedienbar (kein display:none wegen .click()) */
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    border: 0;
}
.bzbl-upload__zone {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    min-height: 0;
    padding: 12px 16px;
    background: var(--bzbl-bg);
    border: 2px dashed var(--bzbl-border);
    border-radius: var(--bzbl-radius);
    text-align: center;
    cursor: pointer;
    outline: none;
    transition: border-color .15s ease, background .15s ease;
}
.bzbl-upload__zone:hover,
.bzbl-upload__zone:focus-visible,
.bzbl-upload__zone.is-dragover {
    border-color: var(--bzbl-accent);
    background: #f3fbf9;
}
.bzbl-upload__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--bzbl-muted);
}
.bzbl-upload__zone:hover .bzbl-upload__icon,
.bzbl-upload__zone.is-dragover .bzbl-upload__icon {
    color: var(--bzbl-accent);
}
.bzbl-upload__icon svg { width: 100%; height: 100%; display: block; }
.bzbl-upload__cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--bzbl-text);
}
.bzbl-upload__benefit {
    flex-basis: 100%;   /* eigene Zeile: Nutzen-Hinweis, akzentuiert */
    font-size: 12px;
    font-weight: 600;
    color: var(--bzbl-accent);
}
.bzbl-upload__hint {
    flex-basis: 100%;   /* eigene Zeile unter Icon + CTA */
    font-size: 11px;
    color: var(--bzbl-muted);
}
/* Thumbnail-Liste der gewählten Dateien */
.bzbl-upload__list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bzbl-upload__list:empty { display: none; }
.bzbl-upload__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 6px 4px 4px;
    background: var(--bzbl-bg);
    border: 1px solid var(--bzbl-border);
    border-radius: 8px;
}
.bzbl-upload__thumb {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bzbl-upload__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bzbl-upload__thumb--doc {
    font-size: 11px;
    font-weight: 700;
    color: var(--bzbl-muted);
    border: 1px solid var(--bzbl-border);
}
.bzbl-upload__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
}
.bzbl-upload__name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--bzbl-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bzbl-upload__size {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--bzbl-muted);
}
/* Theme (Elementor) vererbt eine line-height von ~32px auf die Text-Spans, wodurch
   der Name-Block höher als der Thumbnail wird und das Item aufbläht (Abstand oben/unten
   > links). Normale line-height erzwingen → Thumbnail bestimmt die Höhe, Abstände rundum gleich. */
.bzbl-upload__meta,
.bzbl-upload__name,
.bzbl-upload__size {
    line-height: 1.3 !important;
}
.bzbl-upload__remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--bzbl-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}
.bzbl-upload__remove svg { width: 14px; height: 14px; display: block; }
.bzbl-upload__remove:hover { color: var(--bzbl-error); background: #fef2f2; }
/* THEME-OVERRIDE: Elementor stylt <button> schwarz/pill — Remove-Button absichern */
.bzbl-form button.bzbl-upload__remove,
.bzbl-form button.bzbl-upload__remove:hover,
.bzbl-form button.bzbl-upload__remove:focus,
.bzbl-form button.bzbl-upload__remove:active {
    width: 28px !important;
    height: 28px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 6px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    color: var(--bzbl-muted);
}
.bzbl-form button.bzbl-upload__remove:hover {
    background: #fef2f2 !important;
    background-color: #fef2f2 !important;
    color: var(--bzbl-error) !important;
}
/* Label akzentfarbig sobald Dateien gewählt sind */
.bzbl-field--upload.bzbl-upload--has-files > label {
    color: var(--bzbl-accent);
}
.bzbl-form__submit {
    margin-top: 22px;
    text-align: center;
}
/* Theme-Override-fest: Hello Elementor stylt <button>:hover rosa + 25px-Radius.
   !important auf den Schlüssel-Properties erzwingt die Plugin-Optik (schwarz,
   Hover = Akzent-dunkel, nicht rosa). Gilt auch für die Multi-Step-Buttons. */
.bzbl-form .bzbl-form__btn {
    background: var(--bzbl-text) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--bzbl-radius) !important;
    cursor: pointer;
    transition: transform .1s ease, background .15s ease;
    font-family: inherit;
    box-shadow: none !important;
}
.bzbl-form .bzbl-form__btn:hover {
    background: var(--bzbl-accent-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.bzbl-form .bzbl-form__btn:active { transform: translateY(1px); }
.bzbl-form .bzbl-form__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
/* Trust-Anker direkt unter dem Submit-Button (Feature 1) — Social Proof +
   Risiko-Umkehr am Point of Action. */
.bzbl-form__trustbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 22px;
    margin-top: 22px;
    font-size: 13.5px;
    color: var(--bzbl-text);
}
.bzbl-form__trustbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.bzbl-form__trustbar-item strong { font-weight: 700; }
.bzbl-form__trustbar-stars {
    color: #f5b921;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 1;
}
.bzbl-form__trustbar-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bzbl-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
/* Live-Verfügbarkeit unter dem PLZ-Feld (Feature 5) — erscheint nur, wenn ein
   Partner die Region abdeckt. */
.bzbl-coverage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: -6px 0 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--bzbl-text);
    line-height: 1.35;
    animation: bzbl-coverage-in .25s ease;
}
.bzbl-coverage[hidden] { display: none; }
.bzbl-coverage__msg { display: flex; align-items: center; gap: 8px; }
.bzbl-coverage strong { font-weight: 700; color: var(--bzbl-accent-dark, #147d6f); }
/* Direktnummer des zuständigen Partners (Anruf geht an den Partner, nicht die Zentrale). */
.bzbl-coverage__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    align-self: flex-start;
    max-width: 100%;
    padding: 11px 18px;
    border-radius: var(--bzbl-radius, 10px);
    background: var(--bzbl-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease, transform .05s ease;
}
.bzbl-coverage__call:hover { background: var(--bzbl-accent-dark, #147d6f); color: #fff; }
.bzbl-coverage__call:active { transform: translateY(1px); }
.bzbl-coverage__call:focus-visible { outline: 2px solid var(--bzbl-accent-dark, #147d6f); outline-offset: 2px; }
.bzbl-coverage__call svg { width: 17px; height: 17px; flex-shrink: 0; }
/* Icon-Füllung explizit weiß erzwingen — Theme/Elementor setzen svg-fill teils global (grau). */
.bzbl-coverage__call svg, .bzbl-coverage__call svg path { fill: #fff !important; }
/* Textfarbe ebenso explizit weiß erzwingen — das Theme färbt <a>-Links global grau (#9e9e9e),
   das schlägt sonst unser color:#fff (gemessen: Button-Text war rgb(158,158,158)). */
.bzbl-coverage__call,
.bzbl-coverage__call:hover,
.bzbl-coverage__call:focus,
.bzbl-coverage__call span { color: #fff !important; }
/* Mobil: Button über die volle Breite, damit die Nummer mit nowrap sicher passt. */
@media (max-width: 768px) {
    .bzbl-coverage__call { align-self: stretch; }
}
/* Partnernummer kopieren (identisch zu den Standort-Cards):
   - Desktop/Maus: Klick auf den Button kopiert die Nummer (Anrufen per Klick bringt dort nichts) →
     Kopier-Cursor + kurze „Kopiert!"-Rückmeldung. Drag-Markieren bleibt zusätzlich möglich.
   - Touch: Tippen ruft an, langes Drücken bietet nativ „Kopieren".
   Button selbst nicht-markierbar/-ziehbar (sonst greift der Browser beim Ziehen den Link), nur die Nummer ist auswählbar. */
.bzbl-coverage__call { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-user-drag: none; }
.bzbl-coverage__num { -webkit-user-select: text; -moz-user-select: text; user-select: text; }
@media (hover: hover) and (pointer: fine) {
    .bzbl-coverage__call { cursor: copy; }
}
/* „Kopiert!"-Rückmeldung: Text bleibt weiß (Button ist grün, Akzentgrün wäre dort unsichtbar), nur fett. */
.bzbl-coverage__num.is-copied { font-weight: 700; }

/* ── Chips: kompakte Einfach-Auswahl als Button-Reihe (Feldtyp 'chips') ──────── */
.bzbl-field--chips { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.bzbl-field--chips legend {
    display: block; float: none; width: auto; padding: 0; margin: 0 0 9px;
    font-size: 14px; font-weight: 500; color: var(--bzbl-muted, #6b7280);
}
.bzbl-chips { display: flex; flex-wrap: wrap; gap: 9px; }
/* Chips füllen die Reihe gleichmäßig über die volle Breite (flex:1 je Chip). */
.bzbl-chip { position: relative; display: flex; flex: 1 1 0; min-width: 0; margin: 0; }
.bzbl-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.bzbl-chip span {
    display: block; width: 100%; text-align: center; padding: 11px 14px;
    border: 1.5px solid #d9dee5; border-radius: 999px;
    background: #fff; color: var(--bzbl-text, #2b2b2b);
    font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.bzbl-chip span:hover { border-color: var(--bzbl-accent, #1eaf9b); }
.bzbl-chip input:checked + span {
    border-color: var(--bzbl-accent, #1eaf9b);
    background: rgba(30, 175, 155, .10);
    color: var(--bzbl-accent-dark, #147d6f);
}
.bzbl-chip input:focus-visible + span { outline: 2px solid var(--bzbl-accent, #147d6f); outline-offset: 2px; }

/* A11y: sichtbarer Tastatur-Fokus auf Auswahlkacheln. Der programmatische Fokus auf die
   Schritt-Überschrift (nur zur Screenreader-Ansage) bekommt bewusst keinen Rahmen. */
.bzbl-ms__tile:focus-visible { outline: 2px solid var(--bzbl-accent, #1eaf9b); outline-offset: 2px; }
.bzbl-ms__title:focus { outline: none; }
.bzbl-coverage__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--bzbl-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
@keyframes bzbl-coverage-in {
    from { opacity: 0; transform: translateY(-3px); }
    to   { opacity: 1; transform: translateY(0); }
}
.bzbl-form__status {
    margin-top: 16px;
    padding: 12px;
    background: #f0f8f6;
    border-left: 4px solid var(--bzbl-accent);
    border-radius: 4px;
    font-size: 14px;
}
.bzbl-form__status--error {
    background: #fef6f5;
    border-left-color: var(--bzbl-error);
    color: var(--bzbl-error);
}
.bzbl-thank-you {
    max-width: 720px;
    padding: 24px 0;
    text-align: left;
}
.bzbl-thank-you__headline {
    color: var(--bzbl-accent, #1eaf9b) !important;
    font-size: 60px !important;
    line-height: 1.1 !important;
    margin: 0 0 48px !important;
    font-weight: 700 !important;
}
.bzbl-thank-you__body {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 18px;
}
.bzbl-thank-you__service {
    margin-top: 24px;
    color: #666;
    font-size: 14px;
}
.bzbl-thank-you__signature {
    margin-top: 56px !important;
    font-weight: 700 !important;
}
.bzbl-thank-you__signature strong {
    font-weight: 700 !important;
}

/* Tablet + Mobile: zentriert. Nur Desktop ab 1024px linksbündig. */
@media (max-width: 1023px) {
    .bzbl-thank-you {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .bzbl-thank-you {
        padding: 16px 0;
    }
    .bzbl-thank-you__headline {
        font-size: 40px !important;
        margin-bottom: 36px !important;
    }
    .bzbl-thank-you__body {
        font-size: 16px;
    }
    .bzbl-thank-you__signature {
        margin-top: 44px !important;
    }
}
.bzbl-error {
    padding: 16px;
    background: #fef6f5;
    border-left: 4px solid #d63d3d;
    color: #d63d3d;
    border-radius: 4px;
}

/* ============================================================
   AUTOFILL-STYLING (Chrome / Safari / Edge)
   ============================================================
   Browser legen bei automatisch ausgefüllten Feldern (Name, Tel,
   E-Mail …) einen eigenen blauen/gelben Hintergrund drüber, der sich
   NICHT per background-color überschreiben lässt. Mit einem großen
   inset box-shadow in der NORMALEN Feldfarbe (--bzbl-autofill-bg =
   #fafafa) überdecken wir ihn, sodass autoausgefüllte Felder genauso
   aussehen wie alle anderen (kein blaues Highlight). Der box-shadow
   folgt der border-radius des Feldes → runde Ecken. Die lange
   transition verhindert das Aufblitzen der Browser-Default-Farbe. */
.bzbl-field input:-webkit-autofill,
.bzbl-field input:-webkit-autofill:hover,
.bzbl-field textarea:-webkit-autofill,
.bzbl-field select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--bzbl-autofill-bg) inset;
    box-shadow: 0 0 0 1000px var(--bzbl-autofill-bg) inset;
    -webkit-text-fill-color: var(--bzbl-text);
    caret-color: var(--bzbl-text);
    border-radius: var(--bzbl-radius); /* runde Ecken für den Autofill-Hintergrund */
    transition: background-color 5000s ease-in-out 0s;
}
/* Bei Focus: Autofill-Background + unser Akzent-Focus-Ring kombiniert */
.bzbl-field input:-webkit-autofill:focus,
.bzbl-field textarea:-webkit-autofill:focus,
.bzbl-field select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--bzbl-autofill-bg) inset, 0 0 0 3px rgba(30, 175, 155, 0.15);
    box-shadow: 0 0 0 1000px var(--bzbl-autofill-bg) inset, 0 0 0 3px rgba(30, 175, 155, 0.15);
    border-color: var(--bzbl-accent);
    border-radius: var(--bzbl-radius);
    -webkit-text-fill-color: var(--bzbl-text);
}

/* ============================================================
   THEME-OVERRIDE-SCHUTZ (Hello Elementor u.a.)
   ============================================================
   Themes setzen eigene input-Styles (font-weight, line-height,
   min-height/height) die die vertikale Zentrierung des Texts
   verschieben und den Text fett rendern. Höhere Specificity
   (.bzbl-form .bzbl-field input = 0,3,1) schlägt Theme-Selektoren
   sicher. Padding bleibt symmetrisch (16px) → Text vertikal mittig. */
.bzbl-form .bzbl-field input[type="text"],
.bzbl-form .bzbl-field input[type="email"],
.bzbl-form .bzbl-field input[type="tel"],
.bzbl-form .bzbl-field textarea,
.bzbl-form .bzbl-field select {
    font-weight: 600;            /* eingegebene Werte fett — einheitlich inkl. Select */
    margin: 0;
    box-sizing: border-box;
    vertical-align: middle;
    text-transform: none;
    letter-spacing: normal;
    border-radius: var(--bzbl-radius) !important; /* Elementor erzwingt sonst 10px/8px gemischt */
}
/* Single-Line-Felder (inkl. PLZ-Autocomplete + Select): feste, einheitliche
   Höhe und NUR horizontales Padding. Damit zentriert der Browser den Text
   nativ vertikal mittig — konsistent über alle Felder. Das war die Ursache
   für das "Springen" beim PLZ-Feld: das Autocomplete-Input wurde durch den
   bazuba-standorte-Wrap minimal anders behandelt. Feste Höhe vereinheitlicht das.
   min-height killt zusätzlich eine evtl. vom Theme gesetzte Mindesthöhe. */
.bzbl-form .bzbl-field input[type="text"],
.bzbl-form .bzbl-field input[type="email"],
.bzbl-form .bzbl-field input[type="tel"],
.bzbl-form .bzbl-field--floating select {
    height: var(--bzbl-field-height);
    min-height: var(--bzbl-field-height);
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
}
/* Textarea bleibt multi-line: vertikales Padding + Mindesthöhe, Fließtext normal */
.bzbl-form .bzbl-field textarea {
    font-weight: 400;
    line-height: 1.4;
    min-height: 140px;
    height: auto;
    padding: 16px;
}

/* ============================================================
   CUSTOM-DROPDOWN (ersetzt natives <select>)
   ============================================================
   Per JS (enhanceSelects) wird das native <select> versteckt und durch
   einen voll stylbaren Trigger + Panel ersetzt — passt dadurch optisch zum
   restlichen Form-Look (gleiches Panel wie das PLZ-Autocomplete). Ohne JS
   bleibt das native <select> sichtbar (Fallback). */
.bzbl-cs__native {
    display: none !important;
}
.bzbl-cs {
    position: relative;
    width: 100%;
}
.bzbl-cs__trigger {
    width: 100%;
    height: var(--bzbl-field-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;            /* Wert fett, wie die übrigen Feldwerte */
    color: var(--bzbl-text);
    background: var(--bzbl-bg);
    border: 2px solid var(--bzbl-border);
    border-radius: var(--bzbl-radius);
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.bzbl-cs__trigger:focus,
.bzbl-cs.is-open .bzbl-cs__trigger {
    outline: none;
    border-color: var(--bzbl-accent);
    box-shadow: 0 0 0 3px rgba(30, 175, 155, 0.15);
}
/* THEME-OVERRIDE-SCHUTZ für den Trigger-Button: Hello Elementor / Elementor Pro
   stylen <button> mit schwarzem Hintergrund + pink/magenta Hover. Höhere Specificity
   (.bzbl-form button.bzbl-cs__trigger = 0,2,1) + !important für die Farben, sonst
   ist das Dropdown schwarz (default) bzw. pink (hover/offen). */
.bzbl-form button.bzbl-cs__trigger,
.bzbl-form button.bzbl-cs__trigger:hover,
.bzbl-form button.bzbl-cs__trigger:active {
    background: var(--bzbl-bg) !important;
    background-color: var(--bzbl-bg) !important;
    color: var(--bzbl-text) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    border-radius: var(--bzbl-radius) !important; /* Elementor macht Buttons sonst 25px (pill) */
}
.bzbl-form button.bzbl-cs__trigger:focus,
.bzbl-form .bzbl-cs.is-open button.bzbl-cs__trigger {
    border-color: var(--bzbl-accent) !important;
    box-shadow: 0 0 0 3px rgba(30, 175, 155, 0.15) !important;
}
.bzbl-form button.bzbl-cs__trigger .bzbl-cs__value {
    color: var(--bzbl-text) !important;
}
.bzbl-form button.bzbl-cs__trigger .bzbl-cs__value--placeholder {
    color: var(--bzbl-muted) !important;
}
.bzbl-cs__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bzbl-cs__value--placeholder {
    color: var(--bzbl-muted);
    font-weight: 400;
}
.bzbl-cs__caret {
    flex-shrink: 0;
    width: 14px;
    height: 9px;
    color: #555;
    display: flex;
    align-items: center;
    transition: transform .2s ease, color .15s ease;
}
.bzbl-cs__caret svg {
    width: 14px;
    height: 9px;
    display: block;
}
.bzbl-cs.is-open .bzbl-cs__caret {
    transform: rotate(180deg);
    color: var(--bzbl-accent);
}
/* Panel: identischer Look wie das Autocomplete-Dropdown */
.bzbl-cs__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 9999;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 2px solid var(--bzbl-border);
    border-radius: var(--bzbl-radius);
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
}
.bzbl-cs__option {
    padding: 11px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--bzbl-text);
    cursor: pointer;
    transition: background .1s ease;
}
.bzbl-cs__option + .bzbl-cs__option {
    margin-top: 2px;
}
.bzbl-cs__option:hover,
.bzbl-cs__option.is-active {
    background: var(--bzbl-bg);
}
.bzbl-cs__option.is-selected {
    font-weight: 600;
    color: var(--bzbl-accent);
}
.bzbl-cs__option.is-selected.is-active,
.bzbl-cs__option.is-selected:hover {
    background: rgba(30, 175, 155, 0.08);
}
/* Suchfeld im Custom-Select (searchable) — bleibt oben kleben, Optionen scrollen darunter. */
.bzbl-cs__searchwrap {
    position: sticky;
    top: -6px;
    margin: -6px -6px 6px;
    padding: 8px;
    background: #fff;
    border-bottom: 1px solid var(--bzbl-border);
    list-style: none;
    z-index: 1;
}
.bzbl-cs__search {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1.5px solid var(--bzbl-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--bzbl-text);
    background: #fff;
    outline: none;
}
.bzbl-cs__search:focus { border-color: var(--bzbl-accent); }
/* Label akzentfarbig wenn Custom-Select fokussiert oder offen */
.bzbl-field--floating .bzbl-cs:focus-within ~ label,
.bzbl-field--floating .bzbl-cs.is-open ~ label {
    color: var(--bzbl-accent);
}
/* Field mit offenem Dropdown über die Geschwisterfelder heben */
.bzbl-field--floating.bzbl-field--select:focus-within {
    z-index: 9999;
}

/* ============================================================
   "SO GEHT ES WEITER"-BLOCK ([bazuba_lead_ablauf]) — unter dem Formular.
   Eigenständig (nicht in .bzbl-form). Akzentfarbe per CSS-Variable
   (--bzbl-ablauf-accent / --bzbl-ablauf-on-accent), inline vom Shortcode
   gesetzt → Farbe pro Einbau wählbar. Sterne fix in Brand-Gold. Theme-fest.
   ============================================================ */
.bzbl-ablauf {
    --bzbl-ablauf-accent: #1eaf9b;
    --bzbl-ablauf-on-accent: #ffffff;
    --bzbl-ablauf-star: #f5b921;
    max-width: 920px;
    margin: 40px auto 0;
    font-family: inherit;
    color: #2d2d2d;
    box-sizing: border-box;
}
.bzbl-ablauf *, .bzbl-ablauf *::before, .bzbl-ablauf *::after { box-sizing: border-box; }

/* Kopf: Eyebrow-Pill + Headline. Pill nutzt den Akzent (immer kontrastsicher),
   Headline mit !important gegen Theme-Heading-Overrides (Hello Elementor setzt
   sonst eine kleinere h3-Größe → wirkte unauffällig). */
.bzbl-ablauf__head {
    text-align: center;
    margin-bottom: 30px;
}
.bzbl-ablauf__eyebrow {
    display: inline-block;
    background: var(--bzbl-ablauf-accent, #1eaf9b);
    color: var(--bzbl-ablauf-on-accent, #fff);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1;
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.bzbl-ablauf .bzbl-ablauf__title {
    text-align: center;
    font-size: 27px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: #1a1a2e;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-decoration: none !important;
}

/* Schritt-Kacheln: weiße Karten mit dezentem Schatten → klare Abgrenzung zum
   Hintergrund (vorher kontrastarmes Hellgrau). Nummer + Titel in einer Kopfzeile. */
.bzbl-ablauf__steps {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.bzbl-ablauf__step {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(20, 30, 50, .08);
    border-radius: 16px;
    padding: 22px 22px 24px;
    box-shadow: 0 4px 18px rgba(20, 30, 50, .06);
}
.bzbl-ablauf__step-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bzbl-ablauf__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bzbl-ablauf-accent, #1eaf9b);
    color: var(--bzbl-ablauf-on-accent, #fff);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}
.bzbl-ablauf__step h4 {
    margin: 0;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a2e;
    line-height: 1.3;
    /* Theme (Hello Elementor) unterstreicht/skaliert Headings teils per default → abschalten */
    text-decoration: none !important;
    border-bottom: 0 !important;
}
.bzbl-ablauf__step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5a5f6b;
}

/* Footer: gebündelter Trust-Abschluss — Sternebewertung + Garantie-Punkte. */
.bzbl-ablauf__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.bzbl-ablauf__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 9px;
}
.bzbl-ablauf__stars {
    color: var(--bzbl-ablauf-star, #f5b921);
    font-size: 19px;
    letter-spacing: 2px;
    line-height: 1;
}
.bzbl-ablauf__score {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 15px;
}
.bzbl-ablauf__count {
    color: #8a8a8a;
    font-size: 15px;
    text-decoration: none;
}
.bzbl-ablauf__count:hover { color: var(--bzbl-ablauf-accent, #1eaf9b); }

/* Trust-Punkte. Häkchen als kleine Akzent-Badges (immer kontrastsicher). */
.bzbl-ablauf__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #3a3f4b;
}
.bzbl-ablauf__trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bzbl-ablauf__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bzbl-ablauf-accent, #1eaf9b);
    color: var(--bzbl-ablauf-on-accent, #fff);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .bzbl-ablauf { margin-top: 28px; }
    .bzbl-ablauf__head { margin-bottom: 24px; }
    .bzbl-ablauf .bzbl-ablauf__title { font-size: 22px !important; }
    .bzbl-ablauf__step { flex: 1 1 100%; }
}
/* Helle Variante (textfarbe="hell"): für dunkle/farbige Sektion-Hintergründe.
   Nur die Texte AUSSERHALB der Kacheln werden weiß — die Kacheln bleiben deckend
   weiß und behalten ihren dunklen Text. Sterne (gold), Eyebrow-Pill und Akzent-
   Badges bleiben farbig und sind auf hell wie dunkel lesbar. */
.bzbl-ablauf--hell .bzbl-ablauf__title { color: #fff !important; }
.bzbl-ablauf--hell .bzbl-ablauf__score { color: #fff; }
.bzbl-ablauf--hell .bzbl-ablauf__count { color: rgba(255, 255, 255, .8); }
.bzbl-ablauf--hell .bzbl-ablauf__count:hover { color: #fff; }
.bzbl-ablauf--hell .bzbl-ablauf__trust,
.bzbl-ablauf--hell .bzbl-ablauf__trust span { color: #fff; }
/* Mobil: die drei Trust-Punkte sauber untereinander statt 1+2-Umbruch. */
@media (max-width: 768px) {
    .bzbl-ablauf__trust { flex-direction: column; align-items: center; gap: 10px; }
}

/* ============================================================
   EXIT-INTENT-RÜCKRUF-MODAL ([bazuba_lead_rueckruf], Feature 7)
   ============================================================ */
.bzbl-exit {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bzbl-exit[hidden] { display: none; }
.bzbl-exit__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 30, 50, .55);
    animation: bzbl-exit-fade .2s ease;
}
.bzbl-exit__modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 30px 28px 22px;
    box-shadow: 0 20px 60px rgba(20, 30, 50, .3);
    animation: bzbl-exit-pop .25s ease;
}
/* Close-Button: nur Positionierung — die gesamte Optik kommt von .bzbl-iconbtn. */
.bzbl-exit__close {
    position: absolute;
    top: 10px;
    right: 10px;
}
.bzbl-exit__close svg { width: 18px !important; height: 18px !important; display: block; }
.bzbl-exit__title {
    margin: 0 6px 8px 0;
    font-size: 21px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.25;
    text-decoration: none !important;
}
.bzbl-exit__text {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #5a5f6b;
}
.bzbl-exit__fineprint {
    margin: 12px 0 0;
    font-size: 12px;
    color: #8a8f99;
    text-align: center;
}
/* Form im Modal: Name + Telefon zweispaltig (kompakter, weniger hoch), Rest volle Breite.
   Mobil fällt .bzbl-form__columns automatisch auf eine Spalte zurück. */
.bzbl-exit .bzbl-form__columns { gap: 16px; margin-bottom: 0; align-items: start; }
.bzbl-exit .bzbl-form__submit { margin-top: 16px; text-align: center; }
.bzbl-exit .bzbl-form__btn { width: 100%; }
body.bzbl-exit-open { overflow: hidden; }
@keyframes bzbl-exit-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bzbl-exit-pop {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 600px) {
    .bzbl-exit__modal { padding: 26px 20px 18px; }
    .bzbl-exit__title { font-size: 19px; }
}

/* ============================================================
   VARIANTE B — Zusatz-Elemente am Formular
   Vorher/Nachher-Streifen (6) · Click-to-Call (2) · Sticky-Mobil-CTA (2)
   ============================================================ */
.bzbl-vn {
    max-width: 920px;
    margin: 0 auto 28px;
    box-sizing: border-box;
}
.bzbl-vn *, .bzbl-vn *::before, .bzbl-vn *::after { box-sizing: border-box; }
.bzbl-vn__head { text-align: center; margin-bottom: 18px; }
.bzbl-vn__eyebrow {
    display: inline-block;
    background: #1eaf9b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1;
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.bzbl-vn__title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.25;
    text-decoration: none !important;
}
.bzbl-vn__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.bzbl-vn__item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(20, 30, 50, .08);
    aspect-ratio: 3 / 2;
    background: #f2f4f7;
}
.bzbl-vn__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .bzbl-vn__title { font-size: 19px; }
    .bzbl-vn__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* Click-to-Call-Block unter dem Submit-Button */
.bzbl-form__call {
    margin-top: 16px;
    text-align: center;
    line-height: 1.4;
}
.bzbl-form__call-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--bzbl-muted);
}
.bzbl-form__call-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    color: var(--bzbl-accent-dark, #178a7a);
    text-decoration: none;
}
.bzbl-form__call-link:hover { color: var(--bzbl-accent, #1eaf9b); }
.bzbl-form__call-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Sticky-Anruf-Button — nur auf Mobile (Zielgruppe ruft eher an). */
.bzbl-callfab { display: none; }
@media (max-width: 767px) {
    .bzbl-callfab {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 9998;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        background: #1eaf9b;
        color: #fff !important;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none !important;
        border-radius: 999px;
        box-shadow: 0 6px 20px rgba(20, 30, 50, .25);
    }
    .bzbl-callfab svg { width: 20px; height: 20px; flex-shrink: 0; }
}
/* Das hidden-Attribut MUSS display schlagen: Theme stylt <a>/<div> und die
   Media-Query oben setzt .bzbl-callfab auf display:inline-flex. Ohne diese Regel
   würde der Anruf-Block/FAB schon vor der PLZ-Eingabe (Land unbekannt) erscheinen. */
.bzbl-form__call[hidden],
.bzbl-callfab[hidden] { display: none !important; }

/* ============================================================
   VARIANTE C — Multi-Step-Formular
   Buttons (Kacheln, Zurück, Skip) sind <button> → Theme-Override-fest mit !important.
   ============================================================ */
.bzbl-ms__progress { margin-bottom: 26px; }
.bzbl-ms__bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .08);
    overflow: hidden;
    margin-bottom: 8px;
}
.bzbl-ms__bar-fill {
    display: block;
    height: 100%;
    width: 33%;
    background: var(--bzbl-accent);
    border-radius: 999px;
    transition: width .3s ease;
}
.bzbl-ms__count {
    font-size: 13px;
    color: var(--bzbl-muted);
    text-align: center;
}
.bzbl-ms__step { display: none; }
.bzbl-ms__step.is-active { display: block; animation: bzbl-ms-in .25s ease; }
@keyframes bzbl-ms-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bzbl-ms__title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 6px;
    text-align: center;
    line-height: 1.25;
    text-decoration: none !important;
}
.bzbl-ms__sub {
    font-size: 14.5px;
    color: var(--bzbl-muted);
    text-align: center;
    margin: 0 0 22px;
    line-height: 1.45;
}

/* Service-Kacheln */
.bzbl-ms__tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}
.bzbl-form--multistep button.bzbl-ms__tile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70px;
    padding: 16px 14px !important;
    background: #fff !important;
    border: 2px solid rgba(20, 30, 50, .12) !important;
    border-radius: 12px !important;
    color: #1a1a2e !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.bzbl-form--multistep button.bzbl-ms__tile:hover {
    border-color: var(--bzbl-accent) !important;
    background: #f3fbf9 !important;
}
.bzbl-form--multistep button.bzbl-ms__tile.is-selected {
    border-color: var(--bzbl-accent) !important;
    background: #f3fbf9 !important;
    box-shadow: 0 0 0 3px rgba(30, 175, 155, .15) !important;
}

/* "Weiß ich noch nicht"-Skip */
.bzbl-form--multistep button.bzbl-ms__skip {
    display: block;
    margin: 4px auto 0;
    padding: 8px 12px !important;
    background: transparent !important;
    border: none !important;
    color: var(--bzbl-muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: none !important;
}
.bzbl-form--multistep button.bzbl-ms__skip:hover { color: var(--bzbl-accent) !important; }

/* Navigation */
.bzbl-ms__nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}
/* Zurück-Button: dezenter Ghost ohne Rahmen (sekundäre Aktion). */
.bzbl-form--multistep button.bzbl-ms__back {
    flex: 0 0 auto;
    padding: 13px 18px !important;
    background: transparent !important;
    border: none !important;
    border-radius: var(--bzbl-radius) !important;
    color: var(--bzbl-muted) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    box-shadow: none !important;
}
.bzbl-form--multistep button.bzbl-ms__back:hover {
    background: rgba(20, 30, 50, .05) !important;
    color: #1a1a2e !important;
    transform: none !important;
}
.bzbl-ms__nav .bzbl-ms__next,
.bzbl-ms__nav .bzbl-ms__submit { flex: 1 1 auto; }

/* WICHTIG: [hidden] wird vom Theme (display:block auf <button>) überschrieben.
   Hier mit !important erzwingen, damit versteckte Navigation/Schritt-Buttons und
   inaktive Schritte wirklich verschwinden. */
.bzbl-form--multistep .bzbl-ms__nav[hidden],
.bzbl-form--multistep .bzbl-ms__back[hidden],
.bzbl-form--multistep .bzbl-ms__next[hidden],
.bzbl-form--multistep .bzbl-ms__submit[hidden],
.bzbl-ms__trustbar[hidden] { display: none !important; }
.bzbl-form--multistep .bzbl-ms__step { display: none !important; }
.bzbl-form--multistep .bzbl-ms__step.is-active { display: block !important; }

/* Click-to-Call im Multi-Step nur im letzten Schritt zeigen. Zwei unabhängige Achsen:
   Schritt (diese Form-Klasse) und Land (das [hidden]-Attribut, weiter oben geregelt).
   Der Sticky-FAB ist ein Geschwister des <form>, daher der ~-Selektor. */
.bzbl-form--multistep:not(.bzbl-ms-laststep) .bzbl-form__call,
.bzbl-form--multistep:not(.bzbl-ms-laststep) ~ .bzbl-callfab { display: none !important; }

/* Schritt 2: zweispaltig am Desktop (Kontakt links, Nachricht/Upload rechts),
   einspaltig auf Mobil. */
.bzbl-ms__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
.bzbl-ms__cols .bzbl-ms__col { min-width: 0; }
.bzbl-ms__cols .bzbl-ms__col .bzbl-field--grow textarea { min-height: 120px; }
/* Rechte Spalte als Flex-Spalte: das Nachrichtenfeld füllt den freien Platz nach oben,
   damit der Datei-Upload unten exakt mit dem PLZ/Ort-Feld der linken Spalte abschließt.
   Nur im zweispaltigen Desktop-Layout (mobil ist gestapelt → irrelevant). */
@media (min-width: 701px) {
    .bzbl-ms__col--fill { display: flex; flex-direction: column; }
    .bzbl-ms__col--fill .bzbl-field--grow { flex: 1 1 auto; }
}

/* ── Pflege-Flow (Variante mit bedingter Logik) ───────────────────────────── */
/* Info-Hinweis pro Schritt (z.B. "bis zu 4.180 € Zuschuss"). */
.bzbl-ms__note {
    margin: -2px 0 18px;
    padding: 11px 14px;
    background: rgba(30,175,155,.09);
    border-left: 3px solid var(--bzbl-accent, #1eaf9b);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--bzbl-text, #2b2b2b);
}
/* Mehrfachauswahl (Checkbox-Gruppe, z.B. "Wobei können wir Sie unterstützen?"). */
.bzbl-ms__checks { display: grid; gap: 10px; margin-bottom: 6px; }
.bzbl-ms__check {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px; margin: 0;
    border: 1.5px solid #d9dee5; border-radius: 10px;
    cursor: pointer; font-weight: 500;
    transition: border-color .15s ease, background .15s ease;
}
.bzbl-ms__check:hover { border-color: var(--bzbl-accent, #1eaf9b); background: rgba(30,175,155,.04); }
.bzbl-ms__check input[type="checkbox"] { width: 19px; height: 19px; flex-shrink: 0; margin: 0; accent-color: var(--bzbl-accent, #1eaf9b); }
.bzbl-ms__check span { font-size: 15px; }
/* Bedingte Felder: hidden-Attribut muss display schlagen (Theme-fest). */
.bzbl-ms__field[hidden] { display: none !important; }

/* Pflege-Auswahlkacheln: gestapelt (1 Spalte) — einheitliche Optik bei 2/3/4 Optionen
   (keine 2+1-Asymmetrie bei 3 Optionen wie Pflegegrad). Text bleibt ZENTRIERT (wie Headline
   und Schritt-Titel) → einheitliches Bild; nur die Anordnung ist gestapelt statt 2-spaltig. */
.bzbl-form--pflege .bzbl-ms__tiles { grid-template-columns: 1fr; gap: 10px; }
.bzbl-form--pflege button.bzbl-ms__tile {
    min-height: 56px !important;
    padding: 16px 18px !important;
    font-size: 16px !important;
}
/* Fortschritt ausblenden, wenn nur 1 Schritt sichtbar ist (z.B. AT auf einer Methodenseite). */
.bzbl-form--pflege .bzbl-ms__progress[hidden] { display: none !important; }
/* Pflege-Kontaktschritt (Desktop, 2-spaltig): das optionale Nachrichtenfeld darf bis ~100px
   schrumpfen, damit die LINKE Spalte (Kontaktfelder) die Spaltenhöhe bestimmt. Das Textfeld
   (flex:1) wächst dann auf diese Höhe und schiebt den Datei-Upload exakt bündig auf die Unterkante
   von "PLZ oder Ort". Ohne das bleibt das Textfeld auf der globalen Mindesthöhe (140px) hängen und
   die durch umbrechenden Hinweistext hohe Upload-Box ragt ~15px nach unten raus (live gemessen auf
   /methoden/badewannentuere/: Überstand 15px → 0px). Mobil (gestapelt) bleibt 140px. */
@media (min-width: 769px) {
    .bzbl-form--pflege .bzbl-form__col .bzbl-field--grow textarea { min-height: 100px; }
}
@media (max-width: 700px) {
    .bzbl-ms__cols { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
    .bzbl-ms__title { font-size: 19px; }
    .bzbl-form--multistep button.bzbl-ms__tile { min-height: 60px; font-size: 14px !important; }
}

/* ============================================================
   Brand-Scrollbar — passt zum bazuba-Styling (dünn, rund, hellgrau, Hover teal).
   Greift auf scrollbare Elemente im Formular (Custom-Select-Panels, Textareas …).
   ============================================================ */
.bzbl-form { scrollbar-width: thin; scrollbar-color: #cdd2de transparent; }
.bzbl-form ::-webkit-scrollbar { width: 9px; height: 9px; }
.bzbl-form ::-webkit-scrollbar-track { background: transparent; }
.bzbl-form ::-webkit-scrollbar-thumb { background: #cdd2de; border-radius: 50px; }
.bzbl-form ::-webkit-scrollbar-thumb:hover { background: #178a7a; }
