/* Kappe Fahrzeug Sync – Frontend-Styles für Shortcodes
   Alle Werte über CSS-Variablen überschreibbar (z.B. im Elementor Custom CSS oder Theme). */
:root {
  --kfs-text: #181818;
  --kfs-muted: #6b6b6b;
  --kfs-line: #e6e6e6;
  --kfs-bg: #f6f6f6;
  --kfs-accent: #0e3a2f;
  --kfs-radius: 6px;
  --kfs-font-size: 15px;
}

/* Tabellen (Verbrauch, Finanzierung, Leasing, Abmessungen) */
.kfs-table { width: 100%; border-collapse: collapse; font-size: var(--kfs-font-size); color: var(--kfs-text); }
.kfs-table td { padding: 8px 10px; border-bottom: 1px solid var(--kfs-line); vertical-align: top; }
.kfs-table tr:last-child td { border-bottom: 0; }
.kfs-table .kfs-label { color: var(--kfs-muted); }
.kfs-table .kfs-value { text-align: right; font-weight: 600; white-space: nowrap; }
.kfs-note { font-size: 12px; line-height: 1.5; color: var(--kfs-muted); margin: 10px 0 0; }

/* Kästchen (z.B. Verbrauch auf der Detailseite) */
.kfs-box { background: var(--kfs-bg); border-radius: var(--kfs-radius); padding: 16px 18px; }

/* Ausstattungsliste */
.fahrzeug-ausstattung { columns: 2; column-gap: 24px; }
.kfs-list { list-style: none; margin: 0; padding: 0; }
.kfs-list li { padding: 4px 0 4px 22px; position: relative; break-inside: avoid; font-size: var(--kfs-font-size); color: var(--kfs-text); }
.kfs-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--kfs-accent); border-bottom: 2px solid var(--kfs-accent); transform: rotate(-45deg); }
@media (max-width: 767px) { .fahrzeug-ausstattung { columns: 1; } }

/* Highlights */
.fahrzeug-highlights { display: flex; flex-wrap: wrap; gap: 8px; }
.kfs-highlight { display: inline-block; background: var(--kfs-bg); color: var(--kfs-text); padding: 6px 12px; border-radius: 4px; font-size: 14px; }

/* Ansprechpartner */
.kfs-contact { display: flex; gap: 16px; align-items: center; padding: 16px; background: var(--kfs-bg); border-radius: var(--kfs-radius); margin-bottom: 10px; }
.kfs-contact-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: 0 0 80px; }
.kfs-contact-body { min-width: 0; }
.kfs-contact-name { display: block; font-size: 16px; color: var(--kfs-text); }
.kfs-contact-role { display: block; font-size: 14px; color: var(--kfs-muted); margin-bottom: 6px; }
.kfs-contact-link { display: block; font-size: 14px; color: var(--kfs-text); text-decoration: none; }
.kfs-contact-link:hover { text-decoration: underline; }

/* Preisbewertung (mobile.de) */
.kfs-rating { display: inline-block; padding: 8px 14px; border-radius: 4px; border: 2px solid #6c757d; background: #e9eaec; color: #383d41; }
.kfs-rating-1, .kfs-rating-2 { background: #e3f4e8; border-color: #2e8b57; color: #1b5e34; }
.kfs-rating-3 { background: #fff6dc; border-color: #d9a400; color: #7a5a00; }
.kfs-rating-4, .kfs-rating-5 { background: #fbe4e6; border-color: #c62838; color: #7a1c26; }
.kfs-rating-text { font-size: 14px; }
.kfs-rating-date { display: block; font-size: 11px; margin-top: 2px; opacity: .8; }

/* Video */
.kfs-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--kfs-radius); }
.kfs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fallback-Hinweis */
.fahrzeug-keine-daten { padding: 12px 16px; color: var(--kfs-muted); font-size: 14px; }
.fahrzeug-keine-daten a { color: inherit; text-decoration: underline; }
