/* ==========================================================================
   MoveFlow – Fahrzeuge
   ========================================================================== */
.veh-stats { margin-bottom: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.veh-stats .stat-box { background: var(--c-surface); }
.veh-stats .stat-box__label svg { width: 14px; height: 14px; }
.veh-stat--warn { border-color: color-mix(in srgb, var(--c-amber) 40%, var(--c-border)); background: var(--c-amber-bg) !important; }
.veh-stat--warn .stat-box__value { color: var(--c-amber-text); }
.veh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }

/* Deutsches Kennzeichen */
.veh-plate { display: inline-flex; align-items: stretch; height: 28px; border: 2px solid #111; border-radius: 5px; background: #fff; overflow: hidden; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .3); font-family: "DIN Alternate", "Arial Narrow", var(--font); }
.veh-plate__eu { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 18px; background: #1f4fbf; color: #fff; font-size: 9px; font-weight: 700; padding-bottom: 2px; line-height: 1; }
.veh-plate__eu i { font-style: normal; font-size: 6px; color: #ffcc00; margin-bottom: 2px; letter-spacing: -1px; }
.veh-plate__num { display: flex; align-items: center; padding: 0 9px 0 7px; font-size: 16px; font-weight: 700; letter-spacing: .06em; color: #111; white-space: nowrap; }
.veh-plate--sm { height: 22px; border-width: 1.5px; }
.veh-plate--sm .veh-plate__num { font-size: 12.5px; padding: 0 7px 0 5px; }
.veh-plate--sm .veh-plate__eu { width: 14px; font-size: 7px; }
.veh-plate--lg { height: 36px; }
.veh-plate--lg .veh-plate__num { font-size: 21px; padding: 0 12px 0 9px; }
.veh-plate--lg .veh-plate__eu { width: 22px; font-size: 11px; }

/* Karte */
.veh-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); overflow: hidden; cursor: pointer; transition: box-shadow var(--t), border-color var(--t), transform var(--t); }
.veh-card:hover { box-shadow: var(--shadow-md); border-color: var(--c-border-2); transform: translateY(-1px); }
.veh-card__visual { position: relative; height: 138px; display: grid; place-items: center; background: radial-gradient(120% 90% at 80% 0%, rgba(111, 149, 255, .5), transparent 60%), linear-gradient(135deg, var(--c-navy-800), var(--c-navy-600)); }
.veh-card__visual--red { background: radial-gradient(120% 90% at 80% 0%, rgba(224, 57, 62, .45), transparent 60%), linear-gradient(135deg, #2a1620, #3a1b24); }
.veh-card__visual--amber { background: radial-gradient(120% 90% at 80% 0%, rgba(229, 154, 7, .45), transparent 60%), linear-gradient(135deg, var(--c-navy-800), var(--c-navy-600)); }
.veh-ill { width: 190px; height: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .35)); }
.veh-card__plate { position: absolute; left: 14px; bottom: 12px; }
.veh-card__status { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: var(--r-full); background: rgba(255, 255, 255, .92); }
.veh-card__status > svg { width: 13px; height: 13px; color: var(--c-text-3); margin-right: 3px; }
.veh-card__body { padding: 16px 18px 12px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.veh-card__name { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.veh-card__model { font-size: 12.5px; color: var(--c-text-3); margin-top: -10px; }
.veh-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.veh-specs > div { padding: 8px 10px; border-radius: var(--r-sm); background: var(--c-surface-2); border: 1px solid var(--c-border); display: flex; flex-direction: column; min-width: 0; }
.veh-specs span { font-size: 11px; color: var(--c-text-3); font-weight: 550; }
.veh-specs strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.veh-dates { display: flex; flex-direction: column; gap: 6px; }
.veh-date { display: grid; grid-template-columns: 16px 90px 1fr auto; align-items: center; gap: 8px; font-size: 12.5px; }
.veh-date svg { width: 15px; height: 15px; color: var(--c-text-3); }
.veh-date span { color: var(--c-text-3); }
.veh-date strong { font-weight: 600; }
.veh-date em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-full); background: var(--c-green-bg); color: var(--c-green-text); white-space: nowrap; }
.veh-date.is-amber em { background: var(--c-amber-bg); color: var(--c-amber-text); }
.veh-date.is-amber svg { color: var(--c-amber); }
.veh-date.is-red em { background: var(--c-red-bg); color: var(--c-red-text); }
.veh-date.is-red svg { color: var(--c-red); }
.veh-today { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; padding: 9px 11px; border-radius: var(--r-sm); background: var(--c-surface-2); border: 1px dashed var(--c-border-2); color: var(--c-text-2); }
.veh-today svg { width: 15px; height: 15px; color: var(--c-text-3); flex-shrink: 0; }
.veh-today a { color: var(--c-text); }
.veh-today a:hover { color: var(--c-primary); }
.veh-card__actions { display: flex; gap: 6px; padding: 12px 18px 16px; }
.veh-card__actions .btn:not(.btn--icon) { flex: 1; }
.veh-status-btn { display: inline-flex; align-items: center; gap: 3px; border-radius: var(--r-full); padding: 1px; }
.veh-status-btn > svg { width: 13px; height: 13px; color: var(--c-text-3); }
.veh-status-btn:hover .badge { box-shadow: inset 0 0 0 1px currentColor; }
.veh-tuv.is-amber { color: var(--c-amber-text); font-weight: 600; }
.veh-tuv.is-red { color: var(--c-red-text); font-weight: 600; }

/* Akte */
.veh-hero__band { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; background: radial-gradient(90% 140% at 100% 0%, rgba(111, 149, 255, .5), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(115, 87, 246, .35), transparent 60%), linear-gradient(120deg, var(--c-navy-900), var(--c-navy-700)); }
.veh-hero__band .veh-ill { width: 230px; }
.veh-hero__band .veh-plate { position: absolute; right: 24px; bottom: 18px; }
.veh-hero .hero__subtitle { align-items: center; }
.veh-tabs { margin-top: 20px; }
.veh-ring { display: flex; align-items: center; gap: 14px; }
.veh-ring__circle { --tone: var(--c-green); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--tone) calc(var(--p) * 1%), var(--c-surface-3) 0); flex-shrink: 0; }
.veh-ring.is-amber .veh-ring__circle { --tone: var(--c-amber); }
.veh-ring.is-red .veh-ring__circle { --tone: var(--c-red); }
.veh-ring__circle > div { width: 62px; height: 62px; border-radius: 50%; background: var(--c-surface); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.veh-ring__circle svg { width: 12px; height: 12px; color: var(--c-text-3); }
.veh-ring__circle strong { font-size: 18px; font-weight: 800; }
.veh-ring__circle span { font-size: 9.5px; color: var(--c-text-3); font-weight: 600; text-transform: uppercase; }
.veh-ring__body { display: flex; flex-direction: column; }
.veh-ring__body span { font-size: 12px; color: var(--c-text-3); font-weight: 550; }
.veh-ring__body strong { font-size: 16px; }
.veh-ring__body em { font-style: normal; font-size: 12.5px; color: var(--c-green-text); font-weight: 600; }
.veh-ring.is-amber .veh-ring__body em { color: var(--c-amber-text); }
.veh-ring.is-red .veh-ring__body em { color: var(--c-red-text); }

@media (max-width: 1360px) { .veh-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .veh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .veh-grid { grid-template-columns: minmax(0, 1fr); }
  .veh-hero__band { height: 120px; }
  .veh-hero__band .veh-ill { width: 170px; }
  .veh-hero .hero__actions { width: 100%; }
  .veh-hero .hero__actions .btn:not(.btn--icon) { flex: 1; }
}
