/*
 * Optik von ZMC Motors: Aubergine als Grundton, Gold als Akzent – bewusst
 * anders als das Gold auf Schwarz von ZMC Fulfillments und das Blau von
 * ZMC Camping.
 *
 * Keine Schrift von einem fremden Server. In der Datenschutzerklaerung steht,
 * dass diese Seite nichts von Dritten nachlaedt; eine eingebundene Google-Font
 * waere genau das und wuerde die Aussage zur Luege machen.
 */

:root {
  --aubergine: #2A1A2E;
  --aubergine-tief: #1C1020;
  --karte: #34213A;
  --gold: #C9A227;
  --gold-hell: #E3BE4A;
  --text: #F4EFF2;
  --muted: #B9A6BE;
  --muted2: #8C7A92;
  --linie: #4A3250;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--aubergine-tief);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--gold-hell); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* --- Kopf ---------------------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(28, 16, 32, .94);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: blur(8px);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}

/* "ZMC" in Serifen, "MOTORS" gesperrt in Versalien. */
.marke { display: flex; align-items: baseline; gap: 9px; }
.marke .zmc {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .5px;
}
.marke .motors {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: var(--muted);
}

nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
nav a { color: var(--text); }
nav .sprache {
  border: 1px solid var(--linie);
  border-radius: 7px;
  padding: 5px 11px;
  font-size: 13.5px;
  color: var(--muted);
}

/* --- Knöpfe -------------------------------------------------------------- */

.knopf {
  display: inline-block;
  background: var(--gold);
  color: #1C1020;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 9px;
  border: 1px solid var(--gold);
}
.knopf:hover { background: var(--gold-hell); text-decoration: none; }
.knopf.leise { background: none; color: var(--text); border-color: var(--linie); }
.knopf.leise:hover { background: rgba(201, 162, 39, .1); border-color: var(--gold); }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(201, 162, 39, .16), transparent 60%),
    linear-gradient(170deg, var(--aubergine), var(--aubergine-tief));
  border-bottom: 1px solid var(--linie);
  padding: 92px 0 86px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 21ch;
}
.hero h1 .gold { color: var(--gold-hell); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 56ch; margin: 0 0 30px; }
.hero .knoepfe { display: flex; gap: 13px; flex-wrap: wrap; }

/* --- Abschnitte ---------------------------------------------------------- */

section { padding: 76px 0; border-bottom: 1px solid var(--linie); }
section h2 {
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 600;
  margin: 0 0 10px;
}
section .lead { color: var(--muted); max-width: 62ch; margin: 0 0 34px; }

/* --- Fahrzeugkacheln ----------------------------------------------------- */

.kacheln {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.kachel {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  color: var(--text);
}
.kachel:hover { border-color: var(--gold); text-decoration: none; }
.kachel .bild {
  aspect-ratio: 4 / 3;
  background: var(--aubergine);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted2);
  font-size: 13px;
  position: relative;
}
.kachel .bild img { width: 100%; height: 100%; object-fit: cover; }
.kachel .fotos {
  position: absolute;
  right: 9px;
  bottom: 9px;
  background: rgba(28, 16, 32, .82);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 12px;
  color: var(--text);
}
.kachel .inhalt { padding: 15px 17px 17px; }
.kachel h3 { margin: 0 0 3px; font-size: 17.5px; font-weight: 700; line-height: 1.3; }
.kachel .variante { color: var(--muted); font-size: 14px; margin: 0 0 11px; min-height: 1.6em; }
.kachel .fakten { color: var(--muted); font-size: 13.5px; margin: 0 0 13px; }
.kachel .preis {
  font-size: 21px;
  font-weight: 800;
  color: var(--gold-hell);
  font-variant-numeric: tabular-nums;
}
.kachel .preis.anfrage { font-size: 16px; font-weight: 600; color: var(--muted); }

.marker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--linie);
  color: var(--muted);
  margin-bottom: 9px;
}
.marker.unterwegs { border-color: var(--gold); color: var(--gold-hell); }

.leer {
  border: 1px dashed var(--linie);
  border-radius: 14px;
  padding: 40px 28px;
  color: var(--muted);
  max-width: 62ch;
}

/* --- Import-Schritte ----------------------------------------------------- */

.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.schritt {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 13px;
  padding: 20px;
}
.schritt h3 { margin: 0 0 8px; font-size: 15px; color: var(--gold-hell); font-weight: 700; }
.schritt p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* --- CTA-Band ------------------------------------------------------------ */

.band {
  background: linear-gradient(160deg, #3A2440, var(--aubergine-tief));
  border-bottom: 1px solid var(--linie);
  padding: 0;
}
.band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding-top: 30px;
  padding-bottom: 30px;
}
.band h2 { font-family: var(--serif); font-size: 25px; margin: 0 0 5px; }
.band p { margin: 0; color: var(--muted); max-width: 58ch; }

/* --- Fahrzeugseite ------------------------------------------------------- */

.zurueck { display: inline-block; margin: 26px 0 0; color: var(--muted); font-size: 14.5px; }

.fz-kopf { padding: 18px 0 30px; }
.fz-kopf h1 { font-family: var(--serif); font-size: 36px; margin: 0 0 4px; font-weight: 600; }
.fz-kopf .variante { color: var(--muted); font-size: 17px; margin: 0; }

.fz { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; align-items: start; }

.galerie .gross {
  border: 1px solid var(--linie);
  border-radius: 13px;
  overflow: hidden;
  background: var(--karte);
  aspect-ratio: 4 / 3;
}
.galerie .gross img { width: 100%; height: 100%; object-fit: cover; }
.galerie .reihe {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.galerie .reihe a {
  border: 1px solid var(--linie);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.galerie .reihe img { width: 100%; height: 100%; object-fit: cover; }
.galerie .kein {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted2);
  font-size: 14px;
}

.preiskasten {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 22px;
  position: sticky;
  top: 86px;
}
.preiskasten .preis {
  font-size: 34px;
  font-weight: 800;
  color: var(--gold-hell);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.preiskasten .preis.anfrage { font-size: 22px; color: var(--text); }
.preiskasten .steuer { color: var(--muted); font-size: 13.5px; margin: 8px 0 18px; }
.preiskasten .knopf { display: block; text-align: center; }
.preiskasten .telefon { margin-top: 12px; text-align: center; font-size: 14.5px; color: var(--muted); }

.block { margin-top: 44px; }
.block h2 { font-family: var(--serif); font-size: 23px; margin: 0 0 14px; font-weight: 600; }

table.daten { width: 100%; border-collapse: collapse; font-size: 15px; }
table.daten td { padding: 10px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.daten td.k { color: var(--muted); width: 46%; padding-right: 16px; }
table.daten td.w { font-weight: 600; }

.merkmale { columns: 2; column-gap: 28px; font-size: 15px; color: var(--muted); }
.merkmale li { margin-bottom: 5px; break-inside: avoid; }
.merkmale ul { margin: 0; padding-left: 20px; }

.beschreibung { white-space: pre-wrap; color: var(--muted); font-size: 15.5px; }

.envkv { color: var(--muted2); font-size: 12.5px; line-height: 1.55; margin-top: 16px; }

/* --- Textseiten (Impressum, Datenschutz) --------------------------------- */

.textseite { max-width: 76ch; padding: 46px 0 70px; }
.textseite h1 { font-family: var(--serif); font-size: 33px; font-weight: 600; margin: 0 0 24px; }
.textseite h2 { font-size: 17px; margin: 32px 0 7px; color: var(--gold-hell); }
.textseite p { color: var(--muted); margin: 0 0 12px; }
.textseite .adresse { color: var(--text); }

/* --- Fuß ----------------------------------------------------------------- */

footer { padding: 36px 0 46px; color: var(--muted2); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* --- Schmale Bildschirme ------------------------------------------------- */

@media (max-width: 900px) {
  .hero { padding: 62px 0 58px; }
  .hero h1 { font-size: 36px; }
  section { padding: 56px 0; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; }
  .fz { grid-template-columns: 1fr; }
  /* Der Preis darf auf dem Handy nicht unter der Galerie verschwinden. */
  .preiskasten { position: static; order: -1; }
  nav .verbergen { display: none; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 16.5px; }
  .kacheln, .schritte { grid-template-columns: 1fr; }
  section h2 { font-size: 26px; }
  .fz-kopf h1 { font-size: 27px; }
  .merkmale { columns: 1; }
  .knopf { width: 100%; text-align: center; }
  .hero .knoepfe { flex-direction: column; }
}
