:root {
  --main-color: #222;
  --accent: #0066ff;
  --accent-hover: #0056b3;
  --bg-light: #f8f8f8;
  --bg-lighter: #ffffff;
  --text-muted: #555;
  --banner-yellow: #ffcc00;
  --banner-yellow-dark: #e6b800;
  --offer-red: #ff3b3b;
}

/* Reset & Basis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--main-color);
  background: #f0f0f0;
  line-height: 1.8;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  border-bottom: 1px solid #eee;
  background: rgba(255, 255, 255, 0.9); /* leicht transparent */
  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 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;
}

/* Navigation */
.top-nav {
  background: rgba(255, 255, 255, 0.85); /* leicht transparent */
  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 {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.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 */
#leasing-banner {
  background: linear-gradient(90deg, rgba(0,102,255,0.95), rgba(0,95,209,0.95));
  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:hover {
  background: linear-gradient(90deg, rgba(0,95,209,0.95), rgba(0,65,168,0.95));
}

#leasing-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 0.5rem;
}

#leasing-banner:hover {
  background: linear-gradient(90deg, #005fd1, #0041a8);
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, var(--bg-light), #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;
  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;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: block;
  margin: 1.5rem auto;
  transition: transform 0.3s, filter 0.3s;
}

.hero-image:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* About / Services */
.about-wrapper {
  padding: 4rem 2rem;
  background: var(--bg-light);
  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: 1100px;
  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);
}

.about-box p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-item {
  background: #f9f9f9;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Partner Logos */
.partners {
  text-align: center;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-logo-box {
  width: 150px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: background 0.3s, transform 0.2s;
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.partner-logo-box:hover {
  background: #e6f4ea;
  transform: translateY(-4px);
}

.partner-logo-box:hover img {
  filter: grayscale(0%);
}

/* Werkstatt */
.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 */
.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 iframe {
  width: 100%;
  max-width: 900px;
  height: 480px;
  border:0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Kontakt */
.contact-section {
  padding: 3rem 1.5rem;
  text-align: center;
}

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--main-color);
}

.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 Buttons */
.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;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--accent-hover);
}

/* Offer Card */
.offer-card {
  max-width: 600px;
  margin: 15px auto;
  border: 2px solid var(--offer-red);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.offer-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.offer-info {
  padding: 15px;
}

.offer-title {
  font-size: 1.2rem;
  color: var(--offer-red);
  margin-bottom: 5px;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.sale-price {
  color: var(--offer-red);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.offer-button {
  display: block;
  width: 100%;
  padding: 12px 0;
  background-color: var(--offer-red);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.offer-button:hover {
  background-color: #ff1a1a;
}

/* Reviews */
.review-section {
  padding: 4rem 2rem;
  background: var(--bg-lighter);
  text-align: center;
}

.review-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.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, box-shadow 0.3s;
}

.review-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.rating {
  color: #ffc107;
  margin-bottom: 1rem;
}

.review-box p {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
}

.reviewer {
  font-weight: 600;
  font-style: normal;
}

.site-footer {
  background-color: #1d1d1f; /* Apple-like dark background */
  color: #f5f5f7; /* Light gray text */
  font-size: 14px;
  text-align: center;
  padding: 40px 20px;
}

.site-footer a {
  color: #a1a1a6; /* Subtle link gray */
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #f5f5f7; /* Brighter on hover */
}

.social-links {
  margin-bottom: 15px;
}

.social-links a {
  font-size: 20px;
  margin: 0 10px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* Modal Overlay */
.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%;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .header-left, .header-center, .header-right {
    flex-direction: row;
    justify
.contact-box {
  margin: 0 auto;          /* zentriert die Box */
  text-align: center;      /* Text innerhalb zentrieren */
}
/* Kontakt-Section */
#kontakt {
  display: flex;
  flex-direction: column;
  align-items: center; /* zentriert alles horizontal */
  justify-content: center;
  text-align: center; /* Text innerhalb der Boxen zentrieren */
  padding: 3rem 1.5rem;
  background: #ffffff;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center; /* explizit Text zentrieren */
}

.contact-box {
  max-width: 700px;
  width: 100%;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.contact-section {
  background: #fff;
  padding: 6rem 2rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111;
}

.contact-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.address {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-line,
.hours {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.contact-line a,
.cta-button {
  color: #0071e3;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-line a:hover,
.cta-button:hover {
  color: #005bb5;
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  background: #0071e3;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background: #005bb5;
  transform: translateY(-2px);
}

.contact-map iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Mobile Anpassung */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-text h2 {
    font-size: 2rem;
  }
}
.contact-text { animation-delay: 0.2s; }
.contact-map { animation-delay: 0.5s; }
.cta-pill { animation-delay: 0.8s; }
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* Verhältnis, z. B. 4:3 */
  height: 0;
}
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
