:root {
  --navy-950: #0d2a43;
  --navy-900: #12324b;
  --navy-800: #173f5c;
  --bavaria-700: #215578;
  --bavaria-600: #2f6f9f;
  --bavaria-100: #eaf4f8;
  --field-700: #46674b;
  --field-600: #5b7a5c;
  --field-100: #eaf0e8;
  --wood-700: #7a5d43;
  --wood-100: #eee5da;
  --oat-100: #f6f1e7;
  --oat-50: #fbf9f4;
  --white: #ffffff;
  --ink: #1c2a33;
  --muted: #5b6870;
  --line: #cdd9de;
  --line-soft: #e4eaed;
  --accent: #a64f28;
  --accent-dark: #843b1c;
  --success: #356c4c;
  --error: #a13c35;
  --shadow-sm: 0 10px 30px rgba(13, 42, 67, 0.08);
  --shadow-lg: 0 28px 72px rgba(13, 42, 67, 0.16);
  --radius-sm: 0.7rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.8rem;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

a {
  color: var(--bavaria-700);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

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

h1,
h2,
h3 {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  hyphens: none;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 5.6vw, 4.65rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.65rem 0.95rem;
  border-radius: 0.45rem;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 820px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4.1rem, 8vw, 7rem) 0;
}

.section--tight {
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
}

.section--oat {
  background: var(--oat-100);
}

.section--blue {
  background: var(--bavaria-100);
}

.section--field {
  background: var(--field-100);
}

.section--navy {
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy-950);
}

.section--navy h2,
.section--navy h3,
.section--navy a {
  color: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.section--navy .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--bavaria-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: #b9d9ea;
}

.lead {
  max-width: 760px;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
}

.section--navy .lead {
  color: rgba(255, 255, 255, 0.78);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.15rem;
  border: 2px solid var(--bavaria-600);
  border-radius: 999px;
  color: var(--white);
  background: var(--bavaria-600);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
  border-color: var(--bavaria-700);
  color: var(--white);
  background: var(--bavaria-700);
  transform: translateY(-1px);
}

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

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

.button--outline {
  color: var(--bavaria-700);
  background: transparent;
}

.button--outline:hover {
  color: var(--white);
  background: var(--bavaria-700);
}

.button--light {
  border-color: var(--white);
  color: var(--navy-950);
  background: var(--white);
}

.button--light:hover {
  border-color: #dcecf3;
  color: var(--navy-950);
  background: #dcecf3;
}

.button__arrow {
  font-size: 1.1em;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(205, 217, 222, 0.85);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 24px rgba(13, 42, 67, 0.06);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy-950);
  text-decoration: none;
}

.brand:hover {
  color: var(--navy-950);
}

.brand img {
  width: 80px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand__copy {
  display: grid;
  min-width: 0;
}

.brand__name {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__line {
  margin-top: 0.18rem;
  color: var(--bavaria-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-content: center;
  gap: 5px;
  color: var(--navy-950);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle > span:not(.visually-hidden) {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 150ms ease, opacity 150ms ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  z-index: 99;
  inset: 79px 0 auto;
  padding: 1.2rem 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-130%);
  visibility: hidden;
  transition: transform 180ms ease, visibility 180ms ease;
}

.site-nav.is-open {
  transform: translateY(0);
  visibility: visible;
}

.site-nav ul {
  display: grid;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0;
  gap: 0.35rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.85rem 0.8rem;
  border-radius: 0.65rem;
  color: var(--navy-950);
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--bavaria-700);
  background: var(--bavaria-100);
}

.site-nav .nav-contact {
  color: var(--white);
  background: var(--bavaria-600);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact[aria-current="page"] {
  color: var(--white);
  background: var(--bavaria-700);
}

.hero {
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6.4rem) 0;
  background:
    linear-gradient(135deg, rgba(234, 244, 248, 0.88), rgba(246, 241, 231, 0.7)),
    var(--white);
}

.hero::after {
  position: absolute;
  z-index: 0;
  top: -10rem;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  border: 5rem solid rgba(47, 111, 159, 0.06);
  border-radius: 50%;
  content: "";
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  min-width: 0;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.hero-copy h1 {
  max-width: 14ch;
  hyphens: manual;
  overflow-wrap: normal;
}

.hero-kicker {
  margin-top: 1.4rem;
  color: var(--field-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
}

.hero-copy .eyebrow {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  position: absolute;
  z-index: -1;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid rgba(47, 111, 159, 0.35);
  border-radius: var(--radius-lg);
  content: "";
}

.hero-media img {
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center;
}

.hero-note {
  position: relative;
  width: calc(100% - 2rem);
  margin: -2rem auto 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  padding: 1.1rem 0;
  gap: 0.65rem;
}

.trust-grid p {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy-900);
  font-size: 0.94rem;
  font-weight: 750;
}

.trust-grid p::before {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bavaria-600);
  content: "";
}

.card-grid,
.feature-grid,
.steps-grid,
.region-grid {
  display: grid;
  gap: 1rem;
}

.route-card,
.feature-card,
.step-card,
.region-card {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.route-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-top: 5px solid var(--bavaria-600);
}

.route-card:nth-child(2) {
  border-top-color: var(--accent);
}

.route-card:nth-child(3) {
  border-top-color: var(--field-600);
}

.route-card .number,
.step-card .number {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  place-items: center;
  color: var(--white);
  background: var(--bavaria-600);
  font-weight: 900;
}

.route-card:nth-child(2) .number {
  background: var(--accent);
}

.route-card:nth-child(3) .number {
  background: var(--field-600);
}

.route-card p {
  color: var(--muted);
}

.section--navy .route-card h3 {
  color: var(--navy-950);
}

.route-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.feature-card {
  box-shadow: none;
}

.feature-card p,
.region-card p,
.step-card p {
  color: var(--muted);
}

.icon-mark {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.8rem;
  place-items: center;
  color: var(--bavaria-700);
  background: var(--bavaria-100);
  font-size: 1.15rem;
  font-weight: 900;
}

.split {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split > *,
.contact-panel > *,
.card-grid > *,
.feature-grid > *,
.steps-grid > *,
.region-grid > *,
.footer-grid > * {
  min-width: 0;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.check-list {
  display: grid;
  margin: 1.4rem 0 0;
  padding: 0;
  gap: 0.7rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--field-700);
  border-radius: 50%;
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 0.78em;
  left: 0.23rem;
  width: 0.38rem;
  height: 0.2rem;
  border-bottom: 2px solid var(--field-700);
  border-left: 2px solid var(--field-700);
  content: "";
  transform: rotate(-45deg);
}

.steps-grid {
  counter-reset: step;
}

.step-card {
  box-shadow: none;
}

.step-card .number {
  background: var(--navy-900);
}

.bayern-line {
  overflow: hidden;
  padding: 1.25rem 0;
  color: var(--white);
  background: var(--bavaria-600);
}

.bayern-line .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem 1.25rem;
  text-align: center;
}

.bayern-line strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.bayern-line span {
  color: rgba(255, 255, 255, 0.84);
}

.anchor-nav {
  position: sticky;
  z-index: 30;
  top: 79px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.anchor-nav ul {
  display: flex;
  margin: 0;
  padding: 0.75rem 0;
  gap: 0.45rem;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

.anchor-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-900);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.anchor-nav a:hover {
  border-color: var(--bavaria-600);
  color: var(--bavaria-700);
  background: var(--bavaria-100);
}

.self-check {
  display: grid;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  gap: 0.8rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.check-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  gap: 0.75rem;
  cursor: pointer;
}

.check-option:has(input:checked) {
  border-color: var(--field-600);
  background: var(--field-100);
}

.check-option input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.16rem;
  accent-color: var(--field-700);
}

.check-result {
  margin-top: 0.6rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--field-600);
  background: var(--field-100);
  font-weight: 750;
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
}

.contact-copy {
  padding: clamp(1.5rem, 5vw, 3.2rem);
  color: rgba(255, 255, 255, 0.8);
}

.contact-copy h2,
.contact-copy h3,
.contact-copy a {
  color: var(--white);
}

.contact-links {
  display: grid;
  margin: 1.4rem 0 0;
  gap: 0.65rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.contact-links a:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form {
  padding: clamp(1.4rem, 5vw, 3.2rem);
  background: var(--oat-50);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.fieldset-legend {
  color: var(--navy-950);
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--bavaria-600);
  box-shadow: 0 0 0 3px rgba(47, 111, 159, 0.14);
  outline: 0;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.18rem;
  accent-color: var(--bavaria-600);
}

.field-error {
  min-height: 1.2em;
  color: var(--error);
  font-size: 0.82rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.8rem;
  font-weight: 750;
}

.form-status.is-error {
  color: var(--error);
}

.form-status.is-success {
  padding: 0.8rem;
  border-left: 4px solid var(--success);
  color: var(--success);
  background: #edf6f0;
}

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

.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--bavaria-600);
  content: "+";
  font-family: Arial, sans-serif;
  line-height: 1.8rem;
  text-align: center;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 760px;
  padding: 0 3rem 1.3rem 0;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  margin: 0 0 1.5rem;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.4rem;
  color: var(--line);
  content: "/";
}

.quote-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 5px solid var(--bavaria-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bavaria-100);
}

.quote-card p {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.7vw, 1.75rem);
  line-height: 1.35;
}

.quote-card__label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--bavaria-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal {
  display: grid;
  gap: 2.2rem;
}

.prepublication-note {
  padding: 1rem 1.15rem;
  border: 1px solid #d7b58f;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--navy-950);
  background: #fff8ef;
}

.legal section {
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal address {
  font-style: normal;
}

.legal-note {
  padding: 1rem;
  border-left: 4px solid var(--bavaria-600);
  background: var(--bavaria-100);
}

.site-footer {
  padding: 3.4rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.72);
  background: #091d2d;
}

.site-footer h2 {
  color: var(--white);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.site-footer .brand__line {
  color: #b9d9ea;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  max-width: 440px;
  margin-top: 1rem;
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
}

.footer-bottom {
  display: flex;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.86rem;
}

@media (min-width: 620px) {
  .trust-grid,
  .form-grid--two,
  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 780px) {
  .card-grid--three,
  .feature-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .contact-panel {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

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

@media (min-width: 920px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
  }

  .site-nav a {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
  }

  .site-nav .nav-contact {
    padding-inline: 1rem;
  }

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

  .feature-grid--four,
  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 1080px) {
  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .split--reverse .split-copy {
    order: 2;
  }

  .split--reverse .split-media {
    order: 1;
  }
}

@media (max-width: 1079px) {
  .hero-copy h1 {
    max-width: 18ch;
  }
}

@media (max-width: 919px) {
  .site-nav {
    max-height: calc(100vh - 79px);
    overflow-y: auto;
  }
}

@media (max-width: 520px) {
  .wrap,
  .narrow {
    width: min(calc(100% - 1.25rem), var(--wrap));
  }

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

  .brand img {
    width: 66px;
    height: 36px;
  }

  .brand__line {
    display: none;
  }

  .site-nav {
    inset-block-start: 71px;
  }

  .anchor-nav {
    top: 71px;
  }

  h1 {
    font-size: clamp(2rem, 10.8vw, 3rem);
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .hero-copy h1 {
    hyphens: manual;
    overflow-wrap: normal;
  }

  h2 {
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .button-row .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-media img {
    min-height: 245px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .anchor-nav,
  .button-row,
  .contact-form,
  .site-footer {
    display: none !important;
  }

  .section,
  .hero {
    padding: 1.5rem 0;
  }

  .hero-media img,
  .split-media img {
    max-height: 340px;
  }
}
