/* RG3 Immobilientreuhand – Farben und Schrift nach rg3-immo.at */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --blue: #163d91;
  --blue-dark: #103174;
  --blue-deep: #0b2357;
  --blue-soft: #8da9df;
  --ink: #1c2433;
  --text: #454b55;
  --muted: #6b7280;
  --line: #dfe5f0;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #eaf0fa;
  --red: #e23b2e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 49, 116, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 49, 116, 0.16);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
.split > *, .grid-2 > *, .grid-3 > *, .trust__item, .listings > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #dfe7f7; }
.section--blue h2, .section--blue h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--blue .eyebrow { color: var(--blue-soft); }
.lead { font-size: 1.12rem; color: var(--text); max-width: 46rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow::before { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .95rem;
  border: 2px solid var(--blue); background: var(--blue); color: #fff;
  cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--blue); border-color: #fff; }
.btn--white:hover { background: var(--bg-tint); color: var(--blue-dark); border-color: var(--bg-tint); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.arrow-link { font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* Header */
.topbar { background: var(--blue-deep); color: #c9d5ef; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topbar a { color: #fff; }
.topbar span + span { margin-left: 1.4rem; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: .9rem; color: var(--ink); }
.brand img { width: 52px; height: 52px; }
.brand strong { display: block; font-size: 1.02rem; letter-spacing: .02em; }
.brand small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { color: var(--ink); font-weight: 600; font-size: .93rem; position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--blue); transition: width .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { padding: .7rem 1.25rem; color: #fff; }
.nav .btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .25s; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.03); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,35,87,.92) 0%, rgba(16,49,116,.78) 38%, rgba(16,49,116,.15) 75%, rgba(16,49,116,0) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 5rem 0; }
.hero__content { max-width: 40rem; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero .eyebrow { color: #b8c9ef; }
.hero p { font-size: 1.15rem; color: #e1e8f7; }
.hero__steps { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: #b8c9ef; margin: 1.8rem 0 2.2rem; }
.hero__steps i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-soft); }
.hero--sub { min-height: 460px; }
.hero--sub .hero__content { max-width: 44rem; }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 1; color: #fff; opacity: .75; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.scroll-hint::after { content: ""; width: 1px; height: 36px; background: #fff; animation: drip 2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 1.8rem 1.2rem; display: flex; gap: 1rem; align-items: center; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__item b { display: block; font-size: 1.5rem; color: var(--blue); line-height: 1.1; }
.trust__item span { font-size: .85rem; color: var(--muted); line-height: 1.4; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.media { position: relative; }
.media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; object-fit: cover; }
.media__badge {
  position: absolute; bottom: -1.6rem; right: -1.2rem; background: #fff; border-radius: var(--radius);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); display: flex; gap: .9rem; align-items: center; max-width: 290px;
}
.media__badge img { width: 54px; height: 54px; box-shadow: none; border-radius: 50%; }
.media__badge strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.media__badge span { font-size: .8rem; color: var(--muted); }
.signature { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.signature strong { display: block; color: var(--ink); }
.signature span { font-size: .85rem; color: var(--muted); }

/* Step cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__num { font-size: 3rem; font-weight: 800; color: var(--bg-tint); line-height: 1; margin-bottom: 1rem; -webkit-text-stroke: 1px var(--blue-soft); }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--text); }
.section-head { margin-bottom: 3.2rem; }
.section-head.center { max-width: 50rem; margin-inline: auto; margin-bottom: 3.2rem; }

/* Process */
.process { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 3rem; }
.process__step { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); padding: .9rem 1.6rem; border-radius: 999px; color: #fff; font-weight: 700; letter-spacing: .06em; }
.process__arrow { color: var(--blue-soft); font-size: 1.4rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: .65rem 0 .65rem 2.1rem; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .95rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2357' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.section:not(.section--blue) .checklist li { border-bottom-color: var(--line); }
.panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 2.2rem; }
.panel h3 { margin-bottom: 1rem; }

/* Certificates */
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.cert { display: flex; gap: 1.6rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.cert img { width: 120px; flex: none; object-fit: contain; }
.cert h3 { margin-bottom: .4rem; }
.cert p { margin: 0; font-size: .95rem; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(2.5rem, 6vw, 4.5rem); color: #fff; background: var(--blue-deep); }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.cta > *:not(.cta__bg) { position: relative; }
.cta h2 { color: #fff; max-width: 34rem; }
.cta p { color: #dbe4f6; max-width: 38rem; font-size: 1.08rem; }

/* Listings */
.filters {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; align-items: end;
  margin-top: -4.5rem; position: relative; z-index: 2;
}
.field label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.field select, .field input, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(22,61,145,.12); }
.filters .btn { justify-content: center; padding: .8rem 1rem; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 2.4rem 0 1.4rem; gap: 1rem; flex-wrap: wrap; }
.results-bar strong { color: var(--ink); }
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.listing {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; color: inherit;
}
.listing:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.listing__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-tint); }
.listing__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.listing:hover .listing__img img { transform: scale(1.06); }
.tag { position: absolute; top: 1rem; left: 1rem; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; }
.tag--light { left: auto; right: 1rem; background: rgba(255,255,255,.92); color: var(--blue); }
.listing__body { padding: 1.4rem 1.5rem 1rem; flex: 1; }
.listing__loc { font-size: .82rem; color: var(--muted); font-weight: 600; display: flex; gap: .4rem; align-items: center; margin-bottom: .4rem; }
.listing__body h3 { font-size: 1.05rem; line-height: 1.4; margin: 0; }
.listing__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.listing__facts div { padding: .9rem 1rem; border-right: 1px solid var(--line); }
.listing__facts div:last-child { border-right: 0; }
.listing__facts small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.listing__facts b { color: var(--ink); font-size: .95rem; white-space: nowrap; }
.listing__facts .price b { color: var(--blue); }
.empty { text-align: center; padding: 4rem 1rem; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); grid-column: 1 / -1; }

/* Choice cards */
.choice { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.choice:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.choice img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.choice > div { padding: 2rem; }
.choice small { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); font-size: .75rem; }
.choice h3 { font-size: 1.5rem; margin: .3rem 0 .8rem; }

/* Valuation wizard */
.wizard { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 860px; margin-inline: auto; margin-top: -5rem; position: relative; z-index: 2; }
.wizard__head { padding: 1.6rem 2.2rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wizard__head strong { color: var(--ink); }
.progress { height: 4px; background: var(--bg-tint); }
.progress span { display: block; height: 100%; background: var(--blue); width: 25%; transition: width .35s; }
.wizard__body { padding: 2.4rem 2.2rem; }
.wizard__step { display: none; animation: fade .35s; }
.wizard__step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.type { cursor: pointer; }
.type input { position: absolute; opacity: 0; }
.type span { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.8rem 1rem; border: 2px solid var(--line); border-radius: var(--radius); font-weight: 700; color: var(--ink); transition: .2s; }
.type svg { width: 44px; height: 44px; stroke: var(--blue); }
.type input:checked + span { border-color: var(--blue); background: var(--bg-tint); }
.type input:focus-visible + span { box-shadow: 0 0 0 4px rgba(22,61,145,.2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; margin-top: 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
.wizard__foot { display: flex; justify-content: space-between; padding: 1.4rem 2.2rem; background: var(--bg-soft); border-top: 1px solid var(--line); }
.wizard__done { text-align: center; padding: 1rem 0; }
.wizard__done .icon { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-tint); display: grid; place-items: center; margin: 0 auto 1.2rem; color: var(--blue); font-size: 2rem; }
.note { font-size: .82rem; color: var(--muted); }

/* Chips / regions */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; color: var(--ink); }
.chips b { color: var(--blue); margin-right: .3rem; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .9rem; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.3rem 1.6rem; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.6rem 1.4rem; margin: 0; }

/* Contact */
.contact-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .3rem; color: var(--ink); transition: .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-soft); color: var(--ink); }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; margin-bottom: .6rem; }
.tile .ico svg { width: 22px; height: 22px; stroke: var(--blue); }
.tile strong { font-size: 1.02rem; }
.tile span { font-size: .87rem; color: var(--muted); }
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 4vw, 2.6rem); }
.aside-card { background: var(--blue-deep); color: #d5def2; border-radius: 20px; padding: 2.4rem; }
.aside-card h3 { color: #fff; }
.aside-card .person { display: flex; gap: 1rem; align-items: center; margin: 1.6rem 0; }
.aside-card .person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; }
.aside-card .person strong { color: #fff; display: block; }
.promise { display: flex; gap: .9rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.promise b { color: #fff; display: block; }
.promise i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(141,169,223,.2); color: var(--blue-soft); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); filter: saturate(.85); }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: .45rem 1.2rem; margin: 0; }
.legal dt { font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; }

/* Footer */
.footer { background: #0a1c45; color: #a9b8d8; padding: 4.5rem 0 0; font-size: .93rem; }
.footer a { color: #d8e1f3; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; }
.footer .brand strong { color: #fff; }
.footer .brand small { color: #8a9bc2; }
.footer .brand img { background: #fff; border-radius: 10px; padding: 3px; }
.footer__bottom { margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #7d8db3; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Floating call button (mobile) */
.fab { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .filters { grid-template-columns: repeat(3, 1fr); }
  .listings { grid-template-columns: repeat(2, 1fr); }
  .contact-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1.25rem 1.6rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .3s, visibility .3s; z-index: -1; visibility: hidden;
  }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split, .grid-2, .certs { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .media__badge { right: 1rem; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .topbar .container { justify-content: center; }
  .topbar .container > div:first-child { display: none; }
  .header .container { height: 72px; }
  .nav { inset: 72px 0 auto 0; }
  .brand img { width: 44px; height: 44px; }
  .brand small { display: none; }
  .trust__item { padding: 1.2rem .9rem; }
  .trust__item b { font-size: 1.15rem; }
  .media__badge { position: relative; z-index: 1; right: auto; bottom: auto; margin-top: -1.5rem; margin-inline: 1rem; max-width: none; }
  .signature { flex-wrap: wrap; }
  .signature .arrow-link { margin-left: 0 !important; }
  .hero .btn-row .btn { width: 100%; justify-content: center; }
  .results-bar > div { width: 100%; flex-wrap: wrap; }
  .filters { grid-template-columns: 1fr 1fr; margin-top: -3rem; }
  .listings, .form-grid, .types { grid-template-columns: 1fr; }
  .tile { padding: 1.2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .cert { flex-direction: column; text-align: center; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: .6rem; }
  .hero::after { background: linear-gradient(180deg, rgba(11,35,87,.75) 0%, rgba(16,49,116,.85) 100%); }
  .wizard__head, .wizard__body, .wizard__foot { padding-inline: 1.3rem; }
  .fab {
    display: grid; place-items: center; position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
    width: 58px; height: 58px; border-radius: 50%; background: var(--blue); box-shadow: var(--shadow-lg);
  }
  .fab svg { width: 26px; height: 26px; stroke: #fff; }
}
