/* ==========================================================================
   AS Immobilien – Stylesheet
   Maße und Farben nach Design-Handoff (Prototyp „AS Immobilien - Website“).
   Container-Query-Einheiten (cqw) des Prototyps → vw.
   ========================================================================== */

/* ---- Fonts (lokal, SIL OFL) ------------------------------------------- */
@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/albert-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/albert-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/albert-sans-latin-600-normal.woff2") format("woff2");
}

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --black: #0e0e0e;
  --white: #ffffff;
  --putz: #f4f1ec;
  --bordeaux: #7a1e2e;
  --bordeaux-hover: #5e1523;
  --text-2: #3e4448;
  --muted: #6b6b6b;
  --line: #e6e4df;
  --grey-on-black: #c9c6c0;
  --line-on-black: #3a3a3a;

  --serif: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --pad-x: clamp(24px, 5vw, 48px);
  --pad-section: clamp(56px, 7vw, 104px);
  --content: 1120px;
}

/* ---- Base -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
  text-wrap: pretty;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  text-wrap: balance;
}
img {
  max-width: 100%;
  height: auto; /* width/height-Attribute nur als Platzhalter, CSS-Seitenverhältnis gewinnt */
  display: block;
}
a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--black);
}
input,
select,
textarea,
button {
  font-family: var(--sans);
}
:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 12px 16px;
  font: 600 14px/1 var(--sans);
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* ---- Komponenten ------------------------------------------------------- */
.btn {
  display: inline-block;
  font: 600 16px/1 var(--sans);
  padding: 16px 24px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn--primary {
  background: var(--bordeaux);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--bordeaux-hover);
  color: var(--white);
}
.btn--primary.btn--lg {
  padding: 17px 26px;
}
.btn--secondary {
  border: 1px solid var(--black);
  color: var(--black);
  background: transparent;
  padding: 15px 24px;
}
.btn--secondary:hover {
  background: var(--black);
  color: var(--white);
}
.btn--inverse {
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  padding: 15px 24px;
}
.btn--inverse:hover {
  background: var(--white);
  color: var(--black);
}

.textlink {
  font: 600 16px/1 var(--sans);
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--bordeaux);
}
.textlink:hover {
  color: var(--bordeaux);
}
.textlink--lg {
  font-size: 18px;
}

.eyebrow {
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.on-black .eyebrow,
.eyebrow--light {
  color: var(--grey-on-black);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Section-Layout */
.section {
  padding: var(--pad-section) var(--pad-x);
  max-width: var(--content);
  margin: 0 auto;
}
.section--flush-bottom {
  padding-bottom: 0;
}
.section--flush-top {
  padding-top: 0;
}
.band {
  padding: var(--pad-section) var(--pad-x);
}
.band--putz {
  background: var(--putz);
}
.band--black,
.on-black {
  background: var(--black);
  color: var(--white);
}
.band__inner {
  max-width: var(--content);
  margin: 0 auto;
}
.h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.15;
}
.h2--balance {
  text-wrap: balance;
}
.lead {
  font: 400 17px/1.6 var(--sans);
  color: var(--text-2);
}
.on-black .lead {
  color: var(--grey-on-black);
}
.stack-16 {
  display: grid;
  gap: 16px;
}
.stack-18 {
  display: grid;
  gap: 18px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px;
  align-items: start;
}
.grid-2--wide {
  gap: clamp(32px, 5vw, 64px);
}
.grid-2--center {
  align-items: center;
}
.grid-2--320 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 40px;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.grid-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}

/* Kachel mit Linie oben */
.tile {
  display: grid;
  gap: 12px;
  align-content: start;
  border-top: 1px solid var(--black);
  padding-top: 20px;
}
.on-black .tile {
  border-top-color: var(--muted);
}
.tile__title {
  font: 600 18px/1.3 var(--sans);
}
.tile__text {
  font: 400 15px/1.55 var(--sans);
  color: var(--text-2);
}
.on-black .tile__text {
  color: var(--grey-on-black);
}
.tile__num {
  font: 400 44px/1 var(--serif);
  color: var(--bordeaux);
}
.on-black .tile__num {
  color: var(--white);
}

/* ---- Header ------------------------------------------------------------ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header__desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(24px, 4vw, 48px);
}
.header__mobile {
  display: none;
  gap: 14px;
  padding: 18px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--black);
}
.logo:hover {
  color: var(--black);
}
.logo__mark {
  font: 400 40px/1 var(--serif);
  letter-spacing: -0.04em;
}
.logo__rule {
  width: 1px;
  height: 30px;
  background: var(--black);
}
.logo__word {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo--small {
  gap: 12px;
}
.logo--small .logo__mark {
  font-size: 34px;
}
.logo--small .logo__rule {
  height: 26px;
}
.logo--small .logo__word {
  font-size: 11px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 28px;
}
.nav__link {
  font: 500 16px/1 var(--sans);
  color: var(--black);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover {
  color: var(--bordeaux);
}
.nav__link[aria-current="page"] {
  border-bottom-color: var(--bordeaux);
}
.nav__cta {
  font-size: 15px;
  padding: 14px 22px;
}
.header__mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__call {
  font: 600 14px/1 var(--sans);
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  padding: 12px 0;
}
.nav--mobile {
  justify-content: flex-start;
  gap: 8px 20px;
}
.nav--mobile .nav__link {
  font-size: 15px;
  line-height: 1.4;
  padding: 6px 0;
}

@media (min-width: 1000px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 20;
  }
}
@media (max-width: 999px) {
  .header__desktop {
    display: none;
  }
  .header__mobile {
    display: grid;
  }
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  background: var(--putz);
}
.hero__text {
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px);
  display: grid;
  gap: 20px;
  align-content: center;
  height: clamp(420px, 46vw, 480px);
}
.hero--start .hero__text {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px);
  gap: 26px;
  height: auto;
}
.hero__title {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
}
.hero--start .hero__title {
  font-size: clamp(38px, 5.2vw, 64px);
}
.hero__sub {
  font: 400 17px/1.55 var(--sans);
  color: var(--text-2);
  max-width: 480px;
}
.hero--start .hero__sub {
  font-size: 18px;
}
.hero__media {
  position: relative;
  min-height: 300px;
}
.hero--start .hero__media {
  min-height: 440px;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.hero__media img.hero__img--mobile {
  display: none;
}
.op-67-50 { --pos: 67% 50%; }
.op-50-55 { --pos: 50% 55%; }
.op-50-45 { --pos: 50% 45%; }
.op-50-60 { --pos: 50% 60%; }
.op-45-55 { --pos: 45% 55%; }
@media (max-width: 999px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .hero--start .hero__media {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }
  .hero__text,
  .hero--start .hero__text {
    height: auto;
    gap: 14px;
  }
  .hero--start .hero__media img.hero__img--desktop {
    display: none;
  }
  .hero--start .hero__media img.hero__img--mobile {
    display: block;
    object-position: 50% 50%;
  }
}

/* ---- Startseite: Vorstellung ------------------------------------------ */
.intro {
  display: grid;
  gap: 48px;
}
.intro__text {
  display: grid;
  gap: 16px;
  font: 400 17px/1.6 var(--sans);
  color: var(--text-2);
}

/* ---- Startseite: Verkaufen / Kaufen ------------------------------------ */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.split__card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  align-content: start;
  border-top: 1px solid var(--muted);
  padding-top: 28px;
}
.split__title {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.12;
}
.split__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
  align-self: end;
  margin-top: 8px;
}

/* ---- Referenzen -------------------------------------------------------- */
.refs {
  display: grid;
  gap: 36px;
}
.refs__head {
  display: grid;
  gap: 14px;
  max-width: 720px;
}
.ref {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  align-content: start;
}
.ref__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ref__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) saturate(0.6);
  opacity: 0.88;
}
.ref__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--black);
  color: var(--white);
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 12px;
}
.ref__body {
  display: grid;
  gap: 14px;
  padding: 0 24px 24px;
}
.ref__title {
  font: 400 24px/1.2 var(--serif);
}
.ref__place {
  font: 400 14px/1.4 var(--sans);
  color: var(--muted);
  margin-top: 2px;
}
.ref__data {
  display: grid;
  gap: 6px;
  font: 400 15px/1.5 var(--sans);
  color: var(--text-2);
}
.ref__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.ref__row dt {
  color: var(--muted);
}
.ref__row dd {
  margin: 0;
  font-weight: 500;
  color: var(--black);
  text-align: right;
}

/* ---- Unterseiten: Alex-Vorstellung ------------------------------------- */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 72% 50%;
}
.about__title {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  text-wrap: balance;
}

/* ---- Leistungen -------------------------------------------------------- */
.services {
  display: grid;
  gap: 36px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--white);
  padding: 28px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.service__title {
  font: 600 17px/1.3 var(--sans);
}
.service__text {
  font: 400 15px/1.55 var(--sans);
  color: var(--text-2);
}
.note {
  font: 400 14px/1.5 var(--sans);
  color: var(--muted);
  max-width: 720px;
}

/* ---- Ablauf / Schritte ------------------------------------------------- */
.steps {
  display: grid;
  gap: 40px;
}

/* ---- Wert und Region --------------------------------------------------- */
.value {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  align-items: center;
}
.value__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---- Hinweisbox (Kaufen) ----------------------------------------------- */
.notice {
  background: var(--putz);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  align-items: center;
}
.notice__head {
  display: grid;
  gap: 8px;
}
.notice__title {
  font: 400 26px/1.2 var(--serif);
}
.notice__text {
  font: 400 16px/1.6 var(--sans);
  color: var(--text-2);
}
.notice .btn {
  justify-self: start;
}

/* ---- Leerstands-Box (Angebote) ----------------------------------------- */
.empty {
  border: 1px solid var(--black);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  gap: 24px;
}
.empty__head {
  display: grid;
  gap: 10px;
  max-width: 720px;
}
.empty__title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}
.section--offers {
  padding: clamp(48px, 6vw, 88px) var(--pad-x);
}

/* ---- FAQ --------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 32px;
}
.faq__list {
  display: grid;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__h {
  margin: 0;
  font: inherit;
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  font: 400 22px/1.3 var(--serif);
  color: var(--black);
}
.faq__icon {
  font: 400 28px/1 var(--sans);
  color: var(--bordeaux);
  flex: none;
}
.faq__icon::before {
  content: "+";
}
.faq__q[aria-expanded="true"] .faq__icon::before {
  content: "–";
}
.faq__a {
  padding: 0 0 24px;
  font: 400 16px/1.6 var(--sans);
  color: var(--text-2);
  max-width: 760px;
}
.faq__a[hidden] {
  display: none;
}

/* ---- Kontaktbereich ---------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  scroll-margin-top: 16px;
}
.contact__person {
  display: grid;
  gap: 24px;
}
.contact__portrait {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 22%;
}
.contact__name {
  font: 400 30px/1.2 var(--serif);
}
.contact__links {
  display: grid;
  gap: 10px;
  font: 600 22px/1.3 var(--sans);
}
.contact__links a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--bordeaux);
}
.contact__links a:hover {
  color: var(--bordeaux);
}
.contact__address {
  font: 400 15px/1.5 var(--sans);
  color: var(--muted);
  margin-top: 14px;
}
.contact__address strong {
  font-weight: 600;
  color: var(--black);
}
.contact__form-col {
  display: grid;
  gap: 22px;
}
.contact__title {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
}

.form {
  display: grid;
  gap: 14px;
}
.form__field {
  display: grid;
  gap: 6px;
  font: 500 14px/1.3 var(--sans);
  color: var(--black);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font: 400 16px/1 var(--sans);
  padding: 0 14px;
  height: 48px;
}
.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230E0E0E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form__textarea {
  height: auto;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.form__hint {
  font: 400 13px/1.5 var(--sans);
  color: var(--muted);
}
.form__error {
  border: 1px solid var(--bordeaux);
  color: var(--bordeaux);
  padding: 12px 14px;
  font: 500 14px/1.5 var(--sans);
}
.form__error[hidden] {
  display: none;
}
.form__submit {
  justify-self: start;
  padding: 17px 28px;
}
.form__submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}
/* Honeypot – für Menschen unsichtbar */
.form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__success {
  border: 1px solid var(--black);
  padding: 28px;
  display: grid;
  gap: 10px;
}
.form__success[hidden] {
  display: none;
}
.form__success-title {
  font: 400 24px/1.2 var(--serif);
}
.form__success p {
  font: 400 16px/1.6 var(--sans);
  color: var(--text-2);
}

/* ---- Rechtstexte (Impressum / Datenschutz) ----------------------------- */
.legal {
  padding: clamp(48px, 6vw, 88px) var(--pad-x) clamp(64px, 8vw, 120px);
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  font: 400 16px/1.6 var(--sans);
  color: var(--text-2);
}
.legal h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  color: var(--black);
}
.legal__block {
  display: grid;
  gap: 6px;
}
.legal__block--wide {
  gap: 8px;
}
.legal__label {
  margin-bottom: 6px;
}
.legal h2 {
  font-size: 24px;
  line-height: 1.2;
  color: var(--black);
}
.legal strong {
  color: var(--black);
  font-weight: 500;
}
.legal a:hover {
  color: var(--black);
}
.legal__todo {
  background: var(--putz);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
}

/* ---- Footer ------------------------------------------------------------ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(48px, 6vw, 72px) var(--pad-x);
}
.footer__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 48px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 48px;
  align-items: start;
}
.footer__brand {
  display: grid;
  gap: 28px;
  align-content: start;
}
.logo-stacked {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.logo-stacked__mark {
  font: 400 72px/1 var(--serif);
  letter-spacing: -0.04em;
}
.logo-stacked__rule {
  width: 100%;
  max-width: 150px;
  height: 1px;
  background: var(--white);
}
.logo-stacked__word {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer__claim {
  color: var(--grey-on-black);
  font: 400 20px/1.35 var(--serif);
  max-width: 320px;
}
.footer__address {
  font-style: normal;
  display: grid;
  gap: 20px;
  align-content: start;
  font: 400 16px/1.6 var(--sans);
  color: var(--grey-on-black);
}
.footer__address strong {
  display: block;
  font-weight: 600;
  color: var(--white);
}
.footer__contact {
  display: grid;
  gap: 6px;
  font-weight: 600;
}
.footer__contact a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--bordeaux);
}
.footer__contact a:hover {
  color: var(--grey-on-black);
}
.footer__nav {
  display: grid;
  align-content: start;
  font: 400 22px/1.2 var(--serif);
}
.footer__nav a {
  color: var(--white);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-black);
}
.footer__nav a:first-child {
  padding-top: 0;
}
.footer__nav a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.footer__nav a:hover {
  color: var(--grey-on-black);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--line-on-black);
  padding-top: 20px;
  font: 400 14px/1.5 var(--sans);
  color: var(--muted);
}
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal a {
  color: var(--grey-on-black);
  text-decoration: none;
}
.footer__legal a:hover {
  color: var(--white);
}

/* ---- 404 --------------------------------------------------------------- */
.error-page {
  padding: clamp(64px, 10vw, 140px) var(--pad-x);
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
