/* BFV Feldbausteine – Grundoptik fuer Portale ohne eigene Gestaltung der Bausteine (Praefix bfvf-).
   JG/MG nutzen das Praefix bfvjg und ihre eigene Optik (umab.css) – diese Datei greift dort nicht.
   Das Portal setzt nur die Variablen (Farben, Schrift, Radius), z. B. MD: --bfvf-akzent: var(--signal-dunkel). */
:root {
  --bfvf-schrift: inherit;
  --bfvf-text: #1f2328;
  --bfvf-leise: #5f6b73;
  --bfvf-flaeche: #fff;
  --bfvf-hover: #f2f6f8;
  --bfvf-rand: #c2cdd2;
  --bfvf-rand-leicht: #e3e9ec;
  --bfvf-akzent: #00919c;
  --bfvf-radius: 10px;
  --bfvf-voll-grund: #f4f6f7;
  --bfvf-schatten: 0 14px 34px rgba(10, 26, 36, .12);
}

/* Adresse mit Suche */
.bfvf-adr__s { margin: 0 0 18px; }
.bfvf-adr__s > .bfvf-f__l { display: block; margin: 0 0 6px; font-family: var(--bfvf-schrift); font-weight: 600; font-size: 14.5px; color: var(--bfvf-text); }
.bfvf-adr__s .bfvf-pf { color: #a32e24; }
.bfvf-adr__f { position: relative; }
.bfvf-adr__f input {
  width: 100%; box-sizing: border-box; margin: 0; padding: 13px 14px; padding-inline-start: 44px;
  font-family: var(--bfvf-schrift); font-size: 16.5px; color: var(--bfvf-text);
  background: var(--bfvf-flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23546C77' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 14px 50% / 18px 18px;
  border: 1px solid var(--bfvf-rand); border-radius: var(--bfvf-radius);
  -webkit-appearance: none; appearance: none;
}
[dir="rtl"] .bfvf-adr__f input { background-position: calc(100% - 14px) 50%; }
.bfvf-adr__f input:focus { outline: 2px solid var(--bfvf-akzent); outline-offset: 1px; border-color: var(--bfvf-akzent); }
.bfvf-adr__f input::-webkit-search-cancel-button, .bfvf-adr__f input::-webkit-search-decoration { display: none; -webkit-appearance: none; }
.bfvf-adr__l { margin: 6px 0 0; padding: 6px; list-style: none; background: var(--bfvf-flaeche); border: 1px solid var(--bfvf-rand-leicht); border-radius: var(--bfvf-radius); box-shadow: var(--bfvf-schatten); }
.bfvf-adr__l li { display: flex; flex-direction: column; gap: 1px; margin: 0; padding: 10px 12px; border-radius: calc(var(--bfvf-radius) - 3px); cursor: pointer; font-family: var(--bfvf-schrift); font-size: 15px; line-height: 1.35; color: var(--bfvf-text); }
.bfvf-adr__l li small { font-size: 13.5px; color: var(--bfvf-leise); }
.bfvf-adr__l li.is-akt, .bfvf-adr__l li:hover { background: var(--bfvf-hover); }
.bfvf-adr__l li.is-leer { cursor: default; color: var(--bfvf-leise); background: none; }
.bfvf-adr__l li.bfvf-adr__man { border-top: 1px solid var(--bfvf-rand-leicht); margin-top: 4px; padding-top: 12px; }
.bfvf-adr__l li.bfvf-adr__man:first-child { border-top: 0; margin-top: 0; padding-top: 10px; }
.bfvf-adr__l li.bfvf-adr__man b { color: var(--bfvf-akzent); }
.bfvf-adr__wahl { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border: 1px solid var(--bfvf-rand); border-radius: var(--bfvf-radius); background: var(--bfvf-flaeche); font-family: var(--bfvf-schrift); font-size: 16.5px; color: var(--bfvf-text); }
.bfvf-adr__aendern, .bfvf-adr__zu { flex: none; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; color: var(--bfvf-akzent); font-family: var(--bfvf-schrift); font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bfvf-adr__kopf { display: none; }
.bfvf-adr__s[hidden], .bfvf-adr__l[hidden], .bfvf-adr__wahl[hidden], .bfvf-adr__f[hidden] { display: none !important; }
.bfvf-adr__raster.is-zu { display: none !important; }
.bfvf-adr[data-modus="gewaehlt"] .bfvf-adr__raster:not(.is-zu) { margin-top: 14px; }
/* Handy: Suche im Vollbild, damit Vorschlaege nicht unter der Tastatur liegen */
@media (max-width: 767px) {
  html body .bfvf-adr__s.voll { position: fixed !important; inset: 0 !important; z-index: 2147483000 !important; margin: 0 !important; padding: 14px 16px 32px !important; background: var(--bfvf-voll-grund) !important; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  html body .bfvf-adr__s.voll .bfvf-adr__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-family: var(--bfvf-schrift); font-weight: 600; font-size: 17px; color: var(--bfvf-text); }
  html body .bfvf-adr__s.voll > .bfvf-f__l { display: none !important; }
  html body .bfvf-adr__s.voll .bfvf-adr__l { margin-top: 10px; box-shadow: none; }
  html body .bfvf-adr__s.voll .bfvf-adr__l li { padding: 13px 12px; }
  html body.bfvf-adr-offen { overflow: hidden !important; }
}

/* E-Mail: Tippfehler-Hinweis */
.bfvf-mailtipp { margin: 4px 0 0; font-family: var(--bfvf-schrift); font-size: 14px; line-height: 1.45; color: var(--bfvf-text); }
.bfvf-mailtipp[hidden] { display: none; }
.bfvf-mailtipp__k { padding: 0; margin: 0; background: none; border: 0; font: inherit; font-weight: 600; color: var(--bfvf-akzent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Ausweis-Aufnahme (Vorlage GA /ausweis-demo/): Wege, Seiten-Kacheln, Kamera mit Rahmen */
.bfvf-aw { display: flex; flex-direction: column; gap: 12px; font-family: var(--bfvf-schrift); color: var(--bfvf-text); }
.bfvf-aw * { box-sizing: border-box; }
.bfvf-aw[hidden], .bfvf-aw [hidden] { display: none !important; }
.bfvf-aw__wege { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.bfvf-aw__weg { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1.5px solid var(--bfvf-rand); border-radius: var(--bfvf-radius); background: var(--bfvf-flaeche); }
.bfvf-aw__weg b { font-size: 16px; font-weight: 600; }
.bfvf-aw__weg span { font-size: 13.5px; line-height: 1.4; color: var(--bfvf-leise); }
.bfvf-aw__weg.is-an { border-color: var(--bfvf-akzent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bfvf-akzent) 18%, transparent); }
.bfvf-aw__weg:focus-visible { outline: 2px solid var(--bfvf-akzent); outline-offset: 2px; }
.bfvf-aw__panel { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--bfvf-rand-leicht); border-radius: var(--bfvf-radius); background: var(--bfvf-flaeche); }
.bfvf-aw__seiten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bfvf-aw--fertig [data-panel="foto"] .bfvf-aw__seiten, .bfvf-aw--fertig [data-panel="foto"] .bfvf-aw__hinweis { display: none; } /* fertige Datei liegt im Upload-Feld; Kacheln erst wieder mit „Kamera öffnen“ */
.bfvf-aw__seite { position: relative; aspect-ratio: 1.586; display: flex; align-items: center; justify-content: center; padding: 8px; overflow: hidden; border: 2px dashed var(--bfvf-rand); border-radius: calc(var(--bfvf-radius) - 2px); background: var(--bfvf-hover); color: var(--bfvf-leise); font-size: 13.5px; text-align: center; }
label.bfvf-aw__seite { cursor: pointer; }
.bfvf-aw__seite.is-da { border-style: solid; border-color: var(--bfvf-akzent); padding: 0; }
.bfvf-aw__seite img { width: 100%; height: 100%; object-fit: cover; }
.bfvf-aw__tag { position: absolute; left: 6px; top: 6px; padding: 2px 7px; border-radius: 6px; background: rgba(10, 26, 36, .78); color: #fff; font-size: 11.5px; font-weight: 600; }
.bfvf-aw__knopf { all: unset; box-sizing: border-box; cursor: pointer; display: block; text-align: center; padding: 12px 16px; min-height: 46px; border-radius: var(--bfvf-radius); background: var(--bfvf-akzent); color: #fff; font-weight: 600; font-size: 16px; }
.bfvf-aw__knopf--zwei { background: var(--bfvf-flaeche); color: var(--bfvf-akzent); border: 1.5px solid var(--bfvf-akzent); }
.bfvf-aw__knopf:focus-visible { outline: 2px solid var(--bfvf-akzent); outline-offset: 2px; }
.bfvf-aw__hinweis, .bfvf-aw__status { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--bfvf-leise); }
.bfvf-aw__eine { all: unset; cursor: pointer; align-self: flex-start; color: var(--bfvf-akzent); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.bfvf-cam { position: fixed; inset: 0; z-index: 2147483647; display: flex; flex-direction: column; background: #000; font-family: var(--bfvf-schrift); }
.bfvf-cam[hidden] { display: none !important; }
.bfvf-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bfvf-cam__maske { position: absolute; inset: 0; pointer-events: none; }
.bfvf-cam__rahmen { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(88vw, 62vh * 1.586); aspect-ratio: 1.586; border: 3px solid #fff; border-radius: 16px; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .55); }
.bfvf-cam__rahmen::before, .bfvf-cam__rahmen::after { content: ""; position: absolute; width: 34px; height: 34px; border: 5px solid #ffdc0f; }
.bfvf-cam__rahmen::before { left: -5px; top: -5px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.bfvf-cam__rahmen::after { right: -5px; bottom: -5px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.bfvf-cam__titel { position: absolute; left: 0; right: 0; top: max(18px, env(safe-area-inset-top)); text-align: center; color: #fff; font-weight: 700; font-size: 20px; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.bfvf-cam__titel small { display: block; margin-top: 4px; font-weight: 400; font-size: 14px; opacity: .9; }
.bfvf-cam__schritte { position: absolute; left: 0; right: 0; top: calc(44% + min(44vw, 31vh) + 18px); display: flex; justify-content: center; gap: 8px; }
.bfvf-cam__schritte span { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; color: #fff; font-size: 13px; }
.bfvf-cam__schritte span.is-an { background: #ffdc0f; border-color: #ffdc0f; color: #0a1a24; font-weight: 700; }
.bfvf-cam__schritte span.is-ok { background: #1f7a4d; border-color: #1f7a4d; }
.bfvf-cam__lokal { position: absolute; left: 0; right: 0; top: calc(44% + min(44vw, 31vh) + 56px); padding: 0 16px; text-align: center; color: #fff; font-size: 13px; opacity: .9; }
.bfvf-cam__leiste { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px max(22px, env(safe-area-inset-bottom)); }
.bfvf-cam__ausl { all: unset; flex: 0 0 74px; width: 74px; height: 74px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .35); cursor: pointer; }
.bfvf-cam__txt { all: unset; min-width: 90px; color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; }
.bfvf-cam__txt:last-child { text-align: right; }
.bfvf-cam__blitz { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .25s; }
.bfvf-cam__blitz.is-an { opacity: .8; transition: none; }
.bfvf-cam__fehler { position: absolute; left: 20px; right: 20px; top: 40%; color: #fff; text-align: center; font-size: 16px; }
.bfvf-cam__fehler[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .bfvf-cam__blitz { transition: none; } }

/* Upload-Feld: lange Dateinamen umbrechen statt die Seite zu verbreitern (User 28.10.2026) */
.bfvf-up__l { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.bfvf-up__l li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bfvf-up__n { flex: 1 1 auto; min-width: 0; }
.bfvf-up__n b { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }

/* Auswahl aus einer Liste mit Flaggen (wahl(), z. B. Land; seit v1.181.0 – MD meldete am 02.11.2026 eine ungestylte Liste:
   die Optik lag bisher nur in den Portal-Motoren mit Praefix bfvjg). Die Liste haengt am body (position fixed, lege() in felder.js). */
.bfvf-wahl { position: relative; }
.bfvf-wahl__feld { position: relative; }
.bfvf-wahl__kopf { display: none; }
.bfvf-wahl__f { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; }
.bfvf-wahl__f img { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.bfvf-wahl__i { width: 100%; box-sizing: border-box; }
.bfvf-wahl__i.mit-flagge { padding-left: 50px !important; }
body > ul.bfvf-wahl__l, .bfvf-wahl ul.bfvf-wahl__l { position: fixed; z-index: 100000; overflow-y: auto; margin: 0 !important; padding: 6px !important; list-style: none !important; background: var(--bfvf-flaeche); border: 1px solid var(--bfvf-rand-leicht); border-radius: var(--bfvf-radius); box-shadow: var(--bfvf-schatten); font-family: var(--bfvf-schrift); }
ul.bfvf-wahl__l[hidden] { display: none !important; }
ul.bfvf-wahl__l li { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 9px 12px !important; border-radius: calc(var(--bfvf-radius) - 2px); cursor: pointer; font-size: 15px; line-height: 1.35; color: var(--bfvf-text); list-style: none !important; }
ul.bfvf-wahl__l li::before, ul.bfvf-wahl__l li::marker { content: none !important; }
ul.bfvf-wahl__l li img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; flex: none; }
ul.bfvf-wahl__l li span { flex: 1; min-width: 0; text-align: start; }
ul.bfvf-wahl__l li i { font-style: normal; font-weight: 700; color: var(--bfvf-akzent); }
ul.bfvf-wahl__l li.is-akt, ul.bfvf-wahl__l li:hover { background: var(--bfvf-hover); }
ul.bfvf-wahl__l li.is-leer { cursor: default; color: var(--bfvf-leise); }
@media (max-width: 767px) {
  html body .bfvf-wahl.voll { position: fixed !important; inset: 0 !important; z-index: 2147483000 !important; margin: 0 !important; padding: 14px 16px 32px !important; background: var(--bfvf-voll-grund) !important; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  html body .bfvf-wahl.voll .bfvf-wahl__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-family: var(--bfvf-schrift); font-weight: 600; font-size: 17px; color: var(--bfvf-text); }
  html body .bfvf-wahl.voll .bfvf-wahl__zu { padding: 6px 2px; color: var(--bfvf-akzent); font-weight: 600; font-size: 15px; cursor: pointer; touch-action: manipulation; }
  html body .bfvf-wahl.voll ul.bfvf-wahl__l { position: static !important; max-height: none !important; margin: 10px 0 0 !important; box-shadow: none !important; }
  html body .bfvf-wahl.voll ul.bfvf-wahl__l li { padding: 13px 12px !important; }
}


/* ---------- Grundformen (User E12, 11.11.2026) ----------
   Eingabe, Beschriftung, Kacheln und Upload-Knopf für Formulare OHNE eigenes Motor-CSS. Nur innerhalb von .bfvf-grund, damit
   Portale mit eigener Gestaltung (MD, SA-Länderwahl, Präfix bfvjg) unberührt bleiben. Farben über die Variablen oben. */
.bfvf-grund { font-family: var(--bfvf-schrift); color: var(--bfvf-text); }
.bfvf-grund .bfvf-f { display: block; margin: 0 0 14px; }
.bfvf-grund .bfvf-f__l { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--bfvf-text); }
.bfvf-grund .bfvf-pf { color: #a32e24; }
.bfvf-grund .bfvf-f__h { display: block; margin-top: 6px; font-size: 13px; color: var(--bfvf-leise); }
.bfvf-grund .bfvf-f__fl { vertical-align: -2px; margin-right: 6px; }
.bfvf-grund .bfvf-i { display: block; box-sizing: border-box; width: 100%; min-height: 50px; margin: 0; padding: 12px 14px; font-family: var(--bfvf-schrift); font-size: 16px; color: var(--bfvf-text); background: var(--bfvf-flaeche) !important; border: 1px solid var(--bfvf-rand) !important; border-radius: var(--bfvf-radius) !important; box-shadow: none !important; outline: 0; }
.bfvf-grund textarea.bfvf-i { min-height: 110px; resize: vertical; }
.bfvf-grund .bfvf-i:focus { border-color: var(--bfvf-akzent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--bfvf-akzent) 18%, transparent) !important; }
.bfvf-grund .bfvf-kacheln { display: grid; gap: 10px; }
.bfvf-grund button.bfvf-k { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; border: 1px solid var(--bfvf-rand); border-radius: var(--bfvf-radius); background: var(--bfvf-flaeche); font-family: var(--bfvf-schrift); color: var(--bfvf-text); line-height: 1.35; transition: border-color .2s, background .2s; }
.bfvf-grund button.bfvf-k:hover { border-color: var(--bfvf-akzent); background: var(--bfvf-hover); }
.bfvf-grund button.bfvf-k:focus-visible { outline: 3px solid var(--bfvf-akzent); outline-offset: 2px; }
.bfvf-grund button.bfvf-k.is-an { border-color: var(--bfvf-akzent); background: color-mix(in srgb, var(--bfvf-akzent) 8%, var(--bfvf-flaeche)); }
.bfvf-grund .bfvf-k__r { flex: none; width: 20px; height: 20px; box-sizing: border-box; border: 1.5px solid var(--bfvf-rand); border-radius: 50%; background: var(--bfvf-flaeche); }
.bfvf-grund .bfvf-k.is-mehr .bfvf-k__r { border-radius: 5px; }
.bfvf-grund .bfvf-k.is-an .bfvf-k__r { border: 6px solid var(--bfvf-akzent); }
.bfvf-grund .bfvf-k.is-mehr.is-an .bfvf-k__r { border-width: 1.5px; border-color: var(--bfvf-akzent); background: var(--bfvf-akzent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.bfvf-grund .bfvf-k__i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bfvf-voll-grund); color: var(--bfvf-text); }
.bfvf-grund .bfvf-k__i svg { width: 20px; height: 20px; }
.bfvf-grund .bfvf-k__x { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bfvf-grund .bfvf-k__t { font-size: 16px; font-weight: 600; }
.bfvf-grund .bfvf-k__x small { font-size: 13.5px; font-weight: 400; color: var(--bfvf-leise); }
.bfvf-grund .bfvf-k__h { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--bfvf-akzent); background: color-mix(in srgb, var(--bfvf-akzent) 10%, transparent); }
.bfvf-grund .bfvf-k__h svg { width: 12px; height: 12px; }
.bfvf-grund .bfvf-up { margin: 0 0 14px; }
.bfvf-grund .bfvf-up__i { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.bfvf-grund button.bfvf-up__k { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 96px; padding: 18px 16px; text-align: center; border: 1.5px dashed var(--bfvf-rand); border-radius: var(--bfvf-radius); background: var(--bfvf-flaeche); font-family: var(--bfvf-schrift); color: var(--bfvf-text); transition: border-color .2s, background .2s; }
.bfvf-grund button.bfvf-up__k:hover { border-color: var(--bfvf-akzent); background: var(--bfvf-hover); }
.bfvf-grund button.bfvf-up__k:focus-visible { outline: 3px solid var(--bfvf-akzent); outline-offset: 2px; }
.bfvf-grund button.bfvf-up__k[hidden] { display: none; }
.bfvf-grund .bfvf-up__k svg { width: 24px; height: 24px; color: var(--bfvf-akzent); }
.bfvf-grund .bfvf-up__k span { font-size: 16px; font-weight: 600; }
.bfvf-grund .bfvf-up__k small { font-size: 13px; color: var(--bfvf-leise); }
.bfvf-grund .bfvf-up__s { margin: 8px 0 0; font-size: 14px; color: var(--bfvf-leise); }
.bfvf-grund .bfvf-up__s:empty { display: none; }
.bfvf-grund .bfvf-up__l li { padding: 10px 12px; border: 1px solid var(--bfvf-rand-leicht); border-radius: var(--bfvf-radius); background: var(--bfvf-flaeche); }
.bfvf-grund .bfvf-up__l li > span:first-child svg { width: 20px; height: 20px; color: var(--bfvf-leise); }
.bfvf-grund .bfvf-up__v { all: unset; cursor: pointer; flex: none; width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: var(--bfvf-voll-grund); }
.bfvf-grund .bfvf-up__v img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bfvf-grund button.bfvf-up__x { all: unset; cursor: pointer; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--bfvf-leise); }
.bfvf-grund button.bfvf-up__x:hover { color: #a32e24; background: var(--bfvf-hover); }
.bfvf-grund .bfvf-up__x svg { width: 18px; height: 18px; }

/* Datei-Fenster (zeigeDatei): Foto, PDF-Seiten, Zoom – Vorlage GA motor.css, Farben über die Feld-Variablen.
   Lag bisher nur in den Portal-CSS mit Präfix bfvjg; mit Präfix bfvf blieb das Fenster ungestaltet unten an der Seite (MD, User 13.11.2026). */
.bfvf-ov{position:fixed;inset:0;z-index:2147483000;background:rgba(34,28,25,.62);display:flex;align-items:center;justify-content:center;padding:16px}
.bfvf-ov__k{background:#fff;border-radius:16px;width:min(960px,100%);max-height:100%;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35);font-family:Poppins,sans-serif}
.bfvf-ov__kopf{display:flex;align-items:center;gap:14px;padding:12px 14px 12px 18px;border-bottom:1px solid #e8eaed}
.bfvf-ov__kopf b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:var(--bfvf-text,#221c19)}
.bfvf-ov__kopf a{flex:none;font-size:13.5px;font-weight:600;color:var(--bfvf-akzent,#903d3b)!important;text-decoration:underline;text-underline-offset:3px}
button.bfvf-ov__x{all:unset;cursor:pointer;flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:var(--bfvf-leise,#5b636d)}
button.bfvf-ov__x:hover{background:var(--bfvf-hover,#f1f3f5);color:var(--bfvf-akzent,#903d3b)}
button.bfvf-ov__x svg{width:18px;height:18px}
.bfvf-ov__b{flex:1;overflow:auto;background:#f3f4f6;min-height:200px;display:flex;align-items:center;justify-content:center}
.bfvf-ov__i{width:100%;height:auto;display:block;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.12)}
.bfvf-ov__seiten{width:100%;max-width:100%;margin:0 auto;display:grid;gap:14px;padding:14px;transition:width .15s}
.bfvf-ov__b{align-items:flex-start;justify-content:center;max-height:calc(100vh - 92px)}
.bfvf-ov__s{flex:none;font-size:13px;color:var(--bfvf-leise,#5b636d);white-space:nowrap}
.bfvf-ov__zoom{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--bfvf-text,#221c19)}
.bfvf-ov__zoom button{all:unset;cursor:pointer;width:30px;height:30px;border-radius:50%;background:#f3f4f6;text-align:center;font-size:18px;line-height:30px;color:var(--bfvf-text,#221c19)}
.bfvf-ov__zoom button:hover{background:#e8eaed}
.bfvf-ov__z{min-width:44px;text-align:center}
.bfvf-ov__f{width:100%;height:calc(100vh - 120px);border:0;background:#fff}
body.bfvf-ov-offen{overflow:hidden}
@media (max-width:767px){.bfvf-ov{padding:0}.bfvf-ov__k{border-radius:0;height:100%}.bfvf-ov__b{max-height:none;flex:1}.bfvf-ov__kopf b{font-size:13px}.bfvf-ov__s{display:none}.bfvf-ov__seiten{padding:8px;gap:8px}}
