/* DM-Gestalter - Garten- und Landschaftsbau */

:root {
  --green-900: #183C2B;
  --green-700: #3F6B4F;
  --green-500: #6F8F62;
  --green-300: #A7B895;
  --sand-100: #F4F1E8;
  --sand-200: #DDD3BE;
  --ink: #202521;
  --white: #FFFFFF;
  --muted: #5A645C;
  --bg: var(--sand-100);
  --bg-soft: #EDE8DC;
  --surface: var(--white);
  --text: var(--ink);
  --text-soft: var(--muted);
  --brand: var(--green-900);
  --brand-mid: var(--green-700);
  --accent: var(--green-500);
  --line: rgba(32, 37, 33, 0.12);
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;
  --radius: 4px;
  --header-h: 4.25rem;
  --container: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--brand-mid); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--brand);
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; }

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

.section { padding: var(--space-7) 0; }
.section-tight { padding: var(--space-6) 0; }

.eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-mid);
}

h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}

h1, .h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2, .h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-soft);
  max-width: 40rem;
}

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-6);
}

.section-head .eyebrow {
  font-size: 0.875rem;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  margin-bottom: 0.85rem;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 34rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-mid); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--green-300);
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.btn-small {
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
}

.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(24, 60, 43, 0.06);
  background: rgba(244, 241, 232, 0.97);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo:hover { color: inherit; }

.logo-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50% 45% 50% 45%;
  background:
    radial-gradient(circle at 35% 35%, var(--green-300), transparent 55%),
    linear-gradient(145deg, var(--green-700), var(--green-900));
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-block;
  padding: 0.45rem 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-list a:hover { color: var(--brand); }

.nav-mobile-list a:not(.btn) {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--brand);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.nav-mobile[hidden] { display: none !important; }

.nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem 1.25rem;
  display: grid;
  gap: 0.25rem;
}

.nav-mobile-list a {
  display: block;
  padding: 0.85rem 0.35rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 550;
  border-bottom: 1px solid var(--line);
}

.nav-mobile-list li:last-child a {
  border-bottom: 0;
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .nav-toggle,
  .nav-mobile { display: none !important; }
}

.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 22s var(--ease) infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(24, 60, 43, 0.35) 0%, rgba(24, 60, 43, 0.55) 42%, rgba(20, 32, 26, 0.82) 100%);
}

.hero-content {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: 6.5rem 0 3.5rem;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  color: var(--white);
  max-width: 12ch;
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.intro {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.intro-copy p {
  color: var(--text-soft);
  margin: 0 0 1rem;
  max-width: 36rem;
}

.intro-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.intro-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(24, 60, 43, 0.25));
  pointer-events: none;
}

@media (min-width: 860px) {
  .intro-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-7);
  }
}

.services {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.service-layout {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.service-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.65rem 1.45rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--green-500);
}

.service-item:nth-child(2)::before { background: var(--green-700); }
.service-item:nth-child(3)::before { background: var(--green-300); }
.service-item:nth-child(4)::before { background: var(--sand-200); }

.service-item:hover {
  border-color: var(--green-300);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(24, 60, 43, 0.08);
}

.service-item .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--green-500);
  line-height: 1;
  margin-bottom: 1.1rem;
}

.service-item h3 {
  margin-bottom: 0.65rem;
  font-size: 1.3rem;
}

.service-item p {
  margin: 0;
  color: var(--text-soft);
  flex: 1;
}

.service-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}

.service-item a::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.service-item:hover a::after {
  transform: translateX(3px);
}

.service-item a:hover { color: var(--brand-mid); }

@media (min-width: 700px) {
  .service-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .service-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .service-item {
    padding: 1.85rem 1.5rem 1.6rem;
    min-height: 20rem;
  }
}

.feature { overflow: hidden; }

.feature-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.feature-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
  background: var(--bg-soft);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.feature:hover .feature-media img { transform: scale(1.03); }

.feature-copy p {
  color: var(--text-soft);
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.feature--dark {
  background: var(--brand);
  color: var(--white);
}

.feature--dark h2,
.feature--dark .eyebrow { color: var(--white); }

.feature--dark p { color: rgba(255, 255, 255, 0.84); }
.feature--alt { background: var(--surface); }

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }

  .feature-grid--reverse .feature-copy { order: 1; }
  .feature-grid--reverse .feature-media { order: 2; }
}

.care-topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.care-topic {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.15rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.care-topic:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.care-topic-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(167, 184, 149, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: var(--sand-100);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  flex-shrink: 0;
}

.care-topic strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.care-topic span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

@media (min-width: 560px) {
  .care-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .feature-grid--care {
    align-items: stretch;
  }

  .care-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about {
  background:
    radial-gradient(ellipse at top left, rgba(167, 184, 149, 0.35), transparent 50%),
    var(--bg);
}

.about-grid {
  display: grid;
  gap: var(--space-6);
}

.about-lead p {
  color: var(--text-soft);
  max-width: 38rem;
  margin: 0 0 1rem;
}

.about-points {
  display: grid;
  gap: 1rem;
}

.about-point {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.about-point:last-child { border-bottom: 1px solid var(--line); }
.about-point h3 { margin-bottom: 0.4rem; }
.about-point p { margin: 0; color: var(--text-soft); }

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
    align-items: start;
  }
}

.projects { background: var(--surface); }

.project-grid {
  display: grid;
  gap: 1.15rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  isolation: isolate;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 32, 26, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.2rem;
  color: var(--white);
}

.project-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.project-card figcaption span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.project-note {
  margin-top: var(--space-5);
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--green-500);
  background: var(--bg);
  color: var(--text-soft);
  font-size: 0.98rem;
  border-radius: 0 6px 6px 0;
}

@media (min-width: 760px) {
  .project-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 32rem;
  }

  .project-card:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.cta {
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.cta-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(24, 60, 43, 0.92) 0%, rgba(24, 60, 43, 0.72) 55%, rgba(24, 60, 43, 0.45) 100%);
}

.cta-inner {
  padding: var(--space-7) 0;
  max-width: 36rem;
}

.cta h2 { color: var(--white); }
.cta p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.5rem;
}

.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  gap: var(--space-6);
}

.contact-info p {
  color: var(--text-soft);
  margin: 0 0 1rem;
}

.contact-mail {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.form-field { display: grid; gap: 0.4rem; }

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-field .req { color: var(--brand-mid); }

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(111, 143, 98, 0.2);
  outline: none;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field.has-error input,
.form-field.has-error textarea { border-color: #9b3b2f; }

.field-error {
  color: #9b3b2f;
  font-size: 0.875rem;
}

.checkbox-field {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.checkbox-field input {
  margin-top: 0.3rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-weight: 550;
}

.form-status--ok {
  background: rgba(63, 107, 79, 0.12);
  color: var(--brand);
  border: 1px solid rgba(63, 107, 79, 0.25);
}

.form-status--err {
  background: rgba(155, 59, 47, 0.08);
  color: #7a2e24;
  border: 1px solid rgba(155, 59, 47, 0.2);
}

@media (min-width: 760px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 2rem; }
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-7);
    align-items: start;
  }
}

.page-hero {
  padding: 5rem 0 2.5rem;
  background:
    linear-gradient(135deg, rgba(63, 107, 79, 0.1), transparent 50%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.page-hero-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-mid);
}

.legal-back:hover { color: var(--brand); }

.legal-shell {
  padding: var(--space-6) 0 var(--space-7);
}

.legal-content {
  max-width: 48rem;
  margin: 0;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li { color: var(--text-soft); }

.legal-content ul {
  padding-left: 1.2rem;
}

.placeholder {
  display: inline-block;
  background: rgba(167, 184, 149, 0.35);
  border: 1px dashed var(--green-500);
  color: var(--brand);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.92em;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-6) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
}

.footer-tagline,
.footer-mail { margin: 0.35rem 0 0; }

.footer-heading {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-weight: 600;
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.92rem;
}

.footer-bottom p { margin: 0; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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