/* NU Group ApS / CarQuest — udkast til carguy.dk
   Ingen tracking, cookies eller tredjepartsscripts. Fonte er selvhostede. */
:root {
  --bg: #0a0a0a;
  --bg-soft: #12110e;
  --card: #17150f;
  --ink: #ece8e0;
  --muted: #b4afa5;
  --dim: #8a857c;
  --gold: #c9a96e;
  --gold-2: #e4d0a0;
  --line: rgba(201, 169, 110, 0.22);
  --line-strong: rgba(201, 169, 110, 0.4);
  --fill: rgba(201, 169, 110, 0.08);
  --radius: 16px;
  --wrap: 70rem;
  --header-h: 4.25rem;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% 0%, #1c1a16 0%, transparent 55%),
    radial-gradient(ellipse at 100% 20%, rgba(201, 169, 110, 0.06) 0%, transparent 40%);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 0.8rem;
  z-index: 100;
  border-radius: 4px;
}
.skip:focus { top: 0.75rem; }
.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Language */
html[data-lang="da"] .lang-en,
html[data-lang="en"] .lang-da { display: none !important; }
html[data-lang="en"] .lang-en,
html[data-lang="da"] .lang-da { display: revert; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { color: var(--gold-2); }
.logo-mark {
  font-family: var(--serif);
  letter-spacing: 0.28em;
  color: var(--gold);
  font-size: 0.95rem;
  padding-left: 0.28em;
}
.logo-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  font-weight: 400;
}
.nav-toggle {
  display: none;
}
.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.35rem;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.lang-switch {
  display: flex;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}
.lang-switch button {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #111;
  border-color: var(--ink);
}
.lang-switch button:hover { border-color: var(--gold); color: var(--ink); }
.lang-switch button[aria-pressed="true"]:hover { color: #111; }

main { flex: 1; }

/* Hero */
.hero {
  padding: 5.5rem 0 4.25rem;
  text-align: center;
}
.eyebrow, .tag {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
  padding-left: 0.42em;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 10vw, 7rem);
  letter-spacing: 0.08em;
  line-height: 0.95;
  margin: 0 0 0.4rem;
}
.hero h1 span { color: var(--gold); }
.rule {
  width: 80px;
  height: 1px;
  margin: 1.75rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
}
.lead {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-primary {
  background: var(--gold);
  color: #16130c;
  border-color: var(--gold);
  font-weight: 500;
}
.btn-primary:hover { background: var(--gold-2); color: #16130c; border-color: var(--gold-2); }
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem 0.45rem 1.15rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

/* Sections */
section { padding: 4.25rem 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}
.muted { color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.6rem;
}
.grid-3, .grid-2 {
  display: grid;
  gap: 1.15rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.35rem;
}
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.icon svg { width: 100%; height: 100%; }
.band {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.cta-band {
  text-align: center;
  padding: 4rem 0;
}
.company-block address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.9;
}
.company-block a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.company-block a:hover { color: var(--gold); }
dl.facts { margin: 0; }
dl.facts div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
dl.facts dt {
  color: var(--dim);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}
dl.facts dd { margin: 0; }
.page-hero {
  padding: 3.75rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.8rem;
}
.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose p.lead-inline { color: var(--ink); font-size: 1.15rem; }

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.25rem;
  color: var(--dim);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3rem 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.legal-line {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  justify-content: space-between;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .grid-3, .split, .footer-grid, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  section { padding: 3.25rem 0; }
  dl.facts div { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 760px) {
  .nav-toggle-btn { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 50;
    background: #0c0b09;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
    box-shadow: 0 16px 32px rgba(0,0,0,.45);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .lang-switch {
    margin: 0.5rem 0 0;
    padding: 0.75rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    width: 100%;
  }
  .header-inner { position: relative; }
  .wrap { width: min(var(--wrap), calc(100% - 1.75rem)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
