/* Fahrzeug-Exposé — Layout für DIN A4 Hochformat (210 × 297 mm). */

@page { size: A4 portrait; margin: 14mm 14mm 12mm; }

:root{
  --rot:#c7081b; --dunkel:#2d2d2d; --grau:#808080; --linie:#dcdfe3;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:#e9ebee;
  font-family:"Source Sans Pro","Segoe UI",Arial,Helvetica,sans-serif;
  color:var(--dunkel);
  font-size:10.5pt;
  line-height:1.42;
}

/* Bedienleiste — erscheint nie im Druck */
.noprint-bar{
  position:sticky;top:0;z-index:10;
  display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;
  background:var(--dunkel);color:#fff;padding:.7rem 1rem;
}
.noprint-bar button{
  background:#3a3d42;color:#fff;border:1px solid #3a3d42;border-left:4px solid var(--rot);
  border-radius:5px;padding:.5rem 1.1rem .5rem .95rem;font:inherit;font-weight:600;cursor:pointer;
}
.noprint-bar button:hover{background:#2b2d31;border-color:#2b2d31;border-left-color:var(--rot)}
.noprint-bar a{color:#fff;text-decoration:none;font-size:.9em}
.noprint-bar a:hover{text-decoration:underline}
.hint-print{color:#b9bcc2;font-size:.82em;margin-left:auto}

/* Das Blatt selbst */
.sheet{
  width:182mm;                 /* A4-Breite abzüglich 2 × 14 mm Rand */
  margin:8mm auto;
  background:#fff;
  padding:12mm 12mm 10mm;
  box-shadow:0 2px 14px rgba(0,0,0,.14);
}

/* Kopf */
.ex-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;
  border-bottom:2px solid var(--rot);padding-bottom:.5rem;margin-bottom:.9rem}
/* Das Logo ist hell auf transparent — daher auf dunklem Feld, wie auf der Website */
.ex-logo-box{background:var(--dunkel);border-radius:3px;padding:2.5mm 4mm;display:inline-block}
.ex-logo{max-height:16mm;max-width:62mm;object-fit:contain;display:block}
.ex-logo-box--plain{background:transparent;padding:0}
.ex-head-left{display:flex;align-items:center;gap:4mm}
.ex-qr{display:flex;flex-direction:column;align-items:center}
.ex-qr svg{width:19mm;height:19mm;display:block}
.ex-qr small{font-size:.62em;color:var(--grau);margin-top:.4mm;letter-spacing:.02em}
.ex-head-meta{text-align:right;font-size:.86em;color:#4a4f57;line-height:1.5}
.ex-firm{font-weight:700;color:var(--dunkel);font-size:1.12em}

.ex-title{margin:0;font-size:19pt;line-height:1.15}
.ex-variant{margin:.1rem 0 .8rem;color:var(--grau);font-size:1.05em}

/* Bilder + Preisbox */
.ex-top{display:flex;gap:6mm;align-items:flex-start;margin-bottom:5mm}
.ex-images{flex:1 1 62%;min-width:0}
.ex-main{width:100%;height:78mm;object-fit:cover;border:1px solid var(--linie);border-radius:3px;display:block}
.ex-noimg{width:100%;height:78mm;border:1px solid var(--linie);border-radius:3px;
  display:flex;align-items:center;justify-content:center;color:var(--grau);background:#f5f6f8}
.ex-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:2mm;margin-top:2mm}
.ex-thumbs img{width:100%;height:20mm;object-fit:cover;border:1px solid var(--linie);border-radius:2px;display:block}

.ex-price-box{flex:0 0 34%;border:1px solid var(--linie);border-radius:4px;padding:4mm;background:#fafbfc}
.ex-price-old{color:var(--grau);font-size:1em;margin-bottom:.1rem}
.ex-price{font-size:20pt;font-weight:700;color:var(--rot);line-height:1.1}
.ex-vat{font-size:.82em;color:var(--grau);margin-top:.15rem}
.ex-low30{font-size:.75em;color:#6b7280;margin-top:.3rem;line-height:1.35}
.ex-quick{margin:3mm 0 0;border-top:1px solid var(--linie);padding-top:2mm}
.ex-quick>div{display:flex;justify-content:space-between;gap:.6rem;padding:.9mm 0;
  border-bottom:1px solid #eef0f2;font-size:.92em}
.ex-quick>div:last-child{border-bottom:0}
.ex-quick dt{color:var(--grau)}
.ex-quick dd{margin:0;font-weight:600;text-align:right}

/* Abschnitte */
.ex-section{margin-top:5mm}
.ex-section h2{font-size:12pt;margin:0 0 2mm;padding-bottom:1mm;border-bottom:1px solid var(--linie)}
.ex-avoid-break{break-inside:avoid;page-break-inside:avoid}

.ex-specs{display:grid;grid-template-columns:1fr 1fr;gap:0 8mm;margin:0}
.ex-specs>div{display:flex;justify-content:space-between;gap:.8rem;
  padding:1.1mm 0;border-bottom:1px solid #eef0f2}
.ex-specs dt{color:var(--grau)}
.ex-specs dd{margin:0;font-weight:600;text-align:right}

.ex-features{margin:0;padding:0;list-style:none;
  columns:3;column-gap:8mm;font-size:.95em}
.ex-features li{break-inside:avoid;padding:.5mm 0 .5mm 4mm;position:relative}
.ex-features li::before{content:"›";position:absolute;left:0;color:var(--rot);font-weight:700}

.ex-desc{font-size:.95em;line-height:1.5}
.ex-desc p{margin:0 0 1.5mm}
.ex-desc ul,.ex-desc ol{margin:1mm 0 2mm;padding-left:5mm}
.ex-desc li{margin:.3mm 0}

/* Fuß */
.ex-foot{margin-top:6mm;padding-top:2mm;border-top:2px solid var(--rot);font-size:.82em;color:#4a4f57}
.ex-foot-note{margin-top:1.5mm;color:var(--grau);font-size:.95em}

/* ---------- Energielabel + Verbrauch/Emissionen (farbig & tabellarisch, wie Detailseite) ---------- */
.energy-label{border:1px solid #e0e3e7;border-radius:10px;padding:.85rem;background:#fff;font-size:.95em}
.el-head{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:.55rem}
.el-title{font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--grau)}
.el-class{font-size:.82rem;color:var(--grau)}
.el-class strong{font-size:1.15rem;color:var(--dunkel)}
.el-scale{display:flex;gap:3px;margin-bottom:.7rem}
.el-c{flex:1;text-align:center;font-weight:700;font-size:.78rem;color:#fff;padding:.24rem 0;border-radius:3px;opacity:.3}
.el-c.is-on{opacity:1;outline:2px solid var(--dunkel);outline-offset:1px}
.el-c--A{background:#0e8a3e}.el-c--B{background:#4fa832}.el-c--C{background:#9dc41d}
.el-c--D{background:#e8cc0a}.el-c--E{background:#f0a415}.el-c--F{background:#e8681c}.el-c--G{background:#d8231f}
.el-rows{display:grid;grid-template-columns:1fr auto;gap:.18rem .8rem;margin:0 0 .7rem}
.el-rows dt{color:var(--grau);font-size:.84rem}
.el-rows dd{margin:0;font-weight:600;text-align:right;white-space:nowrap;font-size:.84rem}
.el-costs{display:flex;flex-direction:column;gap:.5rem;border-top:1px solid #eef0f2;padding-top:.6rem}
.el-cost{display:flex;flex-direction:column}
.el-cl{font-size:.76rem;color:var(--grau)}
.el-cv{font-size:.9rem;color:var(--dunkel)}
.el-cn{font-size:.68rem;color:var(--grau)}
.el-note{font-size:.72em;line-height:1.4;color:var(--grau);margin:.7rem 0 0;border-top:1px solid #eef0f2;padding-top:.5rem}
.el-note a{color:var(--grau);text-decoration:underline}

/* ---------- Druck ---------- */
@media print{
  body{background:#fff;font-size:10pt}
  .noprint-bar{display:none !important}
  .sheet{width:auto;margin:0;padding:0;box-shadow:none}
  a{color:inherit;text-decoration:none}
  .ex-main{height:72mm}
  /* Farben (Preis, Energielabel-Klassen) auch im Druck erhalten */
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
.ex-subtitle{margin:.1rem 0 .8rem;color:#4a4f57;font-size:.92em;line-height:1.35}

.ex-feature-cat{font-size:9.5pt;font-weight:700;margin:2mm 0 1mm;color:var(--text)}
.ex-feature-cat:first-of-type{margin-top:0}
