/**
 * Neumann Immobilien — Startseite
 *
 * 01 Grundlagen und Designwerte
 * 02 Layout
 * 03 Kopfbereich und Navigation
 * 04 Hero-Slider
 * 05 Gemeinsame Komponenten
 * 06 Inhaltsbereiche
 * 07 Kontakt und Footer
 * 08 Responsive Anpassungen
 *
 * Gestaltung über wiederverwendbare Klassen; Inhalte und Struktur in Bricks.
 */

/* ==========================================================================
   01 Grundlagen und Designwerte
   ========================================================================== */

:root {
  --blue: #2e3865;
  --deep: #222b50;
  --accent: #a7adc4;
  --pale: #f2f3f7;
  --ink: #252b3b;
  --muted: #666d7b;
  --line: #dde0e8;
  --surface: #fff;
  --page-background: #fafaf9;
  --section-background: #edf0f5;
  --content-width: 1180px;
  --page-gutter: 80px;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--ink);
  font: 15px/1.8 var(--font-body);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  border-radius: 0;
  cursor: pointer;
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--blue);
  line-height: 1.25;
}

h1,
h2 {
  overflow-wrap: break-word;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -.6px;
}

h1 {
  font-size: 38px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 500;
}

button,
a,
summary {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #7d8daf;
  outline-offset: 3px;
}

summary:focus-visible {
  outline: 3px solid #7c89b5;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  padding: 15px;
  background: var(--surface);
}

.skip:focus {
  top: 0;
}

/* ==========================================================================
   02 Layout
   ========================================================================== */

.wrap {
  width: min(var(--content-width), calc(100% - var(--page-gutter)));
  max-width: var(--content-width);
  margin: auto;
}

.section {
  padding: 70px 0;
}

.valuation-grid,
.about-grid,
.image-story-grid,
.expertise-grid,
.region-grid,
.steps,
.footer-grid {
  display: grid;
}

.valuation-grid {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 90px;
}

.about-grid {
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 80px;
}

.image-story-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.expertise-grid {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.region-grid {
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

/* ==========================================================================
   03 Kopfbereich und Navigation
   ========================================================================== */

.site-header,
.site-footer {
  background: var(--surface);
}

.topbar {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
}

.topbar .wrap {
  display: flex;
  gap: 25px;
}

.topbar .wrap > span {
  margin-right: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 115px;
}

.logo {
  width: 280px;
  height: auto;
}

#mainnav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
}

#mainnav a {
  padding: 12px 0;
}

#mainnav .nav-contact {
  padding: 10px 25px;
  border: 1px solid var(--blue);
}

.menu-toggle {
  display: none;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
}

.submenu-toggle {
  min-width: 23px;
  min-height: 35px;
  padding: 7px 3px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 15px;
  line-height: 1;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: -15px;
  z-index: 30;
  display: none;
  min-width: 235px;
  padding: 11px 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 9px 22px #222b5012;
}

.nav-submenu a {
  display: block;
  padding: 9px 18px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.6;
  white-space: normal;
}

#mainnav .nav-submenu a,
.category-nav .nav-submenu a {
  padding: 9px 18px;
  color: var(--blue);
  font-size: 12px;
}

.nav-submenu a:hover {
  background: #f0f2f7;
  text-decoration: none;
}

.nav-group.open > .nav-submenu {
  display: block;
}

.nav-group.open > .submenu-toggle {
  font-size: 0;
}

.nav-group.open > .submenu-toggle::before {
  content: "−";
  font-size: 15px;
}

.category-nav {
  border: 0;
  background: var(--blue);
}

.category-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.category-nav a {
  padding: 12px 0;
  color: var(--surface);
  font-size: 12px;
}

.category-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.category-nav .nav-group > a {
  white-space: nowrap;
}

.category-nav .submenu-toggle {
  color: var(--surface);
}

@media (hover: hover) and (min-width: 801px) {
  .nav-group:hover > .nav-submenu,
  .nav-group:focus-within > .nav-submenu {
    display: block;
  }
}

/* ==========================================================================
   04 Hero-Slider
   ========================================================================== */

.hero-layout {
  position: relative;
  margin-top: 30px;
}

.slider {
  min-width: 0;
}

.slide-stage {
  position: relative;
  height: 465px;
  overflow: hidden;
  background: var(--pale);
}

.slide {
  position: relative;
  height: 100%;
}

.slide-image {
  width: 58%;
  height: 100%;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
}

.slide-shade {
  display: none;
}

.slide-0 .slide-image {
  object-position: 50% 65%;
}

.slide-copy {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 42%;
  padding: 35px;
  background: var(--blue);
  color: var(--surface);
}

.slide-copy .eyebrow {
  color: #c7cde0;
}

.slide-copy h2 {
  margin: 0 0 19px;
  color: var(--surface);
  font-size: 39px;
  line-height: 1.13;
}

.slide-description {
  margin-bottom: 23px;
  color: #e1e5f0;
  font-size: 13px;
  line-height: 1.85;
}

.slider-controls {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  background: var(--surface);
  color: var(--blue);
}

.slider-controls button {
  min-width: 32px;
  height: 34px;
  padding: 0 7px;
  border: 0;
  background: none;
  color: var(--blue);
}

.slider-controls .slide-prev,
.slider-controls .slide-next {
  font-size: 26px;
  line-height: 1;
}

.slide-count {
  min-width: 42px;
  font-size: 10px;
  text-align: center;
  letter-spacing: 1px;
}

.slider-controls .slide-play {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 10px;
}

.photo-label {
  position: absolute;
  bottom: 12px;
  left: calc(42% + 12px);
  padding: 1px 6px;
  background: #222b5066;
  color: var(--surface);
  font-size: 8px;
}

.photo-label a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   05 Gemeinsame Komponenten
   ========================================================================== */

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.body-copy {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.body-copy a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.intro {
  margin-top: 22px;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.85;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid var(--blue);
  font-size: 12px;
  transition: background .2s;
}

.button.primary {
  background: var(--blue);
  color: var(--surface);
  text-decoration: none;
}

.button.primary:is(:hover, :focus-visible) {
  background: var(--deep);
  color: var(--surface);
}

:is(.slide-copy, .contact-banner) .button.primary {
  background: var(--surface);
  color: var(--blue);
}

.slide-copy .button {
  border-color: #bfc6dc;
}

:is(.slide-copy, .contact-banner) .button.primary:is(:hover, :focus-visible) {
  background: var(--pale);
  color: var(--blue);
}

.full {
  width: 100%;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  color: var(--blue);
  font-size: 12px;
}

.text-link:hover {
  border-color: var(--blue);
}

.ui-icon {
  display: inline-block;
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -.125em;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.contact-link > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.stock-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  background: #e6e8ed;
}

.stock-photo > img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.stock-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 7px;
  background: #fffffff0;
  color: var(--blue);
  font-size: 9px;
  line-height: 1.6;
}

.stock-photo figcaption a {
  text-decoration: underline;
}

.link-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
}

.link-list a {
  color: var(--blue);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: #b5bdcf;
  text-underline-offset: 4px;
}

.link-list a:hover {
  text-decoration-color: var(--blue);
}

/* ==========================================================================
   06 Inhaltsbereiche
   ========================================================================== */

/* Willkommen */
.welcome-strip {
  max-width: 1030px;
  padding: 56px 0 52px;
  text-align: center;
}

.welcome-strip .eyebrow {
  margin-bottom: 10px;
}

.welcome-strip h1 {
  max-width: 900px;
  margin: auto;
  font-size: 38px;
  line-height: 1.23;
}

.welcome-strip > p:last-child {
  max-width: 850px;
  margin: 21px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* Immobilienbewertung */
.valuation {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.valuation h2,
.about h2 {
  font-size: 34px;
}

.valuation-card {
  padding: 30px;
  border: 0;
  background: var(--pale);
}

.valuation-card h3 {
  margin: 4px 0 6px;
  font-size: 22px;
}

.valuation-card > p {
  color: var(--muted);
  font-size: 12px;
}

.property-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 18px;
}

.property-options button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 5px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue);
  font-size: 12px;
}

.property-options button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--pale);
}

.property-options span {
  margin-bottom: 7px;
  font-size: 30px;
  line-height: 1.2;
}

.property-options .ui-icon {
  width: 30px;
  height: 30px;
}

.valuation-card > .form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

/* Persönliche Vorstellung */
.portrait {
  order: 2;
}

.portrait > img {
  width: 100%;
  height: auto;
}

.portrait-caption {
  padding: 17px 20px 17px 0;
}

.portrait-caption span {
  display: block;
  color: var(--blue);
  font-size: 14px;
}

.portrait-caption small {
  color: var(--muted);
  font-size: 10px;
}

.welcome {
  margin-top: 22px;
  color: var(--blue);
  font-size: 17px;
}

/* Bildgeschichten */
.image-story {
  background: var(--surface);
}

.image-story h2 {
  font-size: 35px;
}

.image-story .intro {
  font-size: 16px;
  line-height: 1.8;
}

.story-1 {
  background: #f0f2f6;
}

.story-1 .stock-photo {
  order: 2;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.story-actions .text-link {
  margin: 0;
}

/* Ablauf des Immobilienverkaufs */
.process {
  background: var(--section-background);
  color: var(--ink);
}

.process-intro {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 38px;
}

.steps article {
  padding-top: 20px;
  border-top: 1px solid #717b9d;
}

.step-no {
  color: #6f7897;
  font-family: var(--font-heading);
  font-size: 26px;
}

.steps h3 {
  margin: 12px 0;
  font-size: 18px;
}

.steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.process-closing {
  max-width: 850px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
}

/* Leistungen */
.expertise {
  text-align: center;
}

.expertise-intro {
  max-width: 930px;
  margin: 24px auto;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.8;
}

.expertise-grid {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  text-align: left;
}

/* Einzugsgebiet */
.region {
  background: var(--surface);
}

.region-list details {
  border-bottom: 1px solid var(--line);
}

.region-list details:first-child {
  border-top: 1px solid var(--line);
}

.region-list summary {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  color: var(--blue);
  font-size: 15px;
  list-style: none;
  cursor: pointer;
}

.region-list summary::-webkit-details-marker {
  display: none;
}

.region-list summary span {
  font-size: 20px;
  line-height: 1.2;
}

.region-list details[open] summary span {
  transform: rotate(45deg);
}

.region-list details p {
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.region-photo {
  margin-top: 27px;
}

.region-photo > img {
  height: 270px;
}

/* ==========================================================================
   07 Kontakt und Footer
   ========================================================================== */

.contact-banner {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  background: var(--blue);
}

.contact-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.contact-banner .eyebrow {
  margin-bottom: 9px;
  color: var(--surface);
}

.contact-banner h2 {
  color: var(--surface);
  font-size: 33px;
}

.site-footer {
  padding: 50px 0 0;
}

.footer-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 215px;
  height: auto;
  margin-bottom: 20px;
}

.site-footer h3 {
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 700;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 11px;
}

.site-footer p {
  margin-bottom: 12px;
}

.footer-grid p {
  line-height: 1.9;
}

.footer-grid .footer-brand p {
  font-size: 12px;
}

.footer-grid > div > a {
  display: block;
}

.footer-grid > div > p:last-child {
  margin-top: 13px;
}

.footer-grid .contact-link {
  display: flex;
  width: fit-content;
}

.footer-grid .footer-phone {
  color: var(--blue);
  font-size: 24px;
}

.socials {
  display: flex;
  gap: 20px;
  margin-top: 17px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.footer-links a {
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 10px;
}

/* ==========================================================================
   08 Responsive Anpassungen
   ========================================================================== */

@media (max-width: 1100px) {
  #mainnav {
    gap: 18px;
  }

  .slide-copy {
    width: 45%;
    padding: 28px;
  }

  .slide-image {
    width: 55%;
  }

  .slide-copy h2 {
    font-size: 34px;
  }

  .slide-description {
    font-size: 12px;
  }

  .photo-label {
    left: calc(45% + 12px);
  }

  .image-story-grid {
    gap: 40px;
  }
}

@media (max-width: 1050px) {
  :root {
    --page-gutter: 48px;
  }

  .category-nav .wrap {
    gap: 12px;
  }

  .category-nav a {
    font-size: 10px;
  }

  .valuation-grid,
  .about-grid,
  .region-grid,
  .expertise-grid {
    gap: 40px;
  }
}

@media (max-width: 800px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 29px;
  }

  .topbar .wrap {
    justify-content: space-between;
    gap: 15px;
  }

  .topbar .wrap > span {
    display: none;
  }

  .header-inner {
    position: relative;
    min-height: 90px;
  }

  .logo {
    width: 225px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border: 0;
    background: none;
    color: var(--blue);
    font-size: 13px;
  }

  #mainnav {
    position: absolute;
    top: 90px;
    right: -24px;
    left: -24px;
    z-index: 20;
    display: none;
    align-items: stretch;
    gap: 8px;
    padding: 22px 24px;
    background: var(--surface);
    box-shadow: 0 8px 20px #222b5015;
  }

  #mainnav.open {
    display: flex;
    flex-direction: column;
  }

  .nav-group {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
  }

  .nav-group .submenu-toggle {
    min-width: 38px;
  }

  .nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 3px 0 10px;
    border: 0;
    background: #f3f4f7;
    box-shadow: none;
  }

  #mainnav .nav-group > a {
    padding-right: 15px;
  }

  #mainnav .nav-submenu a,
  .category-nav .nav-submenu a {
    padding: 10px 15px;
  }

  #mainnav .nav-group .nav-submenu {
    margin-bottom: 9px;
  }

  .category-nav .wrap {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 17px;
    padding: 7px 0;
  }

  .category-nav a {
    padding: 4px 0;
    font-size: 11px;
  }

  .category-nav .nav-group {
    position: relative;
    flex-wrap: nowrap;
  }

  .category-nav .submenu-toggle {
    min-width: 25px;
    min-height: 32px;
    padding: 0;
  }

  .category-nav .nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 35;
    width: 235px;
    border: 1px solid var(--line);
    background: var(--surface);
  }

  .slide-stage {
    height: 450px;
  }

  .slide-copy {
    width: 49%;
    padding: 26px;
  }

  .slide-image {
    width: 51%;
  }

  .slide-copy h2 {
    font-size: 30px;
  }

  .slide-description {
    font-size: 12px;
    line-height: 1.8;
  }

  .welcome-strip h1 {
    font-size: 33px;
  }

  .welcome-strip > p:last-child {
    font-size: 14px;
  }

  .section {
    padding: 55px 0;
  }

  .valuation-grid,
  .about-grid,
  .region-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .valuation-card {
    padding: 23px;
  }

  .valuation-card h3 {
    font-size: 20px;
  }

  .body-copy {
    font-size: 13px;
  }

  .intro {
    font-size: 14px;
  }

  .about .intro {
    font-size: 16px;
  }

  .image-story-grid {
    gap: 30px;
  }

  .stock-photo > img {
    height: 340px;
  }

  .region-photo > img {
    height: 270px;
  }

  .image-story h2 {
    font-size: 30px;
  }

  .image-story .intro {
    font-size: 14px;
  }

  .steps h3 {
    font-size: 16px;
  }

  .steps p {
    font-size: 12px;
  }

  .expertise-intro {
    font-size: 16px;
  }

  .contact-banner h2 {
    font-size: 29px;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .contact-link {
    gap: 7px;
  }

  .topbar .contact-link {
    white-space: nowrap;
  }

}

@media (max-width: 600px) {
  :root {
    --page-gutter: 36px;
  }

  h2 {
    font-size: 27px;
  }

  .topbar {
    font-size: 10px;
  }

  .topbar .wrap {
    gap: 10px;
  }

  .topbar a:last-child {
    font-size: 9px;
  }

  .header-inner {
    min-height: 80px;
  }

  .logo {
    width: 195px;
  }

  #mainnav {
    top: 80px;
    right: -18px;
    left: -18px;
  }

  .category-nav .wrap {
    gap: 0 14px;
    padding: 8px 0;
  }

  .category-nav a {
    padding: 3px 0;
    font-size: 10px;
  }

  .category-nav .nav-group > a {
    font-size: 11px;
  }

  .category-nav .submenu-toggle {
    min-width: 20px;
    font-size: 13px;
  }

  .category-nav .nav-submenu {
    left: -8px;
    width: 220px;
  }

  .category-nav .nav-group:nth-child(3) .nav-submenu {
    right: -15px;
    left: auto;
  }

  .hero-layout {
    margin-top: 18px;
  }

  .slide-stage {
    height: 630px;
  }

  .slide-image {
    width: 100%;
    height: 255px;
    object-position: center;
  }

  .slide-copy {
    top: 255px;
    bottom: 0;
    justify-content: flex-start;
    width: 100%;
    padding: 26px 24px 62px;
  }

  .slide-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .slide-copy h2 {
    margin-bottom: 17px;
    font-size: 32px;
    line-height: 1.15;
  }

  .slide-description {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.8;
  }

  .slider-controls {
    right: 16px;
    bottom: 12px;
    gap: 6px;
    background: transparent;
    color: var(--surface);
  }

  .slider-controls button {
    color: var(--surface);
  }

  .photo-label {
    top: 10px;
    bottom: auto;
    left: 10px;
    font-size: 8px;
  }

  .welcome-strip {
    padding: 36px 0;
  }

  .welcome-strip h1 {
    font-size: 29px;
    line-height: 1.25;
    letter-spacing: -.7px;
  }

  .welcome-strip > p:last-child {
    margin-top: 19px;
    font-size: 13px;
    line-height: 1.9;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .section {
    padding: 43px 0;
  }

  .valuation-grid,
  .about-grid,
  .region-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .valuation h2,
  .about h2 {
    font-size: 29px;
  }

  .valuation-card {
    padding: 24px;
  }

  .valuation-card h3 {
    font-size: 21px;
  }

  .property-options {
    gap: 8px;
  }

  .body-copy {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.95;
  }

  .portrait {
    order: 0;
    max-width: 500px;
  }

  .about .intro {
    font-size: 16px;
  }

  .image-story-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .stock-photo > img {
    height: 290px;
  }

  .story-1 .stock-photo {
    order: 0;
  }

  .image-story h2 {
    font-size: 29px;
  }

  .image-story .intro {
    font-size: 15px;
  }

  .story-actions {
    gap: 17px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }

  .steps article {
    padding-top: 17px;
  }

  .steps h3 {
    font-size: 18px;
  }

  .steps p {
    font-size: 13px;
  }

  .process-intro {
    font-size: 13px;
  }

  .process-closing {
    font-size: 12px;
  }

  .expertise {
    text-align: left;
  }

  .expertise-grid {
    margin-top: 24px;
    padding-top: 23px;
  }

  .region-list summary {
    font-size: 14px;
  }

  .region-photo > img {
    height: 235px;
  }

  .contact-banner {
    padding: 32px 0;
  }

  .contact-banner .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .site-footer {
    padding-top: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-brand img {
    width: 200px;
  }

  .footer-links {
    gap: 12px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

/* Keep the longer seller slide clear of the native slider controls. */
@media (min-width: 361px) and (max-width: 420px) {
  .slide-3 .slide-copy h2 {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .slide-3 .slide-description,
  .slide-4 .slide-description {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .topbar a:last-child {
    font-size: 8px;
  }

  .logo {
    width: 180px;
  }

  .category-nav .wrap {
    gap: 0 10px;
  }

  .category-nav .nav-group > a {
    font-size: 10px;
  }

  .slide-stage {
    height: 660px;
  }

  .slide-copy {
    padding: 24px 20px 62px;
  }

  .slide-copy h2 {
    font-size: 29px;
  }

  .slide-description {
    font-size: 12px;
  }

  .welcome-strip h1 {
    font-size: 27px;
  }

  .expertise h2 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
