body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #222;
  text-align: center; 
}

a {
  color: inherit;
  text-decoration: none;
}


nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.7);
  padding: 0 40px;
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}

.logo {
  height: 50px;
}

.menu-toggle {
  color: white;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.menu-toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-list li a {
  color: white;
  font-weight: bold;
  transition: transform 0.2s;
}

.nav-list li:hover {
  transform: scale(1.05);
}


.hero-section {
  position: relative;
  height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; 
  color: white;
  text-align: center;
  overflow: hidden;
}

.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 90%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: -1;
}

.text {
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.text .welcome {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.text .uwelcome {
  font-size: 20px;
  font-weight: 300;
  color: #ffffffb3;
}


section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex; 
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-text h2 {
  font-size: 30px;
  font-weight: 600;
}

.info-text h3 {
  font-size: 20px;
  color: #363636;
  margin-top: -30px;
}

.ueber-text {
  color: #313131;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  margin-top: -100px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  max-width: 800px;
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.box-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #222;
  background-color: #fff;
  cursor: pointer;
}

.box-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.box-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 16px;
}

.box-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  color: #111;
}

.box-card p {
  font-size: 16px;
  color: #555;
  margin: 0;
  line-height: 1.4;
  max-width: 260px;
}

.ankauf-text {
  font-size: 15px;
  text-align: center;
}

.ankauf-text p {
  margin-top: -12px;
  font-size: 18px;
}

.ankauf-text a {
  color: darkred;
  text-decoration: underline;
  transition: color 0.2s;
}

.ankauf-text a:hover {
  color: red;
}


.site-footer {
  background: #111;
  color: white;
  padding: 60px 20px 20px;
  font-size: 14px;
  margin-top: 50px;
  text-align: center; 
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-column {
  flex: 1 1 200px;
  text-align: left; 
}

.footer-logo {
  height: 60px;
  margin-bottom: 10px;
}

.footer-column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-column p,
.footer-column a,
.footer-column li {
  color: #ccc;
  margin: 6px 0;
  line-height: 1.4;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column a:hover {
  color: white;
}

.fahrzeuge-button {
  display: inline-block;
  padding: 8px 16px;
  background: #444;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
}

.fahrzeuge-button:hover {
  background: #666;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
}

.footer-bottom .social-icons {
  margin-bottom: 10px;
}

.footer-bottom .social-icons a img {
  height: 20px;
  margin: 0 6px;
  filter: brightness(0) invert(1);
}

.footer-bottom .legal-links {
  margin: 10px 0;
}

.footer-bottom .legal-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #ccc;
}

.footer-bottom .legal-links a:hover {
  color: white;
}

.footer-column .icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 8px;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    position: absolute;
    color: white;
    top: 70px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    gap: 10px;
    width: 200px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: none;
    white-space: normal;
    z-index: 1000;
  }

  .nav-list li a {
    font-size: 18px;
    padding: 8px 10px;
    display: block;
  }

  .nav-list.show {
    display: flex;
  }
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
  }
}
