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

:root {
  --blue:      #1565C0;
  --blue-dark: #0D47A1;
  --blue-mid:  #1976D2;
  --blue-light:#E3F2FD;
  --gray:      #546E7A;
  --gray-dark: #263238;
  --gray-mid:  #607D8B;
  --gray-light:#ECEFF1;
  --accent:    #FFC107;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #222;
  background: #fff;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }

/* ─── TOP BAR ─── */
.topbar {
  background: var(--gray-dark);
  color: #ccc;
  font-size: 0.8rem;
  padding: 6px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left, .topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-left a, .topbar-right a { color: #bbb; transition: color 0.2s; }
.topbar-left a:hover, .topbar-right a:hover { color: #fff; }

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  z-index: 100;
  height: 90px;
}
.nav-inner { display: flex; align-items: center; height: 90px; gap: 32px; overflow: visible; }

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  white-space: nowrap;
}
.logo-img {
  height: 80px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: center;
  display: block;
  /* trim white space around logo by scaling up */
  transform: scale(1.18);
  transform-origin: left center;
}
.footer-logo-img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
  transform: scale(1.18);
  transform-origin: left center;
}
.logo-text { color: var(--gray-dark); letter-spacing: -0.5px; }
.logo-text strong { color: var(--blue); }

.nav-links { display: flex; list-style: none; gap: 4px; flex: 1; }
.nav-links a {
  padding: 8px 14px;
  color: #444;
  font-weight: 500;
  font-size: 0.93rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-outline-nav {
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-outline-nav:hover { background: var(--blue); color: #fff; }
.btn-green {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-green:hover { background: var(--blue-dark); }

/* ─── HERO ─── */
.hero {
  min-height: 600px;
  background: linear-gradient(130deg, var(--gray-dark) 0%, #1a3a5c 45%, var(--blue) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-text { color: #fff; }
.hero-text h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-text p { font-size: 1.1rem; opacity: 0.88; }

/* ─── BOOKING WIDGET ─── */
.booking-widget {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25);
  overflow: hidden;
}
.booking-tabs { display: flex; background: var(--gray-light); border-bottom: 1px solid #ddd; }
.tab {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.tab:hover { color: var(--blue); }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); background: #fff; }

.booking-body { padding: 20px; }
.form-row { display: flex; gap: 10px; margin-bottom: 12px; }
.form-row.two-col .form-field { flex: 1; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { flex: 1; }
.form-field label {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-field input,
.form-field select {
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: #222;
  outline: none;
  transition: border 0.2s;
  font-family: inherit;
  background: #fff;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}

.return-toggle { margin-bottom: 12px; }
.switch-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
}
.switch {
  width: 36px; height: 20px;
  background: #ccc;
  border-radius: 10px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
input:checked + .switch { background: var(--blue); }
.switch::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: left 0.2s;
}
input:checked + .switch::after { left: 18px; }
input[type="checkbox"] { display: none; }

.age-check { justify-content: center; }
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
}
.check-label input[type="checkbox"] {
  display: inline-block;
  width: 16px; height: 16px;
  accent-color: var(--blue);
}

.btn-search {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.btn-search:hover { background: var(--blue-dark); }

.promo-code a { font-size: 0.82rem; color: var(--blue); font-weight: 600; }
.promo-code a:hover { text-decoration: underline; }

/* ─── USPs ─── */
.usps {
  background: var(--gray-light);
  border-bottom: 1px solid #ddd;
  padding: 24px 0;
}
.usps-inner { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.usp { display: flex; align-items: center; gap: 12px; }
.usp-icon { font-size: 1.6rem; }
.usp strong { display: block; font-size: 0.95rem; color: #222; }
.usp p { font-size: 0.8rem; color: #888; margin: 0; }

/* ─── SECTIONS ─── */
.section { padding: 72px 0; }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.section-sub { text-align: center; color: #888; margin-bottom: 36px; font-size: 1rem; }

/* ─── CATEGORY FILTER ─── */
.cat-filter { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.cat-btn {
  border: 1.5px solid #ddd;
  background: #fff;
  border-radius: 24px;
  padding: 7px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-btn:hover { border-color: var(--blue); color: var(--blue); }
.cat-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ─── CARS GRID ─── */
.fahrzeuge { background: #fff; }
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.car-card {
  border: 1.5px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
}
.car-card:hover {
  box-shadow: 0 8px 32px rgba(21,101,192,0.13);
  transform: translateY(-3px);
}
.car-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.car-badge.popular { background: var(--accent); color: #333; }
.car-badge.suv-badge { background: var(--gray-dark); }
.car-badge.eco-badge { background: #1976D2; }

.car-img {
  height: 190px;
  overflow: hidden;
  background: #1a1a2e;
  position: relative;
}
.car-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}
.car-card:hover .car-img img {
  transform: scale(1.05);
}
/* Weisser Hintergrund für Produktfotos (Hyundai, Toyota) */
.car-img-white {
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.car-img-white img {
  object-fit: contain !important;
  padding: 8px;
}

.car-body { padding: 16px 18px 18px; }
.car-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.car-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.car-body h3 span { font-weight: 400; color: #aaa; font-size: 0.88rem; }

.car-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.car-specs span {
  background: var(--gray-light);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.78rem;
  color: #555;
}

.car-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}
.car-price-row small { color: #aaa; font-size: 0.8rem; }
.price { font-size: 1.4rem; font-weight: 900; color: var(--blue); margin: 0 3px; }

.btn-select {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-select:hover { background: var(--blue-dark); }

.all-cars-btn { text-align: center; margin-top: 36px; }
.btn-outline-green {
  display: inline-block;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-outline-green:hover { background: var(--blue); color: #fff; }

/* ─── ANGEBOTE ─── */
.angebote { padding: 0 0 72px; }
.angebote-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.angebot-card {
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}
.promo1 { background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); }
.promo2 { background: linear-gradient(135deg, var(--gray-dark), var(--gray-mid)); }
.angebot-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.angebot-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; line-height: 1.2; }
.angebot-card p { font-size: 0.88rem; opacity: 0.8; }
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }

/* ─── STANDORT ─── */
.stationen { background: var(--gray-light); }

.standort-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(21,101,192,0.10);
  border: 1.5px solid #e0e7ef;
}
.standort-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.standort-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
}
.standort-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.standort-adresse {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 500;
}
.standort-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.standort-details span {
  font-size: 0.92rem;
  color: #555;
}
.standort-map {
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
}

@media (max-width: 768px) {
  .standort-box { grid-template-columns: 1fr; }
  .standort-map { height: 220px; }
}

/* ─── TRUST ─── */
.trust-section { background: var(--blue); padding: 48px 0; }
.trust-inner { display: flex; gap: 0; justify-content: space-around; flex-wrap: wrap; }
.trust-stat { text-align: center; color: #fff; padding: 16px 24px; }
.trust-stat strong { display: block; font-size: 2.2rem; font-weight: 900; margin-bottom: 4px; }
.trust-stat span { font-size: 0.9rem; opacity: 0.85; }

/* ─── FOOTER ─── */
.footer { background: var(--gray-dark); color: #bbb; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 56px 24px 40px;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-col > p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; color: #888; }
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul a { color: #888; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-col p { font-size: 0.88rem; color: #888; margin-bottom: 6px; }
.social-links { display: flex; gap: 10px; font-size: 1.3rem; }

.footer-bottom { border-top: 1px solid #333; padding: 16px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: #555; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #555; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.payment-icons { display: flex; gap: 10px; font-size: 0.78rem; color: #555; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .booking-widget { max-width: 520px; }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero-text h1 { font-size: 2rem; }
  .cars-grid { grid-template-columns: 1fr; }
  .angebote-inner { grid-template-columns: 1fr; }
  .stationen-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-actions .btn-outline-nav { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}
