/* BaufiExperte: shared presentation for static pages and CMS renderers. */
@font-face {
  font-family: "Baufi Inter";
  src: url("/fonts/inter-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #172e40;
  --navy-light: #244757;
  --navy-muted: #365867;
  --gold: #007d78;
  --gold-light: #b9ddd4;
  --gold-dark: #00645f;
  --blue: #007d78;
  --blue-light: #3b9890;
  --green: #218164;
  --text: #172e40;
  --text-mid: #4d626b;
  --text-muted: #566b73;
  --bg: #f5f3ed;
  --bg-alt: #e5f0ec;
  --border: #d5dfdd;
  --font-head: "Baufi Inter", "Inter", sans-serif;
  --font-body: "Baufi Inter", "Inter", sans-serif;
  --radius-sm: 2px;
  --radius: 2px;
  --radius-lg: 2px;
  --radius-xl: 2px;
  --shadow-sm: 0 2px 8px #172e4008;
  --shadow-md: 0 6px 24px #172e400c;
  --shadow-lg: 0 12px 40px #172e4012;
  --shadow-gold: none;
}
html {
  scroll-padding-top: 100px;
}
body {
  background: #fff;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 600;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
  line-height: 1.12;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.15;
}
h3 {
  letter-spacing: -0.025em;
}
.container {
  max-width: 1328px;
  padding-inline: 32px;
}
.container-sm {
  max-width: 860px;
}
.section-label {
  font-size: 0.67rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-weight: 650;
}
.section-header {
  margin-bottom: 2.75rem;
}
section {
  padding: 88px 0;
}
.section-sub {
  font-size: 1rem;
  line-height: 1.85;
}
.btn {
  border-radius: 2px;
  box-shadow: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: normal;
  min-height: 48px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-primary,
.btn-nav {
  background: var(--gold);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: white;
  box-shadow: none;
}
.btn-secondary {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}
.btn-outline {
  border-radius: 2px;
}
.card-link {
  color: var(--gold);
}
.navbar {
  position: sticky;
  top: 0;
  background: #fffffff5;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  backdrop-filter: blur(12px);
  padding: 0;
}
.navbar.scrolled {
  background: #fffffff5;
  box-shadow: 0 3px 16px #172e4008;
}
.nav-container {
  max-width: 1328px;
  min-height: 90px;
  padding: 14px 32px;
  gap: 24px;
}
.logo-text {
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 750;
  letter-spacing: -1.2px;
}
.logo-accent {
  color: var(--navy);
  font-weight: 400;
}
.logo-sub {
  color: var(--text-mid);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
}
.nav-links {
  gap: 20px;
}
.nav-links a {
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 550;
  padding: 12px 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links .btn-nav {
  color: #fff;
  padding: 12px 18px;
  border-radius: 2px;
  font-size: 0.73rem;
}
.nav-toggle span {
  background: var(--navy);
}
.bfx-progress {
  position: absolute;
  bottom: 0;
  height: 2px;
  left: 0;
  width: 0;
  background: var(--gold);
  pointer-events: none;
}
.bfx-skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 10001;
  background: var(--navy);
  color: white;
  padding: 12px 18px;
}
.bfx-skip:focus {
  top: 12px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #007d78;
  outline-offset: 4px;
}
.page-hero {
  background: var(--bg-alt);
  padding: 62px 0 !important;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  min-height: 290px;
}
.page-hero::before,
.page-hero::after {
  display: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1,
.page-hero p,
.page-hero .breadcrumb,
.page-hero .breadcrumb a {
  color: var(--navy) !important;
}
.page-hero p {
  max-width: 780px;
  margin: 20px 0 0;
  font-size: 1rem;
}
.page-hero .breadcrumb {
  font-size: 0.72rem;
  margin-bottom: 24px;
}
.page-hero .breadcrumb a {
  border-bottom: 1px solid #748a8d;
}
.page-hero .section-label {
  color: var(--gold) !important;
}
.page-hero:has(.bfx-page-photo) .container {
  padding-right: min(38%, max(32px, calc(1236px - 50vw)));
}
.bfx-page-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 32%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  max-width: 540px;
}
.page-hero .bx-meta {
  color: var(--text-mid);
  margin-top: 20px;
  font-size: 0.8rem;
}
.bx-type-badge {
  color: var(--gold) !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.12em !important;
}
.card,
.feature-card,
.testimonial-card,
.review-card {
  border-radius: 2px;
  box-shadow: none;
  border: 1px solid var(--border);
  background: white;
}
.card:hover,
.testimonial-card:hover {
  box-shadow: none;
  transform: translateY(-3px);
  border-color: var(--gold);
}
.card {
  padding: 2rem;
}
.card-icon,
.card-icon.gold,
.card-icon.blue,
.card-icon.green {
  border-radius: 2px;
  background: var(--bg-alt);
  color: var(--gold);
  box-shadow: none;
}
.card h3 {
  font-size: 1.3rem;
}
.card p {
  font-size: 0.93rem;
}
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 25px 0;
}
.stat-number,
.stat-label {
  color: var(--navy);
}
.stat-number {
  font-size: 2rem;
  font-weight: 600;
}
.stat-label {
  font-size: 0.7rem;
}
.stat-item + .stat-item {
  border-color: var(--border);
}
.why-section {
  background: var(--bg);
}
.feature-icon,
.step-number {
  border-radius: 2px;
  background: var(--bg-alt);
  color: var(--gold);
}
.step-number {
  font-weight: 500;
}
.testimonials {
  background: var(--bg);
}
.testimonial-text {
  font-size: 0.95rem;
}
.testimonial-stars {
  color: #806529;
}
.author-avatar {
  border-radius: 2px;
  background: var(--bg-alt);
  color: var(--navy);
}
.pricing-card {
  border-radius: 2px;
}
.img-frame,
.img-frame img,
.standort-main,
.standort-side,
.process-photo-card,
.profil-card,
.kontakt-visual .img-frame {
  border-radius: 2px;
  box-shadow: none;
}
.standort-side {
  transform: none;
}
.standort-side:hover {
  transform: translateY(-4px);
}
.standort-collage::before,
.cta-phone-visual::before,
.cta-phone-visual::after {
  display: none;
}
.standort-pin,
.kontakt-visual-chip,
.cta-phone-chip {
  border-radius: 2px;
}
.cta-phone-visual img {
  border-radius: 2px;
}
.profil-card-img::after {
  background: linear-gradient(transparent, #172e4033);
}
.cta-banner {
  background: var(--navy);
}
.bfx-home-hero {
  position: relative;
  margin: 20px 22px 0;
  padding: 0;
  height: 710px;
  overflow: hidden;
  background: var(--bg);
}
.bfx-home-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: bfx-arrival 1.2s ease-out both;
}
.bfx-home-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  width: 55%;
  padding: 32px 40px 30px max(32px, calc((100vw - 1280px) / 2 - 22px));
  animation: bfx-rise 0.7s both;
}
.bfx-home-copy h1 {
  font-size: clamp(2.3rem, 4vw, 3.65rem);
  line-height: 1.05;
  margin: 15px 0 22px;
}
.bfx-home-copy h1 span {
  color: var(--gold);
}
.bfx-home-copy .hero-sub {
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.75;
  margin: 0;
  max-width: 540px;
}
.bfx-home-copy .hero-badge {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--gold);
  box-shadow: none;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  white-space: normal;
}
.bfx-home-copy .hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.bfx-home-copy .btn-outline {
  color: var(--navy);
  border: 1px solid var(--navy);
}
.bfx-home-tag {
  position: absolute;
  top: 28px;
  right: 30px;
  background: white;
  padding: 12px 18px;
  font-size: 0.65rem;
  color: var(--navy);
}
.bfx-home-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-block: 24px;
}
.bfx-home-proof .hero-trust {
  margin: 0;
}
.bfx-home-proof .trust-number {
  color: var(--gold);
  font-size: 1.7rem;
}
.bfx-home-proof .trust-label {
  color: var(--text-mid);
}
.bfx-home-proof .trust-divider {
  background: var(--border);
}
.bfx-home-proof .hero-seal {
  position: static;
  animation: none;
  transform: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  padding: 0;
  max-width: 260px;
}
.bfx-home-proof .seal-label {
  color: var(--gold);
}
.bfx-home-proof .seal-text {
  color: var(--navy);
}
.bfx-home-proof .plate-stars {
  color: var(--text-mid);
  font-size: 0.7rem;
}
.bfx-home-proof .plate-title {
  font-size: 0.65rem;
  color: var(--text-mid);
}
.bfx-home-proof .plate-name {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--navy);
}
.bfx-home-proof .bfx-avatar {
  height: 58px;
  width: 48px;
  object-fit: cover;
  float: left;
  margin-right: 14px;
}
.bfx-home-proof .hero-chip {
  position: static;
  animation: none;
  box-shadow: none;
  background: none;
  padding: 0;
  border: 0;
  display: inline-flex;
  font-size: 0.7rem;
  margin-right: 12px;
  color: var(--text-mid);
}
.bfx-services {
  background: var(--bg);
}
.bfx-services .section-header.centered {
  text-align: left;
}
.bfx-services .section-header.centered .section-sub {
  margin-left: 0;
}
.bfx-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.bfx-tabs button {
  padding: 13px 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text-mid);
  font: 550 0.85rem var(--font-body);
  min-height: 48px;
}
.bfx-tabs button[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold);
}
.bfx-services .grid-4 {
  gap: 24px;
}
.bfx-services .card {
  border: 0;
  border-top: 2px solid var(--gold);
  padding: 24px 0;
  background: transparent;
}
.bfx-services .card:hover {
  transform: none;
}
.bfx-services .card[hidden] {
  display: none;
}
.bfx-services .grid-4.bfx-selected {
  grid-template-columns: minmax(240px, 1fr) 1fr;
  align-items: start;
}
.bfx-service-photo {
  height: 310px;
  width: 100%;
  object-fit: cover;
}
.bfx-service-photo[hidden] {
  display: none;
}
.bfx-comparison {
  background: var(--bg-alt);
}
.bfx-compare-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.bfx-compare-grid p {
  margin: 24px 0;
  font-size: 0.95rem;
}
.bfx-compare {
  position: relative;
  height: 410px;
  overflow: hidden;
  --split: 50%;
}
.bfx-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bfx-compare-before {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.bfx-compare-line {
  position: absolute;
  left: var(--split);
  top: 0;
  bottom: 0;
  width: 2px;
  background: white;
  pointer-events: none;
}
.bfx-compare-handle {
  position: absolute;
  left: var(--split);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  pointer-events: none;
  box-shadow: 0 3px 20px #0002;
}
.bfx-compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.bfx-compare:focus-within {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.bfx-compare-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: white;
  color: var(--navy);
  font-size: 0.7rem;
  padding: 5px 10px;
  pointer-events: none;
}
.bfx-compare-label:last-of-type {
  left: auto;
  right: 18px;
}
.bfx-compare-caption {
  font-size: 0.68rem;
  margin-top: 10px;
  color: var(--text-mid);
}
.faq-item,
.bx-faq-item {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  background: transparent !important;
}
.faq-question {
  font: 600 0.98rem/1.5 var(--font-body);
  width: 100%;
  text-align: left;
  color: var(--navy);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
}
.faq-answer {
  max-height: none;
  padding: 0 0 20px;
  line-height: 1.85;
  overflow: visible;
}
.faq-answer[hidden] {
  display: none;
}
.faq-item.open .faq-answer {
  max-height: none;
  padding: 0 0 20px;
}
.faq-chevron {
  font-size: 0.65rem;
  flex-shrink: 0;
}
.form-control,
.form-input,
.form-select,
.form-textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea,
select {
  border-radius: 2px;
}
.contact-card,
.contact-form-card {
  border-radius: 2px;
  box-shadow: none;
}
.bfx-einwilligung {
  border-radius: 2px 2px 0 0 !important;
}
.bx-chat-launcher,
.bx-chat-window {
  border-radius: 3px;
}
.bx-chat-launcher {
  box-shadow: 0 3px 15px #172e401a;
  font-size: 13px;
}
.bx-chat-launcher.bx-waving {
  animation: none;
}
.bx-chat-peek {
  display: none !important;
}
.float-btn {
  border-radius: 2px;
  box-shadow: none;
}
.float-buttons {
  gap: 8px;
}
.bfx-dark .section-label,
.bfx-dark .text-gold {
  color: #b9ddd4;
}
.bfx-dark .btn-primary {
  color: #fff;
}
footer {
  background: var(--navy);
  padding-top: 55px;
}
footer .logo-text,
footer .logo-accent {
  color: #fff;
}
footer .logo-sub,
footer .footer-desc,
footer .footer-contact-item a {
  color: #c9d9df !important;
}
.footer-links a {
  color: #c9d9df;
}
.footer-links a:hover {
  color: #fff;
}
.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #fff;
}
.footer-bottom {
  border-color: #4b6371;
  color: #c9d9df;
}
.footer-bottom a {
  color: #c9d9df;
}
.hub-grid {
  max-width: 1264px !important;
  gap: 28px !important;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 300px), 1fr)
  ) !important;
}
.hub-card {
  border-radius: 0 !important;
  border: 0 !important;
  border-top: 2px solid var(--gold) !important;
  box-shadow: none !important;
  padding: 25px 0 !important;
}
.hub-card:hover {
  box-shadow: none !important;
  transform: translateY(-3px);
}
.hub-card h2 {
  font-weight: 600 !important;
  font-size: 1.35rem !important;
}
.hub-card p {
  -webkit-line-clamp: unset !important;
  display: block !important;
}
.hub-card-meta {
  color: var(--gold) !important;
}
.hub-intro {
  text-align: left !important;
  max-width: 1264px !important;
  padding: 0 24px !important;
}
.bx-content-wrap {
  max-width: 1100px;
  margin: auto;
}
.content-card {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  border-top: 1px solid var(--border) !important;
  padding: 28px 0 !important;
}
.content-card .icon-box {
  border-radius: 2px !important;
  background: var(--bg-alt) !important;
  color: var(--gold) !important;
  width: 45px !important;
  height: 45px !important;
}
.content-card .icon-box svg {
  fill: var(--gold) !important;
}
.content-card h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  font-weight: 600 !important;
}
.prose-seo {
  font-size: 1rem;
  line-height: 1.85;
}
.prose-seo table {
  border-radius: 0 !important;
}
.prose-seo-callout {
  border-radius: 0 !important;
}
.bx-cta-banner {
  background: var(--bg-alt) !important;
  color: var(--navy) !important;
  text-align: left !important;
}
.bx-cta-banner h2,
.bx-cta-banner p {
  color: var(--navy) !important;
  max-width: 780px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bx-cta-banner .btn {
  border-radius: 2px !important;
  background: var(--gold) !important;
  color: #fff !important;
  display: table !important;
  margin: 24px auto 0;
}
.bx-author {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 20px 24px;
  border-block: 1px solid var(--border);
  font-size: 0.82rem;
}
.bx-author a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bx-toc {
  max-width: 820px;
  margin: 24px auto;
  padding: 20px 24px;
  background: var(--bg);
  border-left: 3px solid var(--gold);
}
.bx-toc summary {
  cursor: pointer;
  font-weight: 600;
}
.bx-toc ol {
  padding-left: 22px;
  margin-top: 12px;
}
.bx-toc a {
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bx-content-wrap h2[id],
.bx-content-wrap h3[id] {
  scroll-margin-top: 110px;
}
.animate-up {
  opacity: 1;
  transform: none;
}
.bfx-motion .animate-up:not(.visible) {
  opacity: 0;
  transform: translateY(22px);
}
.bfx-motion .animate-up {
  transition:
    opacity 0.65s,
    transform 0.65s;
}
.bfx-photo-link img {
  transition: transform 0.7s;
}
.bfx-photo-link:hover img {
  transform: scale(1.025);
}
@keyframes bfx-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bfx-arrival {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}
@media (max-width: 1100px) {
  .nav-links {
    gap: 13px;
  }
  .nav-links a {
    font-size: 0.68rem;
  }
  .nav-container {
    padding-inline: 24px;
  }
  .nav-links .btn-nav {
    padding: 11px 13px;
  }
  .bfx-home-copy {
    width: 60%;
    padding-left: 30px;
  }
  .bfx-home-hero {
    height: 660px;
  }
  .bfx-home-copy h1 {
    font-size: 3.1rem;
  }
  .bfx-home-proof {
    gap: 22px;
  }
  .bfx-compare-grid {
    gap: 35px;
  }
}
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 0;
    align-items: stretch;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    font-size: 0.9rem;
    padding: 13px 0;
  }
  .nav-links .btn-nav {
    margin-top: 8px;
    text-align: center;
  }
  .bfx-home-hero {
    height: 620px;
  }
  .bfx-home-copy h1 {
    font-size: 2.6rem;
  }
  .bfx-home-copy .hero-sub {
    font-size: 0.84rem;
  }
  .bfx-services .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 85px;
  }
  .nav-container {
    min-height: 77px;
    padding: 12px 20px;
  }
  .container {
    padding-inline: 20px;
  }
  .logo-text {
    font-size: 1.45rem;
  }
  .logo-sub {
    font-size: 0.5rem;
  }
  .page-hero {
    padding: 35px 0 !important;
    min-height: 0;
  }
  .page-hero:has(.bfx-page-photo) .container {
    padding-right: 20px;
  }
  .bfx-page-photo {
    position: relative;
    float: right;
    width: 105px;
    height: 130px;
    margin: 0 0 16px 16px;
    object-position: 50% 20%;
  }
  .page-hero .breadcrumb {
    margin-bottom: 20px;
  }
  .page-hero h1 {
    font-size: 2.05rem;
  }
  .page-hero p {
    font-size: 0.94rem;
  }
  .page-hero .container {
    z-index: auto;
  }
  section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 30px;
  }
  .grid-3,
  .grid-4 {
    gap: 22px;
  }
  .card {
    padding: 24px;
  }
  .bfx-home-hero {
    height: auto;
    margin: 10px 10px 0;
    overflow: visible;
    background: #fff;
  }
  .bfx-home-image {
    height: 340px;
    object-position: 80% center;
  }
  .bfx-home-copy {
    position: relative;
    width: calc(100% - 16px);
    margin-top: -35px;
    padding: 25px 15px 24px 10px;
  }
  .bfx-home-copy h1 {
    font-size: 2.55rem;
    margin: 14px 0 20px;
  }
  .bfx-home-copy .hero-sub {
    font-size: 0.88rem;
  }
  .bfx-home-copy .hero-badge {
    font-size: 0.53rem;
    letter-spacing: 0.06em;
  }
  .bfx-home-copy .hero-actions {
    gap: 12px;
  }
  .bfx-home-copy .btn {
    font-size: 0.75rem;
    padding: 13px 16px;
  }
  .bfx-home-tag {
    display: none;
  }
  .bfx-home-proof {
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 24px;
  }
  .bfx-home-proof > div {
    flex: 1 1 150px;
  }
  .bfx-home-proof .hero-seal {
    flex: 1 1 140px;
  }
  .bfx-home-proof .hero-trust {
    justify-content: start;
  }
  .bfx-home-proof .hero-trust .trust-number {
    font-size: 1.4rem;
  }
  .bfx-home-proof .plate-stars {
    font-size: 0.65rem;
  }
  .stats-grid {
    gap: 18px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.62rem;
  }
  .bfx-services .grid-4 {
    grid-template-columns: 1fr;
  }
  .bfx-services .grid-4.bfx-selected {
    grid-template-columns: 1fr;
  }
  .bfx-tabs {
    gap: 0;
  }
  .bfx-tabs button {
    padding: 12px 11px;
    font-size: 0.75rem;
  }
  .bfx-service-photo {
    height: 230px;
  }
  .bfx-compare-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bfx-compare {
    height: 290px;
  }
  .bx-chat-launcher {
    right: 14px;
    bottom: 16px;
    padding: 11px 14px;
    font-size: 12px;
  }
  .float-buttons {
    right: 14px;
  }
  .float-btn {
    padding: 9px 12px;
    font-size: 0.7rem;
  }
  .bx-chat-window {
    max-height: calc(100dvh - 100px);
  }
  .bx-toc,
  .bx-author {
    margin-inline: 16px;
    padding: 16px;
  }
  .hub-section {
    padding: 35px 0 !important;
  }
  .bx-content-wrap {
    padding: 24px 20px !important;
  }
  .bx-cta-banner {
    padding: 40px 20px !important;
  }
  .content-card {
    padding: 24px 0 !important;
  }
  .faq-question {
    font-size: 0.94rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
  .standort-side {
    bottom: -15px;
    right: 0;
  }
  .img-caption,
  .process-photo-overlay {
    padding: 20px;
  }
  .footer-grid {
    gap: 30px;
  }
  .bfx-dark .btn-primary {
    color: white;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .bfx-motion .animate-up:not(.visible) {
    opacity: 1;
    transform: none;
  }
}
@media print {
  .navbar,
  .float-buttons,
  .bx-chat-launcher,
  .bfx-progress {
    display: none;
  }
  .bfx-motion .animate-up:not(.visible) {
    opacity: 1;
    transform: none;
  }
  .page-hero {
    padding: 25px 0 !important;
  }
  .bfx-home-hero {
    height: auto;
  }
  .bfx-home-copy {
    position: relative;
    width: 100%;
  }
  .bfx-home-image {
    height: 300px;
  }
}

/* Override the legacy white navigation, including its mobile !important rule. */
.navbar .nav-links li a {
  color: var(--navy) !important;
  font-size: 0.73rem;
}
.navbar .nav-links li a:hover,
.navbar .nav-links li a.active {
  color: var(--gold) !important;
}
.navbar .nav-links li a.btn-nav {
  color: white !important;
}
@media (max-width: 900px) {
  .nav-links {
    bottom: auto;
    justify-content: flex-start;
  }
  .navbar .nav-links li a {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .bfx-home-copy .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 0;
  }
}

.page-hero .bx-meta {
  color: var(--text-mid);
}
.page-hero .btn-outline {
  color: var(--navy) !important;
  border-color: var(--navy) !important;
}
.page-hero .btn-outline:hover {
  background: var(--navy);
  color: white !important;
}
.content-card .icon-box svg {
  color: var(--gold) !important;
}

@media (max-width: 768px) {
  .bfx-form-active .float-buttons,
  .bfx-form-active .bx-chat-launcher {
    visibility: hidden;
  }
}

/* Keep the advisor's title and trust details in stable, readable columns. */
.bfx-home-proof {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.5fr 0.85fr;
  gap: 24px;
}
.bfx-home-proof > div {
  min-width: 0;
}
.bfx-proof-profile {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  align-items: start;
}
.bfx-home-proof .bfx-avatar {
  float: none;
  grid-row: 1 / 4;
  margin: 0;
}
.bfx-home-proof .plate-title {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}
.bfx-home-proof .hero-seal {
  max-width: none;
}
.bfx-home-proof .hero-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bfx-home-proof .trust-divider {
  display: none;
}
.bfx-home-proof .hero-chip {
  display: flex;
  margin: 6px 0;
}
@media (max-width: 1100px) {
  .bfx-home-proof {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .bfx-home-proof {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 24px;
  }
  .bfx-home-proof .hero-trust {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
  .bfx-home-proof .hero-seal {
    justify-self: start;
  }
  .bfx-home-proof .bfx-proof-profile {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .bfx-home-proof .bfx-avatar {
    width: 56px;
    height: 70px;
  }
  .bfx-home-proof .plate-name {
    font-size: 1rem;
  }
  .bfx-home-proof .plate-title,
  .bfx-home-proof .plate-stars {
    font-size: 0.78rem;
    line-height: 1.6;
  }
  .bfx-proof-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .stat-item {
    padding: 4px 2px;
  }
  .stat-item + .stat-item {
    border-left: 1px solid var(--border);
  }
  .stat-label {
    font-size: 0.58rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }
  .stat-number {
    font-size: 1.6rem;
  }
}
