/* ==========================================================================
   MUTLU AUTO · style.css
   Tokens (OKLCH) · base · layout · components · sections · motion
   ========================================================================== */

:root {
  /* Farver – se DESIGN.md */
  --bg:         oklch(1 0 0);
  --surface:    oklch(0.965 0.006 200);
  --ink:        oklch(0.21 0.025 210);
  --muted:      oklch(0.45 0.03 205);
  --line:       oklch(0.88 0.012 200);
  --teal:       oklch(0.42 0.08 200);
  --teal-600:   oklch(0.50 0.09 200);
  --teal-900:   oklch(0.30 0.06 200);
  --teal-tint:  oklch(0.95 0.02 200);
  --yellow:     oklch(0.86 0.17 88);
  --yellow-600: oklch(0.80 0.17 85);
  --error:      oklch(0.50 0.19 27);
  --focus:      var(--teal);

  /* Logomærke – farver kan vendes pr. kontekst */
  --mark-bg: var(--teal);
  --mark-fg: var(--yellow);

  /* Typografi */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  --text-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --text-h2: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  --text-h1: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);

  /* Rum */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1180px;
  --section: clamp(4rem, 3rem + 5vw, 8rem);
  --header-h: 4.5rem;

  /* Form */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-arc: clamp(72px, 12vw, 180px);

  /* Z-skala */
  --z-header: 20;
  --z-nav: 30;
  --z-skip: 40;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; hyphens: auto; }
h1 { font-size: var(--text-h1); font-weight: 900; font-stretch: 110%; letter-spacing: -0.02em; line-height: 0.98; hyphens: manual; }
h2 { font-size: var(--text-h2); font-weight: 800; font-stretch: 106%; letter-spacing: -0.015em; }
h3 { font-size: var(--text-h3); font-weight: 700; font-stretch: 102%; line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
figure { margin: 0; }
em { font-style: italic; }
a { color: inherit; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--yellow); color: var(--ink); }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: var(--z-skip);
  padding: 0.75rem 1rem; background: var(--ink); color: #fff; font-weight: 600;
  border-radius: var(--radius-sm); transform: translateY(-200%); transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   Knapper og links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 2.75rem; padding: 0.6em 1.2em;
  font: inherit; font-weight: 700; font-stretch: 100%; line-height: 1.1; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--lg { min-height: 3.25rem; padding: 0.8em 1.5em; font-size: 1.05rem; }
.btn--icon { width: 2.75rem; padding: 0; }

.btn--primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--primary:hover { background: var(--yellow-600); border-color: var(--yellow-600); }

.btn--outline-light { background: transparent; color: #fff; border-color: oklch(1 0 0 / 0.55); }
.btn--outline-light:hover { background: oklch(1 0 0 / 0.12); border-color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.35em;
  color: var(--teal); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid oklch(0.42 0.08 200 / 0.25);
  transition: border-color var(--dur-fast) var(--ease-out), gap var(--dur-fast) var(--ease-out);
}
.text-link:hover { border-color: var(--teal); gap: 0.55em; }
.text-link .icon { width: 1.1em; height: 1.1em; }

/* --------------------------------------------------------------------------
   Header og navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px oklch(0.21 0.025 210 / 0.35); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 2.5rem; height: 2.5rem; flex: none; }
.brand__name { font-size: 1.5rem; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.brand__name b { font-weight: 900; font-stretch: 112%; }
.brand__name span { font-weight: 500; color: var(--teal); }

.nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav__list a {
  display: inline-block; padding: 0.5rem 0; font-weight: 600; font-stretch: 96%; text-decoration: none;
  border-bottom: 2px solid transparent; transition: border-color var(--dur-fast) var(--ease-out);
}
.nav__list a:hover { border-color: var(--yellow); }

.site-header__tools { display: flex; align-items: center; gap: 0.5rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 1.6rem; height: 1.6rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
  .site-header__phone { display: none; }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-nav);
    display: none; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: 1.5rem var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
    background: var(--teal); color: #fff; --focus: var(--yellow);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; animation: nav-in 280ms var(--ease-out) both; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block; padding: 1rem 0; font-size: 2rem; font-weight: 800; font-stretch: 106%; letter-spacing: -0.015em;
    border-bottom: 1px solid oklch(1 0 0 / 0.18);
  }
  .nav__list a:hover { border-color: var(--yellow); }
  .nav__cta { width: 100%; min-height: 3.25rem; font-size: 1.1rem; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  background: var(--teal); color: #fff; --focus: var(--yellow);
}
.hero__copy {
  padding: clamp(3rem, 2rem + 5vw, 6rem) var(--gutter) clamp(2.5rem, 2rem + 3vw, 4.5rem);
  max-width: 40rem;
}
.hero__title { margin-bottom: 1.5rem; }
.hero__line { display: block; }

/* "glad." får logoets smil som understregning */
.smile {
  position: relative; display: inline-block; font-style: normal; color: #fff;
  padding-bottom: 0.06em;
}
.smile::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: -0.1em; height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'%3E%3Cpath d='M6 6A60 60 0 0 0 94 6' fill='none' stroke='%23ffc921' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero__lead { font-size: var(--text-lg); line-height: 1.5; max-width: 34rem; color: oklch(1 0 0 / 0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.25rem;
  font-size: var(--text-sm); font-weight: 600; font-stretch: 96%; color: oklch(1 0 0 / 0.85);
}
.hero__facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero__facts li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--yellow); flex: none; }

.hero__media { position: relative; min-height: 18rem; }
.hero__media img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%;
  border-top-left-radius: var(--radius-arc);
}

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); min-height: min(46rem, calc(100svh - var(--header-h))); }
  .hero__copy {
    align-self: center; max-width: none;
    padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-inline-end: clamp(2rem, 4vw, 4rem);
  }
  .hero__media { min-height: 100%; }
  .hero__media img { position: absolute; inset: 0; aspect-ratio: auto; object-position: 55% 50%; }
}

/* --------------------------------------------------------------------------
   Ydelser
   -------------------------------------------------------------------------- */
.services { padding-block: var(--section); }
.services__grid { display: grid; gap: 2.5rem; }
.services__intro > p { margin-top: 1.25rem; color: var(--muted); max-width: 32rem; }
.services__photo { margin-top: 2rem; }
.services__photo img { border-radius: var(--radius-md); border-bottom-right-radius: var(--radius-arc); }
@media (max-width: 899px) {
  .services__photo img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 35%; }
}

.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem 1.25rem; align-items: start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.service__icon {
  width: 2.75rem; height: 2.75rem; padding: 0.55rem; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal);
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.service p { margin-top: 0.5rem; color: var(--muted); max-width: 60ch; }
.service .text-link { margin-top: 0.9rem; }

@media (min-width: 900px) {
  .services__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .services__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .service { grid-template-columns: 3rem 1fr; padding: 1.75rem 0.5rem; }
  .service:hover { background: var(--surface); }
}

/* --------------------------------------------------------------------------
   Sådan foregår det
   -------------------------------------------------------------------------- */
.process { padding-block: var(--section); background: var(--surface); }
.process__head { max-width: 40rem; }
.process__head p { margin-top: 0.75rem; font-size: var(--text-lg); color: var(--muted); }

.steps { display: grid; gap: 2rem; margin-top: 3rem; counter-reset: step; }
.step { display: grid; gap: 0.6rem; align-content: start; padding-top: 1.25rem; border-top: 3px solid var(--teal); }
.step__num {
  font-size: 3.5rem; font-weight: 900; font-stretch: 125%; line-height: 1; color: var(--teal); letter-spacing: -0.02em;
}
.step p { color: var(--muted); }

.process__note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-top: 3rem; padding: 1.1rem 1.25rem;
  background: var(--yellow); color: var(--ink); border-radius: var(--radius-sm);
  font-weight: 600; max-width: 46rem;
}
.process__note .icon { margin-top: 0.1em; stroke-width: 2.25; }

@media (max-width: 759px) {
  .step { grid-template-columns: 3.25rem 1fr; column-gap: 1rem; }
  .step__num { grid-row: 1 / span 2; font-size: 2.75rem; }
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
}

/* --------------------------------------------------------------------------
   Fotobånd
   -------------------------------------------------------------------------- */
.band { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0; }
.band__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 22rem); gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-inline: var(--gutter); padding-bottom: 0.5rem; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.band__track::-webkit-scrollbar { display: none; }
.band__item { scroll-snap-align: start; }
.band__item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius-sm); }
.band__item figcaption { margin-top: 0.6rem; font-size: var(--text-sm); font-weight: 600; font-stretch: 96%; color: var(--muted); }

@media (min-width: 900px) {
  .band__track {
    grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
    overflow: visible; padding-inline: 0; padding-bottom: 0;
    width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  }
}

/* --------------------------------------------------------------------------
   Biler
   -------------------------------------------------------------------------- */
.cars {
  margin-top: var(--section); padding-block: var(--section);
  background: var(--teal-900); color: #fff; --focus: var(--yellow);
}
.cars__grid { display: grid; gap: 3rem; }
.cars .lead { margin-top: 1.25rem; font-size: var(--text-lg); color: oklch(1 0 0 / 0.85); max-width: 34rem; }

.offers { display: grid; gap: 0; margin-top: 2.25rem; border-top: 1px solid oklch(1 0 0 / 0.2); }
.offer { padding: 1.4rem 0; border-bottom: 1px solid oklch(1 0 0 / 0.2); }
.offer h3 { color: var(--yellow); }
.offer p { margin-top: 0.5rem; color: oklch(1 0 0 / 0.85); max-width: 52ch; }
.cars__copy .btn { margin-top: 2rem; }

.cars__media { position: relative; }
.cars__img { border-radius: var(--radius-md); }
.cars__img--hall { border-bottom-right-radius: var(--radius-arc); }
.cars__img--key {
  width: 56%; margin-top: -18%; margin-left: 0; margin-right: auto;
  border: 6px solid var(--teal-900);
  box-shadow: 0 24px 48px -24px oklch(0 0 0 / 0.6);
}

@media (min-width: 900px) {
  .cars__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); }
  .cars__img--key { width: 46%; margin-top: -20%; margin-left: -8%; }
}

/* --------------------------------------------------------------------------
   Om os
   -------------------------------------------------------------------------- */
.about { padding-block: var(--section); }
.about__grid { display: grid; gap: 2.5rem; }
.about__photo img { border-radius: var(--radius-md); border-top-left-radius: var(--radius-arc); }
.about__copy > p { margin-top: 1.25rem; max-width: 58ch; }
.about__copy > p + p { margin-top: 1em; }
.about__copy em { font-style: italic; font-weight: 600; }
.about__subtitle { margin-top: 2rem; font-size: 1.1rem; }
.promises { display: grid; gap: 0.6rem; margin-top: 1rem; }
.promises li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.promises .icon { color: var(--teal); stroke-width: 2.25; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); }
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact { padding-block: var(--section); background: var(--surface); }
.contact__grid { display: grid; gap: 3rem; }
.contact__info > p { margin-top: 1.25rem; color: var(--muted); max-width: 36rem; }

.contact__list { display: grid; gap: 1.75rem; margin-top: 2.5rem; }
.contact__list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 1rem; align-items: start; }
.contact__list .icon { width: 1.5rem; height: 1.5rem; color: var(--teal); margin-top: 0.15rem; }
.contact__label { display: block; font-size: var(--text-sm); font-weight: 600; font-stretch: 96%; color: var(--muted); margin-bottom: 0.2rem; }
.contact__big { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); font-weight: 800; font-stretch: 106%; letter-spacing: -0.01em; text-decoration: none; }
.contact__big:hover { color: var(--teal); }
.contact__list a:not(.contact__big):not(.text-link) { text-decoration: underline; text-underline-offset: 0.15em; }
.contact__list a:not(.contact__big):not(.text-link):hover { color: var(--teal); }
.contact__list .text-link { margin-top: 0.5rem; }

.hours { border-collapse: collapse; }
.hours th, .hours td { padding: 0.15rem 0; text-align: left; font-weight: 400; }
.hours th { padding-right: 1.5rem; font-weight: 600; }

/* Formular */
.form {
  background: var(--bg); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-md);
  border: 1px solid var(--line); display: grid; gap: 1.25rem; align-content: start;
}
.form__title { font-size: 1.35rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field label span { color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0 0.9rem;
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid oklch(0.72 0.02 200); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 8rem; padding: 0.75rem 0.9rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23091b1f' 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.8rem center; background-size: 1.1rem; padding-right: 2.6rem;
}
.field input::placeholder, .field textarea::placeholder { color: oklch(0.5 0.02 205); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px oklch(0.42 0.08 200 / 0.25);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { display: none; font-size: 0.85rem; font-weight: 600; color: var(--error); }
.field.is-invalid .field__error { display: block; }

.form__actions { display: grid; gap: 0.9rem; margin-top: 0.25rem; }
.form__actions .btn { justify-self: start; }
.form__privacy { font-size: 0.85rem; color: var(--muted); }
.form__status { display: none; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form__status.is-success { display: block; background: var(--teal-tint); color: var(--teal-900); }
.form__status.is-error { display: block; background: oklch(0.95 0.03 27); color: var(--error); }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: oklch(1 0 0 / 0.85); --focus: var(--yellow);
  --mark-bg: var(--yellow); --mark-fg: var(--teal-900);
  padding-block: clamp(3rem, 5vw, 5rem) 1.5rem;
}
.site-footer__grid { display: grid; gap: 2.5rem; }
.site-footer__mark { width: 4rem; height: 4rem; }
.site-footer__name { margin-top: 1rem; font-size: 1.6rem; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.site-footer__name b { font-weight: 900; font-stretch: 112%; }
.site-footer__tagline { margin-top: 0.5rem; color: var(--yellow); font-weight: 600; }
.site-footer__col h2 { font-size: 1rem; font-weight: 700; font-stretch: 100%; color: #fff; margin-bottom: 0.9rem; letter-spacing: 0; }
.site-footer__col ul { display: grid; gap: 0.45rem; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 0.15em; }
.site-footer__col p + p, .site-footer__col address + p { margin-top: 0.75rem; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid oklch(1 0 0 / 0.15);
  font-size: var(--text-sm); color: oklch(1 0 0 / 0.65);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: inherit; }

@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__line, .hero__lead, .hero__actions, .hero__facts {
    animation: rise 720ms var(--ease-out) both;
  }
  .hero__line:nth-child(2) { animation-delay: 80ms; }
  .hero__lead { animation-delay: 180ms; }
  .hero__actions { animation-delay: 260ms; }
  .hero__facts { animation-delay: 340ms; }
  .smile::after { animation: draw-smile 700ms var(--ease-out) 520ms both; }
  .hero__media img { animation: unveil 900ms var(--ease-out) 120ms both; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation-name: rise;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes unveil {
  from { clip-path: inset(0 100% 0 0); opacity: 0.6; }
  to   { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes draw-smile {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .hero__actions, .band, .form, .skip-link { display: none !important; }
  .reveal, .hero__line, .hero__lead, .hero__facts, .hero__media img, .smile::after { animation: none !important; opacity: 1 !important; clip-path: none !important; }
  .hero, .cars, .site-footer { color: #000 !important; background: #fff !important; }
  .hero__lead, .cars .lead, .offer p, .site-footer { color: #000 !important; }
  .offer h3, .site-footer__tagline { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
