* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

body {
    padding: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.nav-container {
    display: flex;
    width: 100%;
    align-items: center;
	justify-content: start;
}

.nav-logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    margin-left: 2rem;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: black;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1rem;
}

.nav-links a.active {
  font-weight: bold;
}

.nav-links a:hover {
    color: #aaa;
}

.nav-logo img {
  height: 60px; 
  width: auto;
  display: block;
}

a {
    color: black; 
    text-decoration: underline; 
    transition: color 0.3s ease; 
}

a:hover {
    color: #aaaaaa; 
}

.price {
	font-size: 2rem;
	font-weight: bold;
}

span.model {
	font-size: 1rem;
}

.hero {
    background: url('auto-hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-attachment: fixed;
    margin-top: 0;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.btn-primary {
    padding: 0.75rem 2rem;
    background: #000000;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #ffffff;
    border: 1px solid black;
    color: black;
}

.section {
    margin-top: 60px;
	margin-bottom: 60px;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-left {
    text-align: left;
    padding-left: 10em;
    padding-right: 10em;
    padding-top: 120px;
}

hr {
    border: none; 
    border-top: 1px solid #aaaaaa; 
    margin: 20px 0; 
}

.reasons {
    list-style: none;
    margin-top: 1rem;
}

.reasons li {
    margin: 1rem 0;
    font-size: 1.2rem;
}

.bigtext {
    font-size: 1.5rem;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #222;
    color: #aaa;
}

footer a {
    color: #aaa;
    text-decoration: underline;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        height: 60vh;
        padding-top: 60px;
        background-size: cover;
        background-position: bottom right;
    }

    .hero-content h1 {
        font-size: 2.3rem;
		line-height: 2.3rem;
		margin-top:20px;
    }

    .hero-content p {
        font-size: 1.8rem;
    }

    .section-left {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .reasons li {
        font-size: 1rem;
    }

    .bigtext {
        font-size: 1.2rem;
    }

    .btn-primary {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    footer {
        padding: 1.5rem;
    }

    footer a {
        font-size: 0.9rem;
    }
}

.top-deals {
    text-align: center;
    background-color: #f9f9f9;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten für große Bildschirme */
    gap: 20px;
    margin-top: 20px;
    justify-items: center;
	overflow: visible;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten für Tablets */
    }
}

@media (max-width: 600px) {
    .vehicle-grid {
        grid-template-columns: 1fr; /* 1 Spalte für Smartphones */
    }
}

.vehicle-card {
    background-color: white;
    padding: 10px;
	margin: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    width: 100%;
	position: relative;
    overflow: visible;
}

.vehicle-card img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
}

.vehicle-card h3 {
    margin-top: 15px;
    font-size: 1.2em;
}

.vehicle-card p {
    font-size: 1em;
    margin: 10px 0;
}

.btn-wrapper {
  margin-bottom: 1em;
}

.btn-secondary {
    padding: 0.5rem 1rem;
    background: #000000;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
	border: 1px solid transparent;
	font-size: 1rem;
	cursor: pointer;
}

.btn-secondary:hover {
    background: #ffffff;
    border: 1px solid black;
    color: black;
	cursor: pointer;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-images {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.carousel-images img {	
  width: 100%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 8px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dots .dot.active {
  background-color: #333;
}

.form-section {
    background: #ffffff;
    padding: 4rem 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-section h2 {
    font-size: 2rem;
}

.form-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

form.form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

form.form label {
    font-weight: bold;
}

form.form input,
form.form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fdfdfd;
    transition: border 0.2s ease;
	margin-bottom: 1.5rem;
}

form.form input:focus,
form.form textarea:focus {
    border-color: #000;
    outline: none;
}

form.form button.btn-secondary {
    align-self: flex-end;
    display: inline-block;
    width: auto;
    cursor: pointer;
}

@media (max-width: 768px) {
    .form-section {
        padding: 2rem 1rem;
    }

    form.form {
        gap: 1rem;
    }

    .form-section h2 {
        font-size: 1.6rem;
    }

    .form-section p {
        font-size: 1rem;
    }
}
.privacy-hint {
  font-size: 0.9rem !important;
  margin-top: 0.5rem;
}
