/* ============================================
   BFT Tankstelle Kurnaz - Global Styles
   ============================================ */

:root {
  --orange: #e8610a;
  --orange-dark: #c95208;
  --orange-light: #fff4ec;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --gray-bg: #f8f8f8;
  --gray-border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- NAV ---- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0 20px;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.navbar .logo img { height: 45px; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--orange); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ---- HERO SLIDER ---- */
.hero {
  position: relative; height: 70vh; min-height: 400px; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.5));
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px;
}
.hero-overlay h1 {
  color: var(--white); font-size: 2.8rem; font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-overlay p {
  color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-top: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 2;
}
.hero-dots span {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5);
  cursor: pointer; transition: var(--transition);
}
.hero-dots span.active { background: var(--orange); }

/* ---- SECTION COMMON ---- */
section { padding: 80px 0; }
.section-title {
  text-align: center; margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem; color: var(--text); position: relative; display: inline-block;
}
.section-title h2::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--orange); margin: 12px auto 0;
}
.section-title p { color: var(--text-light); margin-top: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- WELCOME ---- */
.welcome { background: var(--white); }
.welcome-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.welcome-text h2 { font-size: 1.8rem; margin-bottom: 16px; }
.welcome-text h2 span { color: var(--orange); }
.welcome-text p { color: var(--text-light); margin-bottom: 14px; }

/* ---- BONUSKARTE ---- */
.bonuskarte { background: var(--gray-bg); }
.bonus-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.bonus-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition);
}
.bonus-card:hover { transform: translateY(-4px); }
.bonus-card-images { display: grid; grid-template-columns: 1fr 1fr; }
.bonus-card-images img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.bonus-card-info { padding: 24px; }
.bonus-card-info h3 { color: var(--orange); margin-bottom: 8px; }

/* ---- STANDORTE ---- */
.standorte { background: var(--white); }
.standort {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
  margin-bottom: 60px;
}
.standort:last-child { margin-bottom: 0; }
.standort:nth-child(even) .standort-img { order: 2; }
.standort-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.standort-info h3 { font-size: 1.5rem; margin-bottom: 8px; }
.standort-info h3 i { color: var(--orange); margin-right: 8px; }
.standort-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.standort-badges span {
  background: var(--orange-light); color: var(--orange); padding: 4px 12px;
  border-radius: 20px; font-size: 0.85rem; font-weight: 500;
}
.wash-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.wash-table th {
  background: var(--orange); color: var(--white); padding: 10px 14px;
  text-align: left; font-size: 0.9rem;
}
.wash-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--gray-border); font-size: 0.9rem;
}
.wash-table tr:hover td { background: var(--orange-light); }
.wash-price { font-weight: 700; color: var(--orange); white-space: nowrap; }

/* ---- GALLERY ---- */
.gallery { background: var(--gray-bg); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  position: relative; aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(232,97,10,0.3); color: white; font-size: 1.5rem;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9);
  z-index: 2000; align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 20px; right: 30px; color: white; font-size: 2rem;
  cursor: pointer; background: none; border: none;
}

/* ---- FOOTER ---- */
.footer {
  background: #1a1a1a; color: rgba(255,255,255,0.8); padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1.1rem; }
.footer h4::after {
  content: ''; display: block; width: 40px; height: 2px; background: var(--orange); margin-top: 8px;
}
.footer p, .footer li { font-size: 0.9rem; line-height: 1.8; }
.footer ul { list-style: none; }
.footer ul a { color: rgba(255,255,255,0.7); }
.footer ul a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer i { color: var(--orange); margin-right: 8px; }

/* ---- WERKSTATT HERO ---- */
.hero-werkstatt {
  position: relative; height: 50vh; min-height: 350px;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-werkstatt .hero-overlay { background: rgba(0,0,0,0.55); }

/* ---- SERVICES ---- */
.services { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.service-card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 30px; text-align: center;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--orange); box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card i {
  font-size: 2.5rem; color: var(--orange); margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.9rem; }

/* ---- PROCESS ---- */
.process { background: var(--gray-bg); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { text-align: center; }
.process-step img {
  width: 80px; height: 80px; margin: 0 auto 16px; object-fit: contain;
}
.process-step .step-num {
  display: inline-block; width: 36px; height: 36px; line-height: 36px;
  background: var(--orange); color: var(--white); border-radius: 50%;
  font-weight: 700; margin-bottom: 12px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--text-light); font-size: 0.9rem; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card {
  background: var(--gray-bg); border-radius: var(--radius); padding: 30px;
  text-align: center; transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card img {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 3px solid var(--orange);
}
.testimonial-card p { font-style: italic; color: var(--text-light); margin-bottom: 16px; font-size: 0.95rem; }
.testimonial-card h4 { color: var(--orange); font-size: 0.9rem; }

/* ---- FAQ ---- */
.faq { background: var(--gray-bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius); margin-bottom: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-question {
  width: 100%; padding: 18px 24px; border: none; background: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left;
  color: var(--text); font-family: inherit;
}
.faq-question i { color: var(--orange); transition: transform var(--transition); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-answer-inner { padding: 0 24px 18px; color: var(--text-light); font-size: 0.95rem; }

/* ---- BRANDS ---- */
.brands { background: var(--white); padding: 50px 0; }
.brands-grid {
  display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.brands-grid img {
  height: 50px; object-fit: contain; filter: grayscale(100%); opacity: 0.6;
  transition: all var(--transition);
}
.brands-grid img:hover { filter: none; opacity: 1; }

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative; padding: 80px 0; text-align: center;
  background-size: cover; background-position: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0; background: rgba(232,97,10,0.9);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; padding: 12px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all var(--transition);
  border: none; font-family: inherit;
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--orange); }
.btn-white:hover { background: var(--gray-bg); color: var(--orange); transform: translateY(-2px); }

/* ---- LEGAL PAGES ---- */
.legal { padding: 100px 0 60px; }
.legal h1 { font-size: 2rem; margin-bottom: 30px; color: var(--text); }
.legal h2 { font-size: 1.3rem; margin-top: 30px; margin-bottom: 12px; color: var(--orange); }
.legal h3 { font-size: 1.1rem; margin-top: 20px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--text-light); margin-bottom: 10px; font-size: 0.95rem; }
.legal ul { margin-left: 20px; margin-bottom: 16px; }
.legal a { color: var(--orange); }

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .standort { grid-template-columns: 1fr; }
  .standort:nth-child(even) .standort-img { order: 0; }
  .welcome-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: var(--white);
    box-shadow: var(--shadow); padding: 20px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { height: 50vh; min-height: 300px; }
  .hero-overlay h1 { font-size: 1.8rem; }
  .bonus-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  section { padding: 50px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .bonus-card-images { grid-template-columns: 1fr; }
}
