/* ============================================================================
   DachzeltPilot - Zentrales Stylesheet (Startseite, vehicle.php, tent.php)
   Outdoor-Theme (farbenfroh) | Framework-frei | Mobile-First | System-Font-Stack
   ============================================================================ */

:root {
  /* Farbpalette: Farbenfrohes Outdoor-Theme */
  --bg:             #f6f4ef;
  --surface:        #ffffff;
  --surface-muted:  #eef3ef;
  --surface-tint:   #e8f5ee;

  --ink:            #0f172a;
  --ink-muted:      #475569;
  --ink-subtle:     #64748b;

  --brand:          #1b4332;
  --brand-hover:    #143326;
  --brand-light:    #2d6a4f;
  --brand-mint:     #d8f3dc;

  --accent:         #e76f51;
  --accent-hover:   #d65a3c;
  --accent-bg:      #ffede8;

  --teal:           #0f766e;
  --teal-bg:        #ccfbf1;

  --gold:           #b45309;
  --gold-bg:        #fef3c7;
  --gold-border:    #f59e0b;

  /* Statusfarben (Dachlast- & Garagen-Ampel) */
  --ok:             #15803d;
  --ok-bg:          #dcfce7;
  --warn:           #b45309;
  --warn-bg:        #fef3c7;
  --danger:         #b91c1c;
  --danger-bg:      #fee2e2;

  /* Linien, Radien, Schatten */
  --border:         #dce5df;
  --border-strong:  #c1d0c7;
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      14px;
  --shadow-sm:      0 2px 6px rgba(27, 67, 50, 0.06);
  --shadow-md:      0 8px 22px rgba(27, 67, 50, 0.10);
  --shadow-lg:      0 16px 40px rgba(15, 23, 42, 0.18);

  /* Layout & Typografie */
  --max-w:          1120px;
  --font-sans:      system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:      ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ----------------------------------------------------------------------------
   1. Reset & Grundtypografie
   ---------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.75rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 2.5rem; color: var(--brand); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}

main.container {
  padding-block: 1.5rem 4rem;
}

/* ----------------------------------------------------------------------------
   2. Header, Navigation & Breadcrumb (farbiges Waldgruen + Orange-Linie)
   ---------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--brand);
  color: #ffffff;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.18);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-block: 0.85rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--brand-mint);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.main-nav a {
  color: #e2f5ea;
  text-decoration: none;
}

.main-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.breadcrumb {
  font-size: 0.85rem;
  color: #b7e4c7;
}

.breadcrumb a {
  color: #e2f5ea;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ----------------------------------------------------------------------------
   3. Buttons, Badges & Status-Hinweise
   ---------------------------------------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(231, 111, 81, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(231, 111, 81, 0.38);
}

.btn-secondary {
  background: var(--surface-tint);
  color: var(--brand);
  border-color: var(--brand-light);
}

.btn-secondary:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.badge,
.type-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  vertical-align: middle;
}

.badge {
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid #fcd34d;
}

.type-tag {
  background: var(--teal-bg);
  color: var(--teal);
}

.status-ok     { background: var(--ok-bg);     color: var(--ok); }
.status-warn   { background: var(--warn-bg);   color: var(--warn); }
.status-danger { background: var(--danger-bg); color: var(--danger); }

.notice,
.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--border-strong);
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.notice-warning {
  background: var(--warn-bg);
  border-left-color: var(--gold-border);
  color: #78350f;
}

.alert-danger {
  background: var(--danger-bg);
  border-left-color: var(--danger);
  color: #7f1d1d;
}

.warning-inline {
  background: var(--warn-bg);
  color: #78350f;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin: 0.75rem 0;
}

.coupon-hint {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px dashed var(--gold-border);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin: 0.35rem 0 0.6rem;
}

.affiliate-disclosure {
  color: var(--ink-subtle);
  margin-top: 1rem;
}

.empty-state {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
}

/* ----------------------------------------------------------------------------
   4. Hero, Answer-First Box (AIO/GEO) & KPI-Leiste
   ---------------------------------------------------------------------------- */
.vehicle-hero,
.model-hero,
.home-hero {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 62%, #40916c 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
}

.vehicle-hero h1,
.model-hero h1,
.home-hero h1 {
  color: #ffffff;
}

.vehicle-hero .section-lead,
.model-hero .section-lead,
.home-hero .section-lead {
  color: #e2f5ea;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a7f3d0;
  margin-bottom: 0.5rem;
}

.aio-answer {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
}

.aio-answer > strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.aio-answer p:last-child {
  margin-bottom: 0;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.hero-kpis > div {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
}

.hero-kpis dt {
  font-size: 0.78rem;
  color: var(--ink-subtle);
  margin-bottom: 0.2rem;
}

.hero-kpis dd {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand);
}

.section-lead {
  color: var(--ink-muted);
  max-width: 72ch;
}

/* ----------------------------------------------------------------------------
   5. Semantische Tabellen (Specs & Kompatible Fahrzeuge)
   ---------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.specs-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.94rem;
}

.specs-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table caption,
.data-table caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 600;
  padding: 0.65rem 1rem;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border);
}

.specs-table th,
.specs-table td,
.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td,
.data-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table th {
  width: 38%;
  color: var(--ink-muted);
  font-weight: 600;
  background: #f8fbf9;
}

.data-table thead th {
  background: var(--surface-tint);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand);
  white-space: nowrap;
}

.data-table tbody tr:hover {
  background: #f8fbf9;
}

.data-table .badge {
  margin-left: 0.35rem;
}

.special-notes,
.excluded-box {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-light);
  border-radius: var(--radius-md);
}

.excluded-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

/* ----------------------------------------------------------------------------
   6. Dachzelt-Karten (vehicle.php & Startseiten-Finder)
   ---------------------------------------------------------------------------- */
.tent-grid,
.acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.tent-card,
.acc-card,
.rack-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.tent-card:hover,
.acc-card:hover {
  transform: translateY(-2px);
  border-top-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.tent-card header {
  margin-bottom: 0.75rem;
}

.tent-card header h3 {
  margin: 0.5rem 0 0;
}

.tent-card header h3 a {
  text-decoration: none;
  color: var(--ink);
}

.tent-card header h3 a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.tent-metrics {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.tent-metrics > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.tent-metrics dt {
  color: var(--ink-subtle);
}

.tent-metrics dd {
  margin: 0;
  text-align: right;
}

.editor-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  background: var(--surface-tint);
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.offer-box {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.price-line {
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
}

.price-line small {
  font-size: 0.78rem;
  color: var(--ink-subtle);
}

/* ----------------------------------------------------------------------------
   7. Preisvergleichs-Liste & Pro/Contra (tent.php)
   ---------------------------------------------------------------------------- */
.offer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.offer-row.is-best {
  border: 2px solid var(--accent);
  background: #fffaf8;
}

.offer-merchant {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.offer-merchant .badge {
  align-self: flex-start;
  margin-bottom: 0.15rem;
}

.availability {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.offer-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.offer-price small,
.price-fallback {
  font-size: 0.82rem;
  color: var(--ink-subtle);
}

.pro-con-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.pro-con-grid > h2 {
  grid-column: 1 / -1;
}

.pro-box,
.con-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.pro-box { border-top: 4px solid var(--ok); }
.con-box { border-top: 4px solid var(--accent); }

.pro-box ul,
.con-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.pro-box li,
.con-box li {
  margin-bottom: 0.45rem;
}

.rack-card ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

.acc-card h3 {
  margin-top: 0.5rem;
}

.acc-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.acc-card .btn-secondary {
  margin-top: auto;
}

/* ----------------------------------------------------------------------------
   8. Startseiten-Module: Finder, Chips, Rechner, Sticky-Bank & Diff-Modal
   ---------------------------------------------------------------------------- */
.finder-panel,
.calc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.25rem;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  align-items: end;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.field input,
.field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.field input:focus,
.field select:focus {
  border-color: var(--brand-light);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}

.chip {
  padding: 0.38rem 0.75rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--surface-tint);
  border: 1px solid var(--brand-mint);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.chip:hover,
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 50;
  width: min(94vw, 860px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--brand);
  color: #ffffff;
  border-top: 3px solid var(--accent);
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-dialog {
  width: min(100%, 960px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.svg-room-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1rem 0;
}

/* ----------------------------------------------------------------------------
   9. FAQs, Interne Links & Footer
   ---------------------------------------------------------------------------- */
.faq-section details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  margin-bottom: 0.7rem;
}

.faq-section summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-section summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.faq-section details[open] summary::after {
  content: "−";
}

.faq-section details p {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
}

.related-vehicles ul,
.duels-section ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.related-vehicles a,
.duels-section a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.related-vehicles a:hover,
.duels-section a:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--brand);
}

.site-footer {
  border-top: 3px solid var(--accent);
  background: var(--brand);
  padding: 2rem 0;
  font-size: 0.88rem;
  color: #d8f3dc;
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  color: var(--brand-mint);
}

/* ----------------------------------------------------------------------------
   10. Responsive Breakpoints & Print (fuer Checklisten)
   ---------------------------------------------------------------------------- */
@media (min-width: 720px) {
  .offer-row {
    grid-template-columns: 1.4fr 1fr auto;
  }

  .pro-con-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
    padding: 0.5rem 0.85rem;
  }

  .specs-table th {
    border-bottom: none;
    padding-bottom: 0.15rem;
    font-size: 0.82rem;
  }

  .specs-table td {
    padding-top: 0.15rem;
  }
}

@media print {
  .site-header,
  .compare-bar,
  .offer-cta,
  .btn-primary,
  .btn-secondary {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .tent-card,
  .specs-table,
  .aio-answer {
    box-shadow: none;
    break-inside: avoid;
  }
}

/* ----------------------------------------------------------------------------
   11. Duell-Seiten (compare.php)
   ---------------------------------------------------------------------------- */
.duel-header-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.duel-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
}

.duel-card h2 {
  margin: 0.25rem 0 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.duel-card h2 a {
  text-decoration: none;
  color: var(--ink);
}

.duel-meta {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0 0 0.5rem;
}

.duel-card .btn-primary,
.duel-card .btn-secondary {
  margin-top: auto;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.section-head-row h2 {
  margin: 0;
}

.diff-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}

.compare-table th[scope="row"] {
  font-weight: 600;
  color: var(--ink-muted);
  background: #f8fbf9;
}

.compare-table td.is-winner {
  background: var(--ok-bg);
  color: var(--ok);
  font-weight: 700;
}

.compare-table.hide-same tr.is-same-row {
  display: none;
}

.svg-caption {
  font-size: 0.8rem;
  color: var(--ink-subtle);
  text-align: center;
  margin: 0.5rem 0 0;
}

/* ----------------------------------------------------------------------------
   12. Startseiten-Helfer & Silhouetten (index.php, vehicle.php, tent.php)
   ---------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.compare-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}

.compare-bar-items,
.compare-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.vehicle-hero-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.vehicle-hero-text {
  flex: 1 1 320px;
}

.vehicle-hero-visual {
  flex: 0 0 auto;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.vehicle-hero-visual img {
  display: block;
  width: 200px;
  height: 100px;
}

.tent-visual {
  display: block;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
}
