/*
 * Auwald Immobilien – Webstra Custom Styles
 * Projekt-spezifische Anpassungen
 */

/* Hero Vollbild (LP München, Augsburg, Index) */
.hero-full-bg {
  position: relative;
  min-height: 53vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-full-bg .hero-img-crossfade {
  position: absolute;
  inset: 0;
}

.hero-full-bg .hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-full-bg .hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 22, 22, 0.5) 0%,
    rgba(14, 14, 14, 0.64) 48%,
    rgba(0, 0, 0, 0.8) 100%
  );
  pointer-events: none;
}

.hero-full-bg .hero-content {
  position: relative;
  z-index: 1;
}

.hero-full-bg .hero-content .text-body-secondary {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Hero Box Split (Index – Crossfade Augsburg/München) */
.hero-box-split.hero-img-crossfade {
  position: relative;
}

.hero-box-split .hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-box-split .hero-img-bg.hero-img-augsburg {
  animation: hero-fade-augsburg 8s ease-in-out infinite;
}

.hero-box-split .hero-img-bg.hero-img-munich {
  animation: hero-fade-munich 8s ease-in-out infinite;
}

@keyframes hero-fade-augsburg {
  0%,
  42% {
    opacity: 1;
  }
  50%,
  92% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hero-fade-munich {
  0%,
  42% {
    opacity: 0;
  }
  50%,
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/*
 * Spacing-Stufe 6–8 ab lg (992px): Theme-Bootstrap endet bei 5.
 * Quelle: public/src/scss/_utilities.scss ($spacers map-merge).
 * Nach Neu-Build von theme(.min).css können diese Zeilen entfallen, wenn keine Duplikate gewünscht sind.
 */
@media (min-width: 992px) {
  .m-lg-6 {
    margin: 4rem !important;
  }
  .mt-lg-6 {
    margin-top: 4rem !important;
  }
  .me-lg-6 {
    margin-right: 4rem !important;
  }
  .mb-lg-6 {
    margin-bottom: 4rem !important;
  }
  .ms-lg-6 {
    margin-left: 4rem !important;
  }
  .mx-lg-6 {
    margin-right: 4rem !important;
    margin-left: 4rem !important;
  }
  .my-lg-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
  }
  .p-lg-6 {
    padding: 4rem !important;
  }
  .pt-lg-6 {
    padding-top: 4rem !important;
  }
  .pe-lg-6 {
    padding-right: 4rem !important;
  }
  .pb-lg-6 {
    padding-bottom: 4rem !important;
  }
  .ps-lg-6 {
    padding-left: 4rem !important;
  }
  .px-lg-6 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }
  .py-lg-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .gap-lg-6 {
    gap: 4rem !important;
  }

  .m-lg-7 {
    margin: 5rem !important;
  }
  .mt-lg-7 {
    margin-top: 5rem !important;
  }
  .me-lg-7 {
    margin-right: 5rem !important;
  }
  .mb-lg-7 {
    margin-bottom: 5rem !important;
  }
  .ms-lg-7 {
    margin-left: 5rem !important;
  }
  .mx-lg-7 {
    margin-right: 5rem !important;
    margin-left: 5rem !important;
  }
  .my-lg-7 {
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
  }
  .p-lg-7 {
    padding: 5rem !important;
  }
  .pt-lg-7 {
    padding-top: 5rem !important;
  }
  .pe-lg-7 {
    padding-right: 5rem !important;
  }
  .pb-lg-7 {
    padding-bottom: 5rem !important;
  }
  .ps-lg-7 {
    padding-left: 5rem !important;
  }
  .px-lg-7 {
    padding-right: 5rem !important;
    padding-left: 5rem !important;
  }
  .py-lg-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
  .gap-lg-7 {
    gap: 5rem !important;
  }

  .m-lg-8 {
    margin: 6rem !important;
  }
  .mt-lg-8 {
    margin-top: 6rem !important;
  }
  .me-lg-8 {
    margin-right: 6rem !important;
  }
  .mb-lg-8 {
    margin-bottom: 6rem !important;
  }
  .ms-lg-8 {
    margin-left: 6rem !important;
  }
  .mx-lg-8 {
    margin-right: 6rem !important;
    margin-left: 6rem !important;
  }
  .my-lg-8 {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
  }
  .p-lg-8 {
    padding: 6rem !important;
  }
  .pt-lg-8 {
    padding-top: 6rem !important;
  }
  .pe-lg-8 {
    padding-right: 6rem !important;
  }
  .pb-lg-8 {
    padding-bottom: 6rem !important;
  }
  .ps-lg-8 {
    padding-left: 6rem !important;
  }
  .px-lg-8 {
    padding-right: 6rem !important;
    padding-left: 6rem !important;
  }
  .py-lg-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  .gap-lg-8 {
    gap: 6rem !important;
  }
}

/* Homepage: 4-Schritte-Verkaufsprozess */

.home-sell-step-card {
  background-color: #fff;
  border: 1px solid var(--fn-border-color);
}

.home-sell-step-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 0.375rem 1rem rgba(var(--fn-primary-rgb), 0.2);
}

.home-sell-step-card p {
  line-height: 1.65;
}

@media (hover: hover) {
  .home-sell-step-card {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  }

  .home-sell-step-card:hover {
    transform: translateY(-3px);
    border-color: var(--fn-primary-border-subtle);
    box-shadow: 0 0.75rem 2rem rgba(17, 24, 39, 0.08);
  }
}

/* Header-Offcanvas (Mobile): kein grauer Hover-/Tap-Hintergrund auf Nav-Links */
.navbar .offcanvas#navbarNav {
  --fn-navbar-nav-link-action-bg: transparent;
}

.navbar .offcanvas#navbarNav .navbar-nav > .nav-item > .nav-link:hover,
.navbar .offcanvas#navbarNav .navbar-nav > .nav-item > .nav-link:focus,
.navbar .offcanvas#navbarNav .navbar-nav > .nav-item > .nav-link:focus-visible,
.navbar .offcanvas#navbarNav .navbar-nav > .nav-item > .nav-link:active,
.navbar .offcanvas#navbarNav .navbar-nav > .nav-item > .nav-link.show,
.navbar .offcanvas#navbarNav .navbar-nav > .nav-item > .nav-link.active {
  background-color: transparent !important;
}

/* Verkaufen Mega-Menü */
.nav-mega-verkaufen {
  --fn-dropdown-min-width: 0;
  min-width: 0;
}
.nav-mega-verkaufen__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003c14;
  margin-bottom: 0.35rem;
}
.nav-mega-verkaufen__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  padding: 0.32rem 0;
}
.nav-mega-verkaufen__link i {
  font-size: 0.62rem;
  color: #003c14;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.nav-mega-verkaufen__link:hover,
.nav-mega-verkaufen__link:focus-visible {
  color: #003c14;
  text-decoration: none;
}
.nav-mega-verkaufen__link:hover i,
.nav-mega-verkaufen__link:focus-visible i {
  transform: translateX(3px);
}
.nav-mega-verkaufen__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  flex: 0 0 auto;
  width: 13.25rem;
  background:
    linear-gradient(165deg, #0a4a1c 0%, #003c14 72%);
  color: #fff;
  text-decoration: none;
  border-radius: 0.95rem;
  padding: 1.05rem 1.1rem 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-mega-verkaufen__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(214, 180, 106, 0.22);
  color: #d6b46a;
  font-size: 1rem;
}
.nav-mega-verkaufen__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.nav-mega-verkaufen__cta-title {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.nav-mega-verkaufen__cta-text {
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}
.nav-mega-verkaufen__cta-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 0.82rem;
}
.nav-mega-verkaufen__cta-action i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}
.nav-mega-verkaufen__cta:hover,
.nav-mega-verkaufen__cta:focus-visible {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(165deg, #145228 0%, #00280e 72%);
}
.nav-mega-verkaufen__cta:hover .nav-mega-verkaufen__cta-action i,
.nav-mega-verkaufen__cta:focus-visible .nav-mega-verkaufen__cta-action i {
  transform: translateX(4px);
}
@media (max-width: 991.98px) {
  .navbar .offcanvas#navbarNav .nav-mega-verkaufen {
    position: static;
    float: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0.25rem 0 0.5rem 0.75rem;
    margin: 0;
  }
  .navbar .offcanvas#navbarNav .nav-mega-verkaufen::before,
  .navbar .offcanvas#navbarNav .nav-mega-verkaufen::after {
    display: none;
  }
  .nav-mega-verkaufen__cta {
    width: 100%;
    max-width: 18rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 0.85rem;
    padding: 0.9rem 1rem;
  }
  .nav-mega-verkaufen__cta-copy {
    flex: 1 1 8rem;
  }
  .nav-mega-verkaufen__cta-action {
    width: 100%;
    margin-top: 0;
  }
}
@media (min-width: 992px) {
  .nav-mega-verkaufen {
    min-width: 40rem;
    padding: 0.95rem 1.05rem !important;
  }
  .nav-mega-verkaufen__col {
    min-width: 10.25rem;
    padding-top: 0.2rem;
  }
}

/* Header: ≤499px — Kontakt im Offcanvas; Bar-Button ausblenden (Offcanvas immer von links) */
@media (max-width: 499px) {
  .navbar .header-kontakt-bar {
    display: none !important;
  }

  .navbar .header-kontakt-in-menu {
    display: block !important;
  }
}

@media (min-width: 500px) {
  .navbar .header-kontakt-in-menu {
    display: none !important;
  }
}

/* Navbar-Zeile: Flex-Children dürfen schrumpfen ohne Layout zu sprengen */
.navbar.navbar-expand-lg > .container {
  min-width: 0;
}

/* A11y: etwas größere Ziele auf allen Geräten, auf Touch nochmal größer */
.swiper-pagination-clickable .swiper-pagination-bullet {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 0.1rem !important;
  background: transparent !important;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.swiper-pagination-clickable .swiper-pagination-bullet::before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--swiper-pagination-bullet-inactive-color, #000);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.3);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.swiper-pagination-clickable .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
  background: var(--swiper-pagination-color, currentColor);
  opacity: 1;
  transform: scale(1.3);
}

@media (pointer: coarse) {
  .swiper-pagination-clickable .swiper-pagination-bullet {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 0.125rem !important;
  }
}

/* A11y: bessere Lesbarkeit ohne Größen-/Layout-Änderungen */
[data-bs-theme='light'] .action-card .text-body-secondary,
[data-bs-theme='light'] .home-sell-step-card .text-body-secondary,
[data-bs-theme='light'] .bg-body-tertiary .text-body-secondary {
  color: #4f5d6b !important;
}

.footer[data-bs-theme='dark'] .text-body-secondary {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Stadt-Verkauf Landingpages (Haus/Wohnung × Augsburg/München) */
.sv-hero {
  background-color: #e5ebe7;
}
.sv-hero--wohnung {
  background-color: #e8ebe6;
}
/* Abstände wie Startseite: py-4/py-lg-5 + my-4/my-lg-5 ≈ 3rem / 6rem */
.sv-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.sv-section--cta {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.sv-section__inner {
  /* einheitlicher Innenabstand – kein doppeltes py-* mehr */
  padding-top: 0;
  padding-bottom: 0;
}
@media (min-width: 992px) {
  .sv-hero .sv-section__inner {
    padding-top: 2.75rem;
    padding-bottom: 4.5rem;
  }
  .sv-hero--enhanced .sv-section__inner {
    padding-bottom: 5.5rem;
  }
  .sv-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .sv-section--cta {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
@media (max-width: 991.98px) {
  .sv-hero .sv-section__inner {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
  }
  .sv-hero--enhanced .sv-section__inner {
    padding-bottom: 4.25rem;
  }
}
.sv-key-facts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sv-key-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.975rem;
  line-height: 1.5;
}
.sv-key-facts li:last-child {
  margin-bottom: 0;
}
.sv-key-facts li i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--fn-primary, #003c14);
  font-size: 1.15rem;
}
.sv-hero-visual,
.sv-media {
  border-radius: 1rem;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 40, 14, 0.1);
}
.sv-hero-visual img,
.sv-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.sv-advantage-card {
  background: #fff;
  border: 1px solid var(--fn-border-color, #e5e7e4);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
}
.sv-advantage-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.15rem;
}
.sv-cta {
  max-width: 44rem;
}

/* Right-bleed Hero (Wohnung): Bild full-bleed rechts + oben/unten, Text links im Container */
.sv-hero--right-bleed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.sv-hero--right-bleed .sv-section__inner {
  position: relative;
  z-index: 1;
}
.sv-hero-right-bleed {
  line-height: 0;
}
.sv-hero-right-bleed img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 991.98px) {
  .sv-hero--right-bleed .sv-section__inner {
    padding-bottom: 0;
  }
  .sv-hero-right-bleed {
    position: relative;
    width: 100%;
    height: clamp(220px, 52vw, 360px);
    order: 2;
    margin-top: 1.5rem;
  }
  .sv-hero--right-bleed {
    display: flex;
    flex-direction: column;
  }
  .sv-hero--right-bleed .sv-section__inner {
    order: 1;
  }
  .sv-hero--right-bleed .sv-hero-copy {
    padding-bottom: 0.25rem;
  }
}
@media (min-width: 992px) {
  .sv-hero--right-bleed {
    min-height: clamp(520px, 62vh, 720px);
  }
  .sv-hero--right-bleed .sv-section__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
  .sv-hero--right-bleed .row {
    flex: 1 1 auto;
    align-items: center;
  }
  .sv-hero-right-bleed {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
    width: auto;
    z-index: 0;
  }
  .sv-hero-right-bleed img {
    object-position: center center;
  }
}

/* Full-bleed Hero (Test: wie Makler gesucht – BG statt Bild rechts) */
.sv-hero--fullbleed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #1c2a22;
}
.sv-hero--fullbleed::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--sv-hero-bg);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: -2;
}
.sv-hero--fullbleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 39, 26, 0.92) 0%,
    rgba(20, 39, 26, 0.78) 45%,
    rgba(20, 39, 26, 0.55) 100%
  );
  z-index: -1;
}
@media (max-width: 991.98px) {
  .sv-hero--fullbleed::after {
    background: linear-gradient(
      180deg,
      rgba(20, 39, 26, 0.92) 0%,
      rgba(20, 39, 26, 0.85) 100%
    );
  }
}
.sv-hero--fullbleed .sv-section__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 4.5rem;
}
@media (min-width: 992px) {
  .sv-hero--fullbleed .sv-section__inner {
    padding-top: 2.75rem;
    padding-bottom: 5.5rem;
  }
}
.sv-hero--fullbleed .sv-hero-eyebrow {
  color: #b4d6bd;
}
.sv-hero--fullbleed .sv-hero-breadcrumb .breadcrumb-item,
.sv-hero--fullbleed .sv-hero-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.72);
}
.sv-hero--fullbleed .sv-hero-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.92);
}
.sv-hero--fullbleed .sv-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}
.sv-key-facts--on-dark li {
  color: #fff;
}
.sv-key-facts--on-dark li i {
  color: #b4d6bd;
}

/* People-Hero (wie Startseite – Team rechts, aber innerhalb der Sektion) */
.sv-hero--people {
  position: relative;
  z-index: 2;
  background-color: #e5ebe7;
  overflow: hidden;
}
.sv-hero--people .sv-section__inner {
  position: relative;
  padding-top: 0.35rem;
  padding-bottom: 0;
}
.sv-hero--people .sv-section__inner > nav {
  padding-bottom: 0.5rem !important;
}
@media (max-width: 991.98px) {
  .sv-hero--people .sv-section__inner {
    padding-top: 0.25rem;
    padding-bottom: 0;
  }
  .sv-hero--people .sv-hero-copy {
    padding-bottom: 0.25rem;
  }
}
@media (min-width: 992px) {
  .sv-hero--people .sv-section__inner {
    padding-top: 0.5rem;
    /* Platz für Stats-Overlay, Personen sitzen trotzdem auf bottom: 0 */
    padding-bottom: 3.5rem;
  }
  .sv-hero--people .sv-hero-copy {
    padding-bottom: 1.25rem;
  }
}
.sv-hero-people {
  line-height: 0;
}
.sv-hero-people img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}
@media (max-width: 991.98px) {
  .sv-hero-people-col {
    display: flex;
    align-items: flex-end;
    /* Mehr Luft zwischen Text und Personen */
    margin-top: 1.75rem;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .sv-hero-people {
    width: 100%;
    margin-bottom: 0;
  }
  .sv-hero-people img {
    margin-bottom: 0;
    vertical-align: bottom;
  }
}
@media (min-width: 992px) {
  .sv-hero--people .row {
    overflow: hidden;
  }
  .sv-hero-people-col {
    min-height: clamp(380px, 40vw, 560px);
    pointer-events: none;
  }
  .sv-hero-people {
    position: absolute;
    bottom: 0;
    left: calc(50% + 1.25rem);
    width: calc(50% - 1.25rem + max(0px, (100vw - 100%) / 2));
    width: calc(50% - 1.25rem + max(0px, (100svw - 100%) / 2));
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    pointer-events: none;
    max-height: 100%;
  }
  .sv-hero-people img {
    width: 100%;
    max-height: clamp(400px, 46vw, 620px);
    object-fit: contain;
    object-position: bottom left;
  }
}

/* Enhanced Stadt-Verkauf (Pilot: Haus Augsburg) */
.sv-hero--enhanced {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(214, 180, 106, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(0, 60, 20, 0.08), transparent 50%),
    linear-gradient(165deg, #e8eee9 0%, #f4f6f4 45%, #e5ebe7 100%);
}
.sv-hero--enhanced::before {
  content: '';
  position: absolute;
  inset: auto -10% -35% 40%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(0, 60, 20, 0.06), transparent 65%);
  pointer-events: none;
}
.sv-hero--enhanced .sv-section__inner {
  position: relative;
  z-index: 1;
}
.sv-hero--enhanced .sv-hero-copy {
  animation: sv-fade-up 0.65s ease both;
}
.sv-hero--enhanced .sv-hero-visual--enhanced {
  animation: sv-fade-up 0.75s ease 0.08s both;
}
@keyframes sv-fade-up {
  from {
    opacity: 0.001;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-hero--enhanced .sv-hero-copy,
  .sv-hero--enhanced .sv-hero-visual--enhanced {
    animation: none;
  }
}

.sv-hero-visual--enhanced {
  position: relative;
}
.sv-hero-visual--enhanced::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.sv-hero-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 0.95rem;
  padding: 0.9rem 1.15rem;
  box-shadow: 0 0.65rem 1.5rem rgba(0, 40, 14, 0.18);
  max-width: 12rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.sv-hero-chip strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--fn-primary, #003c14);
}
.sv-hero-chip span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #4f5d6b;
  line-height: 1.3;
}
.sv-stats {
  position: relative;
  z-index: 2;
  margin-top: -1.75rem;
  margin-bottom: 0.5rem;
}
.sv-stats__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(0, 60, 20, 0.08);
  border-radius: 1.35rem;
  padding: 0.35rem 0.85rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 40, 14, 0.1);
}
.sv-stats__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  text-align: left;
  padding: 0.9rem 0.35rem;
}
.sv-stats__item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 60, 20, 0.08);
}
.sv-stats__value {
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fn-primary, #003c14);
  line-height: 1.25;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.sv-stats__label {
  flex: 1 1 auto;
  font-size: 0.875rem;
  color: #4f5d6b;
  line-height: 1.35;
  text-align: right;
}
@media (min-width: 768px) {
  .sv-stats {
    margin-top: -2.5rem;
  }
  .sv-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0.45rem;
  }
  .sv-stats__item {
    display: block;
    text-align: center;
    padding: 1.15rem 0.85rem;
    border-bottom: 0;
  }
  .sv-stats__item:not(:last-child) {
    border-bottom: 0;
    border-right: 1px solid rgba(0, 60, 20, 0.08);
  }
  .sv-stats__value {
    display: block;
    font-size: clamp(1.4rem, 1.15rem + 0.85vw, 1.85rem);
    line-height: 1.15;
    margin-bottom: 0.3rem;
    white-space: normal;
  }
  .sv-stats__label {
    display: block;
    text-align: center;
  }
}

.sv-process-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 60, 20, 0.08);
  border-radius: 1.15rem;
  padding: 1.6rem 1.45rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sv-process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 60, 20, 0.16);
  box-shadow: 0 0.9rem 1.75rem rgba(0, 40, 14, 0.1);
}
.sv-process-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  height: 2.65rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: var(--fn-primary, #003c14);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 0.35rem 0.85rem rgba(0, 60, 20, 0.22);
}

.sv-quote-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(214, 180, 106, 0.16), transparent 55%),
    linear-gradient(135deg, #003c14 0%, #0a4a1c 55%, #145228 100%);
  color: #fff;
  padding: 3.75rem 0;
}
@media (min-width: 992px) {
  .sv-quote-band {
    padding: 5rem 0;
  }
}
.sv-quote {
  position: relative;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sv-quote__stars {
  position: relative;
  color: var(--fn-warning, #d6b46a);
  font-size: 1.05rem;
  letter-spacing: 0.18rem;
  margin-bottom: 1.35rem;
}
.sv-quote__text {
  position: relative;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.75rem);
  line-height: 1.45;
  font-weight: 500;
  margin: 0 0 1.85rem;
}
.sv-quote__meta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
}
.sv-quote__avatar {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.sv-advantage-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sv-advantage-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 60, 20, 0.14);
  box-shadow: 0 0.85rem 1.6rem rgba(0, 40, 14, 0.08);
}

.sv-refs {
  background: #f7f8f6;
}
.sv-refs .container {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
@media (min-width: 992px) {
  .sv-refs .container {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}

/* Wohnung Stadt-Verkauf (eigener Bogen vs. Haus) */
.sv-w-pillars {
  background: #fff;
  padding: 2.5rem 0;
}
@media (min-width: 992px) {
  .sv-w-pillars {
    padding: 3.25rem 0;
  }
}
.sv-w-pillars__grid {
  display: grid;
  gap: 0;
}
@media (min-width: 768px) {
  .sv-w-pillars__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.sv-w-pillars__item {
  padding: 1.5rem 0;
}
@media (min-width: 768px) {
  .sv-w-pillars__item {
    padding: 0 1.75rem;
  }
  .sv-w-pillars__item:not(:last-child) {
    border-right: 1px solid rgba(0, 60, 20, 0.1);
  }
  .sv-w-pillars__item:first-child {
    padding-left: 0;
  }
  .sv-w-pillars__item:last-child {
    padding-right: 0;
  }
}
@media (max-width: 767.98px) {
  .sv-w-pillars__item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 60, 20, 0.08);
    padding-bottom: 1.75rem;
    margin-bottom: 0.25rem;
  }
}
.sv-w-pillars__icon {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
}
.sv-w-pillars__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fn-primary, #003c14);
  margin-bottom: 0.5rem;
}
.sv-w-pillars__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4f5d6b;
  margin: 0;
}

.sv-w-scenario-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sv-w-scenario-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 60, 20, 0.16);
  box-shadow: 0 0.9rem 1.75rem rgba(0, 40, 14, 0.1);
}

.sv-w-market {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.sv-w-market::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--sv-w-market-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.sv-w-market::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 39, 26, 0.92) 0%,
    rgba(20, 39, 26, 0.78) 55%,
    rgba(20, 39, 26, 0.55) 100%
  );
  z-index: 1;
}
.sv-w-market__inner {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}
@media (min-width: 992px) {
  .sv-w-market__inner {
    padding: 4rem 0;
  }
}
.sv-section.sv-w-market .sv-section__inner {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
}
.sv-w-market__eyebrow {
  color: #b4d6bd;
}
.sv-w-market__title,
.sv-w-market__text,
.sv-w-market__demand {
  color: #fff;
}
.sv-w-market__text {
  opacity: 0.9;
  max-width: 42rem;
  line-height: 1.6;
}
.sv-w-market__demand {
  color: #fff;
  max-width: 42rem;
  opacity: 0.95;
}

.sv-w-refs__section {
  padding: 0;
  margin: 0;
}
.sv-section > .sv-w-refs__section {
  width: 100%;
}
.sv-w-refs__inner {
  padding-top: 0;
  padding-bottom: 0;
}
.sv-section .sv-w-refs__inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.sv-refs .sv-w-refs__inner > .d-flex {
  margin-bottom: 2rem;
}
@media (min-width: 992px) {
  .sv-refs .sv-w-refs__inner > .d-flex {
    margin-bottom: 2.5rem;
  }
}
.sv-refs .position-relative {
  margin-top: 0;
}
.sv-w-refs__carousel {
  overflow: hidden;
}
.sv-w-refs__carousel .swiper-slide {
  height: auto;
}
.sv-w-refs__carousel .card-img-top .ratio {
  max-height: 220px;
}
@media (min-width: 768px) {
  .sv-w-refs__carousel .card-img-top .ratio {
    max-height: 248px;
  }
}

/* Neues Auwald-Logo (Header farbig, Footer weiß) */
.navbar-brand .auwald-logo,
.auwald-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(180px, 48vw);
  object-fit: contain;
}

@media (min-width: 576px) {
  .navbar-brand .auwald-logo,
  .auwald-logo {
    height: 48px;
    max-width: 210px;
  }
}

@media (min-width: 992px) {
  .navbar-brand .auwald-logo,
  .auwald-logo {
    height: 52px;
    max-width: 225px;
  }
}

/* Quadratmeterpreise 2026 */
#preise,
.qm-price-browse h3[id] {
  scroll-margin-top: 6.5rem;
}
.qm-prices {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: var(--fn-secondary-bg, #f4f5f3);
}
@media (min-width: 992px) {
  .qm-prices {
    padding-top: 6rem;
    padding-bottom: 5.5rem;
  }
}
.qm-kpi {
  background: #fff;
  border: 1px solid rgba(0, 60, 20, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.15rem 1.35rem;
  height: 100%;
}
.qm-kpi__label {
  font-size: 0.8125rem;
  color: var(--fn-secondary-color, #6c757d);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.qm-kpi__value {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: #003c14;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.qm-kpi__unit {
  font-size: 0.75rem;
  color: var(--fn-secondary-color, #6c757d);
  margin-top: 0.2rem;
}
.qm-price-pills .nav-link {
  border-radius: 999px;
  border: 1px solid rgba(0, 60, 20, 0.16);
  background: #fff;
  color: #003c14;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 1rem;
}
.qm-price-pills .nav-link:hover {
  border-color: #003c14;
  background: #fff;
  color: #003c14;
}
.qm-price-pills .nav-link.active {
  background: #003c14;
  border-color: #003c14;
  color: #fff;
}
.qm-place {
  background: #fff;
  border: 1px solid rgba(0, 60, 20, 0.08);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem 1.15rem;
}
.qm-place__name {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--fn-emphasis-color, #212529);
}
.qm-place__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 60, 20, 0.08);
}
.qm-place__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.qm-place__kind {
  font-size: 0.75rem;
  color: var(--fn-secondary-color, #6c757d);
  margin-bottom: 0.15rem;
}
.qm-place__value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #003c14;
  font-size: 0.95rem;
  line-height: 1.25;
}
.qm-place__unit {
  font-size: 0.7rem;
  color: var(--fn-secondary-color, #6c757d);
  margin-top: 0.1rem;
}
.qm-price-cta {
  background: #003c14;
  color: #fff;
}
.qm-price-cta .h3 {
  color: #fff;
}
.qm-price-cta .text-body-secondary {
  color: rgba(255, 255, 255, 0.78) !important;
}
.qm-price-cta .btn-primary {
  --fn-btn-bg: #fff;
  --fn-btn-border-color: #fff;
  --fn-btn-color: #003c14;
  --fn-btn-hover-bg: #f4f5f3;
  --fn-btn-hover-border-color: #f4f5f3;
  --fn-btn-hover-color: #003c14;
  --fn-btn-active-bg: #ebf0ec;
  --fn-btn-active-border-color: #ebf0ec;
  --fn-btn-active-color: #003c14;
}
