/* ==========================================================================
   Family4Home — Hausverwaltung · Landingpage
   Farben aus dem Logo: dusty sage (#AACDCE) + charcoal-navy (#1D2833)
   Display: Fraunces · Body: Inter · Utility/Mono: IBM Plex Mono
   ========================================================================== */

:root {
  /* Aus dem Family4Home Office-Farbdesign (Designfarben.thmx) übernommen */
  --ink: #222f3d;
  --ink-soft: #46535f;
  --sage: #aacdce;
  --sage-tint: #cbe2e2;
  --sage-deep: #3f6c6d;
  --sage-deeper: #2c5354;
  --accent-blue: #8eaadb;
  --accent-blue-deep: #5c7ab8;
  --accent-green: #a8d08d;
  --accent-green-deep: #7bab5c;
  --paper: #f7f8f7;
  --surface: #ffffff;
  --stone: #eef3f2;
  --line: #dee6e4;
  --muted: #6b7378;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); font-weight: 560; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

em { font-style: italic; color: var(--sage-deep); }

.rotate-word {
  display: inline-block;
  font-style: italic;
  color: var(--sage-deep);
  transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease;
}
.rotate-word.is-swapping {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(3px);
}
@media (prefers-reduced-motion: reduce) {
  .rotate-word { transition: none; }
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--sage-deep);
}

/* Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 26px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(.2,.8,.3,1.3), box-shadow 0.2s ease, background 0.18s ease, color 0.15s ease;
}

.btn:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

.btn .arrow { transition: transform 0.2s ease; flex: none; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--sage-deep), var(--sage-deeper));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(63,108,109,0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(63,108,109,0.65);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.btn-line {
  background: transparent;
  border-color: rgba(247,248,247,0.4);
  color: var(--paper);
}
.btn-line:hover { border-color: var(--paper); background: rgba(247,248,247,0.1); transform: translateY(-2px); }

.btn-on-dark {
  background: var(--sage);
  color: var(--ink);
  box-shadow: 0 10px 26px -10px rgba(170,205,206,0.5);
}
.btn-on-dark:hover { background: #fff; transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  .btn:hover .arrow { transform: none; }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,247,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.logo-img {
  height: 38px;
  width: auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--sage-deep); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a:not(.btn):not(.header-phone) {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:not(.btn):not(.header-phone):hover { color: var(--sage-deep); }

.nav-links { display: flex; align-items: center; gap: 30px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  transition: color 0.15s ease;
}
.header-phone svg { flex: none; color: var(--sage-deep); }
.header-phone:hover { color: var(--sage-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 3px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(4px); }

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

.hero {
  padding: 68px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}
.hero-stats .stat span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -8%;
  right: -14%;
  width: 78%;
  height: 78%;
  background: var(--sage);
  opacity: 0.5;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  z-index: 0;
  animation: blob-float 9s ease-in-out infinite;
  transform-origin: center;
}

@keyframes blob-float {
  0%, 100% { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; transform: scale(1) rotate(0deg); }
  50% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; transform: scale(1.04) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual::before { animation: none; }
}

.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(29,40,51,0.35);
  aspect-ratio: 1 / 1;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 22%;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.hero-photo:hover img { transform: scale(1.045); }

.hero-badge {
  position: absolute;
  z-index: 2;
  left: -8%;
  bottom: -7%;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 20px 24px;
  max-width: 260px;
  box-shadow: 0 20px 40px -16px rgba(29,40,51,0.5);
}
.hero-badge .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}
.hero-badge p {
  color: var(--paper);
  font-size: 0.92rem;
  margin: 0;
}

/* Trust strip --------------------------------------------------------- */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--stone);
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 48px;
  padding: 20px 32px;
  justify-content: space-between;
}

.trust-item {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.trust-item strong { color: var(--ink); font-weight: 600; }

/* Section shell --------------------------------------------------------- */

.section { padding: 92px 0; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-alt { background: var(--surface); }

/* So arbeiten wir --------------------------------------------------------*/

.steps-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.steps-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.steps-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.steps-photo:hover img { transform: scale(1.05); }

.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.step .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--sage-deep);
}
.step:nth-child(2) .num { color: var(--accent-blue-deep); }
.step:nth-child(3) .num { color: var(--accent-green-deep); }
.step h3 { margin-bottom: 6px; font-size: 1.15rem; }
.step p { margin: 0; font-size: 0.96rem; }

/* Warum / founder letter -------------------------------------------------*/

.letter {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: start;
}

.letter-photo { position: relative; border-radius: 6px; overflow: hidden; }
.letter-photo img {
  border-radius: 6px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.letter-photo:hover img { transform: scale(1.05); }
.letter-photo figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

.letter-body p { color: var(--ink-soft); font-size: 1.02rem; }
.letter-body .signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  margin-top: 26px;
}

/* Services: Fokus Mietverwaltung ----------------------------------------- */

.services-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.services-intro { position: relative; }
.services-intro .img-frame {
  border-radius: 8px;
  overflow: hidden;
}
.services-intro img {
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.services-intro .img-frame:hover img { transform: scale(1.06); }

.services-img-main { aspect-ratio: 4 / 3; }
.services-img-mini {
  position: absolute;
  width: 46%;
  aspect-ratio: 4 / 3;
  right: -8%;
  bottom: -34px;
  border: 4px solid var(--paper);
  box-shadow: 0 16px 30px -14px rgba(29,40,51,0.4);
  transform: rotate(3deg);
  z-index: 2;
}

.services-intro h3 { margin-top: 52px; }
.services-intro p { max-width: 38ch; }

.services-groups { display: grid; gap: 34px; align-content: start; }
.service-group h4 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.checklist svg { flex: none; margin-top: 3px; color: var(--sage-deep); }
.service-group:nth-child(2) .checklist svg { color: var(--accent-blue-deep); }
.service-group:nth-child(3) .checklist svg { color: var(--accent-green-deep); }

/* Referenzen -------------------------------------------------------------*/

.stars {
  display: inline-flex;
  gap: 2px;
  color: #f2a91b;
  margin-bottom: 14px;
}
.stars svg { fill: currentColor; }

/* Review carousel ---------------------------------------------------------*/

.review-carousel {
  max-width: 720px;
  margin: 0 auto;
}

.review-track {
  position: relative;
  min-height: 260px;
}

.review-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.review-slide.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--avatar-bg, var(--sage-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px -10px rgba(29,40,51,0.4);
}

.review-slide .stars { justify-content: center; }

.review-slide p.quote {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 56ch;
}

.review-slide .attribution {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  font-weight: 600;
  margin-top: 6px;
}
.review-slide .attribution span {
  color: var(--muted);
  font-weight: 400;
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}

.review-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.review-arrow:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; transform: translateY(-2px); }
.review-arrow:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 2px; }

.review-dots { display: flex; gap: 9px; }
.review-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.review-dot.is-active { background: var(--sage-deep); transform: scale(1.3); }
.review-dot:hover { background: var(--sage-deep); }

/* Google review badge -----------------------------------------------------*/

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 16px 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.google-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -16px rgba(29,40,51,0.3);
  border-color: var(--sage);
}
.google-badge strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1rem;
  margin-right: 6px;
}
.google-badge .stars {
  margin-bottom: 0;
  vertical-align: middle;
  margin-right: 6px;
}
.google-badge span {
  font-size: 0.86rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
}

/* CTA band ---------------------------------------------------------------*/

.cta-band {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-band .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 0 32px;
}
.cta-copy { padding: 84px 0; }
.cta-copy .eyebrow { color: var(--sage); }
.cta-copy .eyebrow::before { background: var(--sage); }
.cta-copy h2 { color: #fff; }
.cta-copy p { color: rgba(247,248,247,0.78); font-size: 1.05rem; max-width: 46ch; }
.cta-actions { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }

.cta-photo {
  align-self: stretch;
  position: relative;
  min-height: 320px;
}
.cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
  transition: transform 8s ease;
  transform: scale(1.03);
}
.cta-band:hover .cta-photo img { transform: scale(1.1); }
.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(29,40,51,0) 30%);
}

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

.contact-banner {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 21 / 8;
  margin-bottom: 44px;
}
.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.contact-banner:hover img { transform: scale(1.04); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(63,108,109,0.14);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 10px;
}

.contact-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 36px 34px;
  height: fit-content;
}
.contact-card h3 { color: var(--paper); }
.contact-card .row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(247,248,247,0.14);
  font-size: 0.95rem;
}
.contact-card .row:first-of-type { border-top: none; }
.contact-card .row a { text-decoration: none; color: var(--paper); }
.contact-card .row a:hover { color: var(--sage); }
.contact-card .row .k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(247,248,247,0.5);
  width: 90px;
  flex: none;
  padding-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(247,248,247,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social-row a:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.social-row svg { width: 16px; height: 16px; }

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

.site-footer {
  background: var(--ink);
  color: rgba(247,248,247,0.75);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(247,248,247,0.14);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: inline-flex; }
.footer-logo img { height: 46px; width: auto; display: block; }
.footer-tagline { color: rgba(247,248,247,0.6); font-size: 0.92rem; margin: 0; max-width: 30ch; }

.footer-capture { margin-top: 6px; }
.footer-capture label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(247,248,247,0.5);
  margin-bottom: 9px;
}
.footer-capture-row { display: flex; gap: 8px; max-width: 280px; }
.footer-capture-row input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 13px;
  border: 1px solid rgba(247,248,247,0.25);
  border-radius: 3px;
  background: rgba(247,248,247,0.06);
  color: var(--paper);
}
.footer-capture-row input::placeholder { color: rgba(247,248,247,0.4); }
.footer-capture-row input:focus { outline: none; border-color: var(--sage); }
.footer-capture-row button {
  flex: none;
  width: 40px;
  border: 1px solid rgba(247,248,247,0.25);
  border-radius: 3px;
  background: transparent;
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.footer-capture-row button:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.footer-capture-row svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247,248,247,0.5);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col .footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { text-decoration: none; font-size: 0.92rem; color: rgba(247,248,247,0.7); }
.footer-nav a:hover { color: var(--sage); }

.footer-address { font-style: normal; font-size: 0.92rem; line-height: 1.9; color: rgba(247,248,247,0.7); }
.footer-address a { color: rgba(247,248,247,0.85); text-decoration: none; }
.footer-address a:hover { color: var(--sage); }

.footer-col .social-row { margin-top: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(247,248,247,0.45);
}
.footer-bottom a { color: rgba(247,248,247,0.45); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--sage); }

/* Sticky CTA bar ---------------------------------------------------------*/

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--ink);
  border-top: 1px solid rgba(247,248,247,0.12);
  box-shadow: 0 -12px 30px -14px rgba(0,0,0,0.35);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1);
}
.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 32px;
}

.sticky-cta-copy { display: flex; flex-direction: column; }
.sticky-cta-copy strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.sticky-cta-copy span {
  color: rgba(247,248,247,0.6);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.sticky-cta-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.sticky-cta-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(247,248,247,0.25);
  color: var(--paper);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sticky-cta-call:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

@media (max-width: 640px) {
  .sticky-cta .wrap { padding: 12px 16px; }
  .sticky-cta-copy span { display: none; }
  .sticky-cta-copy strong { font-size: 0.94rem; }
}

/* Legal page ------------------------------------------------------------ */

.legal {
  padding: 70px 0 100px;
  max-width: 760px;
}
.legal h2 { margin-top: 2.1em; font-size: 1.4rem; }
.legal h2:first-of-type { margin-top: 0.6em; }
.legal p, .legal address { color: var(--ink-soft); font-style: normal; line-height: 1.75; }
.legal a { color: var(--sage-deep); text-decoration: underline; }

/* Responsive ------------------------------------------------------------ */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .letter { grid-template-columns: 1fr; }
  .letter-photo img { max-width: 260px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-photo { max-width: 360px; margin: 0 auto; }
  .services-layout { grid-template-columns: 1fr; gap: 44px; }
  .services-intro { max-width: 420px; margin: 0 auto; }
  .services-intro h3 { margin-top: 40px; }
  .testimonials { grid-template-columns: 1fr; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-photo { min-height: 240px; order: -1; }
  .cta-copy { padding: 50px 0 60px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .cta-band .wrap { padding: 0 20px; }
  .nav-links {
    position: absolute; top: 82px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px; gap: 18px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .main-nav .btn { display: none; }
  .nav-links .btn { display: inline-flex; margin-top: 6px; }
  .trust-strip .wrap { justify-content: flex-start; padding: 16px 20px; }
  .section { padding: 60px 0; }
  .services-img-mini { width: 52%; right: -4%; bottom: -26px; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  .hero-visual::before { display: none; }
  .contact-banner { aspect-ratio: 4 / 3; margin-bottom: 30px; }
  .header-phone { display: none; }
  .footer-logo img { height: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-capture-row { max-width: none; }
}
