:root {
  --olive: #4C5C3C;
  --olive-2: #6E8055;
  --cream: #FBFAF6;
  --sand: #EDE9DF;
  --ink: #22251F;
  --grey: #6B7065;
  --white: #FFFFFF;
  --line: #d8d5cc;
  --danger: #9d3427;
  --success: #315f3c;
  --shadow: 0 16px 42px rgb(34 37 31 / 9%);
  --shadow-soft: 0 8px 24px rgb(34 37 31 / 7%);
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --shell: 1180px;
  --display: "Archivo", Arial, sans-serif;
  --body: "Work Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.16vw, 1.125rem);
  line-height: 1.65;
}

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

a { color: inherit; text-underline-offset: 0.17em; }
a:hover { color: var(--olive); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid #b36f20;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: 0.7rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--white); }

.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;
}

.shell { width: min(calc(100% - 2rem), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6.8rem); }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--olive);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--ink); font-family: var(--display); line-height: 1.08; text-wrap: balance; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(2.45rem, 7.8vw, 5.85rem); font-weight: 700; letter-spacing: -0.062em; }
h2 { margin: 0; font-size: clamp(1.85rem, 4.8vw, 3.5rem); letter-spacing: -0.044em; }
h3 { margin: 0; font-size: clamp(1.22rem, 2.5vw, 1.65rem); letter-spacing: -0.03em; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-left: 1.2rem; }

.section-heading { max-width: 690px; margin-bottom: clamp(1.8rem, 4vw, 3.1rem); }
.section-heading h2 { margin-bottom: 0.85rem; }
.section-heading p { max-width: 61ch; color: var(--grey); }

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}
.header-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.45rem;
  min-height: 74px;
}
.brand-lockup {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-lockup:hover, .brand-lockup:focus-visible { color: var(--ink); }
.brand-badge {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
}
.brand-name { display: grid; min-width: 0; font-family: var(--display); font-size: 1.04rem; line-height: 0.85; letter-spacing: -0.06em; }
.brand-name strong { font-weight: 600; }
.brand-name b { color: var(--olive); font-weight: 800; }
.brand-name small { margin-top: 0.35rem; color: var(--grey); font-family: var(--body); font-size: 0.52rem; font-weight: 600; letter-spacing: 0.015em; line-height: 1; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.48rem 0.55rem;
  border: 1px solid #cfd3c9;
  border-radius: 999px;
  color: var(--olive);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { flex: 0 0 auto; }
.header-phone:hover { border-color: var(--olive); color: var(--olive); background: #f5f6f1; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid #cfd3c9;
  border-radius: 50%;
  background: var(--white);
}
.nav-toggle > span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 3px auto; border-radius: 2px; background: var(--olive); }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.9rem; padding: 0.25rem 0 1rem; }
.primary-nav a:not(.btn) { padding: 0.38rem 0; color: var(--ink); font-size: 0.96rem; font-weight: 600; text-decoration: none; }
.primary-nav a:not(.btn):hover { color: var(--olive); }
body[data-page="start"] .primary-nav a[data-nav="start"],
body[data-page="leistungen"] .primary-nav a[data-nav="leistungen"],
body[data-page="ueber-uns"] .primary-nav a[data-nav="ueber-uns"],
body[data-page="kontakt"] .primary-nav a[data-nav="kontakt"] { color: var(--olive); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.42em; }
.nav-cta { margin-left: auto; }

/* Buttons and shared chips */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--olive); color: var(--white); box-shadow: 0 7px 16px rgb(76 92 60 / 19%); }
.btn-primary:hover, .btn-primary:focus-visible { background: #37452b; color: var(--white); }
.btn-secondary { border-color: var(--olive); background: transparent; color: var(--olive); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: #eef0e9; color: var(--olive); }
.btn-quiet { border-color: #cfd3c9; background: var(--white); color: var(--ink); }
.btn-quiet:hover { color: var(--olive); }
.btn-small { min-height: 39px; padding: 0.55rem 0.85rem; font-size: 0.84rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.7rem, 5vw, 5.4rem) clamp(3.6rem, 7vw, 6.8rem); background: var(--cream); }
.hero::before { position: absolute; z-index: 0; width: 390px; height: 390px; right: -230px; top: -95px; border-radius: 50%; background: #e3e8da; content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.25rem; align-items: center; }
.hero-copy { max-width: 650px; }
.hero-copy .lead { max-width: 55ch; margin: 1.45rem 0 1.65rem; color: #484d43; font-size: clamp(1.08rem, 2.2vw, 1.36rem); }
.scribble { display: block; width: min(226px, 60%); height: 17px; margin: 0.35rem 0 0.9rem; color: var(--olive-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual { position: relative; margin: 0; }
.hero-visual img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.hero-visual figcaption, .image-feature figcaption { margin-top: 0.7rem; color: var(--grey); font-size: 0.82rem; }
.hero-badge { position: absolute; right: 1rem; bottom: 2.9rem; max-width: 155px; padding: 0.65rem 0.8rem; border-radius: 13px; background: var(--olive); color: var(--white); font-family: var(--display); font-size: 0.86rem; font-weight: 700; line-height: 1.25; box-shadow: var(--shadow-soft); }

/* Steps */
.process { padding: 1.25rem; border-radius: var(--radius-lg); background: var(--olive); color: var(--white); }
.process h2 { color: var(--white); margin-bottom: 1.4rem; }
.step-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 0.8rem; align-items: start; }
.step + .step::before { position: absolute; left: 18px; top: -0.75rem; width: 1px; height: 0.55rem; background: #a7b497; content: ""; }
.step-number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #dce4d2; color: var(--olive); font-family: var(--display); font-weight: 800; }
.step h3 { color: var(--white); font-size: 1.2rem; }
.step p { margin-top: 0.25rem; color: #edf1e8; font-size: 0.94rem; line-height: 1.45; }

/* Services */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 48px 1fr; gap: 0.85rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.icon-chip { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 14px; background: var(--olive); color: var(--white); }
.icon-chip svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.service-row h3 { margin: 0 0 0.35rem; }
.service-row p { max-width: 64ch; margin: 0; color: var(--grey); font-size: 0.95rem; }
.service-row .text-link { display: inline-block; margin-top: 0.65rem; color: var(--olive); font-size: 0.91rem; font-weight: 700; }
.text-link { color: var(--olive); font-weight: 700; }
.text-link::after { margin-left: 0.3rem; content: "→"; }

/* Information panels and image feature */
.panel-grid { display: grid; gap: 1rem; }
.info-panel { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.info-panel h3 { margin-bottom: 0.7rem; }
.check-list { padding-left: 0; list-style: none; }
.check-list li { position: relative; margin: 0.58rem 0; padding-left: 1.55rem; color: #3f443d; }
.check-list li::before { position: absolute; left: 0; top: 0.51rem; width: 0.68rem; height: 0.32rem; border-bottom: 2px solid var(--olive); border-left: 2px solid var(--olive); content: ""; transform: rotate(-45deg); }
.image-feature { margin: 0; }
.image-feature img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.good-grid { display: grid; gap: 1rem; }
.good-card { padding: 1.25rem; border-radius: var(--radius); background: var(--sand); }
.good-card h3 { margin-bottom: 0.45rem; color: var(--olive); font-size: 1.25rem; }
.good-card p { color: #4b5048; font-size: 0.95rem; }

/* Contact strip */
.contact-strip { padding-block: clamp(2.4rem, 5vw, 4.25rem); background: var(--olive); color: var(--white); }
.contact-strip-grid { display: grid; gap: 1.2rem; align-items: center; }
.contact-strip h2 { color: var(--white); margin-bottom: 0.55rem; }
.contact-strip p { color: #edf1e8; }
.contact-strip address { margin-bottom: 0.25rem; font-style: normal; font-weight: 600; }
.contact-strip a:not(.btn) { color: var(--white); font-weight: 700; }
.contact-strip .btn { width: fit-content; background: var(--white); color: var(--olive); }
.contact-strip .btn:hover { background: #edf1e8; }

/* Subpages */
.page-hero { padding-block: clamp(2.8rem, 6vw, 5.5rem) clamp(2.8rem, 5vw, 4.75rem); background: var(--sand); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.36rem; margin: 0 0 1.3rem; padding: 0; color: var(--grey); font-size: 0.9rem; list-style: none; }
.breadcrumbs li + li::before { margin-right: 0.36rem; color: var(--olive-2); content: "/"; }
.breadcrumbs a { color: var(--grey); }
.page-hero h1 { max-width: 15ch; }
.page-hero .intro { max-width: 59ch; margin: 1.2rem 0 0; color: #454a42; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.page-hero .scribble { margin-bottom: 0; }

.service-cards { display: grid; gap: 1rem; }
.service-card { display: flex; flex-direction: column; padding: 1.4rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.service-card .icon-chip { margin-bottom: 1.15rem; }
.service-card h2 { margin-bottom: 0.75rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.service-card p { color: var(--grey); font-size: 0.96rem; }
.service-card .text-link { margin-top: auto; padding-top: 0.55rem; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2.55rem; margin-bottom: 0.85rem; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; margin-bottom: 0.55rem; }
.prose p, .prose li { color: #3f443d; }
.prose li + li { margin-top: 0.45rem; }
.prose a { color: var(--olive); }
.detail-layout { display: grid; gap: 1.8rem; align-items: start; }
.aside-card { padding: 1.45rem; border-radius: var(--radius); background: var(--sand); }
.aside-card h2 { margin-bottom: 0.75rem; font-size: 1.65rem; }
.aside-card p { color: #495047; }
.aside-card .btn { width: 100%; margin-top: 0.5rem; }
.detail-image { margin: 1.6rem 0 0; }
.detail-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.detail-image figcaption { margin-top: 0.6rem; color: var(--grey); font-size: 0.82rem; }

/* Forms */
.form-layout { display: grid; gap: 1.5rem; align-items: start; }
.form-note { padding: 1.4rem; border-radius: var(--radius); background: var(--sand); }
.form-note h2 { margin-bottom: 0.7rem; font-size: 1.7rem; }
.form-note address { font-style: normal; font-weight: 600; }
.form-note a { color: var(--olive); font-weight: 700; }
.contact-form { padding: clamp(1.3rem, 3.5vw, 2.35rem); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.38rem; }
.field label { color: #3d4339; font-size: 0.94rem; font-weight: 700; }
.form-optional { color: var(--grey); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #bfc3b9;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 0.72rem 0.78rem;
  line-height: 1.4;
}
.field select { min-height: 46px; }
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .checkbox input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; color: var(--danger); font-size: 0.86rem; font-weight: 600; line-height: 1.35; }
.checkbox { display: flex; gap: 0.65rem; align-items: flex-start; margin: 1.2rem 0 1.05rem; color: #42483e; font-size: 0.91rem; line-height: 1.45; }
.checkbox input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin-top: 0.13rem; accent-color: var(--olive); }
.checkbox a { color: var(--olive); }
.contact-form > .btn { width: 100%; }
.form-status { min-height: 1.5em; margin: 0.95rem 0 0; font-weight: 600; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }
.form-status.is-info { color: var(--olive); }
.form-noscript { margin-top: 1rem; color: var(--olive); font-weight: 600; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
button:disabled { cursor: wait; opacity: 0.68; transform: none !important; }

/* About page */
.statement { padding: clamp(1.5rem, 4vw, 2.65rem); border-radius: var(--radius-lg); background: var(--olive); color: var(--white); }
.statement h2 { color: var(--white); margin-bottom: 0.85rem; }
.statement p { max-width: 64ch; color: #f0f3eb; font-size: clamp(1.06rem, 2vw, 1.28rem); }
.value-grid { display: grid; gap: 1rem; }
.value-card { padding: 1.35rem; border: 1px solid #dedbd2; border-radius: var(--radius); background: var(--cream); }
.value-card span { display: grid; width: 36px; height: 36px; place-items: center; margin-bottom: 0.8rem; border-radius: 50%; background: #dce4d2; color: var(--olive); font-family: var(--display); font-weight: 800; }
.value-card h2 { margin-bottom: 0.55rem; font-size: 1.42rem; }
.value-card p { color: var(--grey); font-size: 0.95rem; }
.notice { padding: 1rem 1.1rem; border-left: 4px solid var(--olive-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #f3f4ef; color: #454a42; }

/* Legal and settings */
.legal-layout { display: grid; gap: 1.5rem; align-items: start; }
.legal-nav { padding: 1.2rem; border-radius: var(--radius); background: var(--sand); }
.legal-nav h2 { margin-bottom: 0.75rem; font-size: 1.4rem; }
.legal-nav a { display: block; margin: 0.45rem 0; color: var(--olive); font-weight: 700; }
.legal-content h2 { scroll-margin-top: 1rem; }
.placeholder { display: inline; padding: 0.08em 0.22em; border-radius: 3px; background: #fbebce; color: #624000; }
.settings-card { max-width: 760px; padding: clamp(1.35rem, 3vw, 2.4rem); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.consent-option { display: grid; grid-template-columns: 1fr auto; gap: 0.8rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.consent-option h2 { margin: 0 0 0.35rem; font-size: 1.36rem; }
.consent-option p { color: var(--grey); font-size: 0.93rem; }
.switch { position: relative; width: 52px; height: 30px; margin-top: 0.2rem; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #c2c5be; transition: background 160ms ease; }
.switch span::after { position: absolute; width: 22px; height: 22px; top: 4px; left: 4px; border-radius: 50%; background: var(--white); content: ""; transition: transform 160ms ease; }
.switch input:checked + span { background: var(--olive); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid #b36f20; outline-offset: 3px; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.35rem; }
.settings-actions .btn { width: auto; }

/* Consent */
.consent-banner { position: fixed; z-index: 50; right: 1rem; bottom: 1rem; left: 1rem; max-width: 720px; margin-inline: auto; padding: 1.2rem; border: 1px solid #d2d6cb; border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 65px rgb(34 37 31 / 24%); }
.consent-banner[hidden] { display: none; }
.consent-copy h2 { margin-bottom: 0.5rem; font-size: 1.55rem; }
.consent-copy p:not(.eyebrow) { color: var(--grey); font-size: 0.9rem; line-height: 1.45; }
.consent-copy a { color: var(--olive); font-size: 0.9rem; font-weight: 700; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }
.consent-actions .btn { min-height: 42px; flex: 1 1 160px; padding: 0.62rem 0.8rem; }

/* Footer */
.site-footer { background: var(--olive); color: #f0f3eb; }
.footer-grid { display: grid; gap: 2rem; padding-block: clamp(2.8rem, 5vw, 4.3rem) 2rem; }
.footer-brand { max-width: 360px; }
.footer-mark { color: var(--white); font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.07em; text-decoration: none; }
.footer-mark span { color: #dce4d2; font-weight: 800; }
.footer-brand p { margin-top: 0.7rem; color: #e6ebe0; font-size: 0.94rem; }
.site-footer h2 { margin-bottom: 0.7rem; color: var(--white); font-size: 1.05rem; letter-spacing: 0; }
.site-footer address { margin-bottom: 0.3rem; font-style: normal; }
.site-footer a { color: #f1f4ed; }
.site-footer a:hover { color: var(--white); }
.footer-contact, .footer-links { display: grid; align-content: start; gap: 0.25rem; }
.footer-link { margin-top: 0.5rem; color: #dce4d2 !important; font-weight: 700; }
.footer-bottom { padding-block: 1.3rem; border-top: 1px solid rgb(255 255 255 / 22%); color: #e2e8db; font-size: 0.76rem; line-height: 1.45; }
.footer-bottom p { margin: 0.4rem 0; }

@media (min-width: 430px) {
  .shell { width: min(calc(100% - 2.5rem), var(--shell)); }
  .header-top { gap: 0.7rem; }
  .header-phone { padding: 0.55rem 0.7rem; font-size: 0.84rem; }
}

@media (min-width: 640px) {
  .shell { width: min(calc(100% - 3.5rem), var(--shell)); }
  .hero-badge { right: 1.5rem; bottom: 3rem; }
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .step { grid-template-columns: 1fr; }
  .step + .step::before { left: -0.78rem; top: 18px; width: 0.55rem; height: 1px; }
  .panel-grid, .good-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip-grid { grid-template-columns: 1fr auto; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
  .contact-form > .btn { width: auto; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.25fr 0.85fr 1fr; }
  .consent-banner { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: end; }
  .consent-actions { flex-wrap: nowrap; margin-top: 0; }
}

@media (min-width: 780px) {
  .site-header { position: sticky; top: 0; }
  .header-top { grid-template-columns: 1fr auto; min-height: 72px; }
  .brand-badge { width: 47px; height: 47px; flex-basis: 47px; }
  .brand-name { font-size: 1.16rem; }
  .primary-nav { position: absolute; top: 0; right: max(1.75rem, calc((100% - var(--shell)) / 2)); height: 72px; padding: 0; }
  .primary-nav { gap: 1.05rem; }
  .primary-nav a:not(.btn) { font-size: 0.9rem; }
  .nav-cta { margin-left: 0; }
  .hero-grid { grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.82fr); gap: 3.6rem; }
  .service-row { grid-template-columns: 55px minmax(190px, 0.7fr) minmax(0, 1.5fr) auto; gap: 1.2rem; align-items: center; }
  .service-row h3 { margin-bottom: 0; }
  .service-row p { font-size: 0.92rem; }
  .service-row .text-link { margin-top: 0; white-space: nowrap; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.65fr); }
  .form-note { grid-column: 2; grid-row: 1; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; }
  .aside-card { position: sticky; top: 102px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr) 250px; }
  .legal-nav { position: sticky; top: 102px; grid-column: 2; grid-row: 1; }
  .legal-content { grid-column: 1; grid-row: 1; }
}

@media (min-width: 1000px) {
  .shell { width: min(calc(100% - 5rem), var(--shell)); }
  .header-phone { font-size: 0.88rem; }
  .primary-nav { gap: 1.35rem; }
  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .contact-strip-grid { grid-template-columns: 1.15fr 0.8fr auto; }
}

@media (max-width: 779px) {
  .js .nav-toggle { display: block; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: flex; }
  .js .nav-cta { margin-left: 0; }
}

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