/* ============================================================
   KFZ Gutachter Schuster – Stylesheet
   Moderne, klare Darstellung | Deutsch
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Variables ── */
:root {
  --black:   #0d0d0d;
  --white:   #f5f4f0;
  --accent:  #c8a96e;          /* warm gold */
  --accent2: #1a3a5c;          /* dark navy */
  --mid:     #4a4a4a;
  --border:  rgba(200,169,110,0.25);
  --radius:  6px;
  --max:     1140px;
  --nav-h:   72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
.label {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; }

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--accent2);
  color: #fff;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9999;
  font-size: 0.88rem;
  flex-wrap: wrap;
}
#cookie-banner a { color: var(--accent); text-decoration: underline; }
#cookie-banner .btn-group { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn-cookie {
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-cookie:hover { opacity: 0.85; }
.btn-accept { background: var(--accent); color: var(--black); }
.btn-decline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(245,244,240,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--accent2);
  line-height: 1;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-phone {
  background: var(--accent2);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}
.nav-phone:hover { background: var(--accent); color: var(--black) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 0.25rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s; }

/* ── Hero ── */
.hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  background: var(--accent2);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: 'KFZ';
  font-family: 'Bebas Neue', sans-serif;
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(12rem, 25vw, 22rem);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,169,110,0.2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero p { font-size: 1.1rem; color: rgba(245,244,240,0.75); max-width: 520px; margin-bottom: 2rem; line-height: 1.7; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--black);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,169,110,0.4); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.stat-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  min-width: 160px;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; letter-spacing: 0.05em; }

/* ── Vorteile ── */
.vorteile { background: var(--white); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--mid); max-width: 560px; margin: 0 auto; }
.vorteil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.vorteil-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.vorteil-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-3px); }
.vorteil-icon {
  width: 48px; height: 48px;
  background: var(--accent2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.vorteil-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.vorteil-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.vorteil-card p { font-size: 0.9rem; color: var(--mid); }

/* ── Ablauf ── */
.ablauf { background: var(--accent2); color: var(--white); }
.ablauf .section-header h2 { color: #fff; }
.ablauf .section-header p { color: rgba(245,244,240,0.65); }
.ablauf-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; position: relative; }
.ablauf-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
}
.step {
  position: relative;
  text-align: center;
  padding-top: 1rem;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(200,169,110,0.4);
}
.step h3 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; color: rgba(245,244,240,0.6); }

/* ── Leistungen (Übersicht) ── */
.leistungen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.leistung-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-weight: 500;
  font-size: 0.92rem;
}
.leistung-item:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.leistung-item svg { width: 18px; height: 18px; flex-shrink: 0; fill: var(--accent); }
.more-link {
  margin-top: 2.5rem;
  text-align: center;
}

/* ── FAQ ── */
.faq { background: #f0eeea; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.3rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--black);
}
.faq-question .icon { font-size: 1.4rem; line-height: 1; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer p { padding-bottom: 1.25rem; color: var(--mid); font-size: 0.93rem; line-height: 1.8; }

/* ── Kontakt ── */
.kontakt { background: var(--white); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.kontakt-info h2 { margin-bottom: 1rem; }
.kontakt-info p { color: var(--mid); margin-bottom: 1.5rem; }
.kontakt-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.kontakt-detail svg { width: 20px; height: 20px; fill: var(--accent); flex-shrink: 0; margin-top: 2px; }
.kontakt-detail span { font-size: 0.95rem; color: var(--mid); }
.kontakt-detail a:hover { color: var(--accent2); }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent2);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  transition: background 0.2s;
}
.cta-phone:hover { background: var(--accent); color: var(--black); }
.cta-phone svg { width: 22px; height: 22px; fill: currentColor; }
.kontakt-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.kontakt-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 0.4rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mid); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 0.9rem; }

/* ── Footer ── */
footer {
  background: var(--black);
  color: rgba(245,244,240,0.6);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { font-size: 1.5rem; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; line-height: 1.7; }
footer h4 { font-family: 'DM Serif Display', serif; color: #fff; margin-bottom: 1rem; font-size: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul a { font-size: 0.88rem; transition: color 0.2s; }
footer ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ── Leistungen Page ── */
.page-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4rem;
  background: var(--accent2);
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(245,244,240,0.7); max-width: 560px; }

.leistung-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.leistung-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.leistung-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.1); transform: translateY(-4px); }
.leistung-card-header {
  background: var(--accent2);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.leistung-card-icon {
  width: 44px; height: 44px;
  background: rgba(200,169,110,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.leistung-card-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.leistung-card-header h3 { color: #fff; font-size: 1.05rem; }
.leistung-card-body { padding: 1.5rem; }
.leistung-card-body p { font-size: 0.9rem; color: var(--mid); margin-bottom: 1rem; }
.leistung-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  background: #f0eeea;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--mid);
  font-weight: 500;
}

/* ── Datenschutz / Cookie Pages ── */
.legal-page {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 5rem;
}
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h1 { margin-bottom: 0.5rem; }
.legal-meta { font-size: 0.85rem; color: var(--mid); margin-bottom: 3rem; }
.legal-content h2 { margin: 2.5rem 0 0.75rem; font-size: 1.4rem; }
.legal-content h3 { margin: 1.5rem 0 0.5rem; font-size: 1.1rem; color: var(--accent2); }
.legal-content p { color: var(--mid); margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul { padding-left: 1.5rem; color: var(--mid); font-size: 0.95rem; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--accent2); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; justify-content: center; }
  .stat-box { min-width: 120px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ablauf-steps::before { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
  }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  #cookie-banner { flex-direction: column; text-align: center; }
  section { padding: 4rem 0; }
}
