:root {
  color-scheme: light;
  --white: #ffffff;
  --navy: #183153;
  --navy-2: #0d223e;
  --anthracite: #2d3748;
  --muted: #667085;
  --light: #f7f8fa;
  --line: #e5e9ef;
  --bronze: #c7a35a;
  --bronze-dark: #a98439;
  --shadow: 0 24px 70px rgba(24, 49, 83, 0.12);
  --soft-shadow: 0 14px 36px rgba(24, 49, 83, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100% - 48px));
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--anthracite);
  background: var(--white);
  letter-spacing: 0;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.mobile-only {
  display: none;
}

.mobile-word {
  display: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: linear-gradient(180deg, rgba(7, 22, 40, 0.38), rgba(7, 22, 40, 0.08));
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(24, 49, 83, 0.09);
  border-color: rgba(229, 233, 239, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  color: var(--white);
}

.site-header.is-scrolled .nav,
.site-header.is-open .nav {
  color: var(--navy);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 252px;
  height: 55px;
  max-width: 252px;
  object-fit: contain;
  object-position: center;
}

.brand-logo-dark {
  display: none;
}

.site-header.is-scrolled .brand-logo-light,
.site-header.is-open .brand-logo-light,
.subpage .site-header .brand-logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-dark,
.site-header.is-open .brand-logo-dark,
.subpage .site-header .brand-logo-dark {
  display: block;
}

.footer .brand-logo-light {
  display: block;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 36%, transparent);
  border-radius: 14px;
  color: var(--bronze);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.84;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-menu a {
  opacity: 0.9;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--bronze);
  opacity: 1;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-phone svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  display: block;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  isolation: isolate;
  overflow: clip;
  color: var(--white);
  display: grid;
  align-items: end;
}

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

.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  transform: translateY(var(--parallax, 0));
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 22, 40, 0.78) 0%, rgba(7, 22, 40, 0.54) 35%, rgba(7, 22, 40, 0.1) 74%),
    linear-gradient(0deg, rgba(7, 22, 40, 0.42) 0%, rgba(7, 22, 40, 0.04) 45%);
}

.hero-content {
  padding: 168px 0 54px;
}

.hero-copy {
  width: min(880px, 100%);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 880px;
  color: var(--white);
  font-size: clamp(2.9rem, 5.3vw, 5.15rem);
  line-height: 0.96;
  font-weight: 800;
  overflow-wrap: normal;
  hyphens: manual;
}

.hero-copy p {
  max-width: 650px;
  margin: 30px 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.55;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn::after {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, #d7ba73, var(--bronze));
  box-shadow: 0 16px 32px rgba(199, 163, 90, 0.24);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.section {
  padding: 118px 0;
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 48px;
}

.section-head span,
.local-copy span,
.about-copy > span,
.contact-copy > span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--bronze-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head h2,
.split-title h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2.15rem, 4.2vw, 4.5rem);
  line-height: 1.02;
  font-weight: 800;
}

.section-head p,
.split-title p,
.about-copy p,
.contact-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-width: 0;
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(199, 163, 90, 0.42);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--bronze);
  background: linear-gradient(145deg, var(--navy), #0b203b);
  box-shadow: 0 18px 34px rgba(24, 49, 83, 0.18);
}

.service-icon svg {
  width: 42px;
  height: 42px;
}

.service-card h3 {
  margin-top: 30px;
  font-size: 1.65rem;
  overflow-wrap: anywhere;
}

.service-card p {
  margin: 16px 0 28px;
  color: var(--muted);
  line-height: 1.72;
}

.service-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  color: var(--navy);
  font-weight: 900;
}

.service-card a::after {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--bronze);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.service-catalog {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.catalog-intro {
  position: static;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 250, 0.94));
  box-shadow: var(--soft-shadow);
}

.catalog-intro span {
  color: var(--bronze-dark);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.catalog-intro h3 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.catalog-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(24, 49, 83, 0.06);
  overflow: hidden;
}

.catalog-panel + .catalog-panel {
  margin-top: 14px;
}

.catalog-panel summary {
  cursor: pointer;
  padding: 24px 28px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 900;
  list-style: none;
}

.catalog-panel summary::-webkit-details-marker {
  display: none;
}

.catalog-panel summary::after {
  content: "+";
  float: right;
  color: var(--bronze-dark);
  font-size: 1.35rem;
  line-height: 1;
}

.catalog-panel[open] summary::after {
  content: "-";
}

.catalog-panel p,
.catalog-panel ul {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--muted);
  line-height: 1.72;
}

.catalog-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 48px;
}

.catalog-panel li::marker {
  color: var(--bronze-dark);
}

.local,
.why,
.process,
.contact {
  background: var(--light);
}

.local {
  position: relative;
  overflow: hidden;
}

.local::before {
  content: "FREIBURG";
  position: absolute;
  right: -2vw;
  bottom: -0.18em;
  color: rgba(24, 49, 83, 0.045);
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.local-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: center;
}

.local-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 4.5rem);
  line-height: 1.02;
}

.local-copy p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.local-panel {
  padding: 34px;
  border: 1px solid rgba(199, 163, 90, 0.3);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(145deg, rgba(24, 49, 83, 0.94), rgba(13, 34, 62, 0.96));
  box-shadow: var(--shadow);
}

.local-panel strong,
.local-panel span {
  display: block;
}

.local-panel strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.local-panel span {
  margin-top: 8px;
  color: var(--bronze);
  font-weight: 900;
}

.local-panel p {
  margin: 26px 0 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.split-title {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 52px;
}

.split-title p {
  margin: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.benefit {
  min-height: 230px;
  padding: 34px;
  background: var(--white);
}

.benefit span {
  color: var(--bronze);
  font-weight: 900;
}

.benefit strong {
  display: block;
  margin-top: 46px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.24rem;
}

.benefit p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 78px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 45%;
  height: 42%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(199, 163, 90, 0.42);
  z-index: -1;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.owner-image {
  width: 100%;
  max-width: 280px;
  justify-self: center;
}

.owner-image img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.owner-card {
  width: max-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--bronze);
  border-radius: 0 18px 18px 0;
  background: var(--light);
}

.owner-card strong,
.owner-card span {
  display: block;
}

.owner-card strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.owner-card span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.stats div {
  padding: 20px 14px;
  border-radius: var(--radius-md);
  background: var(--light);
}

.stats strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

.stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze), transparent);
}

.timeline li {
  position: relative;
  padding: 0 12px;
  text-align: center;
}

.timeline li span {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(24, 49, 83, 0.2);
  font-weight: 900;
  font-size: 1.2rem;
}

.timeline strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.timeline p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.64;
}

.stars {
  color: var(--bronze);
  font-size: 1.12rem;
  letter-spacing: 0.12em;
}

.google-review-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.google-score strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.google-review-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.review-button {
  width: 100%;
  max-width: 250px;
  min-height: 52px;
  padding: 0 18px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--bronze);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: 64px;
  align-items: stretch;
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.contact-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 38px;
  flex: 1;
  align-content: stretch;
}

.contact-facts a,
.contact-facts div {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.contact-facts strong,
.contact-facts span {
  display: block;
}

.contact-facts strong {
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-facts span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  margin-top: 42px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.field + .field {
  margin-top: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--anthracite);
  background: var(--white);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 4px rgba(199, 163, 90, 0.14);
}

.field textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  margin-top: 22px;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer {
  position: relative;
  padding: 54px 0 78px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.75fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer .brand {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  width: max-content;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--bronze);
}

.footer p {
  margin: 0;
  line-height: 1.6;
}

.footer-meta {
  display: grid;
  gap: 10px;
}

.footer-meta a {
  color: var(--white);
  font-weight: 800;
  transition: color 160ms ease;
}

.footer-meta a:hover {
  color: var(--bronze);
}

.site-credit {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: right;
}

.site-credit a {
  font-weight: 700;
}

.site-credit-footer {
  position: absolute;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 18px;
  color: rgba(255, 255, 255, 0.52);
}

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

.site-credit-legal {
  width: var(--shell);
  margin: -56px auto 24px;
  color: var(--muted);
  opacity: 0.72;
}

.site-credit-legal a:hover {
  color: var(--bronze-dark);
}

.subpage {
  background: var(--light);
}

.subpage .site-header {
  color: var(--navy);
}

.subpage .nav {
  color: var(--navy);
}

.imprint-main {
  padding: 150px 0 90px;
}

.imprint-main h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--bronze-dark);
  font-weight: 900;
}

.imprint-block {
  margin-top: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.imprint-block h2 {
  font-size: 1.35rem;
  overflow-wrap: anywhere;
}

.imprint-block h3 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.45;
}

.imprint-block p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.imprint-block a {
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 680ms ease, transform 680ms ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --shell: min(calc(100% - 36px), 760px);
  }

  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-phone {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(18px);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px 12px;
  }

  .subpage .static-menu {
    position: static;
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .hero-content {
    padding-top: 132px;
  }

  .service-grid,
  .service-catalog,
  .benefit-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .split-title {
    grid-template-columns: 1fr;
  }

  .split-title {
    gap: 18px;
  }

  .catalog-intro {
    position: static;
  }

  .catalog-panel {
    grid-column: 1;
  }

  .about-grid,
  .contact-grid {
    gap: 42px;
  }

  .contact-form {
    margin-top: 0;
  }

  .local-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .google-review-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .review-button {
    width: max-content;
    max-width: 100%;
  }

  .stats,
  .contact-facts {
    grid-template-columns: 1fr 1fr;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 34px 18px;
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(calc(100% - 40px), 420px);
  }

  .shell {
    width: calc(100% - 40px);
    max-width: 420px;
  }

  .mobile-only {
    display: block;
  }

  .desktop-word {
    display: none;
  }

  .mobile-word {
    display: inline;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand-logo {
    width: 214px;
    height: 47px;
    max-width: 214px;
  }

  .subpage .static-menu {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 22, 40, 0.82) 0%, rgba(7, 22, 40, 0.58) 60%, rgba(7, 22, 40, 0.24) 100%),
      linear-gradient(0deg, rgba(7, 22, 40, 0.54) 0%, rgba(7, 22, 40, 0.04) 50%);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 8.9vw, 2.65rem);
    line-height: 1.02;
  }

  .hero-copy {
    width: min(100%, 18rem);
  }

  .hero-copy p {
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 18rem);
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 82px 0;
  }

  .service-card,
  .catalog-intro,
  .catalog-panel summary,
  .benefit,
  .contact-form {
    padding: 26px;
  }

  .catalog-panel p,
  .catalog-panel ul {
    padding-right: 26px;
    padding-bottom: 22px;
  }

  .catalog-panel ul {
    padding-left: 44px;
  }

  .service-card {
    min-height: auto;
  }

  .benefit {
    min-height: 200px;
  }

  .benefit strong {
    margin-top: 32px;
  }

  .stats,
  .contact-facts,
  .timeline {
    grid-template-columns: 1fr;
  }

  .about-image img {
    aspect-ratio: 1 / 1.1;
  }

  .owner-image img {
    aspect-ratio: auto;
  }
}

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

  .hero-media img {
    transform: none;
  }
}
