/*
Theme Name: Priveon Automotive
Theme URI: https://priveon-automotive.com
Author: Priveon Automotive
Description: Custom dark, amber-accented bilingual (NL/EN) theme for Priveon Automotive — certified pre-owned car dealership. ACF Pro driven.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: priveon
*/

/* (a) ----------------------------------------------------------------------
   @font-face — self-hosted woff2
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* (b) ----------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1c1c20;
  --elevated: #232328;
  --text: #f5f5f4;
  --muted: #a1a1aa;
  --faint: #6b6b73;
  --gold: #e0b049;
  --gold-bright: #f4c869;
  --gold-deep: #c8902f;
  --gold-grad: linear-gradient(135deg, #f4c869, #c8902f);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: 1280px;
  --gap: clamp(1rem, 3vw, 2rem);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 60px -10px rgba(244, 200, 105, 0.35);
  --ff-display: "Sora", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* gold-tinted border used on hover states */
  --border-gold: rgba(244, 200, 105, 0.28);
  --nav-h: 76px;
}

/* (c) ----------------------------------------------------------------------
   Modern reset + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  overflow-x: clip; /* clip horizontal overflow without breaking position: sticky */
  max-width: 100%;
}
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
  overflow-x: clip; /* clip horizontal overflow without turning body into a scroll container */
  padding-top: var(--nav-h); /* offset for the fixed navbar (box-sizing: border-box keeps height correct) */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Layered atmosphere: warm radial glow top-right, cool depth bottom-left */
  background-image:
    radial-gradient(ellipse 70% 50% at 82% -8%, rgba(224, 176, 73, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 105%, rgba(200, 144, 47, 0.06), transparent 55%);
  background-attachment: fixed;
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
:where(p, li) {
  text-wrap: pretty;
}
:where(h1, h2, h3) {
  text-wrap: balance;
}
::selection {
  background: var(--gold);
  color: var(--bg);
}
/* Custom scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) var(--surface);
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: var(--surface);
}
*::-webkit-scrollbar-thumb {
  background: var(--elevated);
  border-radius: 999px;
  border: 2px solid var(--surface);
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--gold-deep);
}

/* Reduced motion — kill animations + transitions */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* (d) ----------------------------------------------------------------------
   Fluid typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}
h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.15;
}
h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h5 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h6 {
  font-size: 0.95rem;
  font-weight: 600;
}
p {
  color: var(--muted);
}
strong {
  color: var(--text);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center::before {
  display: none;
}

/* (e) ----------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section {
  padding-block: clamp(3rem, 8vw, 4rem);
  position: relative;
}
.grid--cards {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid--cards h4 {
	margin-bottom: 0.6rem;
}

/* section header (eyebrow + title + lead) */
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head .eyebrow {
  margin-bottom: 1rem;
}
.section-head h2 {
  margin-bottom: 0.9rem;
}
.section-head p {
  font-size: 1.075rem;
  max-width: 40rem;
}
.section-head--center p {
  margin-inline: auto;
}

/* (f) ----------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --_pad-y: 0.8rem;
  --_pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--_pad-y) var(--_pad-x);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
  will-change: transform;
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--gold {
  background: var(--gold-grad);
  color: #0a0a0b;
  box-shadow: 0 8px 26px -12px rgba(224, 176, 73, 0.7);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(244, 200, 105, 0.55), var(--glow);
}
.btn--gold .arrow,
.btn--gold svg {
  transition: transform 0.3s var(--ease);
}
.btn--gold:hover svg:last-child {
  transform: translateX(3px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--border-gold);
  color: var(--gold-bright);
  background: rgba(244, 200, 105, 0.05);
  transform: translateY(-2px);
}

.btn--lg {
  --_pad-y: 1.05rem;
  --_pad-x: 2.1rem;
  font-size: 1.02rem;
}

.btn--block {
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
/* keep mouse clicks clean */
:focus:not(:focus-visible) {
  outline: none;
}

/* (g) ----------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */

/* --- Navbar (glassmorphic, fixed) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  min-height: var(--nav-h);
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(10, 10, 11, 0.85);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -24px rgba(0, 0, 0, 0.9);
}
.navbar .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

/* brand / logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-right: auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  background: var(--gold-grad);
  color: #0a0a0b;
  font-weight: 700;
  box-shadow: var(--glow);
}
.brand__mark svg {
  width: 1.2rem;
  height: 1.2rem;
}
.brand__name {
  line-height: 1;
}
.brand__name b {
  color: var(--gold-bright);
  font-weight: 700;
}

/* nav collapse wrapper (holds links on desktop; slides in on mobile) */
.nav-collapse {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.32rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a[aria-current="page"] {
  color: var(--text);
}
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.lang-toggle [data-lang-btn] {
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--faint);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.lang-toggle [data-lang-btn]:hover {
  color: var(--text);
}
.lang-toggle [data-lang-btn].active {
  background: var(--gold-grad);
  color: #0a0a0b;
}

/* hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.hamburger span {
  top: 50%;
  margin-top: -1px;
}
.hamburger span::before {
  top: -7px;
}
.hamburger span::after {
  top: 7px;
}
body.menu-open .hamburger span {
  background: transparent;
}
body.menu-open .hamburger span::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold-bright);
}
body.menu-open .hamburger span::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
  background: var(--gold-bright);
}

/* --- Card base --- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow), 0 0 0 1px rgba(244, 200, 105, 0.06);
}

/* --- USP card (icon tile + title + text) --- */
.usp-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.usp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(244, 200, 105, 0.07), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.usp-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow);
}
.usp-card:hover::before {
  opacity: 1;
}
.usp-card__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  color: var(--gold-bright);
  background: linear-gradient(160deg, rgba(244, 200, 105, 0.14), rgba(200, 144, 47, 0.06));
  border: 1px solid var(--border-gold);
  transition: transform 0.4s var(--ease);
}
.usp-card:hover .usp-card__icon {
  transform: translateY(-2px) scale(1.04);
}
.usp-card__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}
.usp-card h4 {
  margin-bottom: 0.55rem;
}
.usp-card p {
  font-size: 0.95rem;
}

/* --- Car card --- */
.car-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.featured-slider .car-card {
	padding: 0;
    margin: 0 10px;
}
.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow);
}
.car-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.car-card:hover .car-card__media img {
  transform: scale(1.06);
}
.car-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.55), transparent 45%);
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0b;
  background: var(--gold-grad);
  border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(224, 176, 73, 0.6);
}
.badge svg {
  width: 0.85rem;
  height: 0.85rem;
}
.badge--ghost {
  color: var(--gold-bright);
  background: rgba(10, 10, 11, 0.7);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.fav {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.fav svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  transition: fill 0.25s var(--ease);
}
.fav:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  transform: scale(1.08);
}
.fav.is-fav {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  background: rgba(244, 200, 105, 0.12);
}
.fav.is-fav svg {
  fill: currentColor;
}

.car-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
}
.car-card__title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.car-card__title h4 {
  font-size: 1.18rem;
}
.car-card__title span {
  font-size: 0.86rem;
  color: var(--faint);
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.specs li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.specs li svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--gold);
}

.car-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.price small {
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price b {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.car-card__foot a.btn {
	font-size: 14px;
    padding: 10px 20px;
}

/* --- Stat --- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat__num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: baseline;
}
.stat__num .suffix {
  -webkit-text-fill-color: var(--gold-bright);
  color: var(--gold-bright);
  font-size: 0.7em;
  margin-left: 0.05em;
}
.stat__label {
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* --- Brand logo --- */
.brand-logo {
  display: grid;
  place-items: center;
  height: 3rem;
  color: var(--faint);
  opacity: 0.8;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.brand-logo svg {
  max-height: 100%;
  width: auto;
}
/* Brand logos ship as dark SVGs; render them as muted light marks on the dark strip */
.brand-logo img {
  max-height: 100%;
  width: auto;
  filter: brightness(0) invert(0.7);
  opacity: 0.85;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
.brand-logo:hover {
  color: var(--gold-bright);
  opacity: 1;
  transform: translateY(-2px);
}
.brand-logo:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* --- Testimonial --- */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.testimonial__stars {
  display: inline-flex;
  gap: 0.2rem;
  justify-content: center;
  color: var(--gold-bright);
}
.testimonial__stars svg {
  width: 1.15rem;
  height: 1.15rem;
}
.testimonial__quote {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
}
.testimonial__quote::before {
  content: "\201C";
  color: var(--gold);
}
.testimonial__quote::after {
  content: "\201D";
  color: var(--gold);
}
.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.testimonial__author strong {
  font-weight: 600;
}
.testimonial__author span {
  font-size: 0.88rem;
  color: var(--faint);
}

/* --- CTA band --- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(244, 200, 105, 0.16), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(200, 144, 47, 0.12), transparent 55%),
    var(--surface);
  box-shadow: var(--glow);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(244, 200, 105, 0.25), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}
.cta-band h2 {
  margin-bottom: 0.85rem;
}
.cta-band p {
  max-width: 38rem;
  margin: 0 auto 1.9rem;
  font-size: 1.075rem;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  position: relative;
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__col h5 {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer .brand {
  margin: 0 0 1.1rem;
}
.footer__tagline {
  font-size: 0.95rem;
  max-width: 26rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer__links a {
  font-size: 0.95rem;
  color: var(--muted);
  width: max-content;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer__links a:hover {
  color: var(--gold-bright);
  padding-left: 0.3rem;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.footer__contact li,
.footer__contact address {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-style: normal;
}
.footer__contact a {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.footer__contact a:hover {
  color: var(--gold-bright);
}
.footer__contact svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  margin-top: 0.18rem;
  color: var(--gold);
}

/* distinct bank-details block */
.bank-block {
  margin-top: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid #e0b04926;
}
.footer__col .contact-map__embed {
	position: static !important;
}
.bank-block dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 0.9rem;
  margin: 0;
  font-size: 0.85rem;
}
.bank-block dt {
  color: var(--faint);
  font-weight: 500;
}
.bank-block dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* newsletter */
.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 22rem;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease);
}
.newsletter input::placeholder {
  color: var(--faint);
}
.newsletter input:focus-visible {
  border-color: var(--border-gold);
  outline-offset: 0;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--faint);
}
.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer__bottom-links a {
  color: var(--faint);
  transition: color 0.25s var(--ease);
}
.footer__bottom-links a:hover {
  color: var(--gold-bright);
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
/* staggered children helper */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* --- Noise / grain overlay --- */
body.noise::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(6, 6, 7, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: overlay-in 0.3s var(--ease);
}
@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow), var(--glow);
  animation: modal-in 0.4s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal-close:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  transform: rotate(90deg);
}
body.modal-open {
  overflow: hidden;
}

/* (h) ----------------------------------------------------------------------
   Slick theme overrides (Slick CSS loaded via CDN on pages)
   -------------------------------------------------------------------------- */
.slick-slide {
  padding: 0 12px;
}
.slick-list {
  margin: 0 -12px;
}
/* prevent vertical jump / flash before init */
.slick-track {
  display: flex;
}
.slick-slide {
  height: auto;
}
.slick-slide > div {
  height: 100%;
}

.slick-prev,
.slick-next {
  z-index: 5;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
  background: var(--surface-2);
  border-color: var(--border-gold);
  box-shadow: var(--glow);
}
.slick-prev:before,
.slick-next:before {
  font-family: inherit;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold-bright);
  opacity: 1;
}
.slick-prev:before {
  content: "\2190";
}
.slick-next:before {
  content: "\2192";
}
.slick-prev {
  left: -0.5rem;
}
.slick-next {
  right: -0.5rem;
}

.slick-dots {
  bottom: -2.75rem;
}
.slick-dots li {
  margin: 0 4px;
}
.slick-dots li button:before {
  font-size: 9px;
  color: var(--faint);
  opacity: 0.6;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.slick-dots li button:hover:before {
  color: var(--gold);
  opacity: 1;
}
.slick-dots li.slick-active button:before {
  color: var(--gold-bright);
  opacity: 1;
}

/* (i) ----------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .slick-prev { left: 0; }
  .slick-next { right: 0; }
  .nav-links a {
	width: 100%;
	}
}

@media (max-width: 1024px) {
  .hamburger {
    display: grid;
    place-items: center;
    order: 3;
    /* Stay above the slide-in menu so it can be tapped to close. */
    z-index: 101;
  }

  /* Mobile slide-in menu.
     The .navbar uses backdrop-filter, which makes it the containing block for
     this position:fixed child — so we size it with an explicit viewport height
     (100dvh) instead of inset:bottom, otherwise it collapses to navbar height. */
  .nav-collapse {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 360px);
    max-width: 100vw;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: calc(var(--nav-h) + 1.5rem) 1.75rem 2rem;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.7);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 99;
  }
  body.menu-open .nav-collapse {
    transform: translateX(0);
  }
  /* dim backdrop behind the menu */
  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(6, 6, 7, 0.6);
    backdrop-filter: blur(3px);
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-links a {
    padding: 0.75rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a[aria-current="page"] {
    color: var(--gold-bright);
  }
  .lang-toggle {
    align-self: flex-start;
  }
  .nav-collapse .btn {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .grid--cards {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .cta-band__actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   home page — layout-specific helpers (reuses tokens + components above)
   Only structural pieces with no existing class: hero, quick-search,
   trust row, steps, stats band, services teaser link. Kept minimal.
   ========================================================================== */

/* --- Hero --- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero__copy {
  position: relative;
  z-index: 2;
}
.hero__copy .eyebrow {
  margin-bottom: 1.25rem;
}
.hero h1 {
  margin-bottom: 1.25rem;
}
.hero h1 .text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 1.12rem;
  max-width: 34rem;
  margin-bottom: 1.9rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

/* hero visual + soft gold glow behind the car */
.hero__visual {
  position: relative;
  z-index: 1;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -12% -8% -8% -8%;
  z-index: -1;
  background: radial-gradient(60% 60% at 60% 45%, rgba(244, 200, 105, 0.32), rgba(200, 144, 47, 0.10) 45%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}
.hero__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 80px -30px rgba(244, 200, 105, 0.45);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
/* floating glass review chip on the hero image */
.hero__chip {
  position: absolute;
  left: clamp(0.75rem, 2vw, 1.4rem);
  bottom: clamp(0.75rem, 2vw, 1.4rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  background: rgba(10, 10, 11, 0.62);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.hero__chip-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: var(--gold-bright);
}
.hero__chip-stars svg {
  width: 2rem;
  height: 2rem;
}
.hero__chip b {
  font-family: var(--ff-display);
  display: block;
  line-height: 1.15;
}
.hero__chip span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --- Quick-search bar --- */
.quick-search {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.quick-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.quick-search__field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding-left: 0.2rem;
}
.quick-search select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e0b049' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.2rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.quick-search select:hover {
  border-color: var(--border-gold);
}
.quick-search select:focus-visible {
  border-color: var(--border-gold);
  outline-offset: 0;
}
.quick-search__submit {
  align-self: end;
}

/* --- Trust badges row (under hero) --- */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 1.75rem;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
.trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  color: var(--gold-bright);
}

/* --- Steps ("Zo werkt het") --- */
.steps {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow);
}
.step__num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.9rem;
}
.step h4 {
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.95rem;
}
/* connecting line between steps */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: clamp(2.6rem, 4vw, 3.2rem);
  right: calc(var(--gap) / -2);
  width: var(--gap);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-deep), transparent);
  opacity: 0.5;
}

/* --- Stats band --- */
.stats-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(244, 200, 105, 0.12), transparent 55%),
    radial-gradient(110% 130% at 100% 100%, rgba(200, 144, 47, 0.10), transparent 55%),
    var(--surface);
  box-shadow: var(--glow);
}
.stats-band .stat:not(:last-child)::after {
  content: "";
  position: absolute;
}
.stat--score {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat--score .stat__score {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat--score .stat__stars {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--gold-bright);
  margin-top: 0.15rem;
}
.stat--score .stat__stars svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* --- Services teaser "Meer info" link --- */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-bright);
  transition: gap 0.25s var(--ease);
}
.more-link svg {
  width: 1em;
  height: 1em;
  transition: transform 0.25s var(--ease);
}
.card:hover .more-link {
  gap: 0.65rem;
}
.card:hover .more-link svg {
  transform: translateX(3px);
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  color: var(--gold-bright);
  background: linear-gradient(160deg, rgba(244, 200, 105, 0.14), rgba(200, 144, 47, 0.06));
  border: 1px solid var(--border-gold);
}
.service-card__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

/* --- home responsive --- */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: 0; /* hero copy first, image second on tablet/mobile */
    max-width: 36rem;
    margin-inline: auto;
  }
  .hero__copy {
    order: -1;
  }
  .quick-search {
    grid-template-columns: 1fr 1fr;
  }
  .quick-search__submit {
    grid-column: 1 / -1;
  }
  .stats-band {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 560px) {
  .quick-search {
    grid-template-columns: 1fr;
  }
  .stats-band {
    grid-template-columns: 1fr 1fr;
  }
}

/* (i) ----------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-gold {
  color: var(--gold-bright);
}
.muted {
  color: var(--muted);
}
.hidden {
  display: none !important;
}
.flow > * + * {
  margin-top: 1rem;
}

/* ==========================================================================
   === inventory ===
   Occasions page: page header, filters aside (sticky + mobile drawer),
   results toolbar, custom checkboxes, empty state, detail modal layout.
   Reuses tokens + existing .car-card / .badge / .fav / .specs / .price.
   ========================================================================== */

/* page header — tighter top padding, sits below sticky nav */
.inv-header {
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 2vw, 1.5rem);
}
.inv-header .section-head {
  margin-bottom: 0;
}

.inv-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 0;
}

/* two-column layout: filters | results */
.inv-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--gap);
  align-items: start;
}

/* ---- Filters aside ---- */
.filters {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.filters__head h3 {
  font-size: 1.1rem;
}
/* close button only visible inside the mobile drawer */
.filters__close {
  display: none;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.filters__close svg { width: 1.15rem; height: 1.15rem; }
.filters__close:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  transform: rotate(90deg);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.filter-group__title {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* shared form-control look (matches home .quick-search select) */
.filters select,
.filters input[type="number"],
.filters input[type="search"],
.filter-search input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.filters select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e0b049' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
.filters select:hover,
.filters input[type="number"]:hover,
.filter-search:hover input {
  border-color: var(--border-gold);
}
.filters select:focus-visible,
.filters input:focus-visible {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px rgba(244, 200, 105, 0.12);
  outline: none;
}
/* trim native number spinners */
.filters input[type="number"]::-webkit-outer-spin-button,
.filters input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filters input[type="number"] { -moz-appearance: textfield; }

/* search with leading icon */
.filter-search {
  position: relative;
}
.filter-search svg {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  color: var(--gold);
  pointer-events: none;
}
.filter-search input { padding-left: 2.5rem; }
.filter-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* price min–max range */
.filter-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.filter-range__sep { color: var(--faint); flex: none; }

/* custom checkboxes — gold when checked */
.filter-checks {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
}
.check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.check__box {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.check__box::after {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  transform: scale(0);
  background:
    no-repeat center/0.7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  transition: transform 0.2s var(--ease);
}
.check input:checked + .check__box {
  background: var(--gold-grad);
  border-color: var(--gold);
}
.check input:checked + .check__box::after { transform: scale(1); }
.check input:focus-visible + .check__box {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
.check__label {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.check:hover .check__label,
.check input:checked ~ .check__label { color: var(--text); }

/* ---- Results ---- */
.results__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.results__filter-btn { display: none; }
.results__count {
  font-size: 0.95rem;
  color: var(--muted);
  margin-right: auto;
}
.results__count #result-count {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--gold-bright);
}
.results__sort select {
  padding: 0.6rem 2.2rem 0.6rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text);
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e0b049' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.results__sort select:hover,
.results__sort select:focus-visible { border-color: var(--border-gold); }

/* results grid keeps reusing .grid--cards */
#car-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---- Empty state ---- */
#empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: clamp(3rem, 8vw, 5rem) 1rem;
}
.empty-state__icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  color: var(--faint);
  background: var(--surface);
  border: 1px solid var(--border);
}
.empty-state__icon svg { width: 2.1rem; height: 2.1rem; }
#empty-state p { color: var(--muted); max-width: 26rem; }
#empty-state .btn { margin-top: 0.6rem; }

/* ---- Mobile filter drawer + backdrop ---- */
.filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 6, 7, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

@media (max-width: 1024px) {
  .inv-layout { grid-template-columns: 1fr; }
  .results__filter-btn { display: inline-flex; }

  .filters {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 95;
    width: min(340px, 86vw);
    height: 100%;
    border-radius: 0;
    border-width: 0 1px 0 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease);
  }
  .filters__close { display: grid; }

  body.filters-open .filters { transform: translateX(0); }
  body.filters-open .filters-backdrop { opacity: 1; visibility: visible; }
  body.filters-open { overflow: hidden; }
}

/* ---- Detail modal layout ---- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.detail__media {
  position: relative;
  align-self: start;
}
.detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.detail__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.detail__body h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.detail__sub {
  margin-top: -0.55rem;
  color: var(--faint);
  font-size: 0.95rem;
}
.detail__body h4 {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.price--lg { flex-direction: column; }
.price--lg small { font-size: 0.78rem; }
.price--lg b { font-size: clamp(1.9rem, 4vw, 2.4rem); }

.specs--lg {
  gap: 0.5rem;
}
.specs--lg li {
  font-size: 0.85rem;
  padding: 0.45rem 0.8rem;
}

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}
.feat li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.feat li svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--gold-bright);
}

.detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

@media (max-width: 640px) {
  .detail { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .detail__actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   === financing ===
   Financiering page: page header, financing forms grid, maandlasten
   calculator, partners row, FAQ accordion, shared .invalid rule.
   Reuses all tokens and existing components above — no new aesthetic.
   ========================================================================== */

/* --- Page header (tighter, like inv-header) --- */
.fin-header {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(1rem, 2vw, 2rem);
}
.fin-header .section-head {
  margin-bottom: 0;
}

.fin-header h1 {
	margin-bottom: 0.6rem;
}

/* --- Financing form cards (extend .card with icon + benefits list) --- */
.fin-form-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fin-form-card__icon {
  /* mirrors .usp-card__icon dimensions/style */
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  color: var(--gold-bright);
  background: linear-gradient(160deg, rgba(244, 200, 105, 0.14), rgba(200, 144, 47, 0.06));
  border: 1px solid var(--border-gold);
  flex: none;
  transition: transform 0.4s var(--ease);
}
.fin-form-card:hover .fin-form-card__icon {
  transform: translateY(-2px) scale(1.04);
}
.fin-form-card__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}
.fin-form-card h4 {
  margin-bottom: 0;
}
.fin-form-card p {
  font-size: 0.95rem;
  flex: 1;
}

/* benefit list inside financing cards */
.fin-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.fin-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.fin-benefits li svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
  color: var(--gold-bright);
}

/* --- Calculator card (.calc extends .card) --- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(0.75rem, 3.5vw, 2.5rem);
  align-items: start;
}

/* inputs side */
.calc__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-content: start;
}
.calc__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.calc__field--full {
  grid-column: 1 / -1;
}
.calc__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding-left: 0.15rem;
}
.calc__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc__range-val {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
}

/* number inputs (euro + percent) */
.calc__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.calc__prefix,
.calc__suffix {
  position: absolute;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  pointer-events: none;
  user-select: none;
  right: 0.85rem;
}
/* .calc__prefix { left: 0.85rem; }
.calc__suffix { right: 0.85rem; } */
.calc__input-wrap--euro input {
  padding-left: 1.95rem;
}
.calc__input-wrap--pct input {
  padding-right: 2rem;
}
.calc__inputs input[type="number"] {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -moz-appearance: textfield;
}
.calc__inputs input[type="number"]::-webkit-outer-spin-button,
.calc__inputs input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc__inputs input[type="number"]:hover {
  border-color: var(--border-gold);
}
.calc__inputs input[type="number"]:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 200, 105, 0.14);
  outline: none;
}

/* range slider — gold thumb + track */
.calc__inputs input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--border-strong) 0%);
  outline: none;
  cursor: pointer;
  transition: background 0s; /* updated by JS implicitly via value */
}
.calc__inputs input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--gold-grad);
  border: 2px solid var(--bg);
  box-shadow: 0 2px 10px -2px rgba(224, 176, 73, 0.7);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.calc__inputs input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px -4px rgba(244, 200, 105, 0.8), var(--glow);
}
.calc__inputs input[type="range"]::-moz-range-thumb {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--gold-grad);
  border: 2px solid var(--bg);
  box-shadow: 0 2px 10px -2px rgba(224, 176, 73, 0.7);
  cursor: pointer;
}
.calc__inputs input[type="range"]::-moz-range-track {
  background: var(--border-strong);
  height: 5px;
  border-radius: 999px;
}
.calc__inputs input[type="range"]::-moz-range-progress {
  background: var(--gold-deep);
  height: 5px;
  border-radius: 999px;
}
.calc__range-track-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--faint);
  margin-top: 0.2rem;
  padding: 0 0.1rem;
}

/* results panel (gold-tinted, mirrors .stats-band treatment) */
.calc__results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(244, 200, 105, 0.13), transparent 55%),
    radial-gradient(110% 130% at 100% 100%, rgba(200, 144, 47, 0.09), transparent 55%),
    var(--surface-2);
  box-shadow: var(--glow);
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.calc__hero-result {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.calc__results-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.5rem;
}
.calc__hero-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* override p color: var(--muted) */
  color: transparent !important;
}

.calc__secondary-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.calc__result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.calc__result-label {
  font-size: 0.875rem;
  color: var(--muted);
}
.calc__result-val {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.calc__disclaimer {
  font-size: 0.78rem !important;
  color: var(--faint) !important;
  line-height: 1.5;
  font-style: italic;
}

/* --- Partners row --- */
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.partners .brand-logo {
  font-family: var(--ff-display);
  font-weight: 700;
}

#werkwijze .about-story__head {
	margin-bottom: 1rem;
}

/* --- FAQ accordion --- */
#faq {
	padding-bottom: 0 !important;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 52rem;
  margin-inline: auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover,
.faq-item.open {
  border-color: var(--border-gold);
  box-shadow: 0 8px 30px -16px rgba(244, 200, 105, 0.25);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 1.4rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.faq-q:hover {
  color: var(--gold-bright);
}
.faq-item.open .faq-q {
  color: var(--gold-bright);
}
.faq-chevron {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  color: var(--faint);
  transition: transform 0.35s var(--ease), color 0.25s var(--ease);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold-bright);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 1.4rem;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 1.4rem 1.2rem;
}
.faq-a p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* --- Invalid state (shared — used by contact form too) --- */
.invalid {
  border-color: #e0533a !important;
}

/* --- Financing responsive --- */
@media (max-width: 900px) {
  .calc {
    grid-template-columns: 1fr;
  }
  .calc__results {
    position: static;
  }
}

@media (max-width: 560px) {
  .calc__inputs {
    grid-template-columns: 1fr;
  }
  .calc__field--full {
    grid-column: 1;
  }
}

/* ==========================================================================
   === services ===
   Service-card bullet list spacing. No aesthetic changes — reuses all tokens.
   ========================================================================== */
.serv-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.serv-bullets li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.serv-bullets li svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  color: var(--gold-bright);
}

/* services page header — tighter top like inv-header */
.serv-header {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(0.5rem, 1.5vw, 1rem);
}

/* ==========================================================================
   === about ===
   About page layout-specific helpers. Reuses all tokens + existing classes.
   Only new structural pieces that have no existing class are added here.
   ========================================================================== */

/* --- About intro: 2-col hero grid ---------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.about-intro__copy .eyebrow {
  margin-bottom: 1.1rem;
}
.about-intro__copy h1 {
  margin-bottom: 1.2rem;
}
.about-intro__lead {
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 1.9rem;
}
.about-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* visual: same treatment as hero__visual */
.about-intro__visual {
  position: relative;
}
.about-intro__visual::before {
  content: "";
  position: absolute;
  inset: -12% -8% -8% -8%;
  z-index: -1;
  background: radial-gradient(60% 60% at 60% 45%, rgba(244, 200, 105, 0.28), rgba(200, 144, 47, 0.08) 45%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}
.about-intro__img-wrap {
  position: relative;
}
.about-intro__img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 70px -30px rgba(244, 200, 105, 0.4);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
/* re-use hero__chip positioning inside the about visual */
.about-intro__img-wrap .hero__chip {
  position: absolute;
  left: clamp(0.75rem, 2vw, 1.4rem);
  bottom: clamp(0.75rem, 2vw, 1.4rem);
}

/* --- About story: heading left + text/image grid -------------------------- */
.about-story__head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.about-story__head .eyebrow {
  margin-bottom: 1rem;
}
.about-story__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-story__text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about-story__text p {
  font-size: 1rem;
  line-height: 1.75;
}
.about-story__img img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* --- Certified section: 2-col text + image -------------------------------- */
.about-cert {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about-cert__copy .eyebrow {
  margin-bottom: 1rem;
}
.about-cert__copy h2 {
  margin-bottom: 0.85rem;
}
.about-cert__copy > p {
  margin-bottom: 1.6rem;
}
.about-cert__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.about-cert__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.97rem;
  color: var(--muted);
}
.about-cert__list li svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  color: var(--gold-bright);
}
.about-cert__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 60px -30px rgba(244, 200, 105, 0.35);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* --- Stats band 4-col variant for the about page -------------------------- */
.about-stats-band {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Team grid ------------------------------------------------------------ */
.about-team-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.about-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.about-team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow);
}

/* circular gold-gradient avatar with centered initials */
.team-avatar {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #0a0a0b;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  flex: none;
  margin-bottom: 0.5rem;
  box-shadow: 0 6px 22px -8px rgba(224, 176, 73, 0.6);
}
.about-team-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.about-team-card__role {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.about-team-card__bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* --- Location grid: address left, stylized map right --------------------- */
.about-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about-location__info .eyebrow {
  margin-bottom: 1rem;
}
.about-location__info h2 {
  margin-bottom: 0.85rem;
}
.about-location__info > p {
  margin-bottom: 1.75rem;
}
.about-location__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}
.about-location__address-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.97rem;
  color: var(--muted);
}
.about-location__address-row svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  margin-top: 0.18rem;
  color: var(--gold);
}
.about-location__address-row strong {
  color: var(--text);
}
.about-location__address-row a {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.about-location__address-row a:hover {
  color: var(--gold-bright);
}
.about-location__hours h5 {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.about-location__hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.about-location__hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
}
.about-location__hours-list li:last-child {
  border-bottom: none;
}

/* stylized map placeholder */
.about-map {
  position: relative;
}
.about-map__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(ellipse 80% 80% at 44% 47%, rgba(244, 200, 105, 0.07), transparent 65%),
    var(--surface);
  box-shadow: var(--shadow), var(--glow);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-map__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* gold pin centered in the map */
.about-map__pin {
  position: absolute;
  top: 50%;
  left: 44%;
  transform: translate(-50%, -110%);
  color: var(--gold-bright);
  filter: drop-shadow(0 4px 16px rgba(244, 200, 105, 0.7));
  animation: pin-bounce 2.4s ease-in-out infinite;
}
.about-map__pin svg {
  width: 2.4rem;
  height: 2.4rem;
}
@keyframes pin-bounce {
  0%, 100% { transform: translate(-50%, -110%); }
  50%       { transform: translate(-50%, -125%); }
}
.about-map__label {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(10, 10, 11, 0.72);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--muted);
}
.about-map__label strong {
  font-size: 0.9rem;
  color: var(--text);
}

/* --- About responsive ----------------------------------------------------- */
@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
  .about-intro__visual {
    order: -1;
    max-width: 36rem;
    margin-inline: auto;
  }
  .about-story__body {
    grid-template-columns: 1fr;
  }
  .about-story__img {
    order: -1;
    max-width: 36rem;
    margin-inline: auto;
  }
  .about-cert {
    grid-template-columns: 1fr;
  }
  .about-cert__visual {
    order: -1;
    max-width: 36rem;
    margin-inline: auto;
  }
  .about-stats-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-location {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .about-stats-band {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   === contact ===
   Contact page: form, info column, opening hours, map placeholder.
   All tokens and base components (.card, .bank-block, .footer__contact,
   .cta-band, .reveal, .btn, .eyebrow) are reused unchanged.
   Only layout + form-specific rules are added here.
   ========================================================================== */

/* --- Page header: same tight top padding as about/inv headers ------------ */
.contact-header {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(0.5rem, 1.5vw, 1rem);
}
.contact-header .section-head {
  margin-bottom: 0;
}
.contact-main-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* --- Two-column layout: form | info -------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Form card header ----------------------------------------------------- */
.contact-form-card {
  /* extends .card — no new overrides needed for the outer shell */
}
.contact-form-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.contact-form-head .eyebrow {
  margin-bottom: 0.65rem;
}
.contact-form-lead {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* --- Field wrapper (label + control) ------------------------------------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}
.field:last-of-type {
  margin-bottom: 1.5rem;
}
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding-left: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.field__optional {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--faint);
  text-transform: lowercase;
}

/* --- Form inputs / textarea / select (mirror .quick-search select look) - */
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 7.5rem;
  line-height: 1.6;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.field input:hover,
.field textarea:hover {
  border-color: var(--border-gold);
}
.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 200, 105, 0.14);
  outline: none;
}

/* Select wrapper: custom chevron identical to .quick-search select */
.contact-select-wrap {
  position: relative;
}
.contact-select-wrap select {
  width: 100%;
  padding: 0.72rem 2.4rem 0.72rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e0b049' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact-select-wrap select:hover {
  border-color: var(--border-gold);
}
.contact-select-wrap select:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 200, 105, 0.14);
  outline: none;
}
/* Ensure the default empty placeholder option looks muted */
.contact-select-wrap select option[value=""] {
  color: var(--faint);
}

/* --- Success message panel ----------------------------------------------- */
/* Base state: .hidden keeps display:none via the utility class.
   When finance.js calls s.classList.remove("hidden"), this visible state shows. */
#form-success {
  margin-top: 1.25rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg,
    rgba(244, 200, 105, 0.10),
    rgba(200, 144, 47, 0.06)
  );
  border: 1px solid var(--border-gold);
  animation: success-in 0.4s var(--ease);
}
@keyframes success-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.form-success__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.form-success__icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #0a0a0b;
}
.form-success__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
#form-success strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
#form-success p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* --- Info column: cards stack -------------------------------------------- */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  /* Prevent the column from shifting card hover lift on mobile */
  position: relative;
}

@media screen and (min-width: 1024px) {
	.contact-info-col {
    position: sticky;
    top: 100px;
	}
}

/* Contact details card: eyebrow + footer__contact list */
.contact-details-card .eyebrow {
  display: block;
  margin-bottom: 1.25rem;
}
.contact-details-list {
  gap: 1rem;
}
.contact-details-list li {
  font-size: 0.97rem;
}
.contact-details-list address {
  line-height: 1.65;
}

/* Opening hours card */
.contact-hours-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-hours-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 10px;
  color: var(--gold-bright);
  background: linear-gradient(160deg, rgba(244, 200, 105, 0.14), rgba(200, 144, 47, 0.06));
  border: 1px solid var(--border-gold);
}
.contact-hours-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.contact-hours-title {
  font-size: 1.1rem;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hours-table td {
  padding: 0.6rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.hours-table tr:last-child td {
  border-bottom: none;
}
.hours-table .hours-time {
  text-align: right;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
.hours-table .hours-closed .hours-time {
  color: var(--faint);
  font-weight: 500;
}

/* Bank details card */
.contact-bank-title {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

/* --- Static map placeholder ---------------------------------------------- */
.contact-map-section {
  padding-block: clamp(1rem, 2vw, 2rem) clamp(2.5rem, 5vw, 4rem);
}
.contact-map {
  position: relative;
}
.contact-map__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(ellipse 80% 80% at 50% 48%, rgba(244, 200, 105, 0.07), transparent 65%),
    var(--surface);
  box-shadow: var(--shadow), var(--glow);
  aspect-ratio: 16 / 5;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 640px) {
  .contact-map__inner {
    aspect-ratio: 4 / 3;
  }
}
/* Embedded Google Map fills the rounded container, grayscale to match the dark theme */
.contact-map__embed,
.about-map__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(1);
  transition: filter 0.4s var(--ease);
}
.contact-map__inner:hover .contact-map__embed,
.about-map__inner:hover .about-map__embed {
  filter: grayscale(0);
}
.contact-map__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Reuse the about-map__pin animation + style (defined in about section above) */
.contact-map__pin {
  width: 2.6rem;
  height: 2.6rem;
}
.contact-map__pin svg {
  width: 2.6rem;
  height: 2.6rem;
}

/* --- Eyebrow small variant (no left line, used inside cards) ------------- */
.eyebrow--small {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}
.eyebrow--small::before {
  display: none;
}

/* WordPress — navbar/footer logo image */
.brand__logo { width: auto; display: block; height: 46px; }
.navbar .brand__logo { height: 60px; }
.footer .brand__logo { height: 66px; }

/* ===========================================================================
   WPForms — Priveon dark amber skin
   Styles the imported contact form (and any WPForms form) to match
   .contact-form-card. Best paired with:
   WPForms → Settings → General → Current Form Styling = "Base styling only"
   (handles structure/honeypot; this block supplies the visual theme).
   Scoped to .wpforms-container so it won't leak elsewhere.
   =========================================================================== */

/* Container + field rhythm */
#wpforms-form-402 { font-family: var(--ff-body); color: var(--text); }
#wpforms-form-402 .wpforms-field { padding: 0; margin-bottom: 1.1rem; }
#wpforms-form-402 .wpforms-field-container { margin-bottom: 0.4rem; }

/* Labels + required asterisk */
#wpforms-form-402 .wpforms-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 0.45rem;
  padding-left: 0.15rem;
  line-height: 1.4;
}
#wpforms-form-402 .wpforms-field-label-inline { text-transform: none; letter-spacing: 0; }
#wpforms-form-402 .wpforms-required-label { color: var(--gold); border: 0; }
#wpforms-form-402 .wpforms-field-description {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* Inputs, textarea, select — mirror .field inputs */
#wpforms-form-402 input[type="text"],
#wpforms-form-402 input[type="email"],
#wpforms-form-402 input[type="tel"],
#wpforms-form-402 input[type="url"],
#wpforms-form-402 input[type="number"],
#wpforms-form-402 input[type="password"],
#wpforms-form-402 textarea,
#wpforms-form-402 select {
  width: 100%;
  max-width: 100%;
  padding: 0.72rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
#wpforms-form-402 textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }
#wpforms-form-402 input::placeholder,
#wpforms-form-402 textarea::placeholder { color: var(--faint); opacity: 1; }

#wpforms-form-402 input:hover,
#wpforms-form-402 textarea:hover,
#wpforms-form-402 select:hover { border-color: var(--border-gold); }

#wpforms-form-402 input:focus,
#wpforms-form-402 textarea:focus,
#wpforms-form-402 select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 200, 105, 0.14);
  outline: none;
}
/* WPForms width modifiers shouldn't shrink fields in this layout */
#wpforms-form-402 .wpforms-field-small,
#wpforms-form-402 .wpforms-field-medium,
#wpforms-form-402 .wpforms-field-large { max-width: 100%; }

/* Select — custom amber chevron (same SVG as .contact-select-wrap) */
#wpforms-form-402 select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e0b049' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  cursor: pointer;
}
#wpforms-form-402 select option { background: var(--surface-2); color: var(--text); }

/* Phone field (intl-tel-input) — dark dropdown */
#wpforms-form-402 .iti { width: 100%; display: block; }
#wpforms-form-402 .iti__tel-input { width: 100%; }
#wpforms-form-402 .iti__selected-country { background: transparent; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
#wpforms-form-402 .iti__selected-country:hover,
#wpforms-form-402 .iti__selected-country:focus { background: rgba(255, 255, 255, 0.04); }
#wpforms-form-402 .iti__dropdown-content {
  background: var(--elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
}
#wpforms-form-402 .iti__country-list { background: transparent; }
#wpforms-form-402 .iti__country { color: var(--text); }
#wpforms-form-402 .iti__country.iti__highlight,
#wpforms-form-402 .iti__country:hover { background: rgba(244, 200, 105, 0.12); }
#wpforms-form-402 .iti__dial-code { color: var(--muted); }
#wpforms-form-402 .iti__search-input {
  background: var(--surface-2);
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--border);
}

/* Character-counter helper text */
#wpforms-form-402 .wpforms-field-limit-text { font-size: 0.78rem; color: var(--faint); margin-top: 0.35rem; }

/* Submit button — mirror .btn--gold .btn--block .btn--lg */
#wpforms-form-402 .wpforms-submit-container { margin-top: 1.5rem; }
#wpforms-form-402 button.wpforms-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #0a0a0b;
  background: var(--gold-grad);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 26px -12px rgba(224, 176, 73, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
#wpforms-form-402 button.wpforms-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(244, 200, 105, 0.55), var(--glow);
}
#wpforms-form-402 button.wpforms-submit:active { transform: translateY(1px) scale(0.99); }
#wpforms-form-402 .wpforms-submit-spinner { margin-left: 0.5rem; }

/* Validation errors */
#wpforms-form-402 label.wpforms-error,
#wpforms-form-402 em.wpforms-error,
#wpforms-form-402 .wpforms-error-alert {
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 0.35rem;
}
#wpforms-form-402 input.wpforms-error,
#wpforms-form-402 textarea.wpforms-error,
#wpforms-form-402 select.wpforms-error { border-color: #f87171; }

/* AJAX success / confirmation message — mirror #form-success */
.wpforms-confirmation-container-full,
div[class*="wpforms-confirmation-container"] {
  margin: 0;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(244, 200, 105, 0.10), rgba(200, 144, 47, 0.06));
  border: 1px solid var(--border-gold);
  color: var(--text);
}
.wpforms-confirmation-container-full p { color: var(--muted); margin: 0; }

/* Defensive: hide WPForms anti-spam / honeypot helper fields if base CSS is off */
#wpforms-form-402 .wpforms-field-hp { display: none !important; }
#wpforms-form-402 .wpforms-field:has(input[aria-hidden="true"]) { display: none !important; }

/* ===========================================================================
   404 — Page not found
   =========================================================================== */
.error-404 { text-align: center; }
.error-404__inner {
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.error-404__code {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}
.error-404 h1 { margin-top: 0.25rem; }
.error-404__lead { color: var(--muted); max-width: 34rem; }
.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

/* ===========================================================================
   Legal / Impressum
   =========================================================================== */
.legal__container { max-width: 52rem; }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 {
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
}
.legal p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal p strong { color: var(--text); }
.legal a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.legal a:hover { color: var(--gold); }

/* ===========================================================================
   Back-to-top button
   =========================================================================== */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #0a0a0b;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(224, 176, 73, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), box-shadow 0.3s var(--ease);
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(244, 200, 105, 0.6); }
.to-top:active { transform: translateY(0) scale(0.96); }
.to-top svg { width: 1.25rem; height: 1.25rem; }
/* Keep it clear of the slide-in mobile menu */
body.menu-open .to-top { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity 0.2s linear, visibility 0.2s linear; }
}

/* ===========================================================================
   Footer social icons
   =========================================================================== */
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.footer__social-link {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__social-link:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  background: rgba(244, 200, 105, 0.08);
  transform: translateY(-2px);
}
.footer__social-link svg { width: 1.15rem; height: 1.15rem; }

/* ===========================================================================
   Floating call button (sits above the back-to-top button) with wave pulse
   =========================================================================== */
.to-call {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + 3.75rem);
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #0a0a0b;
  box-shadow: 0 10px 30px -8px rgba(224, 176, 73, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 91;
}
.to-call svg {
  width: 1.25rem;
  height: 1.25rem;
  animation: call-shake 1.8s var(--ease) infinite;
}
.to-call:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(244, 200, 105, 0.6); }
.to-call:active { transform: translateY(0) scale(0.96); }
/* Expanding "vibrating" wave rings */
.to-call::before,
.to-call::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  opacity: 0;
  animation: call-wave 1.8s var(--ease) infinite;
  pointer-events: none;
}
.to-call::after { animation-delay: 0.9s; }
body.menu-open .to-call { opacity: 0; visibility: hidden; }

@keyframes call-wave {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes call-shake {
  0%, 55%, 100% { transform: rotate(0); }
  60%, 70%, 80% { transform: rotate(-11deg); }
  65%, 75%, 85% { transform: rotate(11deg); }
}
@media (prefers-reduced-motion: reduce) {
  .to-call svg,
  .to-call::before,
  .to-call::after { animation: none; }
}

/* ===========================================================================
   Breadcrumb (car detail page)
   =========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--faint);
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.breadcrumb a:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  background: rgba(244, 200, 105, 0.07);
}
.breadcrumb a svg { width: 0.95rem; height: 0.95rem; }
.breadcrumb__current { color: var(--muted); }