/* Nordic Autos – filmisk showroom-design
   Farver taget fra showroomet: sort loft, varme træpaneler, gyldent spotlys og grå epoxygulv. */
:root {
  color-scheme: dark;
  --bg: #0b0b0a;
  --bg-2: #11100e;
  --surface: #171613;
  --surface-2: #1f1d19;
  --ink: #f3eee6;
  --ink-soft: #b4aca1;
  --ink-faint: #7b746b;
  --line: rgba(243, 238, 230, .12);
  --line-strong: rgba(243, 238, 230, .24);
  --accent: #c79c6b;        /* træ / bronze */
  --accent-light: #e2bd8b;  /* spotlys */
  --accent-dark: #a47a4c;
  --radius: 4px;
  --radius-lg: 6px;
  --max: 1320px;
  --ease: cubic-bezier(.16, .84, .3, 1);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Let filmkorn over hele siden */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; }
h1, h2 { font-family: var(--serif); line-height: .98; letter-spacing: -.015em; }
h1 { font-size: clamp(3rem, 8.4vw, 8rem); }
h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h1 em, h1 span, h2 em { font-style: italic; color: var(--accent-light); }
h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.section { padding: clamp(96px, 12vw, 180px) 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--white { background: var(--bg-2); }
.section--tint { background: var(--bg-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .74rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.muted { color: var(--ink-soft); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); max-width: 600px; font-weight: 300; }
.section-head { max-width: 820px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin: 0 auto; }
.section-head--center .eyebrow::before { display: none; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Knapper */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border-radius: 0; border: 1px solid transparent;
  font: inherit; font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--primary { background: var(--accent); color: #12100c; }
.btn--primary::before { background: var(--ink); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(11, 11, 10, .25); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* Header – ligger oven på billederne og bliver mørk ved scroll */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(11,11,10,.55), rgba(11,11,10,0));
  transition: background .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(11, 11, 10, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.site-footer .logo img { height: 64px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; text-decoration: none; font-size: .76rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: 10px 14px; color: var(--ink-soft); transition: color .3s;
}
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 13px 22px; }
.nav-phone { font-size: .9rem; letter-spacing: .06em; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; }
.nav-phone svg { width: 17px; height: 17px; color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav-cta .btn, .nav-phone span { display: none; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
    background: rgba(11, 11, 10, .97); padding: 0 32px;
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; }
  /* backdrop-filter ville låse menuen inde i headeren */
  .site-header:has(.nav-links.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; }
  .nav-links a { font-family: var(--serif); font-size: clamp(2.4rem, 10vw, 3.4rem); letter-spacing: 0; text-transform: none; padding: 6px 0; color: var(--ink); }
  .nav-links a::after { display: none; }
}
@media (max-width: 600px) { .nav { height: 72px; } .logo img { height: 38px; } }

/* Forside-hero: fuld skærm med biograf-bjælker, der glider væk ved scroll.
   showroom.js sætter --e (0–1, åbning) og --o (0–1, velkomsttekst). */
.showroom { position: relative; height: 280vh; --e: 0; --o: 0; background: #000; }
.showroom-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.showroom-frame {
  position: absolute; inset: 0; z-index: 1; background: #000;
  clip-path: inset(calc((1 - var(--e)) * 10vh) 0 calc((1 - var(--e)) * 10vh) 0);
  will-change: clip-path;
}
.showroom-frame video, .showroom-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
  will-change: transform, opacity;
}
.showroom-frame::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,10,.5) 0%, rgba(11,11,10,0) 28%, rgba(11,11,10,0) 45%, rgba(11,11,10,.88) 100%),
    radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.45) 100%);
}
.showroom-copy {
  position: absolute; left: 0; right: 0; bottom: calc(10vh + clamp(32px, 6vh, 72px)); z-index: 3;
  opacity: calc(1 - var(--e) * 1.6);
  transform: translateY(calc(var(--e) * -70px));
  will-change: opacity, transform;
}
.showroom-copy h1 { max-width: 13ch; margin-bottom: .3em; text-shadow: 0 2px 30px rgba(0,0,0,.35); font-size: clamp(2.8rem, min(7vw, 10.5vh), 7rem); }
.showroom-copy h1 span { display: block; }
.showroom-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 56px; }
.showroom-row .lead { margin: 0; max-width: 480px; color: rgba(243,238,230,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.showroom-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding-bottom: clamp(40px, 9vh, 100px);
  opacity: var(--o); transform: translateY(calc((1 - var(--o)) * 50px));
  pointer-events: none;
}
.showroom-overlay.is-active { pointer-events: auto; }
.showroom-overlay h2 { max-width: 12ch; margin-bottom: .35em; }
.showroom-overlay p { color: rgba(243,238,230,.82); max-width: 500px; font-size: 1.1rem; font-weight: 300; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,230,.8); }
.trust-row span { display: flex; align-items: center; gap: 10px; }
.trust-row svg { width: 16px; height: 16px; color: var(--accent); }
.scroll-hint {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: calc(5vh - 14px);
  display: flex; align-items: center; gap: 14px; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(243,238,230,.7);
  opacity: calc(1 - var(--e) * 3);
}
.scroll-hint::before { content: "Scroll"; }
.scroll-hint::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--accent), transparent); animation: hint 2s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-height: 700px) and (min-width: 761px) {
  .showroom-copy { bottom: calc(10vh + 20px); }
  .showroom-row .lead { display: none; }
}
@media (max-width: 760px) {
  .showroom { height: 230vh; }
  .showroom-row { flex-direction: column; align-items: flex-start; }
  .scroll-hint { display: none; }
  .showroom-copy { bottom: calc(10vh + 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .showroom { height: auto; }
  .showroom-sticky { position: relative; height: 100svh; }
  .showroom-copy { opacity: 1; transform: none; }
  .showroom-frame { clip-path: none; }
  .showroom-overlay { display: none; }
}

/* Glidende tekstbånd */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; color: var(--ink); }
.marquee-track span::after { content: "✦"; font-size: .5em; color: var(--accent); }
.marquee-track span:nth-child(even) { font-style: italic; color: var(--ink-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

.stars { color: var(--accent-light); letter-spacing: 3px; }

/* Undersider: showroom-billede som baggrund */
.page-hero {
  position: relative; min-height: 64vh; display: flex; align-items: flex-end;
  padding: 160px 0 clamp(56px, 8vw, 96px); background: var(--bg-2) center 58% / cover no-repeat;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,10,.55) 0%, rgba(11,11,10,.35) 40%, rgba(11,11,10,.95) 100%);
}
.page-hero > .container { position: relative; }
.page-hero--plain { min-height: 0; padding-top: 180px; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); max-width: 14ch; }
.page-hero .lead { color: rgba(243,238,230,.85); }
.breadcrumb { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 28px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.page-top { padding-top: 130px !important; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); }
.card p:last-child { margin-bottom: 0; }
.icon-badge { width: 44px; height: 44px; border: 1px solid var(--line-strong); color: var(--accent); display: grid; place-items: center; margin-bottom: 28px; }
.icon-badge svg { width: 20px; height: 20px; }

/* Fordele som redaktionel række med nummerering */
.grid-4 { counter-reset: perk; border-top: 1px solid var(--line); }
.grid-4 > .card {
  counter-increment: perk; background: none; border: 0; border-radius: 0; border-right: 1px solid var(--line);
  padding: 40px 32px 8px; transition: background .6s var(--ease);
}
.grid-4 > .card:first-child { padding-left: 0; }
.grid-4 > .card:last-child { border-right: 0; }
.grid-4 > .card::before { content: "0" counter(perk); display: block; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--accent); margin-bottom: 28px; }
.grid-4 > .card .icon-badge { display: none; }
.grid-4 > .card h3 { font-size: 1.25rem; }
@media (max-width: 1000px) {
  .grid-4 > .card { padding: 36px 24px 28px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
}

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Importtilbud */
.offer {
  position: relative; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(36px, 4vw, 56px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.offer::before { content: ""; position: absolute; top: -1px; left: 40px; right: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-light), transparent); }
.offer-price { font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: 1; margin: 4px 0 10px; color: var(--ink); }
.offer-price small { font-family: var(--font); font-size: .9rem; color: var(--ink-soft); letter-spacing: .04em; }
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }

/* Trin som tidslinje */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 40px 28px 0 0; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--accent); margin-bottom: 24px; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(199,156,107,.15); }
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: .95rem; color: var(--ink-soft); margin: 0; font-weight: 300; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Bilkort */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
@media (max-width: 1000px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .car-grid { grid-template-columns: 1fr; } }
.car-card { display: flex; flex-direction: column; text-decoration: none; animation: rise 1s var(--ease) both; }
.car-card:nth-child(2) { animation-delay: .1s; }
.car-card:nth-child(3) { animation-delay: .2s; }
.car-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; border-radius: var(--radius); }
.car-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); transition: opacity .6s; }
.car-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.92); }
.car-card:hover .car-card-media img { transform: scale(1.07); filter: saturate(1.05); }
.tag { position: absolute; z-index: 1; top: 16px; left: 16px; background: rgba(11,11,10,.7); color: var(--ink); font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding: 7px 12px; backdrop-filter: blur(8px); }
.tag--el { color: var(--accent-light); }
.car-card-body { padding: 22px 0 0; display: flex; flex-direction: column; flex: 1; border-bottom: 1px solid var(--line); padding-bottom: 20px; transition: border-color .5s; }
.car-card:hover .car-card-body { border-color: var(--accent); }
.car-card-title { font-family: var(--serif); font-size: 1.85rem; line-height: 1.05; margin: 0; }
.car-card-variant { color: var(--ink-soft); font-size: .92rem; margin: 6px 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 300; }
.car-specs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 18px; padding: 0; list-style: none; }
.car-specs li { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.car-card-price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.car-card-price strong { font-size: 1.2rem; font-weight: 500; color: var(--accent-light); letter-spacing: .01em; }
.car-card-price span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.skeleton { background: linear-gradient(90deg, #151412 0%, #1d1b18 50%, #151412 100%); background-size: 200% 100%; animation: shimmer 1.6s infinite; border-radius: var(--radius); aspect-ratio: 4 / 3.8; }
@keyframes shimmer { to { background-position: -200% 0; } }
.no-photo { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-faint); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }

/* Lager-værktøjslinje */
.toolbar { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.toolbar-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.select, .input, .textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 0; padding: 15px 16px; width: 100%;
  transition: border-color .3s, background .3s;
}
.select { width: auto; min-width: 180px; padding-right: 36px; }
.select:focus, .input:focus, .textarea:focus { border-color: var(--accent); outline: none; background: var(--surface-2); }
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.result-count { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.empty-state { text-align: center; padding: 80px 24px; border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 600px) { .toolbar-filters, .select { width: 100%; } }

/* Bildetaljer */
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.gallery-main { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 1px solid transparent; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--surface); opacity: .55; transition: opacity .3s, border-color .3s; }
.gallery-thumbs button:hover, .gallery-thumbs button[aria-current="true"] { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-panel { position: sticky; top: 110px; }
.detail-panel h1 { font-size: clamp(2.2rem, 3.4vw, 3rem) !important; }
.detail-price { font-family: var(--serif); font-size: 3rem; line-height: 1; margin: 18px 0 8px; color: var(--accent-light); }
.spec-table { width: 100%; border-collapse: collapse; margin: 28px 0 32px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 400; }
.spec-table th { color: var(--ink-faint); width: 45%; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.feature-list li { border: 1px solid var(--line-strong); font-size: .85rem; padding: 7px 13px; color: var(--ink-soft); }
.description { white-space: pre-line; color: var(--ink-soft); font-weight: 300; }

/* Anmeldelser */
.review { display: flex; flex-direction: column; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 36px 0 0; }
.review blockquote { margin: 22px 0 32px; font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.3; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 14px; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 30px 56px 30px 0; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.25; position: relative; transition: color .3s; }
.faq summary:hover { color: var(--accent-light); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 1px; background: var(--accent); transition: transform .5s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--ink-soft); padding-right: 56px; padding-bottom: 14px; font-weight: 300; max-width: 720px; }

/* CTA med showroom-billede */
.cta-band {
  position: relative; overflow: hidden; min-height: 460px; padding: clamp(40px, 7vw, 96px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px;
  background: url("../media/showroom-6.jpg") center 40% / cover no-repeat; border-radius: var(--radius-lg);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,10,.92) 0%, rgba(11,11,10,.6) 55%, rgba(11,11,10,.3) 100%); }
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 0 14px; max-width: 13ch; }
.cta-band p { margin: 0; color: rgba(243,238,230,.8); font-weight: 300; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item .icon-badge { margin: 0; flex: none; }
.contact-item h3 { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.contact-item a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.contact-item a:hover { color: var(--accent-light); border-color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 4px 0; color: var(--ink-soft); }
.hours td:last-child { text-align: right; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: 6px 0 24px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; display: none; border: 1px solid; }
.form-status.is-success { display: block; border-color: var(--accent); color: var(--accent-light); }
.form-status.is-error { display: block; border-color: #c0614f; color: #f0a796; }
.map-wrap { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9); }
.map-placeholder { height: 420px; display: grid; place-items: center; text-align: center; padding: 24px; }

/* Showroom-billeder på undersider */
.photo-band { margin: 0; overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface); border-radius: var(--radius-lg); }
.photo-band img, .photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.photo-band:hover img, .photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.photo-grid figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); border-radius: var(--radius-lg); }
@media (max-width: 760px) {
  .photo-band { aspect-ratio: 4 / 3; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* Juridiske sider */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.8em; }
.legal h3 { margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink-soft); font-weight: 300; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }

/* Footer */
.site-footer { background: #070706; color: var(--ink-soft); padding: 112px 0 40px; font-size: .95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--accent); font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--ink); }
.site-footer .logo { margin-bottom: 22px; }
.site-footer p { font-weight: 300; max-width: 340px; }
.footer-bottom { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line-strong); transition: background .4s, color .4s, border-color .4s; }
.social a:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.social svg { width: 18px; height: 18px; }

/* Mobil opkaldslinje */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,11,10,.9); border-top: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .mobile-bar .btn { padding: 14px 10px; }
  body { padding-bottom: 78px; }
}

/* Scroll-animationer: main.js tilføjer .reveal og .is-visible */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.photo-band.reveal, .photo-grid figure.reveal { transform: none; clip-path: inset(12% 0 0 0); transition: clip-path 1.4s var(--ease), opacity 1.2s var(--ease); transition-delay: var(--d, 0s); }
.photo-band.reveal.is-visible, .photo-grid figure.reveal.is-visible { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; clip-path: none !important; }
}

/* Solgte biler (forsiden) */
.sold-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
@media (max-width: 1000px) { .sold-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; } }
.sold-card { margin: 0; }
.sold-card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.sold-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sold-card:hover .sold-card-media img { transform: scale(1.04); }
.sold-card figcaption { padding-top: 16px; display: grid; gap: 6px; }
.sold-card figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.sold-card figcaption span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.section-head .lead a { color: var(--accent-light); text-underline-offset: 3px; }
