/* Vorup Biludlejning
   Farver fra logoet: grafitgrå #35383c og gylden orange #d99418 på varm hvid.
   Mindste tekststørrelse 12 px; brødtekst 16 px. */

@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
}

:root {
  --ink: #35383c;
  --ink-dark: #26292c;
  --amber: #d99418;
  --amber-hover: #c4830f;
  --amber-soft: #fbefd6;
  --amber-text: #8a5a00;    /* orange tekst på lys baggrund, 6:1 */
  --paper: #fbfaf7;
  --sand: #f3efe6;
  --white: #fff;
  --line: #e4ded2;
  --muted: #5a5f63;
  --on-dark: #d4d6d8;
  --focus: #b97a0c;
  --radius: 12px;
  --header-h: 84px;
  --gutter: 48px;

  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; background: var(--paper); }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-space { padding-block: 96px; }
.skip-link {
  position: absolute; top: 8px; left: 12px; z-index: 100; padding: 12px 16px; border-radius: 6px;
  background: var(--amber); font-weight: 700; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Knapper ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.2;
  transition: background-color .18s, border-color .18s, transform .18s;
}
.button:hover { transform: translateY(-1px); }
.button-amber { background: var(--amber); color: var(--ink-dark); }
.button-amber:hover { background: var(--amber-hover); }
.button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.link-button { padding: 0; border: 0; background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 247, .95);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(38, 41, 44, .06); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: block; flex-shrink: 0; margin-right: auto; }
.brand img { width: auto; height: 62px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.main-nav a:hover { background: var(--sand); }
.header-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 56px 72px; background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); }
.pin-icon {
  position: relative; display: inline-block; flex-shrink: 0; width: 11px; height: 13px;
  border: 2px solid currentColor; border-radius: 8px 8px 8px 1px; transform: rotate(-45deg);
}
.hero h1 { font-size: clamp(42px, 5.4vw, 72px); letter-spacing: -0.04em; line-height: 1.02; }
.hero-lead { max-width: 30em; margin-top: 20px; font-size: 19px; color: var(--muted); }
.hero-prices { display: flex; gap: 12px; margin-top: 28px; }
.hero-prices div { padding: 14px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.hero-prices span { display: block; font-size: 14px; color: var(--muted); }
.hero-prices strong { font-family: 'Manrope', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(38, 41, 44, .18); }
.hero-badge {
  position: absolute; left: -20px; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 600; box-shadow: 0 10px 24px rgba(38, 41, 44, .25);
}
.hero-badge strong { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--ink-dark); font-family: 'Manrope', sans-serif; }

/* ---------- Fordele ---------- */
.perks { background: var(--ink); color: var(--white); }
.perk-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 28px; list-style: none; }
.perk-list li { display: flex; align-items: center; gap: 14px; }
.perk-list svg { flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--amber); fill: none; stroke: var(--ink-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.perk-list strong { display: block; font-size: 16px; }
.perk-list span { font-size: 14px; color: var(--on-dark); }

/* ---------- Overskrifter ---------- */
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.section-heading > p { max-width: 30em; font-size: 17px; color: var(--muted); }

/* ---------- Priser ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.price-card h3 { font-size: 20px; }
.price-card > p:last-child { color: var(--muted); }
.price { font-family: 'Manrope', sans-serif; }
.price span { font-size: 16px; color: var(--muted); }
.price strong { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price-card-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.price-card-dark .price span, .price-card-dark > p:last-child { color: var(--on-dark); }
.price-card-dark .price strong { color: var(--amber); }
.price-card-info { background: var(--amber-soft); border-color: #f0dcb0; }
.self-risk div { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; border-bottom: 1px solid #ecd6a6; }
.self-risk dd { font-weight: 700; }

/* ---------- Biler ---------- */
.fleet-section { background: var(--sand); }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.car-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--white); box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; }
.car-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(38, 41, 44, .1); }
.car-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e9e4d8; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; }
.car-year { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; }
.car-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 22px; }
.car-body h3 { font-size: 22px; letter-spacing: -0.02em; }
.car-meta { font-size: 15px; color: var(--muted); }
.car-price { margin-bottom: 16px; font-size: 15px; }
.car-price strong { font-family: 'Manrope', sans-serif; font-size: 20px; }
.car-ask { width: 100%; margin-top: auto; }

/* ---------- Sådan lejer du ---------- */
.how-section { background: var(--ink); color: var(--white); }
.how-heading > p { margin-top: 12px; font-size: 18px; color: var(--on-dark); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 52px 0 44px; padding: 0; list-style: none; }
.steps::before { content: ''; position: absolute; top: 27px; left: 28px; right: calc((100% - 80px) / 3 - 28px); border-top: 2px dashed rgba(217, 148, 24, .6); }
.step-number {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: 50%; background: var(--amber); color: var(--ink-dark); font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; box-shadow: 0 0 0 8px var(--ink);
}
.steps h3 { margin-bottom: 6px; font-size: 22px; }
.steps p { max-width: 22em; color: var(--on-dark); }

/* ---------- Om os ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.about-copy > p { max-width: 30em; margin-top: 18px; font-size: 17px; color: var(--muted); }
.about-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-facts div { min-width: 140px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.about-facts dt { font-size: 14px; color: var(--muted); }
.about-facts dd { font-size: 17px; font-weight: 700; }
.about-media { display: grid; grid-template-columns: .8fr 1.2fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 420px; }
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center;
  border: 2px dashed #d8cdb4; border-radius: 16px; background: repeating-linear-gradient(135deg, #f6f1e6 0 12px, #f1ebdd 12px 24px);
}
.placeholder svg { width: 40px; height: 40px; fill: none; stroke: var(--amber-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.placeholder figcaption { font-size: 15px; font-weight: 700; line-height: 1.35; }
.placeholder figcaption span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.placeholder-portrait { grid-row: 1 / 3; }
.map-card { position: relative; grid-column: 2; grid-row: 2; overflow: hidden; border-radius: 16px; background: #ebe5d6; }
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-water { fill: none; stroke: #c4d6dc; stroke-width: 18; stroke-linecap: round; }
.map-road { fill: none; stroke: #fff; stroke-width: 6; }
.map-road-small { stroke: #f8f5ee; stroke-width: 3; }
.map-pin {
  position: absolute; left: 50%; top: 46%; width: 26px; height: 26px; border: 4px solid var(--amber); border-radius: 50% 50% 50% 0;
  background: var(--ink); transform: translate(-50%, -100%) rotate(-45deg); box-shadow: 0 6px 14px rgba(38, 41, 44, .25);
}
.map-label { position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 8px; background: var(--paper); font-size: 14px; line-height: 1.3; }
.map-label span { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-section { background: var(--amber-soft); }
.contact-head { max-width: 40em; margin-bottom: 32px; }
.contact-head > p { margin-top: 12px; font-size: 18px; color: var(--muted); }
.contact-head h2:focus { outline: none; }
.contact-car { margin-top: 16px !important; padding: 12px 16px; border-radius: var(--radius); background: var(--white); color: var(--ink) !important; font-size: 16px !important; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 20px; background: var(--white); }
.contact-card > svg { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--ink); fill: none; stroke: var(--amber); stroke-width: 2; stroke-linejoin: round; }
.contact-card h3 { font-size: 26px; }
.contact-number { display: block; margin-bottom: 8px; font-family: 'Manrope', sans-serif; font-size: 32px; font-weight: 800; }
.contact-email { margin-bottom: 10px; font-size: 18px; font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-missing { padding: 16px; border: 2px dashed #e2c88f; border-radius: var(--radius); color: var(--muted); }

/* ---------- Spørgsmål ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding-block: 14px; list-style: none; font-size: 17px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-size: 26px; font-weight: 400; color: var(--amber-text); transition: transform .2s; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details p { padding: 0 32px 20px 0; color: var(--muted); }

/* ---------- Sidefod ---------- */
.site-footer { padding-top: 48px; background: var(--ink-dark); color: var(--on-dark); }
.footer-top { display: flex; align-items: flex-start; gap: 48px; padding-bottom: 36px; }
.brand-footer { margin-right: 0; padding: 12px 16px; border-radius: var(--radius); background: var(--paper); }
.brand-footer img { height: 72px; }
.footer-info { margin-left: auto; font-size: 15px; }
.footer-info strong { color: var(--white); }
.footer-top nav { display: flex; flex-direction: column; }
.footer-top nav a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; }
.footer-top nav a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid #3c4044; font-size: 13px; }
.credits summary { min-height: 32px; }
.credits ul { margin-top: 8px; padding-left: 18px; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Mobilbjælke ---------- */
.mobile-bar { display: none; }

/* ---------- Brudpunkter ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero-grid { gap: 40px; }
  .perk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-card-info { grid-column: 1 / -1; }
  .car-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
  .about-media { height: 380px; }
}

@media (max-width: 900px) {
  .main-nav a { padding: 0 10px; font-size: 14px; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-badge { left: 16px; bottom: 16px; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 70px; }
  .section-space { padding-block: 64px; }

  .header-inner { gap: 12px; }
  .brand img { height: 50px; }
  .header-cta { display: inline-flex; min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px;
    padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white);
  }
  .menu-toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; padding: 4px var(--gutter) 16px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(38, 41, 44, .1);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 52px; padding: 0 4px; border-top: 1px solid var(--line); border-radius: 0; font-size: 17px; }

  .hero { padding-block: 20px 48px; }
  .hero-grid { gap: 24px; }
  .hero-photo img { aspect-ratio: 16 / 10; border-radius: 18px; }
  .hero-badge { padding: 8px 14px 8px 8px; font-size: 14px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .hero-lead { font-size: 17px; }
  .hero-prices div { flex: 1; padding: 12px 14px; }
  .hero-prices strong { font-size: 23px; }
  .hero-actions .button { flex: 1; }

  .perk-list { grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-block: 22px; }
  .perk-list li { align-items: flex-start; gap: 10px; }
  .perk-list svg { width: 36px; height: 36px; padding: 8px; }
  .perk-list span { font-size: 13px; }
  .perk-list strong { font-size: 15px; }

  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading > p { margin-top: 12px; }
  .price-grid, .car-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card { padding: 22px; }
  .price strong { font-size: 38px; }

  .steps { grid-template-columns: 1fr; gap: 26px; margin: 34px 0 30px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed rgba(217, 148, 24, .6); }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-number { grid-row: 1 / 3; margin: 0; }
  .steps h3 { margin-top: 12px; font-size: 20px; }
  .how-cta { width: 100%; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { height: 340px; gap: 10px; }
  .about-facts div { flex: 1 1 40%; min-width: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-card { padding: 24px; }
  .contact-actions .button { flex: 1; }

  .footer-top { flex-wrap: wrap; gap: 24px; }
  .footer-info { margin-left: 0; flex-basis: 100%; }
  .footer-top nav { flex-direction: row; flex-wrap: wrap; gap: 0 20px; }
  .footer-top nav a { min-height: 44px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink);
    box-shadow: 0 -8px 30px rgba(38, 41, 44, .25); transform: translateY(110%); transition: transform .25s;
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .button { flex: 1; min-height: 46px; }
  .site-footer { padding-bottom: 76px; }
}

@media (max-width: 380px) {
  .brand img { height: 44px; }
  .header-cta { font-size: 13px; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
