/* ==========================================================================
   Jaha Cars — Stylesheet
   ========================================================================== */

:root {
  --ink: #14161a;
  --ink-soft: #1e2127;
  --paper: #ffffff;
  --paper-alt: #f5f3f0;
  --paper-line: #e7e3dd;
  --text: #1c1e22;
  --text-muted: #666c76;
  --text-on-dark: #f3f2f0;
  --text-on-dark-muted: #aeb3ba;
  --accent: #e0570f;
  --accent-dark: #b8440a;
  --accent-tint: #fff1e8;
  --success: #1f8a4c;
  --danger: #c93838;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 14px 34px -18px rgba(20, 16, 10, 0.35);
  --shadow-pop: 0 24px 48px -20px rgba(20, 16, 10, 0.45);
  --container: 1160px;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--text-muted); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 780px) {
  section { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(224, 87, 15, 0.55);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 15px; font-size: 13px; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #fff;
}
.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.01em;
}
.brand .brand-name span { color: var(--accent); }
.brand .brand-tag {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.main-nav a.active, .main-nav a:hover { color: #fff; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.header-phone svg { flex-shrink: 0; color: var(--accent); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 960px) {
  .header-phone span.phone-label { display: none; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 26px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 22px;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 4px; }
  .site-header.nav-open .main-nav a { display: block; padding: 12px 0; font-size: 17px; }
  .site-header.nav-open .main-nav .btn { margin-top: 6px; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  color: #fff;
  padding: 120px 0 100px;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.lead {
  font-size: 18px;
  color: var(--text-on-dark-muted);
  max-width: 540px;
  margin-bottom: 34px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: #fff;
}
.hero-stats div span {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Page banner (inner pages) */
.page-banner {
  background: var(--ink);
  color: #fff;
  padding: 64px 0 58px;
  background: radial-gradient(circle at 15% 20%, #23262d, var(--ink) 60%);
}
.page-banner .eyebrow { color: var(--accent); }
.page-banner h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; }
.page-banner p { color: var(--text-on-dark-muted); font-size: 17px; max-width: 620px; margin: 0; }
.breadcrumb {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.breadcrumb a { color: var(--text-on-dark-muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* ---- USP bar ---- */
.usp-bar { background: var(--paper-alt); padding: 56px 0; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usp-grid { grid-template-columns: 1fr; } }
.usp-item { display: flex; gap: 16px; align-items: flex-start; }
.usp-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.usp-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.usp-item p { font-size: 14.5px; margin: 0; }

/* ---- Vehicle cards ---- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 940px) { .vehicle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vehicle-grid { grid-template-columns: 1fr; } }

.vehicle-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.vehicle-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.vehicle-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(20,22,26,0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.vehicle-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.vehicle-body h3 { font-size: 18.5px; margin: 0; }
.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.vehicle-specs span { display: inline-flex; align-items: center; gap: 5px; }
.vehicle-specs svg { color: var(--accent); flex-shrink: 0; }
.vehicle-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-line);
}
.vehicle-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
}
.vehicle-price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.vehicle-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--paper-line);
  color: var(--ink);
  transition: all .15s ease;
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.fleet-note {
  margin-top: 44px;
  background: var(--paper-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.fleet-note h3 { margin-bottom: 4px; font-size: 19px; }
.fleet-note p { margin: 0; font-size: 14.5px; }

/* ---- About teaser / split sections ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }
@media (max-width: 860px) {
  .split.reverse .split-media, .split.reverse .split-copy { order: initial; }
}
.split-copy h2 { font-size: clamp(26px, 3.4vw, 34px); }
.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; font-weight: 500; }
.check-list svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--ink);
  color: #fff;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(224,87,15,0.25), transparent 55%);
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.cta-inner p { color: var(--text-on-dark-muted); margin: 0; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Values grid (About page) ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.value-card .usp-icon { margin-bottom: 18px; }
.value-card h3 { font-size: 17.5px; }
.value-card p { font-size: 14.5px; margin: 0; }

/* ---- Timeline (About) ---- */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--paper-line);
}
.timeline-item:first-child { padding-top: 0; }
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--accent); }
.timeline-item h3 { font-size: 17px; margin-bottom: 4px; }
.timeline-item p { margin: 0; font-size: 14.5px; }

/* ---- Team / owner card ---- */
.owner-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--paper-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
}
.owner-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
}
.owner-card h3 { font-size: 17px; margin-bottom: 2px; }
.owner-card p { margin: 0; font-size: 14px; }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.card h2, .card h3 { margin-bottom: 8px; }

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--paper-line);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--paper-alt);
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-cols { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
}
.form-status.show { display: block; }
.form-status.ok { background: #eaf7ef; color: var(--success); }
.form-status.err { background: #fbeaea; color: var(--danger); }

.info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .usp-icon { width: 44px; height: 44px; }
.info-item h4 { font-size: 15px; margin: 0 0 4px; }
.info-item p, .info-item a { margin: 0; font-size: 14.5px; color: var(--text-muted); }
.info-item a:hover { color: var(--accent); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--paper-line); }
.hours-table td:first-child { font-weight: 600; color: var(--text); }
.hours-table td:last-child { text-align: right; color: var(--text-muted); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--accent-tint);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: #8a3a12;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--paper-line);
  margin-top: 28px;
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { font-size: 22px; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14.5px; margin: 0 0 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; }

/* ---- Misc pages (impressum/datenschutz) ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15.5px; color: var(--text-muted); }
.prose ul { margin: 0 0 1em; padding-left: 20px; list-style: disc; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--text); }
.legal-box {
  background: var(--paper-alt);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: 8px;
}
.legal-box dl { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; margin: 0; }
.legal-box dt { font-weight: 600; color: var(--text); font-size: 14.5px; }
.legal-box dd { margin: 0; font-size: 14.5px; color: var(--text-muted); }
@media (max-width: 560px) { .legal-box dl { grid-template-columns: 1fr; } .legal-box dt { margin-top: 10px; } }

/* ---- Thank you page ---- */
.thanks-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks-icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
