/* ==========================================================
   Reset & Base Styles (Normalize + Base)
   ========================================================== */
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F8FA;
  color: #232A34;
  min-height: 100vh;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
  color: #232A34;
  margin-top: 0;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  font-weight: 670;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.23rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.06rem;
  font-weight: 500;
}
p {
  margin: 0 0 14px 0;
  line-height: 1.6;
}
strong {
  font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* -------------------------------------------
  CONTAINER & LAYOUT
------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}

/* Section Variants */
section:first-of-type {
  background: linear-gradient(90deg, #E9C46A 0%, #FDBB3F 100%);
  color: #232A34;
}

section:not(:first-of-type) {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(173,180,189,0.08);
  margin-bottom: 60px;
}

main {
  padding-top: 20px;
  padding-bottom: 40px;
}

/* -------------------------------------------
  HEADER & NAVIGATION
------------------------------------------- */
header {
  background: linear-gradient(90deg, #232A34 0%, #4C5563 100%);
  color: #fff;
  box-shadow: 0 2px 24px rgba(173,180,189,0.07);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 15;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
  position: relative;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  padding: 8px 12px;
  border-radius: 16px;
  transition: background 0.25s, color 0.20s;
}
header nav a:hover,
header nav a:focus {
  background: #E9C46A;
  color: #232A34;
}
.cta-btn {
  font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
  background: #E9C46A;
  color: #232A34;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(233,196,106,0.07);
  transition: background .2s, color .2s, box-shadow .2s, transform .18s;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #FDBB3F;
  color: #232A34;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 14px rgba(233,196,106,0.12);
}

/* -------------------------------------------
  MOBILE MENU
------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #E9C46A;
  color: #232A34;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  z-index: 22;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus {
  background: #FDBB3F;
  color: #232A34;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: #232A34;
  color: #fff;
  z-index: 30;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.53,.21,.2,1);
  box-shadow: -6px 0 48px 0 rgba(35,42,52,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E9C46A;
  font-size: 2.3rem;
  margin: 18px 24px 12px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 33;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FDBB3F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 24px 0 0 32px;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-weight: 500;
  font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
  color: #fff;
  padding: 12px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E9C46A;
  color: #232A34;
}

@media (max-width: 1024px) {
  header nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* -------------------------------------------
  MAIN SECTIONS
------------------------------------------- */
.feature-grid, .feature-list, .brand-list, .milestone-cards, .historic-car-info, .event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item,
.brand-item,
.milestone,
.historic-car,
.event-item {
  background: #FAFAFB;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(173,180,189,0.10);
  padding: 22px 20px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.feature-item img, .milestone img, .brand-item img, .historic-car img,
.event-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}
.feature-item:hover,
.brand-item:hover,
.milestone:hover,
.historic-car:hover,
.event-item:hover {
  box-shadow: 0 6px 32px rgba(99, 109, 132, 0.19);
  transform: translateY(-5px) scale(1.025);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-badges {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-highlight {
  background: linear-gradient(90deg, #E9C46A 0%, #FDBB3F 100%);
  color: #232A34;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 20px;
  font-size: 1.15rem;
  box-shadow: 0 2px 15px 0 rgba(173,180,189,0.09);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.quote-highlight blockquote {
  margin: 0;
  font-style: italic;
}
.quote-highlight cite {
  font-style: normal;
  font-weight: 500;
  margin-top: 7px;
}

.stat-block {
  background: #fff2c6;
  border-radius: 18px;
  color: #232A34;
  margin-bottom: 20px;
  padding: 18px 24px;
}
.stat-block ul {
  margin: 0;
  padding: 0 0 0 18px;
  list-style-type: disc;
}

.historic-car-info,
.milestone-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
  justify-content: flex-start;
}
.historic-car.card {
  background: #FAFAFB;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(173,180,189,0.07);
  padding: 16px 16px 16px 20px;
  margin-bottom: 0;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow .18s, transform .15s;
}
.historic-car.card:hover {
  box-shadow: 0 8px 24px rgba(99,109,132,0.18);
}

/* Timeline/Ereignisse/Innovation */
.timeline-bullets {
  margin: 0 0 16px 0;
  padding-left: 20px;
  list-style-type: disc;
  color: #232A34;
}
.innovation-highlights {
  margin-bottom: 18px;
}
.innovation-highlights h3 {
  margin-bottom: 8px;
}
.event-list {
  gap: 24px;
}
.event-item span {
  display: inline-block;
  margin-top: 10px;
  color: #ADB4BD;
  font-size: 1.03rem;
}
.event-overview {
  background: #F4F6FA;
  border-radius: 12px;
  margin: 24px 0 12px 0;
  padding: 20px 24px;
}

/* -------------------------------------------
  TESTIMONIAL CARD
------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #F5F5F6;
  border-radius: 18px;
  box-shadow: 0 1px 12px rgba(173,180,189,0.10);
  color: #232A34;
  font-size: 1.08rem;
  max-width: 600px;
  transition: box-shadow 0.18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(99,109,132,0.09);
  transform: translateY(-4px) scale(1.025);
}
.testimonial-card strong {
  font-weight: 700;
  font-size: 1.01rem;
  color: #2C3745;
}

/* -------------------------------------------
  FOOTER
------------------------------------------- */
footer {
  background: #232A34;
  color: #fff;
  padding: 42px 0 28px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-bottom: 6px;
}
footer nav a {
  color: #E9C46A;
  font-size: 1rem;
  font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
  text-decoration: none;
  transition: color .18s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff2c6;
}
.footer-contact {
  color: #ADB4BD;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* -------------------------------------------
  COOKIE CONSENT
------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(35,42,52,0.97);
  color: #fff;
  padding: 22px 20px 22px 20px;
  z-index: 1000;
  box-shadow: 0 -8px 32px rgba(35,42,52,0.11);
  border-radius: 18px 18px 0 0;
  transition: transform 0.35s cubic-bezier(.6,.1,.2,1);
}
.cookie-consent-banner.hide {
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-consent-text {
  flex: 1 1 auto;
  font-size: 1.05rem;
  max-width: 660px;
  margin-right: 36px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
  background: #E9C46A;
  color: #232A34;
  font-weight: 600;
  border: none;
  border-radius: 16px;
  padding: 9px 24px;
  font-size: 1rem;
  margin: 0;
  transition: background .18s, color .18s, box-shadow .18s;
  cursor: pointer;
}
.cookie-btn.reject {
  background: #fff;
  color: #232A34;
  border: 1px solid #ADB4BD;
}
.cookie-btn.settings {
  background: #232A34;
  color: #fff2c6;
  border: 1px solid #E9C46A;
}
.cookie-btn:hover,.cookie-btn:focus {
  background: #FDBB3F;
  color: #232A34;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #E9C46A;
  color: #232A34;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff2c6;
  color: #232A34;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,42,52, 0.78);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  color: #232A34;
  border-radius: 18px;
  box-shadow: 0 8px 34px 0 rgba(35,42,52,0.15);
  padding: 32px 30px 24px 30px;
  min-width: 300px;
  max-width: 420px;
  font-size: 1.07rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1.03rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #E9C46A;
  width: 19px;
  height: 19px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #232A34;
  font-size: 2rem;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #E9C46A;
}

/* -------------------------------------------
  RESPONSIVE MEDIA QUERIES
------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .feature-grid,
  .brand-list,
  .milestone-cards,
  .historic-car-info,
  .event-list {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.35rem;
    margin-bottom: 11px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 19px;
  }
  section {
    padding: 26px 0 28px 0;
    margin-bottom: 38px;
  }
  .feature-item,
  .brand-item,
  .milestone,
  .historic-car,
  .event-item {
    padding: 16px 12px;
    flex: 1 1 100%;
    min-width: unset;
  }
  .feature-grid,
  .feature-list,
  .brand-list,
  .milestone-cards,
  .historic-car-info,
  .event-list {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    padding: 14px 12px;
    font-size: 1rem;
  }
  .stat-block,
  .quote-highlight {
    padding: 16px 10px;
    font-size: 1rem;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px 18px 7px;
  }
  .cookie-consent-text {
    margin-right: 0;
    margin-bottom: 12px;
    max-width: 98vw;
    font-size: 0.97rem;
  }
  .cookie-modal {
    max-width: 90vw;
    min-width: unset;
    padding: 20px 7px 18px 12px;
  }
  footer .container {
    gap: 12px;
  }
  .footer-contact {
    font-size: .98rem;
  }
}
@media (max-width: 480px) {
  header .container {
    min-height: 50px;
    gap: 8px;
  }
  header img {
    height: 35px;
  }
  .cta-btn {
    font-size: .98rem;
    padding: 8px 14px;
  }
  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }
}

/* -------------------------------------------
  FLEXBOX HELPERS (MANDATORY)
------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========== MICRO-INTERACTIONS / TRANSITIONS ========== */
button,
.cta-btn,
.cookie-btn,
.mobile-menu-toggle,
.mobile-menu-close {
  transition: background .18s, color .18s, box-shadow .18s, transform .16s;
}
.card,
.feature-item,
.brand-item,
.milestone,
.event-item {
  transition: box-shadow .15s, transform .13s;
}

/* ===== HIGHLIGHTED ACCENT EFFECTS (GRADIENT MODERN STYLE) ========== */
.cta-btn,
.cookie-btn {
  box-shadow: 0 2px 14px 0 rgba(233,196,106,0.09);
}

h1, h2 {
  background: linear-gradient(90deg, #232A34 0%, #E9C46A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Slight Section Borders for Modern Look */
section:not(:first-of-type) {
  border: 1px solid #edeef0;
}

/* ======== MISC & ACCESSIBILITY ========= */
:focus-visible {
  outline: 2px solid #E9C46A;
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 11px;
  background: #F7F8FA;
}
::-webkit-scrollbar-thumb {
  background: #E9C46A;
  border-radius: 6px;
}

/* End */
