:root {
  --container: 1280px;
  --text: #111111;
  --white: #ffffff;
  --overlay: rgba(0, 0, 0, 0.28);
  --header-bg: rgba(255, 255, 255, 0.18);
  --header-border: rgba(255, 255, 255, 0.22);
  --button-dark: #111111;
  --button-red: #8f1111;
  --button-red-hover: #740d0d;
  --muted-bg: #f4f4f4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
}
 html, body {
	 overflow-x: hidden;
 }
 img {
	 max-width: 100%
	 height: auto
	 display: block;
 }
	  
a { color: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(100%, 900px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--header-border);
  border-radius: 14px;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.hero {
  position: relative;
  height: 100vh;
  background-image: url('../images/autohaus-aussenfoto.jpg');
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 320px;
}

.hero-textbox {
  max-width: 900px;
  text-align: center;
	margin: 0 auto;
	color: #fff;
}

.hero-textbox h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

.hero-textbox p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--button-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--button-red-hover);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}

.info-band {
  background: #111111;
  color: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 0;
  text-align: center;
  font-weight: 700;
}

.content-section {
  padding: 72px 0;
}

.content-section.alt {
  background: var(--muted-bg);
}

.content-section h2 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.content-section p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.text-link {
  color: var(--button-red);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 14px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 0;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand {
    font-size: 1rem;
  }

  .main-nav a {
    font-size: 0.96rem;
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }
.hero-info {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  z-index: 2;
  box-sizing: border-box;
}

.hero-info div{
  flex: 1;
  text-align: center;
  white-space: nowrap;
}
	@media (max-width: 768px) {
  .site-header {
    top: 12px;
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
  }

  .brand {
    font-size: 1rem;
    text-align: center;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    width: 100%;
  }

  .main-nav a {
    display: inline-block;
    width: auto;
    padding: 0;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 100vh;
    background-position: 90% top;
  }

  .hero-content {
    padding-top: 420px;
    padding-bottom: 40px;
  }

  .hero-textbox {
    text-align: center;
  }

  .hero-textbox h1 {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .hero-textbox p {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 22px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .hero-buttons a,
  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
	@media (max-width: 480px) {
  .site-header {
    top: 10px;
  }

  .header-inner {
    padding: 12px 14px;
    gap: 8px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .main-nav {
    gap: 6px 14px;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .hero-content {
    padding-top: 200px;
  }

  .hero-textbox h1 {
    font-size: 1.7rem;
  }

  .hero-textbox p {
    font-size: 1rem;
  }
}
	@media (max-width: 932px) and (orientation: landscape) {
  .site-header {
    top: 8px;
  }

  .header-inner {
    padding: 10px 14px;
    gap: 8px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .main-nav {
    gap: 6px 12px;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 30px;
    background-position: 90% top;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 20px;
  }

  .hero-textbox h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .hero-textbox p {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hero-buttons a,
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-whatsapp {
    width: auto;
    min-width: 240px;
  }
}
	.btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  border: 1px solid #25D366 !important;
}

.btn-whatsapp:hover {
  background: #1ebe5a !important;
  border-color: #1ebe5a !important;
  color: #ffffff !important;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 128px;
    height: 48px;
    font-size: 0.95rem;
  }
}
	.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  opacity: 0.9;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.whatsapp-float:hover {
  background: #20b858;
}
	.stock-preview {
  padding: 80px 0;
  background: #f4f4f4;
  text-align: center;
}

.stock-preview h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem,3vw,2.4rem);
}

.stock-preview p {
  margin-bottom: 24px;
  font-size: 1.1rem;
}
	.btn-whatsapp {
  display: inline-brocken;
  padding: 12px 24px;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  color: #ffffff;
}
	.stock-preview {
  padding: 80px 0;
  background: #f4f4f4;
  text-align: center;
}

.stock-preview h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.stock-preview p {
  margin: 0 0 30px;
  font-size: 1.1rem;
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.car-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: left;
}

.car-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.car-card-body {
  padding: 18px;
}

.car-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.car-card-body p {
  margin: 0 0 12px;
  font-size: 0.96rem;
  color: #555;
}

.car-card-body strong {
  display: block;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.stock-actions {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .stock-grid {
    grid-template-columns: 1fr;
  }

  .car-card img {
    height: 200px;
  }
}
.hero-buttons .btn-whatsapp {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 240px !important;
  padding: 12px 24px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  border: 1px solid #25D366 !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18) !important;
}

.hero-buttons .btn-whatsapp:hover {
  background: #1ebe5a !important;
  border-color: #1ebe5a !important;
  color: #ffffff !important;
}	
	@media (max-width: 768px) {
    .hero {
        background-size: 105%;
        background-position: center top;
    }
}
}
