/* BP Autosattlerei – Ergaenzungen fuer WordPress (Contact Form 7). Gestaltung selbst liegt in style.css. */
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form .wpcf7-form-control-wrap { display: block; }

/* Anliegen-Chips: gleiche Optik wie im Entwurf (.chip) */
.chips .wpcf7-form-control-wrap, .chips .wpcf7-checkbox { display: contents; }
.chips .wpcf7-list-item { margin: 0; display: inline-flex; }
.chips .wpcf7-list-item label { display: inline-flex; position: relative; cursor: pointer; gap: 0; }
.form .chips .wpcf7-list-item input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.chips .wpcf7-list-item-label { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 14.5px; transition: border-color .2s, background .2s, color .2s; }
.chips label:hover .wpcf7-list-item-label { border-color: rgba(242, 236, 228, .4); }
.chips input:checked + .wpcf7-list-item-label { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 600; }
.chips input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
@media (max-width: 600px) { .chips .wpcf7-list-item-label { font-size: 14px; padding: 8px 12px; } }

/* Rueckruf-Haken */
.form .check .wpcf7-list-item { margin: 0; }
.form .check label { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); cursor: pointer; }
.form .check input { width: 18px; height: 18px; padding: 0; accent-color: var(--accent); }

/* Foto-Felder: erstes in der Foto-Flaeche, weitere erscheinen nach Auswahl */
.form .file .wpcf7-form-control-wrap { grid-column: 2; }
.form .file--more { grid-template-columns: 1fr; padding: 12px 18px; }
.form .file--more .wpcf7-form-control-wrap { grid-column: 1; }
.js .form .file--more[hidden] { display: none; }

/* Meldungen */
.wpcf7-not-valid-tip { display: block; margin-top: 5px; font-size: 13px; color: #ec8f74; }
.form .wpcf7-not-valid { border-color: #c0573e; }
.wpcf7 .wpcf7-response-output { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #c0573e; }
.wpcf7 form.submitting button[type="submit"] { opacity: .6; pointer-events: none; }

/* Loom 18.11. 0:08: Logo wieder B×P-Zeichen + Firmenname (Groessen wie vor dem Schriftzug-Tausch) */
.brand { flex-direction: row; align-items: center; gap: 14px; }
.brand img { height: 38px; }
@media (max-width: 1240px) and (min-width: 961px) { .brand img { height: 38px; } }
@media (max-width: 960px) { .brand img { height: 30px; } }

/* Loom 18.11. 1:26: Kontur-Knopf als <button> war weiss ohne lesbaren Text (Browser-Standardhintergrund) */
button.btn--ghost, .btn--ghost { background: transparent; }

/* Google-Bewertungen (Trustindex): Platzhalter bis zur Einwilligung */
.reviews--google .reviews__plugin { margin-top: 22px; }
.reviews__gate-ph { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 22px 24px; border: 1px dashed color-mix(in srgb, var(--accent-strong) 45%, transparent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.reviews__gate-ph p { margin: 0; max-width: 62ch; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.reviews__gate-ph a { color: var(--accent-strong); }
.reviews__gate .ti-widget { --ti-font: inherit; }

/* Cookie-Banner (schlank, im Design der Seite) */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; padding: 16px; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__box { pointer-events: auto; max-width: 760px; margin: 0 auto; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-top: 2px solid var(--accent); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); padding: 22px 24px; display: grid; gap: 14px; }
.consent__t { margin: 0; font: 650 15px/1.2 var(--head); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.consent__txt { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.consent__txt a { color: var(--accent-strong); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__btns .btn { min-height: 46px; }
.legal-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.legal-btn:hover { color: var(--text); }
@media (max-width: 600px) { .consent { padding: 0; } .consent__box { padding: 18px 16px 20px; border-left: 0; border-right: 0; } .consent__btns .btn { flex: 1 1 auto; } }

/* Handy: Formular darf nicht breiter als der Bildschirm werden (Chips-Fieldset/Datei-Feld erzwangen min-content) */
.form > *, .form fieldset.chips { min-width: 0; }
.form .file { grid-template-columns: auto minmax(0, 1fr); }
.form .file input[type=file] { width: 100%; max-width: 100%; min-width: 0; }
@media (max-width: 600px) { .form.form--lead { grid-template-columns: minmax(0, 1fr); } }

/* ===== Google-Bewertungen (Trustindex) im Google-Look wie im Entwurf: weiße Karten auf dunklem Grund (19.11.2026) ===== */
.reviews__plugin .ti-widget.ti-goog .ti-review-item > .ti-inner { background: #fff !important; color: #202124 !important; padding: 18px 18px 20px !important; border: 0 !important; border-radius: 8px !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .2) !important; height: 100%; }
.reviews__plugin .ti-widget.ti-goog .ti-name { color: #202124 !important; font: 600 14.5px/1.3 var(--sans) !important; }
.reviews__plugin .ti-widget.ti-goog .ti-date { color: #70757a !important; font-size: 12.5px !important; }
.reviews__plugin .ti-widget.ti-goog .ti-review-content, .reviews__plugin .ti-widget.ti-goog .ti-review-content * { color: #3c4043 !important; font-size: 14.5px !important; line-height: 1.55 !important; }
.reviews__plugin .ti-widget.ti-goog .ti-read-more, .reviews__plugin .ti-widget.ti-goog .ti-read-more * { color: #1a73e8 !important; }

/* ===== Instagram + Facebook (Edis 19.11.2026): Symbole in der Infoleiste, Knöpfe im Fuß ===== */
.topbar .social { display: inline-flex; align-items: center; gap: 4px; margin-left: -10px; }
.topbar .social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--radius); }
.topbar .social a:hover { background: rgba(255, 255, 255, .06); }
.topbar .social svg { width: 18px; height: 18px; }
.footer .f-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer .f-soc { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--accent-strong) 45%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: var(--radius); color: var(--text); font: 600 14px/1 var(--sans); transition: border-color .2s, background .2s; }
.footer .f-soc:hover { border-color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 22%, transparent); }
.footer .f-soc svg { width: 18px; height: 18px; flex: none; color: var(--accent-strong); }
@media (max-width: 600px) { .topbar .social { margin-left: 0; } .topbar .social a { width: 32px; height: 32px; } }

/* ===== Kopfzeile 961–1100 px (19.11.2026): großes Logo + Menü passten nicht, „Anfrage senden“ ragte bis 80 px über den Rand ===== */
@media (min-width: 961px) and (max-width: 1100px) {
  .header .wrap { gap: 18px; }
  .brand { gap: 10px; }
  .brand img { height: 30px; }
  .brand span { font-size: 12px; }
  .nav { gap: 11px; }
  .nav > a:not(.btn), .nav .dd > button { font-size: 11.5px; letter-spacing: .04em; }
  .nav .btn { padding: 0 13px; letter-spacing: .05em; }
}
/* Infoleiste: mit den Social-Symbolen brachen Telefon/Mail/Zeiten bei 961–1040 px zweizeilig um */
.topbar .wrap > * { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1100px) { .topbar .wrap { gap: 18px; } .topbar { font-size: 13.5px; } }
