/* ============================================================
   Augus Motors — theme "augusneu" (white ground, orange-red accent)
   Design tokens from the handoff (reference width 1440 px)
   ============================================================ */

:root {
  --accent: #D6432C;
  --accent-dark: #B5341F;
  --accent-light: #F0876F;
  --accent-tint: #FBEDE9;
  --ink: #16130F;
  --body: #3D3831;
  --muted: #6E675F;
  --faint: #8B857D;
  --hairline: #E8E3DC;
  --hairline-2: #EEE9E3;
  --hairline-3: #D8D2C9;
  --bg-light: #FBFAF8;
  --bg-light-2: #F6F4F1;
  --footer-text: #B9B2A9;
  /* Verdana: system font, very large x-height, sturdy and legible.
     It ships only 400 and 700 — never use 800/900 anywhere. */
  --font-ui: Verdana, Geneva, 'DejaVu Sans', Tahoma, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --gutter: 64px;
  --measure: 800px; /* max line length for running text */
  /* subtle red glow around content photos (accent D6432C) */
  --photo-edge: rgba(214, 67, 44, 0.28);
  --photo-glow: 0 0 0 4px rgba(214, 67, 44, 0.06), 0 6px 22px rgba(214, 67, 44, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #fff;
  color: var(--body);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input { outline: none; font-family: var(--font-ui); }

.container { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- top contact bar ---------- */
.utility {
  background: var(--ink);
  color: var(--footer-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--gutter);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.utility-contacts { display: flex; gap: 32px; }
.utility-contacts a { transition: color 0.15s; }
.utility-contacts a:hover { color: #fff; }
.lang-toggle { display: flex; gap: 10px; align-items: center; }
.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 2px 3px;
  color: var(--faint);
  border-bottom: 2px solid transparent;
}
.lang-btn.active { color: #fff; border-bottom-color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px var(--gutter);
  background: #fff;
  border-bottom: 1px solid var(--hairline-2);
  position: relative;
}
.site-header .logo img { height: 88px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.nav-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}
.btn-kontakt {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 10px;
  transition: background 0.15s;
}
.btn-kontakt:hover { background: var(--accent-dark); color: #fff; }

/* mobile menu button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline-3);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  font-size: 20px;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 10px;
  transition: all 0.15s;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 11, 8, 0.92) 0%, rgba(14, 11, 8, 0.55) 55%, rgba(14, 11, 8, 0.15) 100%);
}
.hero-content {
  position: relative;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 924px;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker-accent { color: var(--accent); font-size: 13px; }
.hero .kicker { color: var(--accent-light); }
.hero-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.04;
  color: #fff;
  letter-spacing: -0.015em;
}
.hero-sub { font-size: 20px; line-height: 1.6; color: #D8D2C9; max-width: 620px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 88px var(--gutter); }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.section-title {
  font-size: 33px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 760px;
  line-height: 1.2;
}

/* ---------- feature tiles ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-tile {
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 26px 28px;
  background: #fff;
  color: var(--ink);
  transition: all 0.18s ease;
  cursor: pointer;
  min-width: 0; /* let the column shrink instead of long labels widening it */
}
.feature-tile img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  transition: filter 0.18s ease;
}
.feature-tile span { font-size: 18px; font-weight: 600; line-height: 1.3; min-width: 0; overflow-wrap: break-word; }
.feature-arrow {
  margin-left: auto;
  padding-left: 12px;
  font-size: 20px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.18s ease;
}
.feature-tile:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.feature-tile:hover img { filter: brightness(0) invert(1); mix-blend-mode: normal; }
.feature-tile:hover .feature-arrow { opacity: 1; transform: translateX(0); }
.feature-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- carousel ---------- */
.carousel-section { padding: 0 var(--gutter) 96px; }
.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.carousel-controls { display: flex; gap: 10px; align-items: center; }
.carousel-arrow {
  width: 52px;
  height: 52px;
  border-radius: 99px;
  border: 1px solid var(--hairline-3);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  transition: all 0.15s;
}
.carousel-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 20px; will-change: transform; }
.carousel-track img {
  width: var(--car-w, 420px);
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: #fff;
}

/* ---------- page head (inner pages) ---------- */
.page-head { padding: 56px var(--gutter) 0; display: flex; flex-direction: column; gap: 8px; }
.page-title { font-size: 36px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.page-title-lg { font-size: 42px; }
.page-sub { font-size: 18px; color: var(--muted); }
.accent-rule { width: 72px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: 6px; }
.legal-note { font-family: var(--font-mono); font-size: 13px; color: var(--faint); margin-top: 8px; }

/* ---------- shop ---------- */
.shop-toolbar { padding: 24px var(--gutter) 0; display: flex; flex-direction: column; gap: 24px; }
.shop-search { display: flex; gap: 12px; align-items: stretch; }
.shop-search input {
  flex: 1;
  border: 1px solid var(--hairline-3);
  border-radius: 10px;
  padding: 0 20px;
  font-size: 15px;
  color: var(--ink);
  height: 52px;
  background: var(--bg-light);
}
.shop-search button {
  border: none;
  display: flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 32px;
  border-radius: 10px;
  transition: background 0.15s;
}
.shop-search button:hover { background: var(--accent-dark); }
.cat-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-pill {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid var(--hairline-3);
  background: #fff;
  color: var(--ink);
  transition: all 0.15s;
}
.cat-pill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid {
  padding: 40px var(--gutter) 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.18s ease;
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(20, 15, 10, 0.10);
}
.product-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-light-2);
}
.product-card.no-photo > img { object-fit: contain; padding: 48px; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.product-name { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.product-meta { font-family: var(--font-mono); font-size: 14px; color: var(--faint); }
.product-price { font-size: 22px; font-weight: 700; color: var(--ink); margin-top: auto; padding-top: 10px; }
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
  font-size: 17px;
}

/* ---------- sold items ---------- */
.sold-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  position: relative;
  transition: all 0.18s ease;
}
.sold-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(20, 15, 10, 0.10);
}
.sold-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  z-index: 1;
}
.sold-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-light-2);
  filter: saturate(0.85);
}
.sold-card .sold-name {
  display: block;
  padding: 18px 22px 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

/* ---------- about us ---------- */
.about-section { padding: 72px var(--gutter) 88px; display: flex; flex-direction: column; gap: 48px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; color: var(--body); }
.about-text .strong { font-weight: 600; color: var(--ink); }
.about-photos { display: flex; flex-direction: column; gap: 16px; }
/* height:auto lets aspect-ratio beat the width/height attributes */
.about-photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
/* Two-column variant for four photos. Uses columns rather than a strict
   grid so a portrait shot keeps its own proportions instead of being
   cropped to 3:2. */
.about-photos--grid { display: block; column-count: 2; column-gap: 16px; }
.about-photos--grid img {
  aspect-ratio: auto;
  break-inside: avoid;
  margin-bottom: 16px;
}

/* ---------- service pages ---------- */
/* Editorial layout: wide opening photo, then a single readable text
   column with the remaining photos in the flow. No fixed-height sidebar,
   so both a 3-paragraph and an 18-block page stay coherent. */
/* One centred column: heading, photos and text share a width, so nothing
   sits at the edge and no photo runs wider than the rest. */
.detail-section {
  padding: 56px var(--gutter) 88px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  width: 100%;
}

/* opening photo — shown whole, never cropped to a banner strip */
.detail-banner {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: var(--bg-light-2);
}

.detail-body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}
.detail-body .lead { font-size: 21px; line-height: 1.55; color: var(--ink); }
.detail-body a { color: var(--accent); font-weight: 700; }
.detail-body a:hover { color: var(--accent-dark); text-decoration: underline; }

/* photo inside the text column — same width as the text, shown whole */
.detail-figure { margin: 4px 0; }
.detail-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--bg-light-2);
}

.detail-list { list-style: none; display: grid; gap: 12px; }
.detail-list li { position: relative; padding-left: 28px; }
.detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* closing photos; --cols is set per page so no row is left half empty */
.detail-gallery { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 20px; }
.detail-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--bg-light-2);
}

/* shared red glow for content photos */
.detail-banner,
.detail-figure img,
.detail-gallery img,
.about-photos img {
  border: 1px solid var(--photo-edge);
  box-shadow: var(--photo-glow);
}

.detail-cta {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.detail-back {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.15s;
}
.detail-back:hover { color: var(--accent-dark); }

/* ---------- legal pages ---------- */
.legal-section { padding: 72px var(--gutter) 96px; max-width: calc(860px + 2 * var(--gutter)); }
.legal-body { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.7; color: var(--body); margin-top: 40px; }
.legal-body h2, .legal-body h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 26px;
  line-height: 1.4;
}
.legal-body a { color: var(--accent); word-break: break-word; }
.legal-body a:hover { color: var(--accent-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); padding: 64px var(--gutter) 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-wordmark { font-size: 23px; font-weight: 700; color: #fff; letter-spacing: 0.12em; }
.footer-wordmark em { color: var(--accent); font-style: normal; }
.footer-reviews { font-size: 15px; line-height: 1.6; }
.footer-reviews a { color: var(--footer-text); transition: color 0.15s; }
.footer-reviews a:hover { color: #fff; }
.footer-col a { color: var(--footer-text); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-contact { font-family: var(--font-mono); font-size: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- social icon buttons ---------- */
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--footer-text);
  transition: all 0.15s;
}
.social-btn svg { width: 19px; height: 19px; display: block; }
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* fixed social bar (left edge, as on the original site) */
.social-bar {
  position: fixed;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}
.social-bar .social-btn {
  background: #fff;
  border: 1px solid var(--hairline);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(20, 15, 10, 0.12);
}
.social-bar .social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- floating contact button ---------- */
.kontakt-pill {
  position: fixed;
  right: 28px;
  bottom: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 99px;
  box-shadow: 0 10px 30px rgba(214, 67, 44, 0.4);
  transition: background 0.15s;
  z-index: 95;
}
.kontakt-pill:hover { background: var(--accent-dark); }

/* ============================================================
   Item page, order form and breakpoints
   ============================================================ */

/* ---------- item page ---------- */
/* Two columns up top: photos on the left, everything needed for a
   decision on the right (price, condition, order). Full width below:
   spec table, description, similar listings. */
.artikel-crumb {
  padding: 28px var(--gutter) 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.artikel-crumb a { color: var(--muted); transition: color 0.15s; }
.artikel-crumb a:hover { color: var(--accent); }
.artikel-crumb .sep { color: var(--hairline-3); }
.artikel-crumb .cur { color: var(--ink); }

.artikel-missing {
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  font-size: 20px;
  color: var(--muted);
}

.artikel-top {
  padding: 28px var(--gutter) 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

/* gallery */
.artikel-gallery { display: flex; flex-direction: column; gap: 14px; }
.artikel-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  background: var(--bg-light-2);
  border: 1px solid var(--photo-edge);
  box-shadow: var(--photo-glow);
}
.artikel-photo.no-photo { object-fit: contain; padding: 56px; }
.artikel-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.artikel-thumb {
  width: 88px;
  height: 66px;
  border-radius: 9px;
  border: 2px solid transparent;
  background-color: var(--bg-light-2);
  background-size: cover;
  background-position: center;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.15s, border-color 0.15s;
}
.artikel-thumb:hover { opacity: 1; }
.artikel-thumb.active { opacity: 1; border-color: var(--accent); }

/* info column */
.artikel-info { display: flex; flex-direction: column; gap: 14px; }
.artikel-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.artikel-info .accent-rule { margin-top: 0; }
.artikel-id {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.artikel-buy { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.artikel-price { font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.artikel-vat { font-size: 14px; color: var(--muted); }
.artikel-flag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
}
.artikel-flag--stock { background: var(--accent-tint); color: var(--accent-dark); }
.artikel-flag--sold { background: var(--ink); color: #fff; }
.artikel-trust { list-style: none; display: grid; gap: 11px; margin-top: 6px; }
.artikel-trust li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}
.artikel-trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.artikel-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.btn-outline { border: 1px solid var(--hairline-3); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* technical data */
.spec-section { padding: 72px var(--gutter) 0; }
.spec-section .section-title,
.artikel-desc .section-title { margin-bottom: 24px; }
.spec-table {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  border-top: 1px solid var(--hairline);
  max-width: 900px;
}
.spec-key,
.spec-val { padding: 15px 0; border-bottom: 1px solid var(--hairline); }
.spec-key {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 24px;
}
.spec-val { font-size: 17px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

/* description */
.artikel-desc {
  padding: 72px var(--gutter) 0;
  max-width: calc(var(--measure) + 2 * var(--gutter));
}

/* enquiry incl. VIN */
.anfrage-section { padding: 72px var(--gutter) 0; scroll-margin-top: 24px; }
.anfrage-card {
  background: var(--bg-light);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.anfrage-head { display: flex; flex-direction: column; gap: 8px; }
.anfrage-lead { font-size: 17px; color: var(--muted); max-width: var(--measure); }
.anfrage-form { display: flex; flex-direction: column; gap: 22px; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline-3);
  border-radius: 10px;
  padding: 13px 15px;
  outline: none;
  width: 100%;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field-hint { font-size: 13px; color: var(--faint); line-height: 1.5; }
.field.invalid input,
.field.invalid textarea { border-color: var(--accent); background: var(--accent-tint); }
.anfrage-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
}
.anfrage-consent input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--accent);
}
.anfrage-consent.invalid { color: var(--accent); }
.anfrage-consent a { color: var(--accent); font-weight: 700; }
.anfrage-consent a:hover { text-decoration: underline; }
.anfrage-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.anfrage-form button { border: none; }
.anfrage-status { font-size: 15px; font-weight: 700; }
.anfrage-status.is-error { color: var(--accent); }
.anfrage-status.is-ok { color: #2E7D46; }

/* similar listings */
.similar-section { padding: 72px var(--gutter) 0; }
.similar-grid { padding: 28px 0 88px; }


/* ---------- order form ---------- */
.best-section { padding: 32px var(--gutter) 96px; }
.best-form { gap: 36px; }
.form-group { display: flex; flex-direction: column; gap: 18px; }
.form-group + .form-group { border-top: 1px solid var(--hairline); padding-top: 32px; }
.form-group-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field-label .req { color: var(--accent); font-weight: 700; }
.field select {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline-3);
  border-radius: 10px;
  padding: 13px 15px;
  outline: none;
  width: 100%;
  height: 49px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field.invalid select { border-color: var(--accent); background: var(--accent-tint); }
.delivery-block[hidden] { display: none; }

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero-title { font-size: 40px; }
  .page-title-lg { font-size: 36px; }
  .features, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .artikel-top { gap: 36px; }
  .artikel-title { font-size: 28px; }
  .spec-table { grid-template-columns: minmax(170px, 240px) 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .social-bar { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .utility-contacts { gap: 16px; }
  .utility-contacts .utility-email { display: none; }
  .site-header .logo img { height: 64px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--hairline-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    z-index: 99;
    box-shadow: 0 18px 44px rgba(20, 15, 10, 0.10);
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { padding: 14px 0; }
  .main-nav .btn-kontakt { margin-top: 10px; }
  .hero { min-height: 480px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 18px; }
  .section { padding: 56px var(--gutter); }
  .section-title { font-size: 25px; }
  .page-title { font-size: 27px; }
  .page-title-lg { font-size: 29px; }
  .features, .product-grid { grid-template-columns: 1fr; }
  .artikel-top { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; }
  .artikel-title { font-size: 25px; }
  .artikel-price { font-size: 29px; }
  .artikel-ctas .btn { flex: 1 1 100%; text-align: center; }
  .spec-section, .artikel-desc, .anfrage-section, .similar-section { padding-top: 48px; }
  .spec-table { grid-template-columns: 1fr; }
  .spec-key { padding-bottom: 2px; border-bottom: none; }
  .spec-val { padding-top: 0; }
  .anfrage-card { padding: 24px 20px; border-radius: 16px; }
  .anfrage-grid { grid-template-columns: 1fr; }
  .best-section { padding: 20px var(--gutter) 64px; }
  .best-form { gap: 26px; }
  .form-group + .form-group { padding-top: 24px; }
  .form-group-title { font-size: 19px; }
  .anfrage-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .anfrage-form button { width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .detail-section { padding: 40px var(--gutter) 64px; gap: 32px; }
  .detail-banner { border-radius: 14px; }
  .detail-body { gap: 22px; font-size: 17px; }
  .detail-body .lead { font-size: 19px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .about-photos--grid { column-count: 1; }
  .feature-tile { gap: 16px; padding: 22px 20px; }
  .feature-arrow { opacity: 1; transform: none; padding-left: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .shop-search { flex-direction: column; }
  .shop-search input { height: 48px; }
  .shop-search button { justify-content: center; padding: 14px 32px; }
}

/* ============================================================
   CMS adaptations (theme "augusneu")
   Nothing below exists in the static mock: it catches the markup
   CSZ-CMS emits on its own (navigation, pagination, WYSIWYG page
   content, gallery plugin).
   ============================================================ */

/* ---------- navigation emitted by the CMS ---------- */
/* Headfoot_html::topmenu() emits <li class="nav-item"><a class="nav-link" …>;
   main.php adds the .active class itself, see the note there. */
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 40px; margin: 0; padding: 0; }
.main-nav .nav-item { list-style: none; }
.main-nav .nav-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-transform: uppercase;
  transition: color 0.15s;
  white-space: nowrap;
}
.main-nav .nav-link:hover { color: var(--accent); }
.main-nav .nav-link.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

/* dropdown, in case one is created in the CMS */
.main-nav .dropdown { position: relative; }
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 8px 0;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 18px 44px rgba(20, 15, 10, 0.12);
  z-index: 100;
}
.main-nav .dropdown:hover .dropdown-menu { display: flex; }
.main-nav .dropdown-menu li { width: 100%; }
.main-nav .dropdown-menu a { display: block; padding: 10px 18px; font-size: 14px; }

/* ---------- footer menu emitted by the CMS ---------- */
.footer-col ul, ul.footerMenu { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
ul.footerMenu li { list-style: none; }
ul.footerMenu a { color: var(--footer-text); transition: color 0.15s; }
ul.footerMenu a:hover { color: #fff; }
/* the CMS footer menu is one list, so the theme runs three columns
   rather than the mock's four */
.site-footer .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }

/* ---------- pagination (CI create_links) ---------- */
/* CI emits <nav><ul class="pagination"><li class="active"><a>…, so the list
   itself is the flex row and the active page is a class, not a <strong>. */
.pagination-wrap {
  padding: 0 var(--gutter) 88px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.pagination-wrap ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination-wrap li { list-style: none; }
.pagination-wrap a,
.pagination-wrap strong,
.pagination-wrap b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hairline-3);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 400;
  transition: all 0.15s;
}
.pagination-wrap a:hover { border-color: var(--accent); color: var(--accent); }
.pagination-wrap strong,
.pagination-wrap b,
.pagination-wrap li.active a {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 700;
  pointer-events: none;
}

/* ---------- category filter rendered as links ---------- */
a.cat-pill { display: inline-block; }
a.cat-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-reset {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  align-self: center;
  transition: color 0.15s;
}
.shop-reset:hover { color: var(--accent); }
.shop-count { font-family: var(--font-mono); font-size: 13px; color: var(--faint); letter-spacing: 0.04em; }

/* ---------- WYSIWYG page content ---------- */
/* Page content is free-form HTML in the database. This gives it the
   new design's typography without anyone having to touch the texts in
   the CMS. */
.cms-content { font-size: 18px; line-height: 1.7; color: var(--body); }
.cms-content > * + * { margin-top: 22px; }
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 40px;
}
.cms-content h1 { font-size: 33px; letter-spacing: -0.01em; }
.cms-content h2 { font-size: 27px; letter-spacing: -0.005em; }
.cms-content h3 { font-size: 21px; }
.cms-content h4 { font-size: 19px; }
.cms-content h1:first-child, .cms-content h2:first-child, .cms-content h3:first-child { margin-top: 0; }
.cms-content a { color: var(--accent); font-weight: 700; overflow-wrap: break-word; }
.cms-content a:hover { color: var(--accent-dark); text-decoration: underline; }
.cms-content strong, .cms-content b { color: var(--ink); }
.cms-content ul, .cms-content ol { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.cms-content ol { list-style: decimal; padding-left: 22px; }
.cms-content ol li { padding-left: 4px; }
.cms-content ul li { position: relative; padding-left: 28px; }
.cms-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.cms-content img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--photo-edge);
  box-shadow: var(--photo-glow);
  margin: 8px 0;
}
.cms-content iframe { width: 100%; max-width: 100%; border: 0; border-radius: 16px; }
.cms-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.cms-content th, .cms-content td { padding: 12px 14px; border-bottom: 1px solid var(--hairline); text-align: left; }
.cms-content th { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.cms-content hr { border: 0; border-top: 1px solid var(--hairline); margin: 32px 0; }
.cms-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  color: var(--muted);
}
/* Legacy Bootstrap markup inside stored page content.
   The texts were written against the old theme's grid, so .row/.col-*
   still show up in the database. Without Bootstrap they would stack as
   plain blocks; this turns a .row back into a responsive grid and stops
   .container adding a second gutter inside an already padded section. */
.cms-content .container { padding: 0; width: auto; max-width: none; }
.cms-content .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}
.cms-content .row > * + * { margin-top: 0; }
.cms-content .row .row { display: block; gap: 0; }
.cms-content [class*="col-"] > * + * { margin-top: 22px; }
.cms-content .img-responsive, .cms-content .img-thumbnail { width: 100%; height: auto; }
.cms-content .clearfix, .cms-content .visible-xs, .cms-content .visible-sm { display: none; }

/* the editor tends to leave empty paragraphs and hardcoded fonts */
.cms-content p:empty { display: none; }
.cms-content [style*="font-family"] { font-family: var(--font-ui) !important; }

/* ---------- notices ---------- */
.notice {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 16px;
  border: 1px solid var(--hairline-3);
  background: var(--bg-light);
  color: var(--body);
}
.notice-ok { border-color: #B6DDC2; background: #EEF8F1; color: #2E7D46; }
.notice-error { border-color: var(--accent-light); background: var(--accent-tint); color: var(--accent-dark); }

/* ---------- gallery plugin ("Verkaufte Artikel") ---------- */
.gallery-grid { padding: 40px var(--gutter) 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-shots { padding: 28px var(--gutter) 88px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-shots a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--photo-edge); box-shadow: var(--photo-glow); }
.gallery-shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-light-2); transition: transform 0.25s ease; }
.gallery-shots a:hover img { transform: scale(1.03); }

/* ---------- search results ---------- */
.search-list { padding: 32px var(--gutter) 88px; display: flex; flex-direction: column; gap: 4px; max-width: calc(var(--measure) + 2 * var(--gutter)); }
.search-hit { padding: 24px 0; border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 6px; }
.search-hit h2 { font-size: 21px; font-weight: 700; color: var(--ink); }
.search-hit h2 a:hover { color: var(--accent); }
.search-hit p { font-size: 16px; color: var(--muted); }

/* ---------- error page ---------- */
.error-section { padding: 96px var(--gutter); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.error-code { font-family: var(--font-mono); font-size: 72px; font-weight: 600; color: var(--accent); line-height: 1; }

@media (max-width: 1100px) {
  .gallery-grid, .gallery-shots { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .main-nav .nav-item { width: 100%; }
  .main-nav .nav-link { display: block; padding: 14px 0; }
  .main-nav .dropdown-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .main-nav .dropdown:hover .dropdown-menu { display: flex; }
  .gallery-grid, .gallery-shots { grid-template-columns: 1fr; }
  .pagination-wrap { padding-bottom: 64px; }
}
