/* ========================================
   SVB Brückers — Kfz-Sachverständiger Stuttgart
   Static Website Styles
   ======================================== */

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

:root {
  --primary: #1a365d;
  --primary-light: #2d4a7c;
  --accent: #E07A3A;
  --accent-hover: #c96a2f;
  --text: #1a202c;
  --text-light: #4a5568;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --bg-dark: #1a365d;
  --border: #e2e8f0;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--primary);
  color: white;
  height: 70px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-right: 40px;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

.logo-text {
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/blauer-kotfluegel-unfallschaden.webp') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,54,93,0.85) 0%, rgba(26,54,93,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

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

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

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

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

.btn-full {
  width: 100%;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

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

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

.section-title {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  margin-bottom: 12px;
}

.section-title.light {
  color: white;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1rem;
}

.section-subtitle.light {
  color: rgba(255,255,255,0.7);
}

.section-note {
  text-align: center;
  margin-top: 32px;
  font-weight: 600;
  color: var(--accent);
  font-size: 1rem;
}

/* ---- Grid ---- */
.grid {
  display: grid;
  gap: 20px;
}

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

/* ---- Cards (Leistungen) ---- */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff3e8;
  color: var(--accent);
  border-radius: 10px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-text h2 {
  font-family: Georgia, serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.about-location {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: #e8f0fe;
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---- Tags (Einzugsgebiet) ---- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.9rem;
  background: white;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* ---- Benefit Cards ---- */
.benefit-card {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 28px;
  color: white;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 10px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.benefit-card p {
  opacity: 0.85;
  font-size: 0.95rem;
}

/* ---- Testimonials ---- */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.testimonial:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.testimonial-image {
  min-height: 180px;
}

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

.damage-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.8rem;
}

.testimonial-content {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224,122,58,0.15);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--accent);
}

.contact-item a:hover {
  text-decoration: underline;
}

/* ---- Footer ---- */
.footer {
  background: var(--primary);
  color: white;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .logo-text {
  font-family: Georgia, serif;
}

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

.footer-links a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.5;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  /* Header Mobile */
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 1rem;
    padding: 8px 0;
  }

  /* Hero Mobile */
  .hero {
    min-height: 80vh;
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

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

  /* Sections Mobile */
  .section {
    padding: 60px 0;
  }

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

  /* About Mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .photo-placeholder {
    max-width: 250px;
    margin: 0 auto;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-location {
    text-align: center;
  }

  .about-badges {
    justify-content: center;
  }

  /* Testimonials Mobile */
  .testimonial {
    grid-template-columns: 1fr;
  }

  .testimonial-image {
    min-height: 160px;
  }

  .testimonial-content {
    padding: 0 20px 20px;
  }

  /* Contact Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer Mobile */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tags {
    gap: 6px;
  }

  .tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .card {
    padding: 20px;
  }

  .benefit-card {
    padding: 20px;
  }
}
