/* ============================================
   Hauptstadt Chauffeure GmbH — Custom Styles
   Berlin Industrial Style
   ============================================ */

/* Variables */
:root {
  --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'Source Sans 3', Arial, sans-serif;
  --yellow:       #f0c808;
  --near-black:   #1a1a1a;
  --berlin-gray:  #4a4a4a;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Base styles */
* { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-family: var(--font-heading); }
p { line-height: 1.7; }
a { transition: color 0.2s ease, border-color 0.2s ease; }

/* Fixed header offset */
main { padding-top: 80px; }
@media (min-width: 1024px) { main { padding-top: 96px; } }

/* Navigation */
.nav-link {
  color: #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }

.cta-button {
  background: var(--yellow);
  color: var(--near-black);
  padding: 0.6rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.cta-button:hover { background: #c9a800; }

.mobile-nav-link {
  display: block;
  color: #d1d5db;
  padding: 0.75rem 0;
  border-bottom: 1px solid #374151;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mobile-nav-cta {
  display: block;
  background: var(--yellow);
  color: var(--near-black);
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Footer links */
.footer-link {
  color: #9ca3af;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: inline-block;
  padding: 0.1rem 0;
}
.footer-link:hover { color: var(--yellow); }
.footer-link-small { color: #6b7280; font-size: 0.75rem; transition: color 0.2s; }
.footer-link-small:hover { color: #9ca3af; }

/* Form */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 0.375rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.form-input {
  width: 100%;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--near-black);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  border-radius: 2px;
}
.form-input:focus {
  border-color: var(--near-black);
  box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
}
.form-input::placeholder { color: #9ca3af; }
select.form-input { cursor: pointer; }

/* Hero section */
.hero-section {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--near-black);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(240,200,8,0.15) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1,
.hero-content p { text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.hero-year {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 20vw, 16rem);
  color: var(--yellow);
  opacity: 0.15;
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Yellow divider stripe */
.yellow-stripe {
  width: 4rem;
  height: 3px;
  background: var(--yellow);
  transition: width 0.3s ease;
}
section:hover .yellow-stripe { width: 6rem; }
.yellow-stripe-lg { width: 8rem; height: 4px; background: var(--yellow); }

/* Vehicle cards */
.vehicle-card {
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Star ratings */
.stars { color: var(--yellow); letter-spacing: 0.1em; }

/* Trust badges */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: #f5f5f0;
  border-left: 4px solid var(--yellow);
  border-radius: 0 4px 4px 0;
}

/* Blockquote / reviews */
blockquote {
  position: relative;
}
blockquote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--yellow);
  opacity: 0.3;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
}

/* Utilities */
.section-dark { background: var(--near-black); color: #fff; }
.section-gray { background: #f5f5f0; }
.font-heading { font-family: var(--font-heading); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.7s ease forwards; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Breadcrumbs */
.breadcrumbs {
  background: #f5f5f0;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.6rem 0;
}
.breadcrumbs-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .breadcrumbs-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .breadcrumbs-inner { padding: 0 2rem; } }
.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}
.breadcrumbs-item {
  display: flex;
  align-items: center;
}
.breadcrumbs-link {
  color: var(--berlin-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs-link:hover {
  color: var(--near-black);
  text-decoration: underline;
}
.breadcrumbs-sep {
  margin: 0 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
}
.breadcrumbs-current {
  color: var(--near-black);
  font-weight: 600;
}

/* Cookie bar */
#cookie-bar { transition: transform 0.3s ease; }
#cookie-bar.hidden { display: none; }
