:root {
  --paper: #fbfaf7;
  --paper-warm: #f5f0e8;
  --soft: #eee7dc;
  --soft-strong: #e4dbcf;
  --ink: #22302d;
  --ink-soft: #4f5d59;
  --brand: #2f514c;
  --brand-deep: #233f3b;
  --brand-pale: #dce7e3;
  --accent: #9b524a;
  --accent-deep: #783e38;
  --accent-pale: #f0deda;
  --line: #d7d0c6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(34, 48, 45, 0.12);
  --shadow-soft: 0 10px 30px rgba(34, 48, 45, 0.08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100% - 48px));
  --header-height: 78px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.026em;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5vw, 3.6rem);
  font-weight: 760;
  max-width: 780px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.7vw, 2.75rem);
  font-weight: 730;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 700;
}

p {
  margin-bottom: 18px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--brand);
}

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

.section-pad {
  padding-block: 88px;
}

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

.eyebrow {
  margin-bottom: 13px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-deep);
  transform: translateY(-150%);
  transition: transform var(--transition);
}

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

.operator-bar {
  color: #f6f2eb;
  background: #1f3431;
  font-size: 0.82rem;
  line-height: 1.35;
}

.operator-bar .site-shell {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.operator-bar strong {
  margin-right: 0.33em;
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(34, 48, 45, 0.1);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--paper-warm);
  background: var(--brand);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 790;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-tagline {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 580;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 26px;
}

.main-nav > a {
  position: relative;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 660;
  text-decoration: none;
}

.main-nav > a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand);
  font-size: 0.87rem;
  font-weight: 720;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: inline-flex;
  min-width: 56px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

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

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.theme-banner {
  position: relative;
  height: 128px;
  overflow: hidden;
  background: var(--brand-deep);
}

.theme-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.theme-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 47, 44, 0.82) 0%, rgba(28, 47, 44, 0.48) 58%, rgba(28, 47, 44, 0.14) 100%);
}

.theme-banner-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.theme-banner-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.12rem, 2.4vw, 1.55rem);
  font-weight: 690;
  letter-spacing: -0.012em;
  line-height: 1.28;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.image-label {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 9px;
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(25, 35, 33, 0.84);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
}

.hero {
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero-grid {
  display: grid;
  align-items: start;
  gap: 28px;
}

.hero-copy {
  max-width: 750px;
}

.hero-followup {
  max-width: 750px;
}

.hero-lead {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-note {
  max-width: 700px;
  margin: 0;
  padding-left: 17px;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 0.97rem;
  font-weight: 740;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 9px 24px rgba(47, 81, 76, 0.18);
}

.button-primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 12px 30px rgba(47, 81, 76, 0.22);
}

.button-secondary {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--brand);
}

.button-secondary-strong {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
  background: var(--white);
}

.button-secondary-strong:hover {
  color: var(--white);
  background: var(--accent-deep);
}

.media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  height: 365px;
}

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

.routes {
  padding-block: 68px 82px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.compact-heading {
  margin-bottom: 34px;
}

.route-grid {
  display: grid;
  gap: 18px;
}

.route-card {
  position: relative;
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.route-card:hover {
  border-color: #b8b0a4;
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.route-card-primary {
  border-color: var(--brand);
  background: var(--brand-pale);
}

.route-number {
  display: block;
  margin-bottom: 25px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.route-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: auto;
  padding: 8px 0 2px;
  color: var(--accent-deep);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 760;
  cursor: pointer;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(4px);
}

.definition-grid {
  display: grid;
  gap: 42px;
}

.definition-grid .section-heading {
  margin-bottom: 0;
}

.definition-copy {
  max-width: 760px;
}

.large-copy {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.48rem);
  font-weight: 620;
  line-height: 1.5;
}

.definition-copy p:not(.large-copy) {
  color: var(--ink-soft);
}

.editorial-grid {
  display: grid;
  align-items: center;
  gap: 54px;
}

.editorial-copy {
  min-width: 0;
}

.editorial-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.editorial-copy .button {
  margin-top: 13px;
}

.editorial-media {
  min-height: 395px;
}

.editorial-media > img {
  object-position: center;
}

.situation-list {
  display: grid;
  gap: 12px;
  margin: 29px 0 25px;
}

.situation-list > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 9px;
}

.situation-list span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--brand-deep);
  background: var(--brand-pale);
  font-size: 0.73rem;
  font-weight: 900;
}

.situation-list p {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.48;
}

.section-dark {
  color: var(--ink);
  background: #e6eee9;
}

.section-dark h2,
.section-dark h3 {
  color: var(--ink);
}

.section-dark .eyebrow {
  color: var(--accent-deep);
}

.section-heading-light > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.type-list {
  border-top: 1px solid rgba(47, 81, 76, 0.24);
}

.type-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-block: 30px;
  border-bottom: 1px solid rgba(47, 81, 76, 0.24);
}

.type-index {
  padding-top: 5px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.type-item h3 {
  margin-bottom: 8px;
}

.type-item p {
  max-width: 850px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.feature-definition {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}

.feature-definition > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

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

.feature-definition dt {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 750;
}

.feature-definition dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.media-tall-on-desktop {
  min-height: 500px;
}

.media-tall-on-desktop > img {
  object-position: center 50%;
}

.buyer-grid {
  align-items: stretch;
}

.portrait-media {
  min-height: 520px;
}

.portrait-media > img {
  object-position: center 31%;
}

.buyer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0 24px;
}

.buyer-points span {
  padding: 8px 12px;
  border: 1px solid #c8bdb1;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 680;
}

.trust {
  padding-top: 78px;
  padding-bottom: 72px;
}

.trust-panel {
  display: grid;
  gap: 38px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--brand-pale);
}

.trust-copy {
  max-width: 700px;
}

.trust-copy p:not(.eyebrow) {
  color: var(--ink-soft);
}

.trust-facts {
  display: grid;
  gap: 14px;
}

.trust-facts > div {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 19px;
  border: 1px solid rgba(47, 81, 76, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
}

.trust-facts strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-deep);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  line-height: 1.08;
}

.trust-facts span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
}

.costs-section {
  padding: 0 0 78px;
  background: var(--paper);
}

.costs-panel {
  max-width: 1040px;
  padding: clamp(27px, 5vw, 43px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--paper-warm);
}

.costs-panel h2 {
  margin-bottom: 15px;
}

.costs-panel p:last-child {
  max-width: 930px;
  color: var(--ink-soft);
}

.section-form {
  background: #eee6da;
}

.form-layout {
  display: grid;
  align-items: start;
  gap: 46px;
}

.form-intro {
  max-width: 520px;
}

.form-intro > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.form-intro-note {
  margin-top: 30px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.58);
}

.form-intro-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.92rem;
}

.form-intro-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.contact-form {
  position: relative;
  padding: clamp(24px, 4.5vw, 42px);
  border: 1px solid rgba(34, 48, 45, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.intent-fieldset {
  min-width: 0;
  padding: 0;
  margin: 0 0 28px;
  border: 0;
}

.intent-options {
  display: grid;
  gap: 8px;
}

.intent-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.intent-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.intent-option span {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.intent-option input:checked + span {
  border-color: var(--brand);
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 6px 15px rgba(47, 81, 76, 0.15);
}

.intent-option input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.field-group {
  margin-bottom: 21px;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 720;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid #bfb7ab;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field-group input {
  min-height: 50px;
  padding: 11px 13px;
}

.field-group textarea {
  min-height: 168px;
  padding: 13px;
  line-height: 1.55;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #777f7c;
  opacity: 1;
}

.field-group input:hover,
.field-group textarea:hover {
  border-color: #8e9692;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 81, 76, 0.13);
}

.field-group input[aria-invalid="true"],
.field-group textarea[aria-invalid="true"] {
  border-color: #a13732;
  background: #fff8f7;
}

.field-error {
  min-height: 0;
  margin: 6px 0 0;
  color: #8c2c28;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.optional-details {
  margin: 4px 0 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.optional-details summary {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 12px 48px 12px 16px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 730;
  cursor: pointer;
  list-style: none;
}

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

.optional-details summary::after {
  position: absolute;
  right: 17px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--transition);
}

.optional-details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.optional-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.optional-grid {
  display: grid;
  gap: 0 16px;
  padding: 20px 16px 2px;
}

.consent-group {
  margin: 4px 0 22px;
}

.consent-label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
  cursor: pointer;
}

.consent-label input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.consent-label a {
  color: var(--brand-deep);
  font-weight: 700;
}

.submit-button {
  width: 100%;
  min-height: 56px;
}

.confidentiality-note {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 17px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #204d38;
  background: #dfeee6;
}

.form-status.is-error {
  color: #7d2b27;
  background: #f5dfdc;
}

.contact-section {
  padding-top: 62px;
  padding-bottom: 74px;
  background: var(--paper);
}

.contact-panel {
  max-width: 840px;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.contact-panel .eyebrow {
  margin-bottom: 10px;
}

.contact-panel h2 {
  max-width: 700px;
  margin-inline: auto;
}

.contact-person {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 760;
}

.contact-lines {
  display: grid;
  justify-content: center;
  gap: 7px;
}

.contact-lines p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-lines span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-lines a {
  color: var(--brand-deep);
  font-size: 1rem;
  font-weight: 760;
}

.site-footer {
  color: #dbe3e0;
  background: #1f3431;
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding-block: 48px 34px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 790;
  text-decoration: none;
}

.footer-grid p {
  max-width: 480px;
  margin: 0;
  color: #bfcac7;
  font-size: 0.86rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.footer-nav a,
.to-top {
  color: #eef3f1;
  font-size: 0.86rem;
  font-weight: 660;
}

.to-top {
  justify-self: start;
  text-decoration: none;
}

.footer-bottom {
  padding-block: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: #aebbb7;
  font-size: 0.78rem;
}

/* Bildhinweise */
.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-main {
  padding-block: 70px 90px;
}

.legal-card {
  max-width: 900px;
  padding: clamp(26px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.legal-card h2 {
  margin-top: 38px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.credit-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.credit-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.credit-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.credit-list a {
  overflow-wrap: anywhere;
  color: var(--brand-deep);
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  margin-top: 30px;
}

@media (min-width: 700px) {
  .intent-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .field-span-2 {
    grid-column: 1 / -1;
  }

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

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
    grid-template-areas:
      "copy image"
      "actions image";
    column-gap: 54px;
    row-gap: 22px;
  }

  .hero-copy {
    grid-area: copy;
  }

  .hero-media {
    grid-area: image;
    align-self: stretch;
  }

  .hero-followup {
    grid-area: actions;
  }

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

  .definition-grid {
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  }

  .editorial-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  }

  .editorial-grid-reverse {
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
  }

  .editorial-grid-reverse .editorial-media {
    order: 1;
  }

  .editorial-grid-reverse .editorial-copy {
    order: 2;
  }

  .buyer-grid {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  }

  .form-layout {
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  }

  .trust-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: minmax(260px, 1.1fr) minmax(320px, 1fr) auto;
    align-items: start;
  }

  .to-top {
    justify-self: end;
  }
}

@media (min-width: 1000px) {
  .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 999px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: -24px;
    left: -24px;
    z-index: 1001;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 22px 38px rgba(34, 48, 45, 0.16);
  }

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

  .main-nav > a {
    min-height: 50px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .main-nav > a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    min-height: 50px;
    margin-top: 15px;
    border-radius: 10px;
  }
}

@media (max-width: 859px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .section-pad {
    padding-block: 70px;
  }

  .hero {
    padding-block: 58px 65px;
  }

  .hero-grid,
  .editorial-grid,
  .editorial-grid-reverse,
  .buyer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    height: 300px;
  }

  .editorial-grid-reverse .editorial-copy,
  .editorial-grid-reverse .editorial-media {
    order: initial;
  }

  .editorial-grid-reverse .editorial-copy {
    order: 1;
  }

  .editorial-grid-reverse .editorial-media {
    order: 2;
  }

  .seller .editorial-grid-reverse .editorial-media {
    order: 2;
  }

  .seller .editorial-grid-reverse .editorial-copy {
    order: 1;
  }

  .buyer .editorial-grid-reverse .editorial-media {
    order: 2;
  }

  .buyer .editorial-grid-reverse .editorial-copy {
    order: 1;
  }

  .editorial-media,
  .media-tall-on-desktop {
    min-height: 330px;
  }

  .portrait-media {
    min-height: 390px;
  }

  .portrait-media > img {
    object-position: center 29%;
  }

  .form-intro {
    max-width: none;
  }
}

@media (max-width: 699px) {
  :root {
    --header-height: 72px;
    --shell: min(100% - 30px, 640px);
  }

  body {
    font-size: 17px;
    line-height: 1.62;
  }

  h1 {
    font-size: clamp(2.12rem, 11vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.78rem, 8.5vw, 2.2rem);
  }

  h3 {
    font-size: 1.24rem;
  }

  .operator-bar {
    font-size: 0.73rem;
  }

  .operator-bar .site-shell {
    min-height: 38px;
    padding-block: 5px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav-toggle {
    min-width: 48px;
  }

  .theme-banner {
    height: 105px;
  }

  .theme-banner-copy p {
    max-width: calc(100% - 58px);
    font-size: 1rem;
    line-height: 1.3;
  }

  .hero-copy .eyebrow {
    max-width: 320px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    height: 230px;
    border-radius: var(--radius-md);
  }

  .routes {
    padding-block: 56px 64px;
  }

  .route-card {
    min-height: 0;
    padding: 25px;
  }

  .route-number {
    margin-bottom: 18px;
  }

  .editorial-grid,
  .definition-grid,
  .form-layout {
    gap: 36px;
  }

  .editorial-media,
  .media-tall-on-desktop {
    min-height: 270px;
    border-radius: var(--radius-md);
  }

  .portrait-media {
    min-height: 340px;
  }

  .type-item {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding-block: 24px;
  }

  .trust-panel,
  .contact-form,
  .contact-panel {
    border-radius: var(--radius-md);
  }

  .trust-facts > div {
    min-height: 96px;
  }

  .contact-form {
    padding: 23px 18px;
  }

  .intent-option span {
    justify-content: flex-start;
    padding-inline: 15px;
    text-align: left;
  }

  .contact-lines p {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .footer-grid {
    padding-block: 40px 28px;
  }
}

@media (max-width: 380px) {
  :root {
    --shell: calc(100% - 24px);
  }

  body {
    font-size: 16.5px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

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

  .theme-banner-copy p {
    max-width: calc(100% - 48px);
    font-size: 0.91rem;
  }

  .button {
    padding-inline: 15px;
    overflow-wrap: anywhere;
  }

  .route-card,
  .trust-panel,
  .contact-form,
  .contact-panel {
    padding-inline: 18px;
  }

  .type-item {
    grid-template-columns: 1fr;
  }

  .type-index {
    padding-top: 0;
  }

  .footer-nav {
    gap: 10px 17px;
  }
}

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

/* Gezielte Umbruchhilfe für lange deutsche Begriffe auf kleinen Displays. */
h1,
h2,
h3,
.button,
.contact-lines,
.footer-nav {
  overflow-wrap: break-word;
  word-break: normal;
}
