/* ===========================================
   Fahrzeug Detail Page
   Styles for node type "fahrzeug" detail view.
   Brand variables inherited from css/style.css (:root).
   =========================================== */

:root {
  --aa-red-soft: rgba(230, 11, 0, 0.06);
  --aa-light: #f8f9fa;
  --aa-border: #e5e7eb;
  --aa-body: #2d3748;
}


/* ===== VEHICLE HERO ===== */
.fz-hero {
  background: var(--aa-dark);
  padding: 2.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.fz-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,11,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Breadcrumb */
.fz-hero .fz-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
  min-width: 0;
}
.fz-hero .fz-breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 150ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.fz-hero .fz-breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.fz-hero .fz-breadcrumb .sep {
  color: rgba(255,255,255,0.2);
  padding: 0 6px;
  flex-shrink: 0;
}
.fz-hero .fz-breadcrumb .current {
  color: rgba(255,255,255,0.6);
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Logo */
.fz-logo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.fz-logo-wrap img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}
.fz-logo-placeholder {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.15);
}

.fz-hero__brand-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}
.fz-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.fz-hero h1 .fz-highlight { color: var(--aa-red); }
.fz-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.fz-hero__subtitle strong { color: rgba(255,255,255,0.8); }

/* Spec Pills */
.fz-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}
.fz-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2rem;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.fz-spec-pill i { font-size: 0.9rem; color: var(--aa-red); }
.fz-spec-pill .fz-spec-val { color: #fff; font-weight: 700; }

.fz-btn-red {
  background: var(--aa-red);
  border: none;
  color: #fff;
  padding: 14px 28px;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(230,11,0,0.35);
  transition: all 200ms ease;
}
.fz-btn-red:hover {
  background: var(--aa-red-hover);
  color: #fff;
  transform: translateY(-2px);
}
.fz-btn-whatsapp {
  background: var(--aa-whatsapp);
  border: none;
  color: #fff;
  padding: 14px 28px;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
  transition: all 200ms ease;
}
.fz-btn-whatsapp:hover {
  background: var(--aa-whatsapp-hover);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .fz-hero h1 { font-size: 1.5rem; }
  .fz-logo-wrap { width: 72px; height: 72px; }
}

/* ===== USP STRIP ===== */
.fz-usp-strip {
  background: #fff;
  border-bottom: 1px solid var(--aa-border);
  padding: 1.25rem 0;
}
.fz-usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 0.5rem 0;
}
.fz-usp-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.fz-usp-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--aa-dark);
}
.fz-usp-sub {
  font-size: 0.75rem;
  color: var(--aa-muted);
  font-weight: 400;
}

/* ===== SHARED SECTION LABELS ===== */
.fz-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aa-red);
  margin-bottom: 0.5rem;
}
.fz-section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--aa-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* ===== TECH SPECS TABLE ===== */
.fz-section-specs { padding: 3rem 0; }
.fz-spec-table { width: 100%; border-collapse: collapse; }
.fz-spec-table tr { border-bottom: 1px solid var(--aa-border); }
.fz-spec-table tr:last-child { border-bottom: none; }
.fz-spec-table td {
  padding: 0.85rem 0;
  font-size: 0.92rem;
  vertical-align: top;
}
.fz-spec-table .fz-spec-label {
  color: var(--aa-muted);
  font-weight: 500;
  width: 40%;
  padding-right: 1rem;
}
.fz-spec-table .fz-spec-label i { color: var(--aa-red); }
.fz-spec-table .fz-spec-value {
  color: var(--aa-dark);
  font-weight: 600;
}

/* ===== DEFEKT ANKAUF ===== */
.fz-section-defects {
  padding: 3.5rem 0;
  background: var(--aa-light);
}
.fz-defect-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--aa-border);
  border-radius: 2rem;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--aa-dark);
  transition: all 200ms;
}
.fz-defect-tag:hover {
  border-color: var(--aa-red);
  color: var(--aa-red);
  background: var(--aa-red-soft);
}
.fz-defect-tag i { color: var(--aa-red); font-size: 0.9rem; }

/* ===== EINWANDBEHANDLUNG ===== */
.fz-section-objections { padding: 3.5rem 0; }
.fz-obj-card {
  background: #fff;
  border: 1px solid var(--aa-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  height: 100%;
}
.fz-obj-q {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--aa-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.fz-obj-q i {
  color: var(--aa-red);
  margin-top: 3px;
  flex-shrink: 0;
}
.fz-obj-a {
  font-size: 0.85rem;
  color: var(--aa-muted);
  line-height: 1.6;
  padding-left: 26px;
}

/* ===== FAQ ===== */
.fz-section-faq {
  padding: 3.5rem 0;
  background: var(--aa-light);
}
.fz-faq-item {
  background: #fff;
  border: 1px solid var(--aa-border);
  border-radius: 0.75rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.fz-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--aa-dark);
}
.fz-faq-question:hover { color: var(--aa-red); }
.fz-faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--aa-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--aa-muted);
  flex-shrink: 0;
  transition: all 200ms;
}
.fz-faq-item.open .fz-faq-toggle {
  background: var(--aa-red-soft);
  color: var(--aa-red);
  transform: rotate(45deg);
}
.fz-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease;
  padding: 0 1.25rem;
}
.fz-faq-item.open .fz-faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1rem;
}
.fz-faq-answer p {
  font-size: 0.88rem;
  color: var(--aa-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== WEITERE MODELLE (Related) ===== */
.fz-section-related { padding: 3.5rem 0; }
.fz-related-card {
  background: #fff;
  border: 1px solid var(--aa-border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 250ms;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.fz-related-card:hover {
  border-color: var(--aa-red);
  box-shadow: 0 4px 16px rgba(230,11,0,0.06);
  transform: translateY(-2px);
}
.fz-rc-top {
  text-decoration: none;
  display: block;
  flex: 1;
}
.fz-rc-logo {
  height: 80px;
  background: var(--aa-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--aa-border);
}
.fz-rc-logo img {
  max-height: 50px;
  max-width: 70%;
  object-fit: contain;
}
.fz-rc-logo i { font-size: 1.8rem; color: var(--aa-border); }
.fz-rc-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25rem;
}
.fz-rc-brand {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aa-muted);
  margin: 0;
}
.fz-rc-model {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--aa-dark);
  line-height: 1.35;
  margin: 0;
  white-space: normal;
  overflow: visible;
  display: block;
  min-height: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.fz-rc-specs {
  font-size: 0.78rem;
  color: var(--aa-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
.fz-rc-specs span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.fz-rc-cta {
  display: block;
  text-align: center;
  padding: 0.7rem;
  background: var(--aa-red-soft);
  color: var(--aa-red);
  font-weight: 700;
  font-size: 0.82rem;
  border-top: 1px solid var(--aa-border);
  text-decoration: none;
  transition: all 200ms;
}
.fz-rc-cta:hover {
  background: var(--aa-red);
  color: #fff;
}

/* ===== MID-PAGE CTA ===== */
.fz-mid-cta {
  background: var(--aa-dark);
  padding: 2.5rem 0;
}
.fz-mid-cta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.fz-mid-cta p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}


/* ===== ANIMATIONS ===== */
@keyframes fzFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fz-fade-up { opacity: 0; animation: fzFadeUp 0.5s ease forwards; }
.fz-fade-up-1 { animation-delay: 0.1s; }
.fz-fade-up-2 { animation-delay: 0.2s; }
.fz-fade-up-3 { animation-delay: 0.3s; }
