/* tokens.css */
:root {
  --paper: #ffffff;
  --paper-soft: #eaf7fb;
  --ink: #111820;
  --ink-soft: #34404a;
  --line: #cfd4d7;
  --line-strong: #111820;
  --accent: #cc0067;
  --brand-blue: #0096d2;
  --brand-blue-action: #0076a8;
  --accent-hover: #a60054;
  --accent-warm: #d7a51f;
  --on-accent: #ffffff;
  --max: 1440px;
  --pad: clamp(1.25rem, 3.6vw, 3.5rem);
  --section-y: clamp(2.75rem, 5.5vw, 5rem);
  --gap: clamp(1.5rem, 3vw, 3rem);
  --fs-body: 1rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.875rem;
  --fs-lead: 1.125rem;
  --measure: 62ch;
  --display: "BoReUm Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "BoReUm Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (min-width: 768px) {
  :root {
    --fs-body: 1.0625rem;
    --fs-lead: 1.25rem;
    --fs-label: 0.9375rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --fs-body: 1.125rem;
    --fs-small: 1rem;
    --fs-lead: 1.375rem;
    --fs-label: 0.9375rem;
  }
}

/* base.css */
@font-face {
  font-family: "BoReUm Sans";
  src: url("./BoReUmSans-Regular.d431b786b9.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "BoReUm Sans";
  src: url("./BoReUmSans-Bold.a597b71032.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 700 900;
}

@font-face {
  font-family: "BoReUm Condensed";
  src: url("./BoReUmCondensed-Regular.3a8cc8f72a.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400 900;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  font-size: var(--fs-body);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

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

button,
select {
  cursor: pointer;
}

p {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

input,
select,
textarea {
  caret-color: var(--accent);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--paper-soft);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--paper-soft);
  background: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  hyphens: auto;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2.125rem, 3.3vw, 3.25rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.lead {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.section-label {
  color: var(--ink-soft);
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-meta {
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
}

.hero-actions > .button,
.footer-actions > .button {
  min-width: 196px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 0;
  font-size: var(--fs-small);
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.button-accent:hover {
  border-color: var(--ink);
  background: var(--ink);
  transform: translateY(-2px);
}

.phone-reveal {
  position: relative;
  min-width: 196px;
  overflow: hidden;
  border-color: var(--brand-blue-action);
  background: var(--brand-blue-action);
  color: var(--on-accent);
  white-space: nowrap;
}

.phone-reveal:hover,
.phone-reveal:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-accent);
  transform: translateY(-2px);
}

.phone-reveal-label,
.phone-reveal-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 160ms ease, transform 180ms ease;
}

.phone-reveal-number {
  position: absolute;
  inset: 0;
  padding: 0.8rem 1rem;
  opacity: 0;
  transform: translateY(55%);
}

.phone-reveal:hover .phone-reveal-label,
.phone-reveal:focus-visible .phone-reveal-label,
.phone-reveal:active .phone-reveal-label {
  opacity: 0;
  transform: translateY(-55%);
}

.phone-reveal:hover .phone-reveal-number,
.phone-reveal:focus-visible .phone-reveal-number,
.phone-reveal:active .phone-reveal-number {
  opacity: 1;
  transform: translateY(0);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.button:is(:active, [aria-pressed="true"]) {
  transform: translateY(1px);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.52;
  pointer-events: none;
}

.button-outline-dark {
  border-color: #fff;
  color: #fff;
}

.button-outline-dark:hover {
  background: #fff;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
}

/* Landing-page service links use the arrow as the affordance. */
.service-landing .text-link {
  text-decoration: none;
}

.text-link::after {
  margin-left: 0.5rem;
  content: "→";
}

.text-link[href^="tel:"]::after {
  content: none;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.check-list li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--accent);
  content: "";
  transform: translateY(-0.15em);
}

.photo {
  display: grid;
  grid-template-rows: 1fr;
  min-width: 0;
  margin: 0;
  background: var(--paper-soft);
  overflow: hidden;
}

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

.photo-landscape img {
  aspect-ratio: 3 / 2;
}

.photo-portrait img {
  aspect-ratio: 3 / 4;
}

.motion-ready .home-hero > *,
.motion-ready .page-hero > * {
  animation: first-arrival 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.motion-ready .home-hero > *:nth-child(2),
.motion-ready .page-hero > *:nth-child(2) {
  animation-delay: 90ms;
}

@keyframes first-arrival {
  from {
    opacity: 1;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* layout.css */
/* The shell keeps content in a centred 1440px composition while the structural
 * rules of each band run edge to edge. */
.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.band {
  border-bottom: 2px solid var(--line-strong);
}

.band-soft {
  background: var(--paper-soft);
}

/* Structural rules inside a band run edge to edge as well; only the content
 * stays inside the shell. */
.band-rule {
  border-bottom: 2px solid var(--line-strong);
}

.cell {
  min-width: 0;
  padding: var(--section-y) var(--pad);
}

.rule-left {
  border-left: 2px solid var(--line-strong);
}

.stack {
  display: grid;
  align-content: start;
  gap: clamp(1rem, 1.6vw, 1.6rem);
}


/* Option 02: alternating paper and lake fields keep the grid legible while
 * giving each route a visual rhythm. The rules remain the primary decoration. */
.tone-lake {
  background: var(--paper-soft);
}

.tone-paper {
  background: var(--paper);
}

.tone-lake .landing-media,
.tone-lake .page-hero-media,
.tone-lake .about-facts,
.tone-lake .contact-data {
  background: var(--paper);
}

.tone-paper .landing-media,
.tone-paper .page-hero-media,
.tone-paper .about-facts,
.tone-paper .contact-data {
  background: var(--paper-soft);
}

.band-rule {
  position: relative;
}

.band-rule::before {
  display: block;
  width: 3.5rem;
  height: 4px;
  background: var(--accent);
  content: "";
}

/* components/about.css */
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
}

.about-hero-copy {
  display: grid;
  align-content: center;
  gap: clamp(1rem, 1.6vw, 1.6rem);
  min-width: 0;
  min-height: clamp(300px, 30vw, 420px);
  padding: var(--section-y) var(--pad);
}

.about-hero-copy h1 {
  max-width: 18ch;
}

.about-facts {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: var(--section-y) var(--pad);
  border-left: 2px solid var(--line-strong);
  background: var(--paper-soft);
}

.about-facts > div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.about-facts > div:last-child {
  border-bottom: 1px solid var(--line);
}

.about-facts dt {
  color: var(--ink-soft);
  font-size: var(--fs-label);
  font-weight: 800;
}

.about-facts dd {
  margin: 0.3rem 0 0;
  font-weight: 700;
}

.about-grid-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: stretch;
}

.about-text {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  min-width: 0;
  padding: var(--section-y) var(--pad);
}

.about-team {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  padding: 0;
  border-left: 2px solid var(--line-strong);
}

.about-team > h2 {
  padding: var(--section-y) var(--pad) clamp(1.5rem, 3vw, 2.5rem);
}

.about-text p {
  max-width: 34ch;
  color: var(--ink-soft);
}

.about-team .management-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  gap: 0;
  border-top: 2px solid var(--line-strong);
}

.about-team .manager-card {
  min-width: 0;
  margin: 0;
  background: var(--paper);
}

.about-team .manager-card + .manager-card {
  border-left: 1px solid var(--line);
}

.about-team .manager-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-soft);
}

.about-team .manager-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.about-team .manager-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  font-weight: 700;
}

.about-team .manager-card figcaption span {
  color: var(--ink-soft);
  font-weight: 400;
}

.chat-about-story-section {
  background: var(--paper);
}

.chat-about-story {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: start;
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chat-about-story-heading {
  display: grid;
  align-content: start;
  padding-top: 0.35rem;
}

.chat-about-story-heading h2 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(2.8rem, 5.3vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.chat-about-story-copy {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2.2rem);
  max-width: 72ch;
}

.chat-about-story-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.3vw, 1.28rem);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.chat-about-story-copy p + p {
  padding-top: clamp(1.25rem, 2vw, 1.8rem);
  border-top: 1px solid var(--line);
}

@media (max-width: 850px) {
  .about-team .management-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    gap: 0;
  }

  .about-team .manager-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    min-height: 128px;
  }

  .about-team .manager-card + .manager-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-team .manager-photo {
    width: 96px;
    height: 128px;
    min-height: 0;
    aspect-ratio: auto;
  }

  .about-team .manager-card figcaption {
    justify-content: center;
    min-height: 128px;
    padding: 0.9rem 1rem;
    border-top: 0;
  }

  .chat-about-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 3.25rem 0;
  }

  .chat-about-story-heading h2 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .chat-about-story-copy {
    gap: 1.35rem;
  }

  .chat-about-story-copy p {
    font-size: 1.05rem;
    line-height: 1.68;
  }
}

/* components/contact.css */
.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: var(--section-y) var(--pad) clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
}

.contact-layout .band-rule::before {
  display: none;
}

.contact-head h1 {
  max-width: 12ch;
  margin: 0.5rem auto 0;
}

.contact-head .lead {
  max-width: 46ch;
  margin-inline: auto;
  padding-bottom: 0.35rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}

.contact-data {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-width: 0;
  padding: var(--section-y) var(--pad);
  background: var(--paper-soft);
}

.contact-data h2 {
  max-width: 11ch;
  margin-bottom: 1rem;
}

.contact-data > a {
  display: block;
  min-height: 72px;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}

.contact-data > a:hover {
  color: var(--ink-soft);
}

.contact-data > a:last-of-type {
  border-bottom: 1px solid var(--line);
}

.contact-data span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink-soft);
  font-size: var(--fs-label);
  font-weight: 800;
}

.contact-area {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

/* components/footer.css */
.site-footer {
  border-top: 2px solid var(--line-strong);
  background: var(--ink);
  color: #fff;
}

.footer-rule {
  border-bottom: 1px solid #53606a;
}

.footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: var(--gap);
  padding: var(--section-y) var(--pad);
}

.footer-lead h2 {
  margin-top: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.footer-lead .footer-actions {
  justify-content: flex-end;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  padding: var(--section-y) var(--pad);
}

.footer-grid p {
  color: #d4d9dc;
  font-size: var(--fs-small);
}

.footer-grid nav,
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.footer-grid a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-small);
}

.footer-label {
  margin-bottom: 0.6rem;
  color: #fff !important;
  font-size: var(--fs-label);
  font-weight: 900;
}

.footer-map-card {
  width: 100%;
  margin-top: 0.9rem;
  overflow: hidden;
  border: 1px solid #53606a;
  background: #fff;
}

.footer-map-card iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
}

.footer-base {
  border-top: 1px solid #53606a;
}

.footer-base-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  color: #c6cdd1;
  font-size: var(--fs-small);
}


.footer-prompt {
  max-width: 42ch;
  margin-top: 0.8rem;
  color: #d4d9dc;
  font-size: var(--fs-small);
}

.footer-phone {
  color: #fff;
}

.footer-current {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 700;
}

/* components/forms.css */
label > span,
legend {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--fs-label);
  font-weight: 800;
}

.form-field {
  min-width: 0;
}

.form-field > label {
  display: block;
  margin: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.72rem 0.8rem;
  border: 1px solid #8b959c;
  border-radius: 0;
  background: #fff;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: var(--accent);
  box-shadow: 0 0 0 6px #fff;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 1.5rem 0 0;
  border: 0;
  border-top: 2px solid var(--line-strong);
}

legend {
  width: 100%;
  padding: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.form-group + .form-group {
  margin-top: 1.75rem;
}

.form-group-service .form-field {
  max-width: 34rem;
}

.form-field + .form-field {
  margin-top: 0.9rem;
}

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

.field-error {
  min-height: 1.45em;
  margin-top: 0.35rem;
  color: #9b174d;
  font-size: 0.875rem;
  font-weight: 700;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #9b174d;
  box-shadow: inset 0 -3px 0 #9b174d;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.form-grid > .full-field:first-child {
  margin-top: 0;
}

.field-hint {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.form-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.25rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
}

.check-row input {
  flex: 0 0 auto;
  width: 22px;
  min-height: 22px;
}

.check-row span {
  margin: 0;
  font-weight: 700;
}

.full-field {
  display: block;
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.form-note,
.form-status {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.form-note {
  margin-top: 1.5rem;
}

.form-status:not(:empty) {
  margin-top: 0.75rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: var(--section-y) var(--pad);
  border-left: 2px solid var(--line-strong);
}

.contact-form .button {
  justify-self: start;
  margin-top: 1.25rem;
}

/* components/gallery.css */
.gallery-grid-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  gap: var(--gap);
  padding: var(--section-y) var(--pad) clamp(1.5rem, 3vw, 2.5rem);
}

.gallery-head h2 {
  max-width: 12ch;
}

.gallery-head p {
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.gallery-section .gallery-grid {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 2px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.gallery-grid .photo {
  position: relative;
  z-index: 0;
  min-height: clamp(260px, 28vw, 440px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-section .gallery-grid .photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-grid .photo:hover {
    z-index: 2;
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgb(17 25 31 / 12%);
  }
}

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

.gallery-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-count-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* components/header.css */
.site-header {
  position: relative;
  z-index: 40;
  border-top: 4px solid var(--accent);
  border-bottom: 2px solid var(--line-strong);
  background: var(--paper);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  min-height: 112px;
}

.brand {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 112px;
  padding-block: 0.9rem 1.25rem;
  padding-inline: var(--pad) clamp(1rem, 2vw, 2rem);
  border-right: 2px solid var(--line-strong);
}

.brand img {
  width: auto;
  height: 78px;
}

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  align-items: center;
  padding-right: var(--pad);
  gap: 0.25rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.65rem clamp(0.65rem, 1vw, 1rem);
  border-bottom: 2px solid transparent;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--paper-soft);
  border-bottom-color: var(--brand-blue);
}

.main-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 48px;
  margin-left: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.6;
}

.main-nav .nav-contact:hover {
  background: var(--accent-hover);
  border-bottom-color: transparent;
}

.main-nav .nav-contact[aria-current="page"] {
  background: var(--accent);
  border-bottom-color: transparent;
}

.nav-toggle {
  display: none;
}

/* components/hero.css */
/* Enquiry panel of the landing page: headline, intro and service chooser. */
.home-selector-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: calc(100% - clamp(2rem, 7vw, 7rem));
  min-width: 0;
  margin: -0.75rem auto 0;
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  border: 1px solid #cfd7dc;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.09);
}
.home-selector-card h1 {
  margin: 0 0 0.8rem;
  max-width: 15ch;
  font-family: var(--body);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.08;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.home-selector-intro {
  margin: 0;
  max-width: 42ch;
  color: #28333c;
  font-size: clamp(0.94rem, 1.15vw, 1.06rem);
  line-height: 1.5;
}
.home-service-form,
.home-service-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.home-service-form legend {
  margin: 0 0 0.38rem;
  padding: 0;
  color: #202a31;
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  font-weight: 760;
  line-height: 1.2;
}

.home-service-options {
  display: grid;
  gap: 0.38rem;
}

.home-service-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.44rem 0.62rem;
  border: 1px solid #c9d1d6;
  border-radius: 7px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.home-service-option:is(:hover, :focus-within) {
  border-color: #9ba8b0;
  background: #fafcfd;
}

.home-service-option input {
  width: 14px;
  height: 14px;
  min-height: 14px;
  margin: 0;
  accent-color: var(--brand-blue-action);
  flex: 0 0 auto;
}

.home-service-option span {
  color: #172027;
  font-size: clamp(0.86rem, 0.95vw, 0.94rem);
  font-weight: 690;
  line-height: 1.2;
}

.home-service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 0.5rem;
}

.home-email-action,
.home-call-action {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 0;
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  font-weight: 760;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.home-email-action {
  background: var(--accent);
  color: var(--on-accent);
  transition: background-color 180ms ease, color 180ms ease;
}

.home-email-action:is(:hover, :focus-visible) {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.home-email-action.is-disabled {
  background: #eef1f3;
  color: #b3bbc0;
  cursor: default;
  pointer-events: none;
}

.home-call-action {
  background: #087daf;
  color: #ffffff;
}

.home-call-action:is(:hover, :focus-visible) {
  background: #066f9d;
}

.home-service-status {
  min-height: 1.2em;
  margin: 0.62rem 0 0;
  color: #45515a;
  font-size: clamp(0.69rem, 0.9vw, 0.78rem);
  line-height: 1.3;
}


@media (max-width: 700px) {
  .home-selector-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
    width: calc(100% - 1.25rem);
    margin-top: -0.35rem;
    padding: 1.2rem;
    border-radius: 12px;
  }
  .home-selector-card h1 { font-size: clamp(1.85rem, 7.6vw, 2.65rem); }
  .home-service-option span { font-size: 0.86rem; }
  .home-service-form legend { font-size: 0.88rem; }
  .home-email-action, .home-call-action { font-size: 0.84rem; }
  .home-service-status { font-size: 0.78rem; }
}

/* Service hero: headline and action beside one full-bleed photo. */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
}

.page-hero-copy {
  display: grid;
  align-content: center;
  gap: clamp(1rem, 1.6vw, 1.6rem);
  min-width: 0;
  min-height: clamp(340px, 35vw, 480px);
  padding: var(--section-y) var(--pad);
}

.page-hero-copy h1 {
  max-width: 22ch;
  font-size: clamp(2.5rem, 4.1vw, 4.25rem);
}

.page-hero-copy .lead {
  max-width: 44ch;
}

.page-hero-media {
  display: grid;
  min-width: 0;
  border-left: 2px solid var(--line-strong);
  align-content: stretch;
  overflow: hidden;
  background: var(--paper-soft);
}

.page-hero-media .photo {
  height: 100%;
  min-height: clamp(300px, 30vw, 480px);
  border: 0;
  overflow: hidden;
}

.page-hero .page-hero-media .photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.page-hero-plain {
  grid-template-columns: minmax(0, 1fr);
}

/* components/legal.css */
.legal-page,
.not-found {
  padding: var(--section-y) var(--pad);
}

.legal-page h1,
.not-found h1 {
  max-width: 14ch;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.legal-page section {
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.legal-page p + p,
.legal-page ul {
  margin-top: 0.9rem;
}

.legal-page p,
.legal-page li {
  max-width: var(--measure);
  color: var(--ink-soft);
}

.legal-page ul {
  padding-left: 1.1rem;
}

.legal-page li + li {
  margin-top: 0.4rem;
}

.not-found {
  display: grid;
  align-content: center;
  gap: 1.5rem;
  min-height: 60svh;
}

/* components/partners.css */
/* Partner/customer proof band above every review marquee. The desktop header
 * combines partner label, Google rating and page-specific review title in one
 * ruled row. Logos move rightwards below it, against the reviews underneath. */
.partner-band {
  background: var(--paper);
}

.partner-proof-rule {
  border-bottom: 2px solid var(--line-strong);
}

.partner-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.partner-rating,
.partner-context {
  min-width: 0;
}

.partner-rating {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.35rem);
  min-height: clamp(118px, 9vw, 148px);
  padding: clamp(1.35rem, 2.2vw, 2rem) var(--pad);
  background: var(--paper-soft);
}

.partner-rating .proof-number {
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.15rem, 4.8vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.82;
}

.partner-rating-copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.partner-rating-copy p {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 800;
  line-height: 1.25;
}

.partner-context {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-left: 2px solid var(--line-strong);
}

.partner-title,
.partner-review-title {
  min-width: 0;
  padding-inline: var(--pad);
}

.partner-title {
  display: flex;
  align-items: center;
  min-height: clamp(3.75rem, 4.8vw, 4.75rem);
}

.partner-title p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
}

.partner-review-title {
  display: grid;
  align-content: center;
  padding-block: clamp(1rem, 1.6vw, 1.45rem);
  border-top: 1px solid var(--line);
}

.partner-review-title h2 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 0.98;
}

.partner-viewport {
  overflow: hidden;
  padding-block: clamp(1.2rem, 2vw, 1.65rem);
}

.partner-track {
  display: flex;
  width: max-content;
  animation: partner-marquee 52s linear infinite;
}

.partner-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  padding: 0 clamp(2rem, 4.5vw, 4.5rem) 0 0;
  margin: 0;
  list-style: none;
}

.partner-group li {
  flex: 0 0 auto;
}

.partner-group img {
  display: block;
  width: clamp(112px, 13vw, 176px);
  height: clamp(40px, 4.4vw, 60px);
  max-width: none;
  object-fit: contain;
}

@keyframes partner-marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 850px) {
  /* responsive.css still contains the legacy partner-viewport border rule;
   * this higher-specificity selector keeps the new single separator crisp. */
  .partner-proof-rule + .partner-viewport {
    border-top: 0;
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .partner-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-rating {
    min-height: 98px;
    padding-block: 1.15rem;
  }

  .partner-rating .proof-number {
    font-size: clamp(2.65rem, 12vw, 3.35rem);
  }

  .partner-rating-copy {
    gap: 0.3rem;
  }

  .partner-rating-copy .review-stars {
    font-size: 0.95rem;
  }

  .partner-rating-copy p {
    font-size: 0.75rem;
  }

  .partner-context {
    border-top: 2px solid var(--line-strong);
    border-left: 0;
  }

  .partner-title {
    min-height: 3.75rem;
    padding-block: 1.05rem;
  }

  .partner-title p {
    font-size: 1.15rem;
  }

  .partner-review-title {
    padding-block: 1.35rem;
  }

  .partner-review-title h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.5rem);
  }
}

/* components/rail.css */
/* Leistungsumfang orbit: a 3D loop of ruled paper frames. Depth comes from
 * scale and position only; there are no shadows, glows or guide lines. */
.feature-orbit {
  overflow: hidden;
  background: var(--paper-soft);
}

.orbit-shell {
  position: relative;
  width: min(100%, 1440px);
  padding: var(--section-y) var(--pad) clamp(2.5rem, 4vw, 3.5rem);
  overflow: hidden;
}

.orbit-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
}

.orbit-head h2 {
  max-width: none;
}

.orbit-head > div > p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 700;
}

.orbit-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 1240px);
  height: clamp(22rem, 27vw, 25rem);
  margin: clamp(0.8rem, 1.5vw, 1.25rem) auto 0;
  outline: 0;
  perspective: 1800px;
  transform-style: preserve-3d;
  touch-action: pan-y;
}

.orbit-stage:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 6px;
  box-shadow: none;
}

.orbit-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.orbit-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(250px, 28vw, 400px);
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  transition:
    transform 820ms cubic-bezier(0.2, 0.76, 0.08, 1),
    opacity 820ms cubic-bezier(0.2, 0.76, 0.08, 1);
}

.orbit-card-frame {
  overflow: hidden;
  border: 2px solid var(--line-strong);
  background: var(--paper);
}

.orbit-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-soft);
}

.orbit-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.orbit-card-media-portrait img {
  object-position: 50% 38%;
}

/* Feature without its own photo: a flat numbered field in the same frame. */
.orbit-card-panel {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  padding: 0.9rem 1rem;
  background: var(--paper-soft);
}

.orbit-card-panel span {
  font-family: var(--display);
  font-size: clamp(3.6rem, 7vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: var(--ink);
}

.orbit-card-text .orbit-card-index {
  display: none;
}

.orbit-card-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0.85rem;
  min-height: 4rem;
  padding: 0.8rem 1rem 0.85rem;
  border-top: 2px solid var(--line-strong);
}

.orbit-card-index {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.orbit-card-index span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.orbit-card-label strong {
  display: block;
  font-size: clamp(0.94rem, 1.05vw, 1.05rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.orbit-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: min(100%, 1240px);
  margin: clamp(2rem, 3.5vw, 3rem) auto 0;
}

.orbit-progress {
  display: grid;
  flex: 1 1 auto;
  justify-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.orbit-progress .orbit-status {
  width: 100%;
}

.orbit-progress .orbit-dots {
  max-width: 100%;
}

.orbit-arrow {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 2px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.1rem;
  transition: background 160ms ease, color 160ms ease;
}

.orbit-arrow:hover {
  background: var(--ink);
  color: #fff;
}

.orbit-arrow:active {
  transform: translateY(1px);
}

.orbit-arrow:disabled,
.orbit-arrow[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}

.orbit-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  min-height: 44px;
  padding-inline: 0.5rem;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

/* Position marks are short rules, not glowing dots. */
.orbit-dot {
  position: relative;
  display: block;
  width: 24px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.orbit-dot::before {
  position: absolute;
  top: 50%;
  right: 4px;
  left: 4px;
  height: 3px;
  background: var(--line);
  content: "";
  transform: translateY(-50%);
  transition: background 160ms ease;
}

.orbit-dot:hover::before {
  background: var(--ink-soft);
}

.orbit-dot.is-active::before {
  background: var(--accent);
}

.orbit-dot[aria-selected="true"]::after {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  height: 2px;
  background: var(--ink);
  content: "";
}

/* Plain checklist used when a service has no dedicated orbit photography. */
.rail-head {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: var(--section-y) var(--pad) clamp(1.25rem, 2.5vw, 2.25rem);
}

.rail-head h2 {
  max-width: none;
}

.rail-head p {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 700;
}

.feature-plain-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}

.feature-plain-grid .rail-head {
  padding-bottom: var(--section-y);
}

.check-list-wide {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  padding: var(--section-y) var(--pad);
  border-left: 2px solid var(--line-strong);
}

.check-list-wide li {
  font-size: var(--fs-lead);
}

@media (max-width: 1050px) {
  .orbit-stage {
    height: clamp(21rem, 40vw, 24rem);
  }

  .orbit-card {
    width: clamp(230px, 40vw, 360px);
  }
}

@media (max-width: 720px) {
  .orbit-shell {
    padding-inline: 1rem;
  }

  .orbit-head {
    display: grid;
  }

  .orbit-stage {
    height: 20rem;
    margin-top: 0.75rem;
  }

  .orbit-card {
    width: min(76vw, 320px);
  }

  .orbit-card-label {
    min-height: 4rem;
    padding: 0.7rem 0.8rem 0.8rem;
  }

  .orbit-controls {
    margin-top: 2rem;
    gap: 0.5rem;
  }

  .orbit-progress {
    gap: 0.45rem;
  }

  .orbit-progress .orbit-status {
    min-height: 2.8em;
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .orbit-dots {
    gap: 0.2rem;
  }

  .orbit-dot {
    width: 24px;
  }

  .orbit-arrow {
    width: 44px;
    height: 44px;
  }
}

.orbit-status {
  display: grid;
  align-items: center;
  max-width: 54ch;
  min-height: 3.2em;
  margin: 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

/* All services stay readable before JavaScript, or when it is unavailable. */
.feature-orbit:not(.is-orbit-ready) .orbit-stage {
  height: auto;
  perspective: none;
  touch-action: auto;
}

.feature-orbit:not(.is-orbit-ready) .orbit-track {
  position: static;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 320px);
  gap: 1.25rem;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1rem;
}

.feature-orbit:not(.is-orbit-ready) .orbit-card {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  opacity: 1;
  pointer-events: auto;
  scroll-snap-align: start;
}

.feature-orbit:not(.is-orbit-ready) .orbit-controls,
.feature-orbit:not(.is-orbit-ready) .orbit-status {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-card,
  .orbit-dot,
  .orbit-arrow {
    transition: none !important;
  }
}

/* components/reviews.css */
.review-track-viewport {
  overflow: hidden;
  padding: clamp(2rem, 3.5vw, 3rem) 0;
}

.review-track {
  display: flex;
  width: max-content;
  animation: review-marquee 75s linear infinite;
}

.review-card {
  width: min(68vw, 360px);
  flex: 0 0 min(68vw, 360px);
  padding: 0 clamp(1.25rem, 2vw, 2rem);
  border-right: 1px solid var(--line);
}

.review-group {
  display: flex;
  width: max-content;
  flex: 0 0 auto;
  padding-left: var(--pad);
}

.review-card blockquote {
  margin: 0;
}

.review-card blockquote p {
  margin: 0.75rem 0 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.review-card footer strong {
  color: var(--ink);
}

.review-stars {
  display: inline-block;
  color: #d7a51f;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  line-height: 1;
  animation: review-star-shimmer 5.5s ease-in-out infinite;
}

@keyframes review-star-shimmer {
  0%,
  72%,
  100% {
    color: #d7a51f;
    text-shadow: 0 0 0 rgb(255 226 126 / 0%);
  }
  86% {
    color: #f0bd32;
    text-shadow: 0 0 7px rgb(255 226 126 / 58%);
  }
}

@keyframes review-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.review-source {
  min-height: 1.1rem;
  color: var(--ink-soft);
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 1;
}

/* components/services.css */
/* Home: one ruled field per service. */
.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
}

.landing-copy {
  display: grid;
  align-content: center;
  gap: clamp(0.9rem, 1.5vw, 1.5rem);
  min-width: 0;
  padding: var(--section-y) var(--pad);
}

.landing-copy h2 {
  max-width: 23ch;
}

.landing-copy .lead {
  max-width: 42ch;
}

.landing-copy .check-list {
  margin-top: 0.25rem;
}

.landing-media {
  display: grid;
  min-width: 0;
  border-left: 2px solid var(--line-strong);
  align-content: stretch;
  overflow: hidden;
  background: var(--paper-soft);
}

.landing-media .photo {
  height: 100%;
  min-height: clamp(300px, 28vw, 460px);
  border: 0;
  overflow: hidden;
}

.landing-media .photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease, filter 220ms ease;
}

.landing-photo-umzuege-und-transporte img {
  object-position: 50% 56%;
}

.landing-photo-gebaeude-u-unterhaltsreinigung img {
  object-position: 50% 52%;
}

.landing-photo-haushaltsaufloesungen img {
  object-position: 50% 50%;
}

.landing-photo-wohnungsendreinigung img {
  object-position: 50% 34%;
}

@media (hover: hover) and (pointer: fine) {
  .landing-media:hover .photo img {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.015);
  }
}

/* Alternating sides keep the copy column wide; only the sides swap. */
.service-landing-flip .landing-grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.service-landing-flip .landing-copy {
  grid-column: 2;
  border-left: 2px solid var(--line-strong);
}

.service-landing-flip .landing-media {
  grid-column: 1;
  grid-row: 1;
  border-left: 0;
}

/* Detail copy, optionally with one full-bleed photo. */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: stretch;
}

.detail-head {
  padding: var(--section-y) var(--pad);
}

.detail-head h2 {
  max-width: 17ch;
}

.detail-copy {
  display: grid;
  align-content: start;
  gap: 1.1rem;
  min-width: 0;
  padding: var(--section-y) var(--pad);
  border-left: 2px solid var(--line-strong);
}

.detail-copy p {
  max-width: var(--measure);
  color: var(--ink-soft);
}

.detail-copy p:first-child {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.3;
}

.detail-section-media .detail-grid {
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
}

.detail-media {
  display: grid;
  align-self: stretch;
  min-width: 0;
  border-left: 2px solid var(--line-strong);
  overflow: hidden;
}

.detail-media .photo {
  height: 100%;
  min-height: clamp(240px, 24vw, 420px);
  border: 0;
}

.detail-section-media .detail-media .photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

/* Process steps: three ruled cells side by side. */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: stretch;
}

.process-head {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: var(--section-y) var(--pad);
}

.process-head h2 {
  max-width: 12ch;
}

.process-head p {
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line-strong);
  list-style: none;
}

.process-list li {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: var(--section-y) clamp(1.25rem, 2vw, 2rem);
}

.process-list li + li {
  border-left: 1px solid var(--line);
}

.process-list .process-number {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.process-list strong {
  font-size: var(--fs-lead);
}

.process-list p {
  color: var(--ink-soft);
  font-size: var(--fs-small);
}


.service-landing.tone-lake .button-dark {
  border-color: var(--accent);
  background: var(--accent);
}

.service-landing.tone-lake .button-dark:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.feature-orbit .orbit-head {
  padding-bottom: clamp(0.9rem, 1.5vw, 1.3rem);
  border-bottom: 4px solid var(--accent);
}

/* components/zz-chatgpt-site.css */
/* Shared visual language for the ChatGPT-site implementation. */
body {
  background: #ffffff;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid #e2e6e9;
  background: rgba(255, 255, 255, 0.98);
}

.site-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding-inline: clamp(1rem, 3vw, 2.2rem);
}

.brand img {
  width: 128px;
  height: auto;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a,
.main-nav .nav-current {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 0;
  color: #26323a;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:is(:hover, :focus-visible),
.main-nav a[aria-current="page"] {
  background: #f3f6f7;
  color: #111820;
}

.main-nav .nav-contact,
.main-nav .nav-current {
  margin-left: 0.4rem;
  padding-inline: 1rem;
  background: #087daf;
  color: #ffffff;
}

.nav-toggle {
  display: none;
}

.chat-service-hero {
  position: relative;
  border-bottom: 1px solid #111820;
  background: #ffffff;
}

.chat-service-shell {
  position: relative;
  width: min(1220px, calc(100% - 3rem));
  min-height: 560px;
  margin: 0 auto;
}

.chat-service-image {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  overflow: hidden;
  background: #eef1f2;
}

.chat-service-image .photo {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  overflow: hidden;
}

.chat-service-image .photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

.chat-service-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0;
  width: min(500px, 46%);
  padding: clamp(2rem, 4vw, 3.2rem);
  transform: translateY(-50%);
  border: 1px solid #cfd7dc;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(17, 24, 32, 0.12);
}

.chat-service-card h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--body);
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  font-weight: 740;
  hyphens: none;
  letter-spacing: -0.035em;
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
}

.chat-eyebrow,
.chat-section-heading > p {
  margin: 0 0 0.65rem;
  color: #5a6871;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chat-service-intro {
  margin: 1rem 0 0;
  color: #334049;
  font-size: 0.98rem;
  line-height: 1.5;
}

.chat-service-actions,
.chat-inline-actions,
.chat-footer-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  margin-top: 1.2rem;
}

.chat-primary-action,
.chat-secondary-action {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0.72rem 1rem;
  border: 0;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.chat-primary-action {
  background: #087daf;
  color: #ffffff;
}

.chat-primary-action:is(:hover, :focus-visible) {
  background: #066f9d;
}

.chat-secondary-action {
  background: #eef1f3;
  color: #26323a;
}

.chat-secondary-action:is(:hover, :focus-visible) {
  background: #e3e8eb;
}

.chat-service-region {
  margin: 0.9rem 0 0;
  color: #65717a;
  font-size: 0.78rem;
}

.chat-page-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: #ffffff;
}

.chat-page-section + .chat-page-section {
  border-top: 1px solid #e2e6e9;
}

.chat-page-shell,
.chat-footer-shell {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.chat-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.chat-section-heading > p {
  margin: 0;
}

.chat-section-heading h2,
.chat-info-card h2,
.chat-footer-cta h2 {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 720;
  hyphens: none;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.chat-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.chat-feature-card {
  min-height: 180px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid #d7dde0;
  border-radius: 14px;
  background: #ffffff;
}

.chat-feature-card.has-media {
  grid-template-rows: minmax(180px, 1fr) auto;
}

.chat-feature-media {
  min-height: 180px;
  overflow: hidden;
  background: #eef1f2;
}

.chat-feature-media .photo {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  overflow: hidden;
}

.chat-feature-media .photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

.chat-feature-copy {
  min-height: 108px;
  display: grid;
  align-content: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1rem 1.05rem;
}

.chat-feature-copy > span {
  color: #77838b;
  font-size: 0.72rem;
  font-weight: 760;
}

.chat-feature-copy h3 {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.chat-gallery-section {
  background: #f7f9fa;
}

.chat-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.chat-gallery-item {
  min-height: 320px;
  overflow: hidden;
  border-radius: 14px;
  background: #edf0f2;
}

.chat-gallery-item .photo {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
}

.chat-gallery-item img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

.chat-info-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid #d7dde0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.07);
}

.chat-info-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
  color: #334049;
}

.chat-info-copy p {
  margin: 0;
}

.chat-fact-list {
  margin: 0.8rem 0 0;
  border-top: 1px solid #dfe4e7;
}

.chat-fact-list > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #dfe4e7;
}

.chat-fact-list dt {
  color: #6b777f;
  font-size: 0.78rem;
  font-weight: 700;
}

.chat-fact-list dd {
  margin: 0;
  color: #1d272e;
}

.chat-team-section {
  background: #f7f9fa;
}

.chat-manager-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.chat-manager-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7dde0;
  border-radius: 14px;
  background: #ffffff;
}

.chat-manager-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef1f2;
}

.chat-manager-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-manager-card figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
}

.chat-manager-card figcaption strong {
  font-size: 1rem;
}

.chat-manager-card figcaption span {
  color: #66727a;
  font-size: 0.82rem;
}

.chat-contact-links {
  display: grid;
  margin-top: 1rem;
  border-top: 1px solid #dfe4e7;
}

.chat-contact-links a {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #dfe4e7;
  text-decoration: none;
}

.chat-contact-links span {
  color: #78838a;
  font-size: 0.76rem;
}

.chat-contact-links strong {
  font-size: 0.86rem;
  font-weight: 690;
}

.chat-contact-section {
  background: #f7f9fa;
}

.chat-form-card {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid #d7dde0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.07);
}

.chat-form-card .contact-form {
  display: grid;
  gap: 1.2rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.chat-form-card .form-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.chat-form-card .form-group legend {
  margin-bottom: 0.7rem;
  color: #253039;
  font-size: 0.84rem;
  font-weight: 760;
}

.chat-form-card .form-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.chat-form-card .form-field {
  display: grid;
  gap: 0.35rem;
}

.chat-form-card label,
.chat-form-card .field-hint,
.chat-form-card .field-error,
.chat-form-card .form-note,
.chat-form-card .form-status {
  font-size: 0.78rem;
}

.chat-form-card input,
.chat-form-card select,
.chat-form-card textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd3d8;
  border-radius: 7px;
  background: #ffffff;
}

.chat-form-card textarea {
  min-height: 150px;
  resize: vertical;
}

.chat-form-card .button-accent {
  width: fit-content;
  min-width: 220px;
  min-height: 44px;
  border: 0;
  background: #087daf;
  color: #ffffff;
}

.legal-page {
  width: min(920px, calc(100% - 3rem));
  margin: clamp(2rem, 6vw, 5rem) auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #d7dde0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.07);
}

.legal-page > h1 {
  margin-bottom: 2rem;
  font-family: var(--body);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 730;
  letter-spacing: -0.035em;
}

.legal-page section {
  padding: 1.2rem 0;
  border-top: 1px solid #e1e5e8;
}

.legal-page section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: #3a464e;
  font-size: 0.92rem;
}

.chat-site-footer {
  padding: clamp(3rem, 6vw, 5rem) 0 1.4rem;
  border-top: 1px solid #111820;
  background: #ffffff;
}

.chat-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid #d7dde0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.07);
}

.chat-footer-cta p:not(.chat-eyebrow) {
  margin-top: 0.55rem;
  color: #58656e;
  font-size: 0.9rem;
}

.chat-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 2.5rem 0;
}

.chat-footer-grid > div,
.chat-footer-grid nav {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.chat-footer-grid strong {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}

.chat-footer-grid a,
.chat-footer-grid span,
.chat-footer-grid p {
  color: #59666f;
  font-size: 0.82rem;
  text-decoration: none;
}

.chat-footer-logo {
  width: 112px;
  height: auto;
  margin-bottom: 0.5rem;
}

.chat-footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e6e9;
  color: #78838a;
  font-size: 0.76rem;
}

@media (max-width: 920px) {
  .chat-service-shell {
    width: 100%;
    min-height: 0;
    display: grid;
  }

  .chat-service-image,
  .chat-service-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .chat-service-image {
    min-height: 48svh;
  }

  .chat-service-card {
    width: calc(100% - 2rem);
    margin: -2rem auto 1.2rem;
    padding: 1.7rem 1.35rem;
  }

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

  .chat-info-card,
  .chat-footer-cta,
  .chat-section-heading {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .chat-form-card .form-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 850px) {
  body.nav-ready .site-header .nav-toggle {
    display: inline-flex;
    min-width: 88px;
    min-height: 76px;
    padding-inline: 1rem;
  }

  body.nav-ready .site-header .main-nav {
    top: 76px;
    border-bottom: 1px solid #d7dde0;
  }

  .site-header-inner {
    min-height: 76px;
  }
}

@media (max-width: 620px) {
  .chat-service-image {
    min-height: 40svh;
  }

  .chat-service-card {
    width: calc(100% - 1.2rem);
    margin-top: -1.2rem;
    padding: 1.35rem 1rem;
  }

  .chat-service-card h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .chat-service-actions,
  .chat-inline-actions,
  .chat-footer-actions,
  .chat-feature-grid,
  .chat-gallery-grid,
  .chat-manager-grid,
  .chat-form-card .form-contact,
  .chat-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .chat-page-shell,
  .chat-footer-shell,
  .legal-page {
    width: calc(100% - 1.2rem);
  }

  .chat-feature-card.has-media {
    grid-template-rows: minmax(210px, 1fr) auto;
  }

  .chat-gallery-item {
    min-height: 250px;
  }

  .chat-info-card,
  .chat-form-card,
  .legal-page {
    padding: 1.25rem;
  }

  .chat-fact-list > div,
  .chat-contact-links a {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .chat-footer-base {
    flex-direction: column;
  }
}

/* components/zz-phone.css */
.footer-phone-button {
  color: var(--on-accent);
}

.contact-data > .contact-phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 52px;
  padding: 0.8rem 1.3rem;
  border: 2px solid var(--brand-blue-action);
  color: var(--on-accent);
}

.contact-data > .contact-phone-button:last-of-type {
  border-bottom: 2px solid var(--brand-blue-action);
}

.contact-data > .contact-phone-button:hover,
.contact-data > .contact-phone-button:focus-visible,
.phone-reveal.is-revealed {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-accent);
  transform: translateY(-2px);
}

.contact-data .contact-phone-button .phone-reveal-label,
.contact-data .contact-phone-button .phone-reveal-number {
  display: inline-flex;
  margin: 0;
  color: inherit;
  font-size: var(--fs-small);
  font-weight: 800;
}

.phone-reveal.is-revealed .phone-reveal-label {
  opacity: 0;
  transform: translateY(-55%);
}

.phone-reveal.is-revealed .phone-reveal-number {
  opacity: 1;
  transform: translateY(0);
}

.legal-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 520px) {
  .hero-actions > .button,
  .footer-actions > .button,
  .phone-reveal,
  .contact-data > .contact-phone-button {
    min-width: 0;
    width: 100%;
  }
}

/* components/zzz-nav-contact.css */
.main-nav .nav-contact,
.main-nav .nav-current {
  background: var(--brand-blue-action);
  color: #ffffff;
}

.main-nav a.nav-contact:is(:hover, :focus-visible) {
  background: var(--accent);
  color: #ffffff;
}

/* components/zzz-service-card-fixes.css */
/* Service-card corrections requested for the redesign preview. */
.chat-service-card {
  width: min(580px, 50%);
  min-width: 0;
  padding: clamp(1.8rem, 3vw, 2.6rem);
}

.chat-service-card > * {
  min-width: 0;
  max-width: 100%;
}

.chat-service-card h1 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(2.25rem, 3.25vw, 3.3rem);
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.chat-secondary-action {
  background: var(--accent);
  color: var(--on-accent);
}

.chat-secondary-action:is(:hover, :focus-visible) {
  background: var(--accent-hover);
  color: var(--on-accent);
}

@media (max-width: 920px) {
  .chat-service-card {
    width: calc(100% - 2rem);
  }
}

@media (max-width: 620px) {
  .chat-service-card {
    width: calc(100% - 1.2rem);
  }

  .chat-service-card h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    overflow-wrap: anywhere;
  }
}

/* components/zzzz-header-transparency.css */
/* Keep the sticky header lightly translucent while preserving readability. */
.site-header {
  background: rgba(255, 255, 255, 0.42);
}

/* components/zzzzz-active-nav.css */
/* Active navigation item: use BoReUm red instead of the neutral grey state. */
.main-nav a[aria-current="page"],
.main-nav .nav-current {
  background: var(--accent);
  color: var(--on-accent);
}

.main-nav a[aria-current="page"]:is(:hover, :focus-visible),
.main-nav .nav-current:is(:hover, :focus-visible) {
  background: var(--accent-hover);
  color: var(--on-accent);
}

/* components/zzzzz-remove-small-heading-labels.css */
/* Remove the small eyebrow/side labels that sit next to larger headings. */
.chat-eyebrow,
.chat-section-heading > p,
.section-label,
.partner-title {
  display: none !important;
}

.chat-section-heading {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.chat-section-heading h2 {
  grid-column: 1 / -1;
}

/* components/zzzzzz-moving-feature-line.css */
/* Shared service photo rail: fixed overlay cards that scroll horizontally. */
.chat-photo-rail-block {
  min-width: 0;
}

.chat-photo-rail {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0 1.1rem;
  scroll-padding-inline: 0.1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.chat-photo-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.chat-photo-panel {
  position: relative;
  flex: 0 0 clamp(19rem, 31vw, 24.5rem);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  outline: 0;
  transition: transform 260ms ease;
}

.chat-photo-panel:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.chat-photo-panel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgb(18 29 38 / 0.12);
  border-radius: 8px;
  background: #eef1f2;
  box-shadow: 0 12px 30px rgb(17 24 32 / 0.12);
  transition:
    transform 280ms cubic-bezier(0.2, 0.72, 0.2, 1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.chat-photo-panel-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform 520ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.chat-photo-panel-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  min-height: 7.2rem;
  padding: 1.2rem 1.15rem 1.15rem;
  background: rgb(7 12 17 / 0.42);
  box-shadow: 0 -34px 54px rgb(7 12 17 / 0.46);
}

.chat-photo-panel-copy h3 {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow:
    0 3px 16px rgb(0 0 0 / 0.82),
    0 1px 2px rgb(0 0 0 / 0.9);
}

@media (hover: hover) and (pointer: fine) {
  .chat-photo-panel:hover {
    transform: translateY(-3px);
  }

  .chat-photo-panel:hover .chat-photo-panel-media {
    border-color: rgb(18 29 38 / 0.2);
    box-shadow: 0 18px 38px rgb(17 24 32 / 0.16);
  }

  .chat-photo-panel:hover .chat-photo-panel-image {
    transform: scale(1.018);
  }
}

.chat-gallery-photo-rail {
  margin-top: 0.2rem;
}

@media (max-width: 980px) {
  .chat-photo-rail {
    gap: 0.8rem;
    padding-bottom: 0.85rem;
  }

  .chat-photo-panel {
    flex-basis: min(78vw, 21rem);
  }

  .chat-photo-panel-copy {
    min-height: 6.7rem;
    padding: 1rem 1rem 1.05rem;
  }

  .chat-photo-panel-copy h3 {
    font-size: clamp(1.2rem, 4.7vw, 1.5rem);
  }
}

@media (max-width: 560px) {
  .chat-photo-rail {
    margin-right: -0.6rem;
    gap: 0.7rem;
  }

  .chat-photo-panel {
    flex-basis: min(82vw, 20rem);
  }

  .chat-photo-panel-media {
    border-radius: 7px;
  }

  .chat-photo-panel-copy {
    min-height: 6.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-photo-panel,
  .chat-photo-panel-media,
  .chat-photo-panel-image {
    transition: none !important;
  }
}

/* components/zzzzzzz-clearance-process.css */
.chat-clearance-process {
  position: relative;
  display: grid;
  gap: 0;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.chat-clearance-process::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 35px;
  width: 2px;
  background: #d7dde1;
}

.chat-clearance-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.2rem, 3vw, 2rem);
  min-height: 150px;
  padding: 0 0 clamp(2.1rem, 5vw, 3.7rem);
  opacity: 1;
  transform: none;
}

.chat-clearance-step:last-child {
  min-height: 0;
  padding-bottom: 0;
}

.chat-clearance-number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1.5px solid #c6d0d6;
  border-radius: 50%;
  background: #fff;
  color: #69757d;
  font-size: 0.88rem;
  font-weight: 780;
  letter-spacing: 0.03em;
  transition: border-color 320ms ease, box-shadow 320ms ease, color 320ms ease, transform 320ms ease;
}

.chat-clearance-copy {
  padding-top: 0.35rem;
}

.chat-clearance-copy h3 {
  margin: 0;
  max-width: 28ch;
  color: #111820;
  font-family: var(--body);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.chat-clearance-copy p {
  margin: 0.55rem 0 0;
  color: #6a767e;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 600;
  line-height: 1.4;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .chat-clearance-step {
      animation: chat-clearance-reveal linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 38%;
    }

    .chat-clearance-step .chat-clearance-number {
      animation: chat-clearance-number-reveal linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 34%;
    }
  }
}

@keyframes chat-clearance-reveal {
  from {
    opacity: 0.16;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chat-clearance-number-reveal {
  from {
    border-color: #c6d0d6;
    box-shadow: 0 0 0 0 rgba(204, 0, 103, 0);
    color: #7c878e;
    transform: scale(0.94);
  }
  to {
    border-color: #cc0067;
    box-shadow: 0 0 0 9px rgba(204, 0, 103, 0.065);
    color: #3b4650;
    transform: scale(1);
  }
}

@media (max-width: 700px) {
  .chat-clearance-process {
    width: 100%;
  }

  .chat-clearance-process::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
  }

  .chat-clearance-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    min-height: 132px;
    padding-bottom: 2.4rem;
  }

  .chat-clearance-number {
    width: 52px;
    height: 52px;
    font-size: 0.8rem;
  }

  .chat-clearance-copy {
    padding-top: 0.2rem;
  }

  .chat-clearance-copy h3 {
    max-width: 23ch;
    font-size: clamp(1.25rem, 5.6vw, 1.58rem);
    line-height: 1.2;
  }

  .chat-clearance-copy p {
    margin-top: 0.45rem;
    font-size: 0.92rem;
  }
}

/* components/zzzzzzz-photo-rail-arrows.css */
/* Minimal previous/next controls for every horizontally scrollable service photo rail. */
.chat-photo-rail-block {
  position: relative;
  padding-bottom: 3rem;
}

.chat-photo-rail-block .chat-photo-rail {
  padding-bottom: 0.55rem;
}

.chat-photo-rail-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.7rem;
  margin: 0;
  pointer-events: none;
}

.chat-photo-rail-controls[hidden] {
  display: none;
}

.chat-photo-rail-arrow {
  appearance: none;
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  box-shadow: none;
  pointer-events: auto;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.chat-photo-rail-arrow span {
  display: block;
  font-family: var(--display);
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 1;
}

.chat-photo-rail-arrow:disabled {
  opacity: 0.24;
  cursor: default;
}

.chat-photo-rail-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .chat-photo-rail-arrow:not(:disabled):hover {
    color: var(--accent);
  }

  .chat-photo-rail-arrow-prev:not(:disabled):hover {
    transform: translateX(-3px);
  }

  .chat-photo-rail-arrow-next:not(:disabled):hover {
    transform: translateX(3px);
  }
}

@media (max-width: 560px) {
  .chat-photo-rail-block {
    padding-bottom: 2.8rem;
  }

  .chat-photo-rail-block .chat-photo-rail {
    padding-bottom: 0.45rem;
  }

  .chat-photo-rail-controls {
    min-height: 2.55rem;
  }

  .chat-photo-rail-arrow {
    width: 2.6rem;
    height: 2.6rem;
  }

  .chat-photo-rail-arrow span {
    font-size: 1.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-photo-rail-arrow {
    transition: none !important;
  }
}

/* components/zzzzzzzz-redesign-2.css */
/* Landing-page backdrop composition (/). The landing-page sections sit on one
 * persistent backdrop: the fleet photo is fixed behind the route, the enquiry
 * panel floats on it, the review section covers it, a gap shows it again and
 * the footer closes the page. Every selector is scoped to body.rd2-page, so no
 * other route picks up any of these rules; the panel, the review track and the
 * footer keep their shared styles untouched. */
.rd2-page {
  /* Rendered height of the shared sticky header (logo column plus the 4px/1px
   * rules): 124px on tablet and desktop, 105px on phones. An inline script on
   * the route refines the value from the live header. */
  --rd2-header: 124px;
  /* The backdrop paints between the canvas and the in-flow content (negative
   * z-index in the root stacking context). The body must stay transparent so
   * the photo shows even if html ever gets a background of its own. */
  background: transparent;
}

/* The sticky header sits on the photo here, so it needs a firmer white. */
.rd2-page .site-header {
  background: rgba(255, 255, 255, 0.96);
}

/* --- persistent backdrop ------------------------------------------------- */
/* Fixed to the viewport and painted behind every in-flow box; only boxes with
 * a background (panel, review field, header, footer) cover it. */
.rd2-backdrop {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  background: #dfe6ea;
}

.rd2-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: 50% 50%;
}

/* One slow, centred scale across the whole page: no lateral movement. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .rd2-backdrop img {
      animation: rd2-backdrop-settle linear both;
      animation-timeline: scroll(root);
    }
  }
}

@keyframes rd2-backdrop-settle {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

/* --- hero: photo first, the enquiry panel peeks in from below ------------- */
/* The panel starts about 70% down the first screen: the fleet and the harbour
 * come first, the panel's headline shows below them and the rest of the panel
 * continues after the fold. */
.rd2-hero {
  display: grid;
  padding-top: calc((100svh - var(--rd2-header)) * 0.7);
  padding-bottom: clamp(1.25rem, 3vw, 2.5rem);
}

.rd2-hero-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
}

/* The panel keeps its landing-page size and look; only the negative margin
 * that tucked it under the inline photo is not needed here. */
.rd2-hero .home-selector-card {
  margin-top: 0;
}

/* --- review chapter: the landing-page proof section on an opaque field ---- */
.rd2-chapter {
  position: relative;
  display: grid;
  align-content: start;
  min-height: calc(100svh - var(--rd2-header));
  padding: 0 0 clamp(2.5rem, 6vw, 5rem);
  border-top: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.rd2-chapter-shell {
  min-width: 0;
}

/* A subtle arrival for the chapter content only; the field itself stays
 * opaque from the first pixel, so the photo is covered the moment it enters. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rd2-chapter-shell {
      animation: rd2-chapter-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 240px;
    }
  }
}

@keyframes rd2-chapter-arrive {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.rd2-page .partner-band,
.rd2-page .review-track-section {
  background: var(--paper);
}

.rd2-page .partner-band {
  border-top: 2px solid var(--line-strong);
}

.rd2-page .review-track-section {
  border-bottom: 0;
}

/* Gaps are empty on purpose: this is where the photo shows again. */
.rd2-gap {
  min-height: clamp(320px, 70svh, 720px);
}

/* --- breakpoints ---------------------------------------------------------- */
@media (max-width: 850px) {
  .rd2-gap {
    min-height: clamp(260px, 56svh, 560px);
  }
}

@media (max-width: 700px) {
  .rd2-hero .home-selector-card {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .rd2-page {
    --rd2-header: 105px;
  }

  /* Phones see a narrow slice of the photo: frame the middle van so its
   * BoReUm mark, its front and the harbour behind it share the screen. */
  .rd2-backdrop img {
    object-position: 37% 50%;
  }

  .rd2-hero {
    padding-bottom: 1rem;
  }
}

/* responsive.css */
@media (max-width: 1100px) {
  .main-nav a {
    padding-inline: 0.65rem;
  }

  .home-hero,
  .landing-grid,
  .page-hero,
  .contact-grid,
  .about-hero-grid,
  .about-grid-inner,
  .review-track-heading,
  .feature-plain-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* Tablet and mobile: keep the interactive preview as a compact media card
   * between the section heading and the service list. */
  .rail-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "panel"
      "list";
    grid-template-rows: auto auto auto;
  }

  .rail-panel {
    position: static;
    width: auto;
    margin-inline: var(--pad);
    aspect-ratio: 16 / 10;
    border: 2px solid var(--line-strong);
  }

  .rail-panel .photo img {
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .rail-list {
    padding-top: clamp(1.25rem, 3vw, 2rem);
  }

  /* The review heading splits evenly from here down, so the rule of the logo
   * strip above it moves with it. */
  .partner-grid {
    grid-template-columns: calc((100% - min(100%, 1180px)) / 2 + min(100%, 1180px) * 0.5) minmax(0, 1fr);
  }

  .detail-section-media .detail-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .detail-media {
    grid-column: 1 / -1;
    border-top: 2px solid var(--line-strong);
    border-left: 0;
  }

  .detail-media .photo img {
    max-height: 420px;
  }
}

/* "Haushaltsauflösungen" is the longest navigation label. Between the mobile
 * breakpoint and 960px the desktop row needs tighter link padding and a
 * narrower gap, otherwise the right-aligned navigation reaches back into the
 * logo column. The Anfrage button keeps its own padding. */
@media (min-width: 851px) and (max-width: 960px) {
  .main-nav {
    gap: 0.125rem;
  }

  .main-nav a {
    padding-inline: 0.25rem;
    white-space: nowrap;
  }
}

@media (max-width: 1000px) {
  .gallery-count-4,
  .gallery-count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 850px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-ready .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-width: 112px;
    min-height: 112px;
    padding-inline: var(--pad);
    border: 0;
    border-left: 1px solid var(--line);
    background: #fff;
    font-size: var(--fs-small);
    font-weight: 800;
  }

  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    content: "";
  }

  .nav-toggle-lines {
    position: relative;
  }

  .nav-toggle-lines::before {
    position: absolute;
    top: -6px;
  }

  .nav-toggle-lines::after {
    position: absolute;
    top: 6px;
  }

  .nav-open .nav-toggle-lines {
    background: transparent;
  }

  .nav-open .nav-toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .main-nav {
    position: static;
    grid-column: 1 / -1;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--line-strong);
    background: #fff;
    padding: 0;
    gap: 0;
    align-items: stretch;
  }

  .nav-ready .main-nav {
    position: absolute;
    display: none;
  }

  .nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    min-height: 58px;
    padding-inline: var(--pad);
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .main-nav .nav-contact {
    justify-content: flex-start;
    margin-left: 0;
  }

  /* Single-column stacking for every two-column composition. */
  .home-hero,
  .home-intro,
  .page-hero,
  .landing-grid,
  .service-landing-flip .landing-grid,
  .contact-grid,
  .contact-head,
  .about-hero-grid,
  .about-grid-inner,
  .review-track-heading,
  .partner-grid,
  .feature-plain-grid,
  .gallery-head,
  .detail-grid,
  .detail-section-media .detail-grid,
  .process-grid,
  .footer-lead {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-index,
  .landing-media,
  .page-hero-media,
  .about-facts,
  .about-team,
  .contact-form,
  .check-list-wide,
  .detail-copy,
  .detail-media,
  .process-list,
  .review-track-title,
  .partner-viewport {
    border-top: 2px solid var(--line-strong);
    border-left: 0;
  }

  .service-landing-flip .landing-copy {
    grid-column: 1;
    grid-row: 2;
    border-top: 2px solid var(--line-strong);
    border-left: 0;
  }

  .service-landing-flip .landing-media {
    grid-column: 1;
    grid-row: 1;
    border-top: 0;
  }

  .detail-copy {
    padding: var(--section-y) var(--pad);
  }

  .detail-head {
    padding-bottom: clamp(1.25rem, 3vw, 2rem);
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-list li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-list li {
    padding: clamp(1.5rem, 4vw, 2.25rem) var(--pad);
  }

  .home-intro,
  .page-hero-copy,
  .about-hero-copy {
    min-height: 0;
  }

  .page-hero-media .photo img,
  .detail-media .photo img {
    max-height: 52vh;
  }

  .page-hero-media .photo img {
    max-height: 420px;
  }

  .landing-media {
    min-height: clamp(260px, 62vw, 420px);
  }

  .landing-media .photo {
    min-height: 0;
    height: 100%;
  }

  .landing-media .photo img {
    max-height: none;
  }

  .footer-lead .footer-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 600px) {
  /* Keep enlarged text inside the narrow composition. The caps preserve the
   * existing 320px spacing at the default root size while preventing rem-based
   * header padding from consuming the logo column at 200% text. */
  .brand {
    min-width: 0;
  }

  .brand img {
    flex: 0 0 auto;
  }

  .nav-ready .nav-toggle {
    gap: min(0.8rem, 13px);
    padding-inline: min(var(--pad), 20px);
  }

  .about-hero-copy > *,
  .hero-actions,
  .footer-actions,
  .footer-grid nav,
  .footer-grid > div {
    min-width: 0;
    max-width: 100%;
  }

  .hero-actions > *,
  .footer-actions > *,
  .footer-grid a {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Long German compounds and unbroken contact values must contribute a zero
   * min-content width when text is enlarged. `anywhere` only creates a break
   * when the word cannot fit, so default-size line wrapping is unchanged. */
  main h1,
  main h2,
  main h3,
  main p,
  main li,
  main dd,
  .manager-card figcaption,
  .contact-data strong,
  .footer-grid p,
  .service-name {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .home-intro,
  .home-index,
  .landing-copy,
  .page-hero-copy,
  .about-hero-copy,
  .detail-copy,
  .rail-head {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    max-width: 100%;
  }

  .home-intro > *,
  .home-index > *,
  .landing-copy > *,
  .page-hero-copy > *,
  .about-hero-copy > *,
  .detail-copy > *,
  .rail-head > *,
  .contact-head > * {
    min-width: 0;
    max-width: 100%;
  }

  .service-list,
  .service-list li,
  .service-list a,
  .service-name {
    min-width: 0;
    max-width: 100%;
  }
  .site-header-inner,
  .brand,
  .nav-ready .nav-toggle {
    min-height: 100px;
  }

  .brand {
    padding-inline: min(var(--pad), 20px);
    padding-block: 0.9rem 1.1rem;
  }

  .brand img {
    height: 66px;
  }

  .home-intro h1 {
    max-width: 16ch;
  }

  .home-index {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .service-list a {
    min-height: 78px;
  }

  .page-hero-copy h1 {
    font-size: clamp(2.25rem, 8.8vw, 3rem);
  }

  .check-list,
  .check-grid,
  .form-grid,
  .form-contact,
  .footer-grid,
  .management-grid,
  .gallery-count-2,
  .gallery-count-3,
  .gallery-count-4,
  .gallery-count-5 {
    grid-template-columns: minmax(0, 1fr);
  }

  .management-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
    gap: 2rem;
  }

  .manager-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }

  .manager-card figcaption {
    padding-top: 0;
  }

  .review-heading-rating {
    flex-wrap: wrap;
  }

  .gallery-grid {
    margin-inline: var(--pad);
  }

  .rail-list {
    padding-inline: var(--pad);
  }

  .footer-base-inner {
    flex-direction: column;
  }
}

/*
 * Keep one composition on large screens and at reduced browser zoom. The
 * surrounding white space is intentional; content never expands into a banner.
 */
@media (min-width: 2200px) {
  :root {
    --max: 1440px;
    --pad: 3.5rem;
    --measure: 65ch;
  }

  .lead {
    max-width: 52ch;
  }

  .home-intro .lead,
  .landing-copy .lead,
  .page-hero-copy .lead {
    max-width: 56ch;
  }

  .landing-media .photo img,
  .page-hero-media .photo img,
  .detail-media .photo img,
  .gallery-grid .photo img {
    max-height: 640px;
  }

  .management-grid {
    max-width: 1100px;
  }

  .review-card {
    width: 360px;
    flex-basis: 360px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .review-track-viewport {
    overflow-x: auto;
  }

  .review-track {
    width: max-content;
    animation: none;
  }

  .review-track-duplicate {
    display: none;
  }

  .partner-viewport {
    overflow-x: auto;
  }

  .partner-track {
    width: max-content;
    animation: none;
  }

  .partner-track-duplicate {
    display: none;
  }
}


@media (max-width: 850px) {
  .brand {
    border-right: 0;
  }
}
