/* Reinigung Hamburg – gemeinsames Stylesheet für alle drei Seiten.
   Farben, Schrift: per Seite in config.php (head.php setzt --accent, --bg, --soft).
   Linie: keine Schatten, keine Verläufe, Haarlinien statt Karten, Schrift nie unter 16 px. */

:root {
  --ink: #15181c;
  --ink-2: #33383f;
  --muted: #5a6068;
  --line: #dedbd4;
  --line-strong: #c8c4bb;
  --paper: #fff;
  --font: "Brand", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --wide: 1440px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --header: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
}
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm { min-height: 46px; padding: 10px 20px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 520px) {
  .actions .btn { flex: 1 1 100%; }
}

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
.tlink::after { content: "→"; transition: transform .25s; }
.tlink:hover::after, a:hover .tlink::after { transform: translateX(4px); }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.kicker__num { color: var(--ink); font-variant-numeric: tabular-nums; }
.kicker__num::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-left: 14px;
  vertical-align: middle;
  background: currentColor;
}
.kicker--light, .kicker--light .kicker__num { color: rgba(255, 255, 255, .78); }

.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1rem + .45vw, 1.3rem);
  line-height: 1.6;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
  }
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name {
  display: flex;
  flex-direction: column;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand__name small { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.nav__link:hover, .nav__link[aria-current="page"] { border-color: var(--accent); }
.nav__cta { margin-left: 6px; }

.menu-btn { display: none; font-size: 1rem; }

@media (max-width: 1119px) {
  .nav { flex-wrap: wrap; gap: 8px 20px; }
  .js .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 8px 0 8px 12px;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .menu-btn__icon, .menu-btn__icon::before, .menu-btn__icon::after {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s, background-color .25s;
  }
  .menu-btn__icon { position: relative; }
  .menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; }
  .menu-btn__icon::before { top: -7px; }
  .menu-btn__icon::after { top: 7px; }
  [data-open] .menu-btn__icon { background: transparent; }
  [data-open] .menu-btn__icon::before { transform: translateY(7px) rotate(45deg); }
  [data-open] .menu-btn__icon::after { transform: translateY(-7px) rotate(-45deg); }

  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header));
    overflow-y: auto;
    padding: 4px var(--gut) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .js [data-open] .nav { display: flex; }
  .js .nav__link {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1875rem;
  }
  .js .nav__link[aria-current="page"] { color: var(--accent-ink); border-color: var(--line); }
  .js .nav__cta { margin: 20px 0 0; min-height: 54px; }
}

@media (max-width: 1119px) {
  html:not(.js) .site-header__bar { flex-wrap: wrap; padding-block: 12px; }
}

/* ---------- Bilder ---------- */

.media { position: relative; overflow: hidden; background: var(--soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .media--drift img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    @keyframes drift {
      from { transform: scale(1.08); }
      to { transform: scale(1); }
    }
  }
}

/* ---------- Startseiten-Hero ---------- */

.hero { padding-top: clamp(40px, 6vw, 96px); }
.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero__sub {
  display: grid;
  gap: 28px;
  margin-top: clamp(24px, 3vw, 44px);
}
@media (min-width: 960px) {
  .hero__sub { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 72px; }
}
.hero__media {
  max-width: var(--wide);
  margin: clamp(40px, 5vw, 72px) auto 0;
  padding-inline: var(--gut);
}
.hero__media .media img { aspect-ratio: 4 / 3; }
@media (min-width: 700px) {
  .hero__media .media img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1100px) {
  .hero__media .media img { aspect-ratio: 2 / 1; }
}

.facts {
  display: grid;
  gap: 0 40px;
  margin: 0;
  padding: clamp(32px, 4vw, 56px) 0 0;
  list-style: none;
}
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { padding: 20px 0 24px; border-top: 1px solid var(--ink); }
.facts strong { display: block; margin-bottom: 6px; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.facts span { display: block; color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* ---------- Unterseiten-Hero ---------- */

.phero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.phero__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .phero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 72px; }
}
.phero h1 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.phero .actions { margin-top: 32px; }
.phero__media .media img { aspect-ratio: 4 / 3; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1rem;
}
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Sektionen ---------- */

.section { padding: var(--sec) 0; }
.section--soft { background: var(--soft); }
.section--line { border-top: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }

.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 960px) {
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 72px; }
}
.sec-head h2, .h2 {
  max-width: 20ch;
  font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.sec-head > p { margin: 0; max-width: 58ch; color: var(--ink-2); }

/* Leistungs-Zeilen */
.services { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.service { border-bottom: 1px solid var(--line); }
.service > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 32px 0;
  text-decoration: none;
}
@media (min-width: 900px) {
  .service > a { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 340px); gap: 48px; align-items: center; padding: 44px 0; }
}
.service__num { color: var(--accent-ink); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .service__num { align-self: start; padding-top: 10px; } }
.service h3 { margin-bottom: 12px; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.2rem); letter-spacing: -0.025em; transition: color .2s; }
.service p { max-width: 60ch; margin: 0 0 18px; color: var(--ink-2); }
.service .media img { aspect-ratio: 3 / 2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.service > a:hover h3 { color: var(--accent-ink); }
.service > a:hover .media img { transform: scale(1.035); }
@media (max-width: 899px) { .service .media { order: -1; } }

/* Ablauf */
.steps {
  display: grid;
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { padding: 24px 0 36px; border-top: 1px solid var(--ink); }
.step__num {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 10px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--ink-2); }

/* Text + Bild */
.split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; }
  .split--top { align-items: start; }
  .split--rev > .split__media { order: 2; }
  .split__media--sticky { position: sticky; top: calc(var(--header) + 32px); }
}
.split__media .media img { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .split__media--tall .media img { aspect-ratio: 4 / 5; }
}
.split__media figcaption { margin-top: 12px; color: var(--muted); font-size: 1rem; }

/* Fließtext */
.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin: 56px 0 20px;
  font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.prose h3 { margin: 40px 0 12px; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose a:hover { color: var(--accent-ink); }
.prose ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
.prose ul li { position: relative; margin: 10px 0; padding-left: 30px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 16px;
  height: 1.5px;
  background: var(--accent);
}
.prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose ol li { margin: 10px 0; padding-left: 6px; }
.prose ol li::marker { color: var(--accent-ink); font-weight: 600; }

.note {
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  color: var(--ink-2);
}
.note p:last-child { margin-bottom: 0; }

/* Leistungsumfang mit Haken */
.checklist {
  display: grid;
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
@media (min-width: 760px) { .checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checklist li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  width: 16px;
  height: 9px;
  margin-top: .45em;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist strong { display: block; font-weight: 600; line-height: 1.4; }
.checklist span { display: block; margin-top: 4px; color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* Tabellen */
.table-wrap { overflow-x: auto; margin: 8px 0 32px; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
.table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.55;
}
.table th, .table td { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.table tbody th { font-weight: 600; color: var(--ink); }
.table td { color: var(--ink-2); }

/* Handy: Tabellenzeilen untereinander, Spaltenname aus data-label (setzt footer.php) */
@media (max-width: 699px) {
  .js .table { min-width: 0; }
  .js .table thead { display: none; }
  .js .table tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .js .table th, .js .table td { display: block; padding: 0; border: 0; }
  .js .table tbody th { margin-bottom: 8px; font-size: 1.125rem; }
  .js .table td + td, .js .table th + td { margin-top: 10px; }
  .js .table td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
}

/* Einsatzgebiet */
.areas {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2 130px;
  column-gap: 40px;
  border-top: 1px solid var(--ink);
}
@media (min-width: 900px) { .areas { columns: 4; } }
.areas li { padding: 13px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* FAQ */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 88px; align-items: start; }
  .faq-layout > :first-child { position: sticky; top: calc(var(--header) + 32px); }
}
.faq-layout .h2 { margin-bottom: 20px; }
.faq-layout p { color: var(--ink-2); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent-ink);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: .9;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq__a { max-width: 66ch; padding: 0 0 28px; color: var(--ink-2); }
.faq__a p { margin: 0; }
.faq__a a { text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Querverweise am Seitenende */
.related { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; } }
.related li { border-bottom: 1px solid var(--line); }
.related a { display: block; padding: 26px 0 28px; text-decoration: none; }
.related strong { display: block; margin-bottom: 8px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; transition: color .2s; }
.related span { display: block; margin-bottom: 14px; color: var(--muted); font-size: 1rem; }
.related a:hover strong { color: var(--accent-ink); }
.related .tlink { display: inline-flex; margin-bottom: 0; color: var(--ink); font-size: inherit; }

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; } }
.contact-item { padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.contact-item__label { margin: 0 0 12px; color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.contact-item__value {
  display: inline-block;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
}
.contact-item__value:hover { color: var(--accent-ink); }
.contact-item p { margin: 16px 0 0; color: var(--ink-2); }
.copy-btn {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
  cursor: pointer;
}
.copy-btn:hover { text-decoration-color: var(--accent); }

/* ---------- Rechtliches ---------- */

.legal { max-width: 76ch; }
.legal h2 { margin: 48px 0 14px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); letter-spacing: -0.02em; }
.legal h3 { margin: 32px 0 10px; font-size: 1.2rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal address { font-style: normal; }
.legal a { text-decoration-color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }

/* ---------- Abschluss-Band ---------- */

.cta-band { padding: clamp(72px, 9vw, 120px) 0; background: var(--ink); color: #fff; }
.cta-band__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .cta-band__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 80px; }
}
.cta-band h2 { max-width: 17ch; font-size: clamp(2rem, 1.35rem + 2.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em; }
.cta-band p { max-width: 54ch; margin: 20px 0 0; color: rgba(255, 255, 255, .8); }
.cta-band__mail {
  display: inline-block;
  margin-bottom: 28px;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
}
.cta-band__mail:hover { text-decoration-color: #fff; }

/* ---------- Footer ---------- */

.site-footer { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--soft); font-size: 1rem; }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 56px; } }
.site-footer__about p { max-width: 42ch; margin: 22px 0 0; color: var(--ink-2); }
.site-footer__contact a { text-decoration: none; }
.site-footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__title { margin: 0 0 14px; color: var(--muted); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 9px 0; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
}
.site-footer__bottom p { margin: 0; }

/* ---------- 404 ---------- */

.notfound { padding: clamp(80px, 12vw, 160px) 0; }
.notfound h1 { max-width: 16ch; margin-bottom: 24px; font-size: clamp(2.25rem, 1.4rem + 3vw, 3.8rem); letter-spacing: -0.03em; }

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