/* ========================================
   emx4you.de – Stylesheet
   TZ Elektroroller – Elektromobile aus Baindt
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-darker: #15803d;
  --primary-light: #86efac;
  --primary-pale: #dcfce7;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --accent-light: #a5f3fc;
  --dark: #0f172a;
  --dark-secondary: #1e293b;
  --dark-tertiary: #334155;
  --light: #f8fafc;
  --light-secondary: #f1f5f9;
  --white: #ffffff;
  --text: #334155;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.2);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: var(--text-lighter);
}

.section--light {
  background: var(--light);
}

.section--green {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.section--green h2,
.section--green h3,
.section--green h4 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 1.125rem;
}

.section--dark .section-header p {
  color: var(--text-lighter);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.badge--green {
  background: var(--primary-pale);
  color: var(--primary-darker);
}

.badge--dark {
  background: rgba(255,255,255,0.1);
  color: var(--primary-light);
}

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn--white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn--dark:hover {
  background: var(--dark-secondary);
  border-color: var(--dark-secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  z-index: 1001;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.875rem;
}

.header__logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary-dark);
  background: var(--primary-pale);
}

.nav__link--cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
}

.nav__link--cta:hover {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 968px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + 1rem) 1.5rem 2rem;
    gap: 0.25rem;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav__link {
    padding: 0.875rem 1rem;
    font-size: 1.0625rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text {
  max-width: 560px;
}

.hero__badge {
  margin-bottom: 1.5rem;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  color: var(--text-lighter);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero__stat-label {
  color: var(--text-lighter);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero__image-wrapper img {
  width: 100%;
  height: auto;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-lighter);
  font-size: 1.125rem;
  border: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 968px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__stats {
    justify-content: center;
  }

  .btn-group {
    justify-content: center;
  }

  .hero__badge {
    display: flex;
    justify-content: center;
  }
}

/* --- Vehicle Cards (Homepage) --- */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.vehicle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.vehicle-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light-secondary);
}

.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.vehicle-card:hover .vehicle-card__image img {
  transform: scale(1.05);
}

.vehicle-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light-secondary) 0%, var(--border) 100%);
  color: var(--text-lighter);
  font-size: 3rem;
}

.vehicle-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.vehicle-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-card__type {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.vehicle-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.vehicle-card__desc {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.vehicle-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.vehicle-card__spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.vehicle-card__spec-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.vehicle-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.vehicle-card__price small {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
}

.vehicle-card__actions {
  display: flex;
  gap: 0.75rem;
}

.vehicle-card__actions .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
}

@media (max-width: 968px) {
  .vehicles-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (min-width: 600px) and (max-width: 968px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

/* --- USP Section --- */
.usps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.usp-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.usp-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
}

.usp-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.usp-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.usp-card__text {
  font-size: 0.9375rem;
  color: var(--text-lighter);
  line-height: 1.6;
}

@media (max-width: 968px) {
  .usps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

/* --- Vehicle Detail Page --- */
.vehicle-hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  background: var(--dark);
  color: var(--white);
}

.vehicle-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vehicle-hero__gallery {
  position: relative;
}

.vehicle-hero__main-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--dark-secondary);
  margin-bottom: 1rem;
}

.vehicle-hero__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-hero__main-image--contain {
  background: linear-gradient(135deg, #f0fdf4 0%, #e2e8f0 100%);
}

.vehicle-hero__main-image--contain img {
  object-fit: contain;
  padding: 1rem;
}

.vehicle-hero__main-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-lighter);
  font-size: 1.25rem;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
}

.vehicle-hero__thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.vehicle-hero__thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
  background: var(--dark-secondary);
}

.vehicle-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-hero__thumb--contain {
  background: linear-gradient(135deg, #f0fdf4 0%, #e2e8f0 100%);
}

.vehicle-hero__thumb--contain img {
  object-fit: contain;
  padding: 2px;
}

.vehicle-hero__thumb.active,
.vehicle-hero__thumb:hover {
  border-color: var(--primary);
}

.vehicle-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-hero__info {
  max-width: 480px;
}

.vehicle-hero__type {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.vehicle-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.vehicle-hero__desc {
  color: var(--text-lighter);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.vehicle-hero__price-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.vehicle-hero__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.vehicle-hero__price-note {
  font-size: 0.875rem;
  color: var(--text-lighter);
  margin-top: 0.5rem;
}

.vehicle-hero__colors {
  margin-bottom: 2rem;
}

.vehicle-hero__colors-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-lighter);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.color-options {
  display: flex;
  gap: 0.75rem;
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.color-option:hover,
.color-option.active {
  border-color: var(--primary);
  transform: scale(1.1);
}

.color-option::after {
  content: attr(data-name);
  position: absolute;
  bottom: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  color: var(--text-lighter);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.color-option:hover::after {
  opacity: 1;
}

@media (max-width: 968px) {
  .vehicle-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vehicle-hero__info {
    max-width: 100%;
  }
}

/* --- Specs Table --- */
.specs-section {
  padding: 4rem 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.specs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.specs-card__title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-pale);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.specs-card__title svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.specs-table {
  width: 100%;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 0.75rem 0;
  font-size: 0.9375rem;
}

.specs-table td:first-child {
  color: var(--text-light);
  width: 45%;
}

.specs-table td:last-child {
  font-weight: 600;
  color: var(--dark);
}

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

/* --- Features List --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.feature-item__icon {
  width: 40px;
  height: 40px;
  background: var(--primary-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item__icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
}

.feature-item__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.feature-item__text {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

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

/* --- Contact / Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary-dark);
}

.contact-info__label {
  font-size: 0.8125rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-weight: 600;
  color: var(--dark);
}

.contact-info__value a {
  color: var(--dark);
}

.contact-info__value a:hover {
  color: var(--primary);
}

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form__subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form__label--required::after {
  content: ' *';
  color: #ef4444;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--dark);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-lighter);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--primary-pale);
  border-radius: var(--radius);
  cursor: pointer;
}

.form__checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.form__checkbox-label {
  font-weight: 600;
  color: var(--primary-darker);
  font-size: 0.9375rem;
}

.form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form__hint {
  font-size: 0.8125rem;
  color: var(--text-lighter);
  margin-top: 1rem;
}

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

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

/* --- Map --- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- Info Page (Fahren mit 15, Werkstatt, etc.) --- */
.info-page {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
}

.info-page__header {
  text-align: center;
  margin-bottom: 3rem;
}

.info-page__header h1 {
  margin-bottom: 1rem;
}

.info-page__header p {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 650px;
  margin: 0 auto;
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
}

.info-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.info-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.info-content p {
  color: var(--text);
  line-height: 1.8;
}

.info-content ul,
.info-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.info-content ul {
  list-style: none;
  padding-left: 0;
}

.info-content ul:not(.checklist) li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.info-content ul:not(.checklist) li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.info-content ol {
  list-style: decimal;
}

.info-content ol li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.checklist {
  list-style: none !important;
  padding-left: 0 !important;
}

.checklist li {
  padding: 1rem 1.25rem 1rem 3.25rem !important;
  background: var(--light);
  border-radius: var(--radius);
  margin-bottom: 0.75rem !important;
  position: relative;
  border: 1px solid var(--border);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- Financing Section --- */
.financing-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.financing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.financing-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.financing-card--highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  position: relative;
}

.financing-card--highlight::before {
  content: 'Beliebt';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.financing-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--primary-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.financing-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-dark);
}

.financing-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.financing-card__text {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .financing-options {
    grid-template-columns: 1fr;
  }
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--text-lighter);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  color: var(--text-lighter);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer__title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  color: var(--text-lighter);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.875rem;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  color: var(--text-lighter);
  font-size: 0.875rem;
}

.footer__bottom-links a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 1.25rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}

/* --- Lightbox/Gallery --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.visible {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__nav--prev {
  left: 1.5rem;
}

.lightbox__nav--next {
  right: 1.5rem;
}

/* --- Page Header (subpages) --- */
.page-header {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3rem;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--text-lighter);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-lighter);
  margin-bottom: 1.5rem;
}

.page-header .breadcrumb a {
  color: var(--text-lighter);
}

.page-header .breadcrumb a:hover {
  color: var(--primary);
}

.page-header .breadcrumb span {
  color: var(--primary);
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* --- Workshop Partners --- */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.workshop-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.workshop-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.workshop-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.workshop-card__address {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.workshop-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.workshop-card__service-tag {
  padding: 0.25rem 0.75rem;
  background: var(--primary-pale);
  color: var(--primary-darker);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
}

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

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Print Styles --- */
@media print {
  .header,
  .cookie-banner,
  .lightbox,
  .nav-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: #fff;
  }
}
