/* Grundlayout / Typography */
body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6;
    color: #111827;
}

/* Page-Container */
.page-shell {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.page-header h1 {
    margin: 0 0 0.25rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.page-header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Hinweis wenn keine Fahrzeuge da sind */
.vehicle-empty-hint {
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Fahrzeugliste */
.vehicle-list {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* Klickbare Kacheln */
.vehicle-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* einzelne Fahrzeug-Karte */
.vehicle-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.05rem 1.4rem 1.2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.vehicle-card-link:hover .vehicle-card {
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
    transform: translateY(-1px);
    border-color: #d1d5db;
}

/* Kopfbereich der Karte (Titel + Status + Lieferdatum) */
.vehicle-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.8rem;
}

.vehicle-header-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.vehicle-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.vehicle-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #ffffff;
}

/* Statusfarben (Chip & Overlay verwenden dieselben Klassen) */
.badge-available  { background: #16a34a; }
.badge-reserved   { background: #f59e0b; }
.badge-building   { background: #3b82f6; }
.badge-sold       { background: #6b7280; }
.badge-planning   { background: #0ea5e9; }
.badge-none       { display: none; }


.vehicle-header-meta {
    text-align: right;
    min-width: 120px;
}

.vehicle-delivery-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 0.1rem;
}

.vehicle-delivery {
    font-size: 0.95rem;
    color: #111827;
    font-weight: 500;
}

/* Body-Bereich: Bild + zwei Textspalten */
.vehicle-card-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1.2fr);
    gap: 1.25rem;
    align-items: flex-start;
}

/* Spalte 1: Bild */
.vehicle-col-image {
    max-width: 360px;
}

.vehicle-image-cover {
    position: relative;
    display: inline-flex;
    padding: 0.55rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f9fafb, #e5e7eb);
    border: 1px solid #e5e7eb;
}

.vehicle-image-cover img {
    display: block;
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Platzhalter, wenn kein Bild vorhanden ist */
.vehicle-image-placeholder {
    width: 260px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #9ca3af;
    background: repeating-linear-gradient(
        -45deg,
        #f3f4f6,
        #f3f4f6 6px,
        #e5e7eb 6px,
        #e5e7eb 12px
    );
    border-radius: 10px;
}

/* Status-Badge auf dem Bild */
.vehicle-badge-status {
    position: absolute;
    top: 0.4rem;
    left: 0.6rem;
    font-size: 0.75rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-weight: 500;
    color: #ffffff;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(15,23,42,0.3);
}

.badge-reserved  { background: #f59e0b; }
.badge-available { background: #16a34a; }
.badge-building  { background: #2563eb; }
.badge-planning  { background: #0ea5e9; }
.badge-sold      { background: #b91c1c; }
.badge-tour		 {background: #fef3c7;}
.badge-none      { display: none; }

.vehicle-status-chip.badge-tour{
  /* gleiche Optik-Logik wie deine anderen Badges */
  background: #fef3c7;   /* gelblich */
  color: #92400e;
  border: 1px solid #fcd34d;
}

.vehicle-status-chip.badge-tour,
.vehicle-badge-status.badge-tour {
  color: #92400e;
}

.vehicle-status-chip.badge-tour,
.vehicle-badge-status.badge-tour {
  color: #92400e;
}





/* Spalten 2 & 3: Fahrzeug / Aggregat */
.vehicle-col-vehicle,
.vehicle-col-aggregate {
    min-width: 0;
}

.vehicle-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: #007bc4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

/* Kurztexte (direkt sichtbarer Teil) */
.vehicle-short {
    font-size: 0.93rem;
    line-height: 1.6;
    color: #111827;
    margin-bottom: 0.3rem;
}

.vehicle-short p {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.vehicle-short-empty {
    color: #9ca3af;
    font-style: italic;
}

/* Toggle-Zeile / Button */
.toggle-row {
    margin-top: 0.1rem;
}

.toggle-btn {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.86rem;
    color: #2563eb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.toggle-btn .chevron {
    display: inline-block;
    transition: transform 0.15s ease;
    font-size: 0.9rem;
}

.toggle-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* ausgeklappter Langtext-Block */
.vehicle-detail {
    margin-top: 0.35rem;
    padding: 0.5rem 0.7rem 0.6rem;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #111827;
}

.vehicle-detail p {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

/* Responsive Breakpoints */

/* Tablet: 2 Spalten */
@media (max-width: 900px) {
    .vehicle-card-body {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        grid-template-areas:
            "image vehicle"
            "image aggregat";
        column-gap: 1.25rem;
        row-gap: 0.9rem;
    }

    .vehicle-col-image     { grid-area: image; }
    .vehicle-col-vehicle   { grid-area: vehicle; }
    .vehicle-col-aggregate { grid-area: aggregat; }

    .vehicle-header-meta {
        text-align: left;
    }

    .vehicle-image-cover img {
        max-width: 260px;
        max-height: 260px;
    }
}

/* Mobile: alles untereinander */
@media (max-width: 640px) {
    .page-shell {
        padding: 1.4rem 0.75rem 2.2rem;
    }

    .vehicle-card {
        padding: 0.9rem 0.9rem 1rem;
        border-radius: 12px;
    }

    .vehicle-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        margin-bottom: 0.7rem;
    }

    .vehicle-header-meta {
        text-align: left;
    }

    .vehicle-card-body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "vehicle"
            "aggregat";
        gap: 0.85rem;
    }

    .vehicle-col-image     { grid-area: image; }
    .vehicle-col-vehicle   { grid-area: vehicle; }
    .vehicle-col-aggregate { grid-area: aggregat; }

    .vehicle-col-image {
        max-width: 100%;
    }

    .vehicle-image-cover img {
        max-width: 100%;
        max-height: 240px;
    }
}
/* --- Galerie / Slider Erweiterung --- */
/* Galerie / Slider */
/* --- Galerie-Strip: Pfeile + Thumbnails --- */
/* Slider-Leiste unter dem Hauptbild */
.vehicle-gallery-strip {
    margin-top: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 300px;           /* nicht breiter als das Bild */
    overflow: hidden;
}

.gallery-nav {
    flex: 0 0 24px;
    height: 60px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #4b5563;
    padding: 0;
}

.gallery-nav:hover {
    background: #f3f4f6;
}

.vehicle-gallery-thumbs {
    flex: 1 1 auto;
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
}

.vehicle-thumb {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0;
    background: #ffffff;
    cursor: pointer;
    flex: 0 0 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.vehicle-thumb.is-active {
    border-color: #2563eb;
}

/* Lightbox */
.vehicle-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.vehicle-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
}

.vehicle-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: 5vh auto;
    background: #111827;
    padding: 0.75rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
}

.vehicle-lightbox-close {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    border: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 1.1rem;
    cursor: pointer;
}


.vehicle-lightbox-close:hover {
    background: rgba(37, 99, 235, 0.9);
    transform: scale(1.03);
}

.vehicle-lightbox-content {
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vehicle-lightbox-image {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  display: block;
}

.vehicle-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  width: 44px;
  height: 64px;
  font-size: 40px;
  line-height: 64px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

.vehicle-lightbox-prev { left: 14px; }
.vehicle-lightbox-next { right: 14px; }

.vehicle-lightbox-nav:focus {
  outline: 2px solid rgba(255,255,255,0.75);
  outline-offset: 2px;
}

/* =========================================================
   Modern Lightbox – ästhetisch, animiert, responsive
   Ziel-Elemente aus deinem Template:
   #vehicle-lightbox
   .vehicle-lightbox-backdrop
   .vehicle-lightbox-content
   .vehicle-lightbox-close
   .vehicle-lightbox-nav (.prev/.next)
   #vehicle-lightbox-image
   ========================================================= */

/* ===========================
   FIX: Lightbox Layering
   =========================== */

#vehicle-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
}

#vehicle-lightbox[hidden] {
  display: none !important;
}

/* Backdrop: NUR Optik – KEINE KlickS */
.vehicle-lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  pointer-events: none; /* <<< WICHTIG */
}

/* Content-Box */
.vehicle-lightbox-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 94vw);
  height: min(78vh, 760px);
  background: rgba(20,20,20,0.85);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bild */
#vehicle-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none; /* <<< wichtig */
}

/* ===========================
   BUTTONS – IMMER KLICKBAR
   =========================== */

.vehicle-lightbox-close,
.vehicle-lightbox-nav {
  position: absolute;
  z-index: 5; /* <<< ÜBER ALLEM */
  pointer-events: auto;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, background 0.15s ease;
}

/* Close */
.vehicle-lightbox-close {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  font-size: 20px;
}

/* Navigation */
.vehicle-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 28px;
}

.vehicle-lightbox-prev { left: 14px; }
.vehicle-lightbox-next { right: 14px; }

.vehicle-lightbox-close:hover,
.vehicle-lightbox-nav:hover {
  background: rgba(0,0,0,0.75);
  transform: translateY(-50%) scale(1.08);
}

.vehicle-lightbox-close:hover {
  transform: scale(1.08);
}


/* Wichtig bei Grid/Flex: erlaubt Spalten, wirklich zu schrumpfen */
.vehicle-col-vehicle,
.vehicle-col-aggregate {
  min-width: 0;
}

/* Lange Wörter/URLs dürfen umbrechen statt Layout zu sprengen */
.vehicle-col-vehicle,
.vehicle-col-aggregate,
.vehicle-short,
.vehicle-detail {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* TinyMCE-Inhalte dürfen die Spaltenbreite nicht sprengen */
.vehicle-short *,
.vehicle-detail * {
  max-width: 100%;
}

/* Falls TinyMCE irgendwo floats setzt: Kapselung verhindert Überlaufen */
.vehicle-short,
.vehicle-detail {
  overflow: hidden;
}


/* TinyMCE Tabellen: Zellen IMMER oben bündig ausrichten */
.vehicle-short table,
.vehicle-detail table {
  border-collapse: collapse;
}

.vehicle-short td,
.vehicle-short th,
.vehicle-detail td,
.vehicle-detail th {
  vertical-align: top !important;  /* <<< Key-Fix */
}

/* Falls TinyMCE in Zellen <p> nutzt: oben starten, keine "Zentrier-Margins" */
.vehicle-short td > p,
.vehicle-short th > p,
.vehicle-detail td > p,
.vehicle-detail th > p {
  margin-top: 0 !important;
}

/* Falls TinyMCE Wrapper/Spans inline-flex o.ä. setzt, die zentrieren */
.vehicle-short td * ,
.vehicle-detail td * {
  align-items: flex-start;
}


/* Linke Spalte (erste Zelle je Zeile): immer oben bündig */
.vehicle-short tr > td:first-child,
.vehicle-detail tr > td:first-child,
.vehicle-short tr > th:first-child,
.vehicle-detail tr > th:first-child {
  vertical-align: top !important;
}

/* =========================================================
   TinyMCE-Tabellen: feste Spaltenaufteilung 30 / 70
   ========================================================= */

/* Tabelle soll sich kontrolliert verhalten */
.vehicle-short table,
.vehicle-detail table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* <<< WICHTIG */
}

/* Linke Spalte: 30 % */
.vehicle-short tr > th:first-child,
.vehicle-short tr > td:first-child,
.vehicle-detail tr > th:first-child,
.vehicle-detail tr > td:first-child {
  width: 30%;
  vertical-align: top !important;
  white-space: normal;        /* Umbruch erlaubt */
  word-break: normal;
  padding-right: 0.6rem;
}

/* Rechte Spalte: 70 % */
.vehicle-short tr > th:nth-child(2),
.vehicle-short tr > td:nth-child(2),
.vehicle-detail tr > th:nth-child(2),
.vehicle-detail tr > td:nth-child(2) {
  width: 70%;
  vertical-align: top !important;
  white-space: normal;
  word-break: break-word;
}

/* Überschriften / Text oben bündig starten */
.vehicle-short td > p,
.vehicle-short th > p,
.vehicle-detail td > p,
.vehicle-detail th > p {
  margin-top: 0 !important;
}

/* Falls TinyMCE inline-flex / center setzt */
.vehicle-short td *,
.vehicle-detail td * {
  align-items: flex-start;
}

.vehicle-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    margin-top: 0.35rem;
}

.vehicle-pdf-link:hover {
    text-decoration: underline;
}

.vehicle-pdf-icon {
    width: 16px;
    height: 16px;
    display: block;
}
/* PDF Links (Icon + Dateiname) */
.vehicle-pdf-links{
  margin-top: .45rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.vehicle-pdf-link{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: #2563eb;
  font-size: .85rem;
}

.vehicle-pdf-link:hover{
  text-decoration: underline;
}

.vehicle-pdf-icon{
  width: 20px;
  height: 20px;
  max-width: 50px;
  max-height: 50px;
  flex: 0 0 auto;
  display: block;
}

/* Fahrzeug-Anfrage */
.vehicle-inquiry {
  margin-top: 1.05rem;
  padding: 0.95rem 0 0;
  border-top: 1px solid #e5e7eb;
}

.vehicle-inquiry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
}

.vehicle-inquiry-reference {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: #4b5563;
  overflow-wrap: anywhere;
}

.vehicle-inquiry-reference span {
  font-weight: 700;
  color: #111827;
}

.vehicle-inquiry-reference strong {
  color: #007bc4;
  font-weight: 700;
}

.vehicle-inquiry-open {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid #007bc4;
  border-radius: 8px;
  padding: 0.58rem 0.9rem;
  background: #007bc4;
  color: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 123, 196, 0.17);
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.vehicle-inquiry-open:hover {
  background: #005f99;
  border-color: #005f99;
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 95, 153, 0.2);
}

.vehicle-inquiry-open:focus-visible,
.vehicle-inquiry-submit:focus-visible {
  outline: 3px solid rgba(0, 123, 196, 0.28);
  outline-offset: 2px;
}

.vehicle-inquiry-open[aria-expanded="true"] {
  background: #ffffff;
  color: #007bc4;
  box-shadow: none;
}

.vehicle-inquiry-open[hidden] {
  display: none !important;
}

.vehicle-inquiry-form {
  margin-top: 0.9rem;
  padding: 0.95rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fbfdff;
  display: grid;
  gap: 0.9rem;
}

.vehicle-inquiry-form[hidden] {
  display: none !important;
}

.vehicle-inquiry-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.vehicle-inquiry-fieldset legend {
  margin: 0 0 0.55rem;
  padding: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #111827;
}

.vehicle-inquiry-fieldset--request {
  grid-column: 1 / -1;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.vehicle-inquiry-fieldset--address {
  grid-column: 1 / -1;
}

.vehicle-inquiry-fieldset--remarks {
  grid-column: 1 / -1;
}

.vehicle-form-note {
  margin: -0.3rem 0 0.65rem;
  color: #6b7280;
  font-size: 0.86rem;
}

.vehicle-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.85rem;
}

.vehicle-form-grid--compact {
  max-width: 520px;
}

.vehicle-field {
  min-width: 0;
}

.vehicle-field--full {
  grid-column: 1 / -1;
}

.vehicle-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: #374151;
}

.vehicle-field input,
.vehicle-field select,
.vehicle-field textarea {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 0.93rem;
  padding: 0.52rem 0.65rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vehicle-field select {
  cursor: pointer;
}

.vehicle-field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.vehicle-field input:focus,
.vehicle-field select:focus,
.vehicle-field textarea:focus {
  border-color: #007bc4;
  box-shadow: 0 0 0 3px rgba(0, 123, 196, 0.16);
}

.vehicle-field input.is-invalid,
.vehicle-field select.is-invalid,
.vehicle-field textarea.is-invalid {
  border-color: #b91c1c;
  background: #fff7f7;
}

.vehicle-field-error {
  min-height: 1rem;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #b91c1c;
}

.vehicle-choice-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.vehicle-choice-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 48px;
  padding: 0.68rem 0.75rem;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.vehicle-choice-option:hover {
  border-color: #007bc4;
  background: #f7fbfe;
}

.vehicle-choice-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #007bc4;
}

.vehicle-choice-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vehicle-choice-option:has(input:checked) {
  border-color: #007bc4;
  background: #eef8fd;
  box-shadow: 0 0 0 3px rgba(0, 123, 196, 0.12);
}

.vehicle-choice-group.is-invalid .vehicle-choice-option {
  border-color: #b91c1c;
  background: #fff7f7;
}

.vehicle-checkbox-list {
  display: grid;
  gap: 0.45rem;
}

.vehicle-check-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: #111827;
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}

.vehicle-check-option:hover {
  border-color: #cbd5e1;
  background: #f8fbfd;
}

.vehicle-check-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: #007bc4;
}

.vehicle-check-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vehicle-check-option a {
  color: #007bc4;
  font-weight: 700;
  text-decoration: none;
}

.vehicle-check-option a:hover {
  text-decoration: underline;
}

.vehicle-checkbox-list.is-invalid .vehicle-check-option,
.vehicle-check-option.is-invalid {
  border-color: #b91c1c;
  background: #fff7f7;
}

.vehicle-inquiry-alert {
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.vehicle-inquiry-alert.is-error {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.vehicle-inquiry-alert.is-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.vehicle-inquiry-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.1rem;
}

.vehicle-inquiry-submit {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0.68rem 1.1rem;
  background: #007bc4;
  color: #ffffff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0, 123, 196, 0.2);
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vehicle-inquiry-submit:hover:not(:disabled) {
  background: #005f99;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0, 95, 153, 0.22);
}

.vehicle-inquiry-submit:disabled {
  cursor: wait;
  opacity: 0.75;
}

.vehicle-inquiry-success {
  padding: 0.9rem 1rem;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #14532d;
}

.vehicle-inquiry-success h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.vehicle-inquiry-success p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.vehicle-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 901px) {
  .vehicle-inquiry-form {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }

  .vehicle-inquiry-alert,
  .vehicle-inquiry-privacy,
  .vehicle-inquiry-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .vehicle-inquiry-head {
    display: grid;
    gap: 0.7rem;
  }

  .vehicle-form-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-choice-group {
    grid-template-columns: 1fr;
  }

  .vehicle-inquiry-actions {
    justify-content: stretch;
  }

  .vehicle-inquiry-submit {
    width: 100%;
  }

  .vehicle-inquiry-open {
    width: 100%;
    white-space: normal;
  }
}
