/* Fahrzeug-Finder: Reiter Modell / Fahrzeugschein / FIN + Foto (Entwurf 20.11.2026, NICHT eingespielt).
   Ergaenzt den vorhandenen Finder (.exd-ra--home). Farben/Radien wie dort: #002A75, #0F1830, #EAF0FB, #C9D1E0, 14px. */
.exf-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;margin:0 0 4px}
.exf-tab{min-height:48px;padding:4px 6px;border:2px solid #C9D1E0;border-radius:12px;background:#fff;color:#0F1830;
  font:inherit;font-size:17px;font-weight:700;line-height:1.15;cursor:pointer;-webkit-tap-highlight-color:transparent}
.exf-tab[aria-selected="true"]{background:#002A75;border-color:#002A75;color:#fff}
.exf-tab:focus-visible,.exf-foto-btn:focus-visible,.exf-link:focus-visible,.exf-art a:focus-visible{outline:3px solid #F5A300;outline-offset:2px}
.exf-eine{margin:0 0 10px;font-size:15px;color:#33405A}

/* Umschalten: der vorhandene Fahrzeugschein-Knopf wird durch den Reiter ersetzt */
.exf-on .exd-ra-kbabtn{display:none!important}
.exf-on.exf-t-schein .exd-ra-smart,.exf-on.exf-t-fin .exd-ra-smart,
.exf-on.exf-t-schein .exd-ra-pop,.exf-on.exf-t-fin .exd-ra-pop,
.exf-on.exf-t-schein .exd-ra-sugg,.exf-on.exf-t-fin .exd-ra-sugg,
.exf-on.exf-t-schein .exd-ra-lres,.exf-on.exf-t-fin .exd-ra-lres,
.exf-on.exf-t-fin .exd-ra-kba,
.exf-on.exf-t-schein .exd-ra-letters,.exf-on.exf-t-fin .exd-ra-letters{display:none!important}
/* FIN-Reiter: der Wechselbereich des Finders (feste Hoehe) ist dann leer -> ganz ausblenden, sonst bleibt eine weisse Flaeche */
.exf-on.exf-t-fin .exd-ra-panel{display:none!important}
/* Schritt 1 mit unseren Teilen darf mitwachsen (Startseite hat am Desktop height:500px fuer die Schrittwechsel) */
.exf-on .exd-ra-stage:has(.exf-tabs){height:auto!important}
@media (min-width:768px){.exf-on.exd-ra--home .exd-ra-stage:has(.exf-tabs){min-height:500px}}
/* Ergebnis und Foto nie als Scrollbox, egal wo der Finder sie hinstellt */
.exf-on .exf-out,.exf-on .exf-foto{height:auto!important;max-height:none!important;overflow:visible!important;flex:none}

.exf-fin{margin:0 0 8px}
.exf-lbl{display:block;margin:0 0 2px;font-size:18px;font-weight:700;color:#0F1830}
.exf-help{margin:0 0 6px;font-size:15px;line-height:1.35;color:#33405A}
.exf-row{display:flex;gap:6px}
.exf-in{flex:1;min-width:0;height:56px;padding:0 12px;border:2px solid #002A75;border-radius:14px;background:#fff;color:#0F1830;
  font:inherit;font-size:18px;letter-spacing:.06em;text-transform:uppercase}
.exf-in::placeholder{letter-spacing:0;text-transform:none;color:#6B7689}
.exf-in[aria-invalid="true"]{border-color:#B00020}
.exf-go{flex:none;height:56px;min-width:56px;padding:0 14px;border:0;border-radius:14px;background:#002A75;color:#fff;
  font:inherit;font-size:19px;font-weight:700;cursor:pointer}
.exf-go[disabled],.exf-foto-btn[disabled]{opacity:.6;cursor:progress}
.exf-cnt{display:block;margin:4px 2px 0;font-size:15px;color:#33405A}
.exf-cnt.is-voll{color:#0B6B2E;font-weight:700}
.exf-err{margin:6px 0 0;padding:8px 10px;border-left:4px solid #B00020;border-radius:6px;background:#FDECEE;color:#7A0015;font-size:16px;line-height:1.35}

.exf-foto{margin:10px 0 0;padding-top:10px;border-top:1px solid #DCE1EA}
.exf-foto-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;padding:0 18px;
  border:3px solid #002A75;border-radius:14px;background:#EAF0FB;color:#002A75;font:inherit;font-size:19px;font-weight:800;cursor:pointer}
.exf-foto-help{margin:6px 0 0;font-size:14px;line-height:1.4;color:#33405A}
.exf-foto-help a{color:#002A75;text-decoration:underline}

.exf-out{margin:10px 0 0}
.exf-out:empty{display:none}
.exf-wait{display:flex;align-items:center;gap:10px;font-size:17px;color:#0F1830}
.exf-wait::before{content:"";width:22px;height:22px;border:3px solid #C9D1E0;border-top-color:#002A75;border-radius:50%;animation:exf-dreh .8s linear infinite}
@keyframes exf-dreh{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.exf-wait::before{animation:none}}
.exf-box{padding:12px;border:2px solid #002A75;border-radius:14px;background:#F4F7FD}
.exf-erkannt{margin:0 0 6px;font-size:19px;font-weight:800;color:#0F1830}
.exf-erkannt small{display:block;font-size:14px;font-weight:700;color:#0B6B2E;text-transform:uppercase;letter-spacing:.04em}
.exf-txt{margin:0 0 8px;font-size:16px;line-height:1.4;color:#0F1830}
.exf-art{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.exf-art a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;padding:6px 12px;border:2px solid #C9D1E0;
  border-radius:12px;background:#fff;color:#0F1830;font-size:16px;font-weight:700;text-decoration:none}
.exf-art a::after{content:"›";flex:none;font-size:24px;color:#002A75}
.exf-art a:hover{border-color:#002A75}
.exf-link{display:inline-flex;align-items:center;min-height:44px;margin:4px 8px 0 0;padding:0 14px;border:2px solid #002A75;border-radius:12px;
  background:#fff;color:#002A75;font:inherit;font-size:16px;font-weight:700;cursor:pointer;text-decoration:none}

@media (max-width:420px){
  .exf-tab{font-size:15px;padding:4px 2px}
  .exf-in{font-size:16px;letter-spacing:.02em;padding:0 8px}
}

/* Warenkorb / Kasse: FIN/Foto in der Zeile "Fahrzeug aendern" (exd_rdks_cartline.tpl), Fassung 5 */
.exf-cart{margin:0 0 10px;padding:0 0 10px;border-bottom:1px solid #DCE1EA}
.exf-cart .exd-cp-l{display:block;margin:0 0 4px;font-weight:700}
.exf-cart-row{display:flex;flex-wrap:wrap;gap:6px;align-items:stretch}
.exf-cart-in{flex:1 1 200px;height:48px;font-size:16px}
.exf-cart-go{height:48px;min-width:48px}
.exf-cart-foto{display:inline-flex;align-items:center;min-height:48px;padding:0 14px;border:2px solid #002A75;border-radius:12px;background:#EAF0FB;
  color:#002A75;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.exf-cart-foto[disabled],.exf-cart-go[disabled]{opacity:.6;cursor:progress}
.exf-cart-msg{margin:6px 0 0;font-size:15px;color:#33405A}
.exf-cart-msg:empty{display:none}
.exf-cart-msg.is-err{color:#7A0015}
/* Fahrzeugschein-Nummer unbekannt: FIN/Foto anbieten */
.exf-kbaweiter .exf-link{margin-top:6px}

/* Warenkorb: Antwort auf FIN/Foto - passt / passt nicht (+ passende Sensoren) / nicht pruefbar (Fassung 8) */
.exf-cl-hint{margin:6px 0 4px;padding:8px 10px;border-left:4px solid #9AA4B8;border-radius:8px;background:#F4F6FA;color:#0F1830;font-size:15px;line-height:1.4}
.exf-cl-hint p{margin:0 0 4px}
.exf-cl-hint p:last-child{margin:0}
.exf-cl-hint.is-ok{border-color:#0B6B2E;background:#EAF6EE;color:#0B4B22}
.exf-cl-hint.is-mis{border-color:#B00020;background:#FDECEE;color:#7A0015}
.exf-cl-hint-h{font-weight:700}
.exf-cl-hint .exf-art a{min-height:44px;font-size:15px}
.exd-cl.exf-mis .exd-cl-i{display:none}
/* Fassung 9: Zeile mit "passt nicht" nicht gruen umrahmen (die Vorlage faerbt auch mis-Zeilen ruhig gruen) */
.exd-cl.exf-mis{border-color:#C9D1E0!important;background:#fff!important;box-shadow:none!important}
