* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #0c1424;
  background-color: #0c1424;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      420px circle at var(--cursor-x, 50%) var(--cursor-y, 30%),
      rgba(64, 178, 255, 0.2),
      transparent 55%
    ),
    radial-gradient(
      680px circle at calc(var(--cursor-x, 50%) + 18vw)
        calc(var(--cursor-y, 30%) + 12vh),
      rgba(140, 90, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      520px circle at calc(var(--cursor-x, 50%) - 20vw)
        calc(var(--cursor-y, 30%) - 10vh),
      rgba(0, 255, 198, 0.12),
      transparent 65%
    );
  mix-blend-mode: screen;
  z-index: 0;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e6e8ef;
  backdrop-filter: blur(6px);
}


.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.nav-links a {
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #1c3d6f;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: auto;
  background: #0c1424;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-phone {
  margin-left: auto;
  font-weight: 800;
  font-size: 1.05rem;
}

.phone-button {
  background: #ffffff;
  color: #0c1424;
  border-color: #c8d2e6;
  padding: 8px 16px;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e6e8ef;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
}


.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1500;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: #ffffff;
  box-shadow: -20px 0 40px rgba(12, 20, 36, 0.2);
  transform: translateX(100%);
  transition: transform 0.2s ease;
  z-index: 1600;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer a {
  font-weight: 600;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
  background-image: url("assets/hintergrund1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  overflow: hidden;
}

.hero-content {
  max-width: 520px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: #0c1424;
}

.hero-content p {
  margin-bottom: 20px;
  color: #ffffff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.button {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.button:hover {
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35),
    0 0 24px rgba(59, 130, 246, 0.25);
  transform: translateY(-1px);
}

.button.primary {
  background: #1c3d6f;
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: #1c3d6f;
  border-color: #c8d2e6;
}

.button.whatsapp-button {
  background: #25d366;
  color: #0c1424;
  border-color: #25d366;
}

.button.ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.hero-stats strong {
  font-size: 1.4rem;
  color: #ffffff;
}

.hero-stats span {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(12, 20, 36, 0.1);
  backdrop-filter: blur(6px);
  margin-top: 60px;
}

.hero-card h2 {
  margin-bottom: 12px;
}

.hero-card ul {
  margin: 16px 0 20px;
  padding-left: 18px;
  color: #2c3e57;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section.alt {
  background: transparent;
  backdrop-filter: none;
}

.section.alt .section-header h2,
.section.alt .section-header p {
  color: #ffffff;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 8px;
}

.section-header p {
  color: #2c3e57;
}

#unterricht .section-header h2,
#unterricht .section-header p {
  color: #ffffff;
}

#faq .section-header h2,
#faq .section-header p {
  color: #ffffff;
}

#leistungen .section-header h2,
#leistungen .section-header p {
  color: #ffffff;
}

#ueber-uns-fahrzeuge .section-header p {
  color: #ffffff;
}

#ueber-uns-fahrlehrer .section-header h2,
#ueber-uns-fahrlehrer .section-header p {
  color: #ffffff;
}

#ueber-uns .section-header h2,
#ueber-uns .section-header p {
  color: #ffffff;
}

.ueber-uns-title {
  color: #ffffff;
}

#legal-page,
#legal-page h2,
#legal-page h3,
#legal-page p,
#legal-page li,
#legal-page a {
  color: #ffffff;
}

#leistungen {
  background-image: linear-gradient(
      rgba(12, 20, 36, 0.25),
      rgba(12, 20, 36, 0.25)
    ),
    url("assets/hintergrundleistungen.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#faq {
  background-image: linear-gradient(
      rgba(12, 20, 36, 0.25),
      rgba(12, 20, 36, 0.25)
    ),
    url("assets/hintergrundfaq.png");
}

#vorteile,
#kontakt {
  background-image: linear-gradient(
      rgba(12, 20, 36, 0.25),
      rgba(12, 20, 36, 0.25)
    ),
    url("assets/hintergrund.WEBP");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#unterricht,
.site-footer {
  background-image: linear-gradient(
      rgba(12, 20, 36, 0.25),
      rgba(12, 20, 36, 0.25)
    ),
    url("assets/hintergrund1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 1px solid #e6e8ef;
  padding: 18px;
  backdrop-filter: blur(6px);
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0c1424;
  margin-bottom: 8px;
}

.faq-item p {
  color: #2c3e57;
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cards.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e6e8ef;
  min-height: 180px;
  backdrop-filter: blur(6px);
}

.card a {
  color: #1c3d6f;
  font-weight: 600;
  display: inline-block;
  margin-top: 12px;
}

.glow-link {
  color: #1c3d6f;
  transition: text-shadow 0.2s ease, color 0.2s ease;
}

.glow-link:hover {
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.8),
    0 0 20px rgba(59, 130, 246, 0.6);
}

.card-title {
  margin-bottom: 8px;
}

.card-title-b {
  color: #102a57;
}

.card-title-a {
  color: #1c3d6f;
}

.card-title-17 {
  color: #2c5aa0;
}

.card-title-refresh {
  color: #6aa7ff;
}

.card.highlight {
  background: rgba(241, 244, 251, 0.92);
  border-color: #d7dff0;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
}

.zoomable-image {
  cursor: zoom-in;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}

.image-modal.open {
  display: flex;
}

.image-modal img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 12px;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.vehicle-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.vehicle-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  border: 1px solid #e6e8ef;
  padding: 16px;
  backdrop-filter: blur(6px);
}

.vehicle-summary {
  list-style: none;
  display: grid;
  gap: 12px;
  cursor: pointer;
}

.vehicle-summary::-webkit-details-marker {
  display: none;
}

.vehicle-summary h3 {
  margin-bottom: 4px;
}

.vehicle-summary p {
  color: #2c3e57;
}

.vehicle-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.vehicle-info {
  margin-top: 12px;
  color: #2c3e57;
  display: grid;
  gap: 6px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-item {
  background: rgba(247, 248, 251, 0.9);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e6e8ef;
  backdrop-filter: blur(6px);
}

.grid-item h4 {
  margin-bottom: 8px;
  color: #1c3d6f;
}

.contact {
  background: linear-gradient(135deg, #1c3d6f, #152b4d);
  color: #ffffff;
}

.contact-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.contact-card h2 {
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 20px 0;
}

.contact-card h4 {
  margin-top: 6px;
  color: #d7e2ff;
}

.site-footer {
  background: #0c1424;
  color: #c8d2e6;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .nav-cta,
  .nav-phone {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }
}
