:root {
  --main-color: #222;
  --accent: #0066ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--main-color);
  background: #fff;
  line-height: 1.8;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  border-bottom: 1px solid #eee;
  background: linear-gradient(90deg, #ffffffdd, #f0f8ffdd);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1001;
  flex-wrap: wrap;
  max-width: 100vw;
  overflow-x: hidden;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--main-color);
}

.header-left, .header-center, .header-right {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  white-space: nowrap;
}

.header-left p, .header-center p, .header-right p {
  margin: 0;
}

.header-left a, .header-center a {
  color: var(--main-color);
  text-decoration: none;
}

.header-left a:hover, .header-center a:hover,
.header-left a:focus, .header-center a:focus {
  text-decoration: underline;
}

.top-nav {
  background: #ffffffcc;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 4.6rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--main-color);
  cursor: pointer;
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s ease-in-out;
}

.nav-list li a {
  text-decoration: none;
  color: var(--main-color);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a:focus {
  color: var(--accent);
  outline: none;
}

#leasing-banner {
  background: linear-gradient(90deg, var(--accent), #005fd1);
  color: white;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 95, 209, 0.6);
  position: sticky;
  top: 3.8rem;
  z-index: 1000;
  max-width: 100vw;
  overflow-x: hidden;
  white-space: normal;
  border-radius: 0 0 12px 12px;
  transition: background 0.3s ease;
}

#leasing-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 0.5rem;
  white-space: nowrap;
}

#leasing-banner:hover {
  background: linear-gradient(90deg, #005fd1, #0041a8);
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f8f8f8, #ffffff);
  min-height: 80vh;
  text-align: center;
}

.hero-box {
  flex: 1 1 400px;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-box h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--main-color);
}

.hero-box p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
}

.hero-logo {
  max-width: 220px;
  margin-bottom: 1.5rem;
}
.hero-image {
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hero-image {
  max-width: 100%; /* Stellt sicher, dass das Bild nicht über den Container hinausragt */
  height: auto; /* Behält das Seitenverhältnis bei */
  width: 600px; /* Beispiel: Feste Breite von 600px */
  /* Oder */
  /* width: 50%; /* Beispiel: Breite von 50% des übergeordneten Elements */
}

.hero-image:hover {
  filter: brightness(0.9);
  transform: scale(1.05);
}

.about-wrapper {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f8f8f8, #ffffff);
  text-align: center;
}

.about-box {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.about-box h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: var(--main-color);
  text-align: center;
}

.about-box p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: var(--main-color);
  text-align: center;
}

.about-box ul {
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--main-color);
}

.about-box li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.werkstatt {
  position: relative;
  background: url("bilder/werkstatt.jpg") no-repeat center center/cover;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.werkstatt-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
}

.photosphere {
  padding: 3rem 2rem;
  background: #fafafa;
  text-align: center;
}

.photosphere h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--main-color);
}

.photosphere p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.photosphere-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.photosphere iframe {
  border:0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-section {
  padding: 3rem 1.5rem;
  background: #ffffff;
  text-align: center;
}

.contact-box {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 16px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  animation: fadeInUp 1s ease forwards;
}

.contact-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--main-color);
}

.contact-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #444;
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-box label {
  font-weight: 600;
  text-align: left;
  color: var(--main-color);
}

.contact-box input,
.contact-box textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.contact-box input:focus,
.contact-box textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,102,255,0.2);
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #0056b3;
}

.discount-section {
  text-align: center;
  margin: 4rem 0;
  font-family: sans-serif;
}

.discount-section h2 {
  font-size: 2rem;
  color: #0055aa;
}

.discount-section p {
  margin-bottom: 1rem;
}

.discount-section #rabattCode {
  margin-top: 2rem;
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
}

.discount-section #countdown {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #cc0000;
}

.discount-section #kopierHinweis {
  margin-top: 1rem;
  color: green;
  font-size: 1rem;
}

.shop-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.7rem 1.2rem;
  background-color: #ff9900;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: left;
}

footer {
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  background-color: #f1f1f1;
  color: #555;
}

footer a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #555;
  transition: color 0.3s ease;
}

footer a:hover, footer a:focus {
  color: var(--accent);
  outline: none;
}

.social-links {
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #fff;
  border: 2px solid #0055aa;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-family: sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  display: none;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-banner-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 1rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    text-align: center;
  }
  .header-left, .header-center, .header-right {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    white-space: normal;
    margin: 0.25rem 0;
  }
  .nav-list {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-list.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    gap: 0.5rem;
  }
  .nav-list.open li a {
    display: block;
    padding: 0.5rem;
  }
  #leasing-banner {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
    top: 5.5rem;
    border-radius: 0 0 8px 8px;
  }
  .hero-box, .about-box, .contact-box {
    padding: 1.5rem 1rem;
  }
  .hero-box h1, .about-box h2, .contact-box h2 {
    font-size: 1.8rem;
  }
  .hero-box p, .about-box p, .about-box li, .contact-box p {
    font-size: 1rem;
  }
}
.review-section {
    padding: 4rem 2rem;
    background: #ffffff;
    text-align: center;
}

.review-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--main-color);
}

.review-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.review-box {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 350px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.rating .fas {
    font-size: 1.2rem;
}

.review-box p {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 600;
    font-style: normal;
    color: var(--main-color);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
.info-banner {
  background-color: #ffcc00; /* auffälliges Gelb */
  color: #222;
  text-align: center;
  font-weight: 600;
  padding: 1rem;
  border-bottom: 3px solid #e6b800;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-banner strong {
  color: #b30000; /* hebt den wichtigsten Teil hervor */
}
.info-banner {
  position: relative;
}
.close-banner {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
}
.info-banner {
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.offer-card {
  width: 100%;
  max-width: 600px; /* begrenzt für große Bildschirme */
  margin: 15px auto;
  border: 2px solid #ff6b6b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-color: #fff;
  padding: 0;
}

.offer-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.offer-info {
  padding: 15px;
}

.offer-title {
  font-size: 1.2rem;
  color: #ff3b3b;
  margin: 0 0 5px 0;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  margin: 0 0 5px 0;
}

.sale-price {
  color: #ff3b3b;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 0 10px 0;
}

.offer-button {
  display: block;
  width: 100%;
  padding: 12px 0;
  background-color: #ff3b3b;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.offer-button:hover {
  background-color: #ff1a1a;
}

/* Mobilfreundlich */
@media (max-width: 480px) {
  .offer-card {
    margin: 10px;
    border-width: 1px;
  }

  .offer-title {
    font-size: 1rem;
  }

  .sale-price {
    font-size: 1rem;
  }

  .offer-button {
    font-size: 0.95rem;
    padding: 10px 0;
  }
}
</style>