:root{
  --rnh-primary:#002b5c;
  --rnh-border:#e7e9ee;
  --rnh-text:#0b1220;
  --rnh-muted:#6b7280;
  --rnh-radius:14px;
}

.rnh-fahrzeuge-page .rnh-fahrzeuge-section{
  padding: 24px 0 40px;
}

.rnh-a3v2-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.rnh-a3v2-title h2{
  margin:0;
  font-size:22px;
  font-weight:700;
  color:var(--rnh-text);
}

.rnh-a3v2-filter-toggle{
  display:none;
  border:1px solid var(--rnh-border);
  background:#fff;
  border-radius:10px;
  padding:10px 14px;
  font-weight:600;
  cursor:pointer;
}

.rnh-a3v2-layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:22px;
}

.rnh-a3v2-filters{
  border:1px solid var(--rnh-border);
  border-radius:var(--rnh-radius);
  background:#fff;
  padding:14px;
  position:sticky;
  top: 12px;
  height: fit-content;
}

.auto3-filter-group{
  margin-bottom:12px;
}
.auto3-filter-group label{
  display:block;
  font-size:12px;
  font-weight:600;
  color:var(--rnh-muted);
  margin-bottom:6px;
}
.auto3-filter-group select{
  width:100%;
  padding:6px 10px;
  border:1px solid var(--rnh-border);
  border-radius:10px;
  background:#fff;
}

.auto3-filter-submit{
  width:100%;
  margin-top:10px;
  /* background:var(--rnh-primary); */
  color:#fff;
  border:0;
  border-radius:10px;
  padding:10px 12px;
  font-weight:700;
  cursor:pointer;
}

.rnh-a3v2-grid-inner{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}

.rnh-a3v2-card{
  border:1px solid var(--rnh-border);
  border-radius:var(--rnh-radius);
  background:#fff;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.rnh-a3v2-card-img{
  display:block;
  background:#f3f4f6;
}
.rnh-a3v2-card-img img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.rnh-a3v2-card-body{
  padding:12px 12px 14px;
}

.rnh-a3v2-card-title{
  margin:0 0 6px;
  font-size:15px;
  font-weight:800;
}
.rnh-a3v2-card-title a{
  color:var(--rnh-text);
  text-decoration:none;
}

.rnh-a3v2-card-sub{
  font-size:12px;
  color:var(--rnh-muted);
  margin-bottom:10px;
}

.rnh-a3v2-specs{
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid var(--rnh-border);
  border-bottom:1px solid var(--rnh-border);
}
.rnh-a3v2-specs li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 2px;
  font-size:12px;
}
.rnh-a3v2-specs li span{ color:var(--rnh-muted); }
.rnh-a3v2-specs li b{ color:var(--rnh-text); font-weight:700; }

.rnh-a3v2-price{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  padding:10px 2px 6px;
}
.rnh-a3v2-price span{ color:var(--rnh-text); font-weight:700; font-size:12px; }
.rnh-a3v2-price strong{ color:var(--rnh-primary); font-weight:900; }

.rnh-a3v2-btn-main{
  display:block;
  text-align:center;
  background:var(--rnh-primary);
  color:#fff;
  text-decoration:none;
  border-radius:10px;
  padding:10px 12px;
  font-weight:800;
}

.rnh-a3v2-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}

.rnh-a3v2-btn-secondary{
  flex:1;
  text-align:center;
  border:1px solid #b6c6e1;
  color:var(--rnh-primary);
  text-decoration:none;
  border-radius:10px;
  padding:10px 10px;
  font-weight:800;
  background:#fff;
}

.rnh-a3v2-icon-btn{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid #b6c6e1;
  border-radius:10px;
  text-decoration:none;
  color:var(--rnh-primary);
  background:#fff;
  font-size:18px;
}

.rnh-a3v2-pagination{
  margin-top:18px;
  display:flex;
  gap:8px;
  justify-content:flex-end;
}

.rnh-a3v2-pagination .auto3-page-link{
  min-width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:8px;
  border:1px solid var(--rnh-border);
  text-decoration:none;
  color:var(--rnh-primary);
  font-weight:800;
  background:#fff;
}
.rnh-a3v2-pagination .auto3-page-link.active{
  background:var(--rnh-primary);
  color:#fff;
  border-color:var(--rnh-primary);
}

/* Responsive */
@media (max-width: 1100px){
  .rnh-a3v2-grid-inner{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .rnh-a3v2-layout{ grid-template-columns: 1fr; }
  .rnh-a3v2-filter-toggle{ display:inline-flex; }
  .rnh-a3v2-filters{ position:relative; top:auto; display:none; }
  .rnh-a3v2-wrap.is-filters-open .rnh-a3v2-filters{ display:block; }
  .rnh-a3v2-grid-inner{ grid-template-columns: 1fr; }
}

.rnh-a3v2-wrap.auto3-grid {
    display: block!important;
}

aside#rnhA3v2Filters {
    width: 100%!important;
}


.row.g-4.align-items-start {
    justify-content: space-between;
    margin: 0px 5px!important;
}

a.rnh-a3v2-btn-main:hover {
    color: white;
}


/* === V2 Card meta (icons like homepage) === */
.rnh-a3v2-wrap .rnh-a3v2-meta{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:10px 0 12px;
}
.rnh-a3v2-wrap .rnh-a3v2-meta-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 0;
  border-bottom:1px solid #e6eaf0;
}
.rnh-a3v2-wrap .rnh-a3v2-meta-item:last-child{ border-bottom:0; }
.rnh-a3v2-wrap .rnh-a3v2-meta-item img{
  width:16px;
  height:16px;
  flex:0 0 16px;
  display:block;
  opacity:.9;
}

/* footer icon buttons (image inside) */
.rnh-a3v2-wrap .rnh-a3v2-icon-btn img{
  width:18px;
  height:18px;
  display:block;
}


.auto3-filter-field.auto3-filter-submit {
    padding: 0px!important;
    align-items: center;
    text-align: center;
    border-radius: 12px!important;
}

.auto3-filter-field.auto3-filter-submit button {
    padding: 2px 10px!important;
    margin: 0px!important;
}


section.bcvh-contact-footer .row.g-4.align-items-start::after {
    display: none!important;
    
}


.row.g-4.align-items-start {
    justify-content:space-between;
}


/* Disclaimer text below grid */
.rnh-a3v2-disclaimer{
  padding: 18px 0 28px;
}
.rnh-a3v2-disclaimer-inner{
  font-size: 13px;
  line-height: 1.6;
  color: #2b2f36;
}
.rnh-a3v2-disclaimer-inner p{
  margin: 0 0 12px;
}


/* === Container / spacing fix (keeps consistent gutters under 2000px) === */
.rnh-fahrzeuge-page .rnh-fahrzeuge-section > .container,
.rnh-fahrzeuge-page .rnh-a3v2-disclaimer > .container,
section.bcvh-contact-footer > .container{
  max-width: 1180px;          /* adjust if you want wider/narrower */
  margin-left: auto;
  margin-right: auto;
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
}

@media (max-width: 1200px){
  .rnh-fahrzeuge-page .rnh-fahrzeuge-section > .container,
  .rnh-fahrzeuge-page .rnh-a3v2-disclaimer > .container{
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* Make disclaimer text match theme (like live footer widget text) */
.rnh-a3v2-disclaimer-inner{
  font-family: inherit;
  font-size: 12.8px;     /* match live screenshot */
  color: #333;           /* match live screenshot */
  line-height: 1.65;
}

.rnh-a3v2-disclaimer-inner p{
  margin: 0 0 16px;
}


/* Use homepage card body styles on Fahrzeuge page */
.rnh-fahrzeuge-page .bcvh-vehicle-body { padding: 0; }
.rnh-fahrzeuge-page .bcvh-vehicle-features { padding: 12px 12px 0; }

.rnh-fahrzeuge-page .bcvh-vehicle-feature-row{
  display:flex;
  gap:16px;
  padding: 10px 0;
  border-top:1px solid #e6eaf0;
}

.rnh-fahrzeuge-page .bcvh-vehicle-feature{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: 13px;
}

.rnh-fahrzeuge-page .bcvh-vehicle-feature--line{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 10px 0;
  border-top:1px solid #e6eaf0;
  font-size: 13px;
}

.rnh-fahrzeuge-page .bcvh-vehicle-ico{
  width:18px;
  height:18px;
  display:inline-grid;
  place-items:center;
  opacity:.9;
}

.rnh-fahrzeuge-page .bcvh-vehicle-ico svg{
  width:18px;
  height:18px;
}

.rnh-fahrzeuge-page .bcvh-vehicle-price-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding: 10px 0 12px;
  border-top:1px solid #e6eaf0;
}

.rnh-fahrzeuge-page .bcvh-vehicle-price-label{ font-weight:700; }
.rnh-fahrzeuge-page .bcvh-vehicle-price{ font-weight:900; color: var(--rnh-primary); }

.rnh-fahrzeuge-page .bcvh-vehicle-footer{
  padding: 12px;
  border-top:1px solid #e6eaf0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.rnh-fahrzeuge-page .bcvh-vehicle-cta{
  flex:1;
  text-align:center;
  background: var(--rnh-primary);
  color:#fff;
  text-decoration:none;
  border-radius:10px;
  padding: 10px 12px;
  font-weight:800;
}

.rnh-fahrzeuge-page .bcvh-vehicle-actions{
  display:flex;
  gap:10px;
}

.rnh-fahrzeuge-page .bcvh-vehicle-icon{
  width:44px;
  height:44px;
  border:1px solid #b6c6e1;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#fff;
}

.rnh-fahrzeuge-page .bcvh-vehicle-icon img{
  width:18px;
  height:18px;
  display:block;
}


/* ============================
   Card layout (match PDF)
   ============================ */

.auto3-card{
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.auto3-card-img{
  position: relative;
  background: #f3f4f6;
}

.auto3-card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auto3-brand-strip{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 10px;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.auto3-brand-strip img{
  width: 100%;
  height: 22px;
  object-fit: contain;
  display: block;
}

.auto3-card-content{
  padding: 12px 12px 14px;
}

.card-title-section h3{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0b1a2a;
}

.model-description{
  margin: 2px 0 10px;
  font-size: 13px;
  color: #5b6776;
}

.auto3-specs{
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 10px;
}

.auto3-spec-row{
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.auto3-spec{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #0b1a2a;
}

.auto3-ico{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(11,26,38,0.55);
}

.auto3-ico svg{
  width: 18px;
  height: 18px;
  display: block;
}

.auto3-spec-line{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: #0b1a2a;
}

.auto3-emission{
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 12px;
  color: #1d5fd3; /* PDF-like blue */
}

.auto3-price-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.auto3-price-label{
  font-weight: 700;
  color: #0b1a2a;
  font-size: 13px;
}

.auto3-price{
  font-weight: 800;
  color: #0b1a2a;
  font-size: 15px;
}

.auto3-used-btn{
  margin-top: 6px;
  width: 100%;
  text-align: center;
  background: #002b5c;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
}

.auto3-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auto3-cta{
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 10px;
  border: 2px solid #0b2a4d;
  color: #0b2a4d;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.auto3-actions{
  display: flex;
  gap: 10px;
}

.auto3-icon{
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(11,42,77,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  text-decoration: none;
}

.auto3-icon img{
  width: 18px;
  height: 18px;
  display: block;
}


.auto3-grid {
    gap: 15px!important;
}

.card-title-section {
    border-bottom: none!important;
}


.auto3-card-link{
  display: block;
  color: inherit;
  text-decoration: none;
}

.auto3-card-link:hover{
  text-decoration: none;
}

.auto3-card-link .auto3-card-img,
.auto3-card-link .auto3-card-content{
  cursor: pointer;
}


.auto3-footer {
    padding: 0 12px;
    padding-bottom: 10px;
}

a.auto3-icon:hover {
    background: #002b5c;
    border-color: #002b5c;
}


a.auto3-cta:hover {
    border: 2px solid #00254e;
    color:#00254e;
}

/* this is what makes a PNG turn white */
a.auto3-icon:hover img { filter: brightness(0) invert(1); }
/* or */
a.auto3-icon:hover img { filter: invert(1); }

@media (max-width: 812px) {
    a.auto3-cta {
    font-size: 13px;
}

.row.g-4.align-items-start {
    flex-direction: column;
    padding-left: 15px!important;
}
}


/* EZ (left) + KM (right) alignment */
.auto3-spec-row{
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.auto3-spec-row .auto3-spec{
  flex: 1;
}

/* right column (KM) */
.auto3-spec-row .auto3-spec:last-child{
  justify-content: flex-end;
  text-align: right;
}



/* === FIX: separate Filter + Reset buttons (theme blue) === */
.rnh-fahrzeuge-page .auto3-filter-field.auto3-filter-submit{
  display:flex !important;
  flex-direction:column;
  gap:10px;
  padding:0 !important;
  align-items:stretch !important;
}

.rnh-fahrzeuge-page .auto3-filter-field.auto3-filter-submit button{
  width:100%;
  background: var(--rnh-primary);
  color:#fff;
  border:0;
  border-radius:12px;
  padding:8px 14px !important;
  font-weight:800;
  cursor:pointer;
}

.rnh-fahrzeuge-page .auto3-filter-field.auto3-filter-submit .auto3-reset{
  width:100%;
  display:block;
  text-align:center;
  border:2px solid var(--rnh-primary);
  color: var(--rnh-primary);
  background:#fff;
  border-radius:12px;
  padding:8px 14px;
  font-weight:800;
  text-decoration:none;
}

/* .rnh-fahrzeuge-page .auto3-filter-field.auto3-filter-submit .auto3-reset:hover{
  background: var(--rnh-primary);
  color:#fff;
}
 */



 /* Default: emission hidden (no space) */
.auto3-emission {
  display: block;
  min-height: 56px;
}

/* Only rows that have emission should reserve space */
.auto3-card.row-has-emission .auto3-emission {
  display: block;
  min-height: 56px; /* adjust based on design */
}



/* ===============================
   Fahrzeuge filters – force modern slider look
   Scope: only this template wrapper
=============================== */
.rnh-fahrzeuge-page .auto3-range-block.is-modern{
  padding:12px !important;
  border:1px solid rgba(0,0,0,.10) !important;
  border-radius:12px !important;
  background:#fff !important;
}

.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-title{
  font-weight:700 !important;
  font-size:14px !important;
  margin:0 0 8px !important;
}

/* overlap the 2 ranges */
.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-dual-range{
  position:relative !important;
  height:26px !important;
  margin:6px 0 10px !important;
}

/* IMPORTANT: force custom styling (kills the "blue default") */
.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-slider{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  width:100% !important;
  height:26px !important;
  margin:0 !important;

  -webkit-appearance:none !important;
  appearance:none !important;

  background: transparent !important;
  pointer-events:none !important; /* thumbs still clickable via thumb rules below */
}

/* Track */
.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-slider::-webkit-slider-runnable-track{
  height:6px !important;
  border-radius:999px !important;
  background: rgba(0,43,92,.25) !important;
}
.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-slider::-moz-range-track{
  height:6px !important;
  border-radius:999px !important;
  background: rgba(0,43,92,.25) !important;
}

/* Thumb */
.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-slider::-webkit-slider-thumb{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:18px !important;
  height:18px !important;
  border-radius:50% !important;
  background: var(--rnh-primary) !important;
  border:2px solid #fff !important;
  box-shadow:0 2px 8px rgba(0,0,0,.25) !important;
  pointer-events:auto !important;
  margin-top:-6px !important;
}
.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-slider::-moz-range-thumb{
  width:18px !important;
  height:18px !important;
  border-radius:50% !important;
  background: var(--rnh-primary) !important;
  border:2px solid #fff !important;
  box-shadow:0 2px 8px rgba(0,0,0,.25) !important;
  pointer-events:auto !important;
}

/* Inputs under range */
.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-inputs{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
}

.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-input{
  width:100% !important;
  height:42px !important;
  border-radius:10px !important;
  border:1px solid rgba(0,0,0,.14) !important;
  padding:0 38px 0 12px !important;
  outline:none !important;
}

.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-input-wrap{
  position:relative !important;
}
.rnh-fahrzeuge-page .auto3-range-block.is-modern .auto3-range-input-wrap::after{
  content: attr(data-suffix);
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:13px;
  opacity:.7;
  pointer-events:none;
}

.bcvh-vehicle-popup__heading {
  flex: 1;
}

.bcvh-vehicle-popup__card-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.bcvh-vehicle-popup__title {
  margin: 0;
}


.auto3-spec-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.auto3-spec{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.auto3-spec--fuel{
  justify-content:flex-end;
  text-align:right;
  margin-left:auto;
}

.auto3-spec--fuel span:last-child{
  white-space:nowrap;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #002b5c;
    border-radius: 12px;
    width: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 28px;
    border-radius: 12px !important;
    border: 0;
    background: #002b5c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 0px;
}


form.wpcf7-form.init {
    margin-bottom: 0px;
}

span.form-datenschutz.rnh-jobform-consent a {
    color: blue;
}

span.wpcf7-list-item.first.last input[type="checkbox"] {
    margin-bottom: 0px;
}

.bcvh-vehicle-popup__content .bcvh-vehicle-popup__form div#wpcf7-f52-o1 input , .bcvh-vehicle-popup__content .bcvh-vehicle-popup__form div#wpcf7-f52-o1 textarea {
    margin-bottom: 0px;
}

