/* Page-specific styles for Autocenter Bern */

/* ============ HERO ============ */
.hero { position: relative; padding: 60px 0 80px; overflow: hidden; }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-1); font-size: 12px; color: var(--fg-dim); letter-spacing: 0.04em; margin-bottom: 28px; }
.hero-eyebrow .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,0.2); animation: pulse 2s infinite; }
.hero-eyebrow .sep { opacity: 0.4; }
@keyframes pulse { 50% { opacity: 0.5; } }
.accent-text { color: var(--fg); font-style: italic; font-weight: 500; }
.hero-lead { margin-top: 28px; font-size: clamp(16px, 1.3vw, 20px); }
.hero-ctas { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--line); }
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.02em; }
.hero-stats span { font-size: 12px; color: var(--fg-dim); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* CINEMATIC HERO — full-bleed video */
.hero-cinematic { min-height: 97vh; display: flex; flex-direction: column; justify-content: center; padding: 0; background: #000; overflow: hidden; }
.hc-video { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.hero-cinematic + * { margin-top: -4px; padding-top: 4px; position: relative; z-index: 1; }
.hc-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(5,5,8,0.88) 0%, rgba(5,5,8,0.65) 45%, rgba(5,5,8,0.28) 75%, rgba(5,5,8,0.12) 100%),
    linear-gradient(180deg, rgba(5,5,8,0.0) 45%, rgba(5,5,8,0.82) 100%);
}
.hc-loop-fade { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hc-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hc-left { max-width: 720px; width: 100%; }
.hc-left .hero-ctas { justify-content: center; }
.hc-h1 { color: #fff; margin-top: 0; }
.hc-accent { color: #fff; font-style: italic; font-weight: 500; }
.hc-lead { color: rgba(255,255,255,0.72); margin-top: 24px; max-width: 44ch; text-align: center; margin-left: auto; margin-right: auto; }

/* Light eyebrow on dark bg */
.hero-eyebrow--light { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.8); }
.hero-eyebrow--light .live-dot { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.25); }

/* Ghost button light variant */
.btn-ghost-light { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); color: #fff; }

/* Floating glass card */
.hc-card-wrap { flex-shrink: 0; align-self: flex-end; }
.hc-card-glass {
  background: rgba(10,11,14,0.55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  width: 320px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.5);
}
.badge--light { background: rgba(74,222,128,0.15); border-color: rgba(74,222,128,0.3); color: #4ade80; }

/* Shared card internals */
.hc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hc-title { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.01em; font-weight: 600; line-height: 1.3; }
.hc-specs { margin-top: 8px; font-size: 12px; display: flex; gap: 8px; }
.hc-price { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); }

/* Stats bar */
.hc-stats-wrap { position: relative; z-index: 2; padding-bottom: 28px; }
.hero-stats--light { border-top-color: rgba(255,255,255,0.15); margin-top: 44px; padding-top: 28px; }
.hero-stats--light strong { color: #fff; }
.hero-stats--light span { color: rgba(255,255,255,0.5); }
.hero-stats--light > div { align-items: center; text-align: center; }

/* Legacy .hero-glow (other variants) */
.hero-glow { position: absolute; top: -10%; right: -10%; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%); opacity: 0.25; pointer-events: none; }
/* Legacy split card styles (other variants) */
.hero-right { position: relative; }
.hero-photo { aspect-ratio: 4/3; border-radius: var(--radius-lg); position: relative; overflow: hidden; border: 1px solid var(--line); }
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card { position: absolute; left: -24px; bottom: -32px; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 20px; width: 360px; max-width: 86%; box-shadow: var(--shadow-lg); backdrop-filter: blur(20px); }
.hero-silhouette { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-2); opacity: 0.3; }

/* Responsive — tablet */
@media (max-width: 900px) {
  .hc-body { padding-top: 0; padding-bottom: 32px; }
  .hero-card { position: static; width: auto; margin-top: 16px; }
}
/* Responsive — mobile */
@media (max-width: 540px) {
  .hero-cinematic { min-height: 97svh; justify-content: flex-start; padding-top: 96px; }
  .hc-body { padding-top: 0; padding-bottom: 20px; }
  .hc-h1 { font-size: clamp(36px, 10vw, 56px); }
  .hc-card-glass { padding: 18px; }
  .hc-title { font-size: 15px; }
  .hc-price > div > div:last-child { font-size: 22px !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* IMAGE variant */
.hero-image { min-height: 86vh; display: flex; align-items: center; }
.hero-image .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-fade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 95%, transparent) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 40%, color-mix(in srgb, var(--bg) 20%, transparent) 80%, transparent 100%), linear-gradient(180deg, transparent 40%, var(--bg) 100%); z-index: 1; }

/* VIDEO variant */
.hero-video { min-height: 86vh; display: flex; align-items: center; }
.hero-video-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; opacity: 0.5; }
.hero-vid-tile { animation: fade 4s infinite alternate; }
@keyframes fade { from { opacity: 0.3; } to { opacity: 0.7; } }

/* ============ SECTIONS ============ */
section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .h1 { max-width: 18ch; }
.section-head p { max-width: 45ch; }

/* ============ VEHICLE CARD ============ */
/* Flex-column so price footer is always pinned at the bottom regardless of title length */
.v-card { display: flex; flex-direction: column; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s ease, transform .25s ease; position: relative; }
.v-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.v-img { aspect-ratio: 16/10; position: relative; flex-shrink: 0; }
.v-silhouette { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-2); opacity: 0.35; }
.v-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--fg); backdrop-filter: blur(8px); z-index: 2; }
.v-tag.new { background: var(--fg); border-color: transparent; color: var(--bg); }
.v-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.v-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.v-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-dim); font-family: var(--font-mono); letter-spacing: 0.04em; }
.brand-mark-glyph { display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; color: var(--fg); }
.v-model { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 10px; }
.v-model-brand { color: var(--fg); }
.v-model-sep { color: var(--fg-mute); font-weight: 300; margin: 0 2px; }
.v-specs { font-size: 12px; color: var(--fg-dim); display: flex; gap: 6px; flex-wrap: wrap; }
.v-specs .sep { opacity: 0.4; }
/* margin-top: auto pushes footer to bottom even if title wraps to multiple lines */
.v-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.v-price-label { font-size: 10px; color: var(--fg-mute); letter-spacing: 0.14em; text-transform: uppercase; }
.v-price-val { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
.v-leasing { font-size: 11px; color: var(--fg-mute); margin-top: 4px; }
.v-cta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg); transition: gap .25s ease; font-weight: 500; }
.v-card:hover .v-cta { gap: 12px; }
.v-cta .arr { transition: transform .25s; }

/* ============ FILTER ============ */
.vf-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: flex-start; }
.vf-wrap.compact { grid-template-columns: 260px 1fr; gap: 28px; }
.vf-filter { position: sticky; top: 100px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; max-height: calc(100vh - 120px); overflow-y: auto; }
.vf-filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vf-reset { background: none; border: none; color: var(--fg-dim); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; padding: 0; }
.vf-reset:hover { color: var(--accent); }
.vf-group { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.vf-group:last-child { border-bottom: none; padding-bottom: 0; }
.vf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vf-chip { padding: 7px 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--fg-dim); cursor: pointer; transition: all .2s; }
.vf-chip:hover { border-color: var(--line-2); color: var(--fg); }
.vf-chip.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.vf-reset:hover { color: var(--fg); }
.vf-val { float: right; color: var(--fg); font-weight: 500; text-transform: none; letter-spacing: 0; }
.vf-slider-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.vf-slider-row input[type=range] { flex: 1; }
.vf-num-input { width: 90px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-2); color: var(--fg); font-size: 12px; text-align: right; flex-shrink: 0; }
.vf-num-input:focus { border-color: var(--accent); outline: none; }
.vf-val-hint { font-size: 11px; color: var(--fg-mute); margin-top: 5px; text-align: right; }
input[type=range] { -webkit-appearance: none; background: var(--line); height: 3px; padding: 0; border: 0; border-radius: 999px; width: 100%; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--fg); cursor: pointer; border: 3px solid var(--bg-1); box-shadow: 0 0 0 1px var(--fg); }

.vf-results-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.vf-sort { display: flex; align-items: center; gap: 12px; }
.vf-sort select { padding: 10px 14px; width: auto; min-width: 200px; }
.vf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--grid-gap); }
.vf-empty { grid-column: 1 / -1; padding: 60px 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.vf-empty > * { margin-bottom: 16px; }
@media (max-width: 900px) {
  .vf-filter { position: static; }
}

/* ============ REVIEWS ============ */
.reviews { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-bottom: 48px; }
.reviews-badge { text-align: right; padding: 24px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); min-width: 260px; }
.rb-stars { color: #fbbf24; font-size: 22px; letter-spacing: 2px; }
.reviews-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: flex-start; }
.review-card { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 40px; position: relative; }
.rc-quote { position: absolute; top: 20px; right: 30px; font-family: var(--font-display); font-size: 120px; line-height: 0.8; color: var(--fg); opacity: 0.08; }
.rc-text { font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; letter-spacing: -0.015em; font-weight: 500; text-wrap: pretty; margin-bottom: 32px; color: var(--fg); }
.rc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.rc-author { display: flex; gap: 14px; align-items: center; }
.rc-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.rc-name { font-weight: 600; font-family: var(--font-display); }
.rc-meta { font-size: 11px; color: var(--fg-dim); margin-top: 2px; letter-spacing: 0.04em; }
.rc-stars { color: #fbbf24; letter-spacing: 2px; font-size: 14px; }

.reviews-list { display: flex; flex-direction: column; gap: 8px; max-height: 440px; overflow-y: auto; padding-right: 4px; }
.review-mini { display: flex; gap: 12px; padding: 14px; background: transparent; border: 1px solid var(--line); border-radius: 12px; text-align: left; cursor: pointer; transition: all .2s; }
.review-mini:hover { background: var(--bg-2); }
.review-mini.active { border-color: var(--fg); background: var(--bg-2); }
.rm-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; flex-shrink: 0; }
.rm-body { flex: 1; min-width: 0; }
.rm-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; }
.rm-stars { color: #fbbf24; font-size: 10px; letter-spacing: 1px; }
.rm-text { font-size: 12px; color: var(--fg-dim); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.reviews-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.review-dots { display: flex; gap: 8px; }
.review-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); border: 0; cursor: pointer; padding: 0; transition: all .2s; }
.review-dots .dot.active { background: var(--fg); width: 24px; border-radius: 4px; }

@media (max-width: 820px) {
  .reviews-head { grid-template-columns: 1fr; }
  .reviews-badge { text-align: left; }
  .reviews-main { grid-template-columns: 1fr; }
}

/* ============ BOOKING FORM ============ */
.bf { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.bf-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 36px; position: relative; }
.bf-step { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding-bottom: 16px; border-bottom: 2px solid var(--line); opacity: 0.5; transition: opacity .3s, border-color .3s; }
.bf-step.active, .bf-step.done { opacity: 1; border-bottom-color: var(--fg); }
.bf-step-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fg-dim); }
.bf-step.active .bf-step-num, .bf-step.done .bf-step-num { color: var(--fg); }
.bf-step-label { font-family: var(--font-display); font-size: 14px; font-weight: 500; }
.bf-pane { min-height: 320px; }
.bf-pane > .h2, .bf-pane > .h1 { margin-bottom: 14px; }
.bf-pane > .lead { margin-bottom: 28px; }

.bf-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bf-opt { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 16px; padding: 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; cursor: pointer; transition: all .2s; }
.bf-opt:hover { border-color: var(--line-2); }
.bf-opt.active { border-color: var(--fg); background: var(--bg-2); }
.bf-opt-icon { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 12px; background: var(--bg-3); display: grid; place-items: center; font-size: 22px; }
.bf-opt-main { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.bf-opt-sub { font-size: 12px; color: var(--fg-dim); }

.bf-vehicles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.bf-vehicle { padding: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: all .2s; }
.bf-vehicle:hover { border-color: var(--line-2); }
.bf-vehicle.active { border-color: var(--fg); }
.bf-v-body { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); }
.bf-v-title { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.3; }
.bf-v-price { font-size: 13px; color: var(--fg-dim); margin-top: 4px; }
.bf-vehicle-none { border-style: dashed; }

.bf-cal { display: grid; gap: 28px; }
.bf-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.bf-day { display: flex; flex-direction: column; align-items: center; padding: 14px 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: all .2s; gap: 4px; }
.bf-day:hover { border-color: var(--line-2); }
.bf-day.active { border-color: var(--fg); background: var(--bg-2); }
.bf-d-wd { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.bf-d-d { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.bf-d-m { font-size: 10px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.bf-time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.bf-time { padding: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; cursor: pointer; transition: all .2s; }
.bf-time:hover { border-color: var(--line-2); }
.bf-time.active { border-color: var(--fg); background: var(--fg); color: var(--bg); }

.bf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bf-form .span-2 { grid-column: 1 / 3; }

.bf-confirm { text-align: center; padding: 20px 0 40px; }
.bf-check { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: white; display: grid; place-items: center; font-size: 36px; margin: 0 auto 24px; }
.bf-summary { display: inline-flex; flex-direction: column; gap: 12px; padding: 24px 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0 32px; text-align: left; }
.bf-summary > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; font-size: 14px; }
.bf-summary .mono { font-size: 11px; letter-spacing: 0.1em; color: var(--fg-dim); text-transform: uppercase; align-self: center; }

.bf-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .bf { padding: 20px; }
  .bf-progress { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .bf-step-label { font-size: 11px; }
  .bf-opts, .bf-form { grid-template-columns: 1fr; }
  .bf-form .span-2 { grid-column: 1; }
}
@media (max-width: 480px) {
  .bf-step-label { display: none; }
  .bf-progress { gap: 2px; }
}

/* ============ SERVICES / WHY ============ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.why-card { padding: 32px 28px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 16px; min-height: 280px; transition: border-color .25s, transform .25s; }
.why-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.why-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--fg-mute); }
.why-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--bg-2); display: grid; place-items: center; color: var(--fg); margin-bottom: 8px; }
.why-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.why-text { color: var(--fg-dim); font-size: 14px; line-height: 1.5; margin-top: auto; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ BRANDS ============ */
.brands { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.brand-cell { padding: 32px 16px; background: var(--bg-1); display: flex; flex-direction: column; align-items: center; gap: 12px; transition: background .25s; cursor: pointer; text-decoration: none; }
.brand-cell:hover { background: var(--bg-2); }
.brand-cell img { width: 56px; height: 56px; object-fit: contain; }
.brand-cell .brand-mark-glyph { width: 56px; height: 56px; font-size: 24px; }
.brand-cell strong { font-family: var(--font-display); font-size: 12px; font-weight: 500; color: var(--fg); text-align: center; }
.brand-cell span { font-size: 11px; color: var(--fg-dim); font-family: var(--font-mono); letter-spacing: 0.04em; }
.brand-cell--cta { background: var(--bg-2); border-left: 2px solid var(--line-2); }
.brand-cell--cta:hover { background: var(--bg-3); }
.brand-cell--cta { justify-content: center; }
.brand-cell--cta strong { color: var(--fg); }
.brand-cell-cta-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: var(--bg); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.brand-cell--cta:hover .brand-cell-cta-icon { transform: translateX(3px); }
@media (max-width: 900px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  /* Letzte Brand-Cell vor dem CTA: wenn Brand-Anzahl nicht durch 3 teilbar, spannt sie ueber Restspalten */
  .brand-cell:not(.brand-cell--cta):last-of-type { grid-column: span 2; }
  /* CTA-Zelle (Alle Marken) immer volle Breite, damit keine Luecke bei ungerader Brand-Anzahl entsteht */
  .brand-cell--cta { grid-column: 1 / -1; flex-direction: row; gap: 16px; padding: 20px 24px; justify-content: center; border-left: none; }
}
@media (max-width: 560px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  /* Bei 2-Spalten-Layout: letzte Brand-Cell vor dem CTA an ungerader Position spannt volle Breite */
  .brand-cell:not(.brand-cell--cta):nth-last-of-type(2):nth-of-type(odd) {
    grid-column: 1 / -1;
  }
  .brand-cell--cta { grid-column: 1 / -1; flex-direction: row; gap: 16px; padding: 20px 24px; justify-content: center; border-left: none; }
  .brand-cell--cta strong { font-size: 14px; }
}

/* ============ STANDORT SPLIT SECTION ============ */
.standort-split {
  padding: 80px 0;
  background: var(--bg-0);
}
.standort-split-inner {
  display: grid;
  grid-template-columns: 1fr 44%;
  gap: 56px;
  align-items: center;
}

/* LEFT — text panel */
.standort-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Live badge */
.standort-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px 14px 6px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-dim);
  width: fit-content;
}
.standort-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.standort-h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--fg);
  margin: 0;
}

/* RIGHT — video panel */
.standort-right {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 18px;
  height: 520px;
}
.standort-vid-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
}
.standort-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%);
  pointer-events: none;
}
@media (max-width: 900px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ SELL OPTIONS (verkaufen.html) ============ */
.sell-tag-area { min-height: 30px; display: flex; align-items: flex-start; }

/* ============ SELL CTA ============ */
.sell-cta { padding: 80px 0; position: relative; overflow: hidden; }
.sell-card { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.sell-card::before { content: ""; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%); opacity: 0.3; pointer-events: none; }
.sell-left { position: relative; z-index: 1; }
.sell-right { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.sell-step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: flex-start; padding: 16px; border-left: 2px solid var(--fg); background: var(--bg-2); border-radius: 0 var(--radius) var(--radius) 0; }
.sell-step-n { font-family: var(--font-mono); color: var(--fg); font-size: 13px; letter-spacing: 0.1em; }
.sell-step-t { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.sell-step-d { font-size: 13px; color: var(--fg-dim); margin-top: 4px; }
@media (max-width: 900px) { .sell-card { grid-template-columns: 1fr; } }

/* ============ RESPONSIVE GLOBAL FIXES ============ */
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; text-align: center; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .standort-split-inner { grid-template-columns: 1fr; gap: 32px; }
  .standort-right { height: 360px; border-radius: 12px; }
  .standort-left { padding: 0; }
}
@media (max-width: 820px) {
  .page-hero { padding: 48px 0 28px; }
  .sell-opts { grid-template-columns: 1fr !important; }
  .sell-form { grid-template-columns: 1fr !important; }
  .sell-form .span-2 { grid-column: 1 !important; }
  .fin-steps { grid-template-columns: 1fr !important; }

  /* Standort Split — vertikal auf Handy & Tablet */
  .standort-split { padding: 48px 0; }
  .standort-split-inner { grid-template-columns: 1fr; gap: 32px; }
  .standort-right { height: 340px; border-radius: 14px; }
}

/* ============ MOBILE SPACING OPTIMIERUNGEN (≤ 540px) ============ */
@media (max-width: 540px) {
  /* Globale Sections */
  section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; gap: 14px; }

  /* Hero Stats */
  .hero-stats { margin-top: 28px; padding-top: 20px; gap: 14px; }
  .hc-stats-wrap { padding-bottom: 20px; margin-top: 8px; }
  .hero-stats--light { padding-top: 16px; }

  /* Hero Content Spacing */
  .hc-lead { margin-top: 16px; }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-ctas { margin-top: 28px; }

  /* Why-Grid Cards */
  .why-card { padding: 22px 18px; min-height: auto; gap: 12px; }
  .why-icon { width: 44px; height: 44px; border-radius: 10px; }

  /* Brands Section */
  .brands { padding: 44px 0; }
  .brand-cell { padding: 22px 10px; gap: 10px; }
  .brand-cell .brand-mark-glyph { width: 44px; height: 44px; font-size: 20px; }
  .brand-cell img { width: 44px; height: 44px; }
  .brand-cell-cta-icon { width: 36px; height: 36px; }

  /* Sell CTA */
  .sell-cta { padding: 44px 0; }
  .sell-card { padding: 24px 20px; gap: 28px; }
  .sell-step { padding: 12px; gap: 12px; }
  .sell-step-t { font-size: 15px; }

  /* Reviews */
  .reviews { padding: 44px 0 !important; }
  .review-card { padding: 24px 20px; }
  .rc-text { font-size: clamp(16px, 4.5vw, 20px); margin-bottom: 20px; }
  .reviews-ctrl { margin-top: 20px; padding-top: 16px; }

  /* Page Hero (Subpages) */
  .page-hero { padding: 32px 0 20px; }
  .page-hero .eyebrow { margin-bottom: 14px; }
  .page-hero p { margin-top: 14px; }

  /* Brand Strip (Inline override via specificity) */
  .brand-strip-section { padding: 44px 0 !important; }
  .brand-strip { gap: 28px !important; padding: 20px 0 !important; }
  .brand-strip-item { gap: 10px !important; }

  /* AutoScout Feed */
  .autoscout-section { padding: 44px 0 !important; }

  /* Finanzierung */
  .fin-hero { padding: 28px 0 20px; }
  .fin-step { padding: 20px 16px; }
  .fin-calc { padding: 20px 16px; }

  /* Kontakt */
  .kontakt-info { gap: 16px; }
  .kontakt-info-item { padding: 20px 16px; }

  /* Fahrzeug Detail */
  .v-detail-features { gap: 12px; }
  .v-detail-feature { padding: 14px 12px; }
  .similar-vehicles { padding-top: 36px; }

  /* Über Uns */
  .team-grid { gap: 16px; }
  .team-card { padding: 24px 16px; }
  .history-section { padding: 36px 0; }
  .history-img { height: 220px !important; }

  /* Booking Form */
  .bf { padding: 16px; }
  .bf-pane { min-height: auto; }
  .bf-opts { gap: 8px; }
  .bf-opt { padding: 14px; }
  .bf-nav { flex-direction: column; gap: 10px; }
  .bf-nav .btn { width: 100%; justify-content: center; }

  /* Standort Split */
  .standort-split { padding: 48px 0; }
  .standort-split-inner { grid-template-columns: 1fr; gap: 32px; }
  .standort-right { height: 300px; border-radius: 12px; }
  .standort-left { padding: 0; }

  /* General section-head spacing reduction */
  .section-head .h1 { max-width: unset; }
}

/* ============ GENERIC HEADER FOR SUBPAGES ============ */
.page-hero { padding: 80px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero .h1 { max-width: 22ch; }
.page-hero p { margin-top: 24px; }
.breadcrumb { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-mute); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 24px; }
.breadcrumb a { color: var(--fg-dim); }
.breadcrumb a:hover { color: var(--fg); }

/* ============ MOBILE OPTIMIERUNGEN — PHASE 2 (2026-04) ============ */

/* Vehicle Card: Title font size + padding auf kleinen Screens */
@media (max-width: 480px) {
  .v-model { font-size: 15px; }
  .v-body { padding: 16px; }
  .v-specs { font-size: 11px; }
  .v-price-val { font-size: 20px; }
  .v-foot { margin-top: 14px; padding-top: 14px; }
}

/* Header: 4-column grid collapse bei ≤980px */
@media (max-width: 980px) {
  .hdr-inner { grid-template-columns: auto 1fr auto !important; }
}

/* Mobile Menu: Slide-in + touch targets */
@media (max-width: 980px) {
  .mobile-menu { animation: slideDown 0.2s ease; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .mobile-menu a { padding: 18px 14px; font-size: 17px; min-height: 56px; }
  .mobile-menu-ctas { margin-top: 16px; }
}

/* ── MOBILE FILTER BAR ── */
.vf-mobile-bar { display: none; }

.vf-mobile-toggle {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 16px;
  font-size: 14px; font-weight: 500; color: var(--fg);
  cursor: pointer; width: 100%; text-align: left;
  transition: border-color 0.2s;
}
.vf-mobile-toggle:hover { border-color: var(--accent); }
.vf-mobile-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  margin-left: 2px;
}
.vf-mobile-chevron { margin-left: auto; transition: transform 0.25s; flex-shrink: 0; }
.vf-mobile-chevron.open { transform: rotate(180deg); }

.vf-mobile-panel {
  margin-top: 8px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px;
}
.vf-mobile-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vf-mobile-field { display: flex; flex-direction: column; gap: 5px; }
.vf-mobile-field label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-dim);
}
.vf-mobile-field select {
  background: var(--bg-0); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px;
  font-size: 13px; color: var(--fg); cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}
.vf-mobile-field select.active { border-color: var(--accent); color: var(--accent); }
/* Mobile brand multi-select chips */
.vf-mobile-field--full { grid-column: 1 / -1; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.vf-mobile-chips {
  display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; margin-bottom: 8px;
}
.vf-mobile-chip {
  padding: 6px 13px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line); color: var(--fg-dim);
  background: var(--bg-1); cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.vf-mobile-chip:hover { border-color: var(--line-2); color: var(--fg); }
.vf-mobile-chip.active { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.vf-mobile-reset {
  display: block; width: 100%; margin-top: 12px;
  background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 16px;
  font-size: 13px; color: var(--fg-dim); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.vf-mobile-reset:hover { border-color: var(--accent); color: var(--accent); }

/* Occasions / VehicleFilter: Mobile Hamburger Filter */
@media (max-width: 900px) {
  .vf-wrap { grid-template-columns: 1fr; }
  .vf-filter-desktop { display: none !important; }
  .vf-mobile-bar { display: block; margin-bottom: 16px; }
  .vf-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}
@media (max-width: 540px) {
  .vf-grid { grid-template-columns: 1fr; }
  .vf-sort select { min-width: 160px; font-size: 13px; }
  .vf-results-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .vf-mobile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Reviews: single column, better card padding */
@media (max-width: 540px) {
  .reviews-badge { min-width: unset; padding: 18px; }
  .reviews-list { max-height: 280px; }
  .reviews-ctrl { flex-wrap: wrap; gap: 12px; }
}

/* Footer: phone labels on mobile */
@media (max-width: 480px) {
  .footer-phone-link { gap: 6px; }
  .footer-phone-lbl { font-size: 9px; padding: 1px 4px; }
  .hours-card { padding: 14px 16px 12px; }
  .hours-time { font-size: 12px; }
}

/* Footer grid on small screens */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 10px; }
}

/* Sections: consistent padding */
@media (max-width: 820px) {
  section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
}
