
html, body {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overscroll-behavior-x: none; 
  -webkit-overflow-scrolling: touch; 
}


html {
  background: rgb(10, 10, 10); 
  overscroll-behavior-y: none; 
}

body {
  background: #fff;
}


:root {
  
  --brand-blue-text: #0b2f6b;

  
  --brand-btn-c1: rgba(55, 70, 126, 0.95);
  --brand-btn-c2: rgba(111, 162, 229, 0.95);
  --brand-btn-shadow: rgba(55, 70, 126, 0.22);

  
  --brand-gold-c1: rgba(236, 209, 140, 0.96);
  --brand-gold-c2: rgba(214, 180, 107, 0.96);
  --brand-gold-solid: rgb(214, 180, 107);
  --brand-gold-shadow: rgba(120, 93, 40, 0.18);
}


h1, h2, h3, h4, h5, h6 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  letter-spacing: -0.02em;
}


.section-title {
  font-weight: 900 !important;
  line-height: 1.12 !important;
  font-size: clamp(2rem, 2.6vw, 2.6rem) !important;
}

.section-subtitle {
  font-weight: 600 !important;
  line-height: 1.4 !important;
  font-size: 1.125rem !important;
}


.contact-heading {
  color: var(--brand-blue-text) !important;
}


[class*="text-blue-"] {
  color: var(--brand-blue-text) !important;
}


button.bg-blue-600,
button.bg-blue-700,
button.bg-blue-500,
button.bg-blue-800,
a.bg-blue-600,
a.bg-blue-700,
a.bg-blue-500,
a.bg-blue-800 {
  background: linear-gradient(135deg, var(--brand-btn-c1), var(--brand-btn-c2)) !important;
  color: #fff !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background-clip: padding-box;
  box-shadow: 0 18px 55px var(--brand-btn-shadow) !important;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease !important;
}

button.bg-blue-600:hover,
button.bg-blue-700:hover,
button.bg-blue-500:hover,
button.bg-blue-800:hover,
a.bg-blue-600:hover,
a.bg-blue-700:hover,
a.bg-blue-500:hover,
a.bg-blue-800:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.03) !important;
  box-shadow: 0 24px 70px rgba(55, 70, 126, 0.28) !important;
}


#rezessionen .text-yellow-500 {
  color: var(--brand-gold-solid) !important;
}

#partner .text-yellow-500 {
  color: var(--brand-gold-solid) !important;
}

#partner .bg-yellow-500,
#immoweltOffersBlock .bg-yellow-500 {
  background: linear-gradient(180deg, var(--brand-gold-c1), var(--brand-gold-c2)) !important;
}

#partner .bg-yellow-500:hover,
#immoweltOffersBlock .bg-yellow-500:hover {
  background: linear-gradient(180deg, var(--brand-gold-c1), var(--brand-gold-c2)) !important;
  filter: brightness(1.02) !important;
}


#angebote .topimmo-badge {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(37, 99, 235, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.22);
}

#angebote .topimmo-price {
  color: var(--brand-blue-text) !important;
}

#angebote .topimmo-btn {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-clip: padding-box;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

#angebote .topimmo-btn--primary {
  background: linear-gradient(135deg, var(--brand-btn-c1), var(--brand-btn-c2)) !important;
  color: #fff !important;
  box-shadow: 0 18px 55px var(--brand-btn-shadow) !important;
}

#angebote .topimmo-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 24px 70px rgba(55, 70, 126, 0.28) !important;
}


#angebote .topimmo-iconbtn {
  background: radial-gradient(circle at 30% 25%, rgba(11, 47, 107, 0.28), transparent 60%);
  box-shadow:
    0 0 0 1px rgba(11, 47, 107, 0.22),
    0 12px 30px rgba(2, 6, 23, 0.12);
  color: var(--brand-blue-text);
}

#angebote .topimmo-iconbtn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

#angebote .topimmo-iconbtn-ico,
#angebote .topimmo-iconbtn-ico svg {
  color: var(--brand-blue-text) !important;
}


header .h-20.w-64,
header .h-16.w-60,
footer .h-20.w-64 {
  overflow: hidden !important;
  touch-action: pan-y !important; 
}


@media (max-width: 768px) {
  footer .h-20.w-64 {
    height: 6.5rem !important;
    overflow: visible !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  footer .h-20.w-64 img {
    height: 5.5rem !important;
    max-height: 5.5rem !important;
  }
}

header img,
footer img,
.floating-logo img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  touch-action: pan-y !important;
  display: block !important;
}


body {
  min-height: 100vh;
  position: relative;
}

footer {
  position: relative;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


body > *:last-child {
  margin-bottom: 0 !important;
}


html {
  overscroll-behavior-y: none; 
}

@media (max-width: 768px) {
  footer {
    margin-bottom: 0 !important;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)) !important;
  }
}


@media (max-width: 768px) {
  html, body {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden !important;
    overflow-y: auto !important; 
    touch-action: pan-y !important;
    scroll-behavior: auto !important;
  }
  
  
  html {
    scroll-padding-top: 0 !important;
  }
  
  
  main#main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}


@supports (-webkit-touch-callout: none) {
  html {
    overscroll-behavior-y: auto !important;
    scroll-behavior: auto !important;
  }
  body {
    overscroll-behavior-y: auto !important;
  }
  
  @media (max-width: 768px) {
    html, body {
      scroll-behavior: auto !important;
    }
    .testimonials-container {
      scroll-behavior: auto !important;
    }
  }
}


* {
  box-sizing: border-box;
}



@media (max-width: 768px) {
  body > *,
  section,
  header,
  main,
  footer,
  nav,
  article,
  aside {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
  }
  
  
  .testimonials-container {
    overflow-x: auto !important;
    overflow-y: visible !important;
    touch-action: pan-x pan-y !important; 
    -webkit-overflow-scrolling: touch !important;
  }
  
  
  section:not(#rezessionen) {
    touch-action: pan-y !important; 
  }
  
  
  section:has(.partner-card),
  .partner-card {
    touch-action: pan-y !important;
    overflow: visible !important;
    height: 100%;
  }
}


input, textarea, select {
  touch-action: auto;
}


@media (max-width: 768px) {
  
  html {
    touch-action: pan-y; 
    overscroll-behavior-x: none; 
  }
  
  
  html::-webkit-scrollbar {
    width: 3px !important; 
    background: transparent !important;
  }
  
  html::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
  }
  
  html::-webkit-scrollbar-track {
    background: transparent !important;
  }
  
  body {
    touch-action: pan-y; 
    overscroll-behavior-x: none; 
  }
  
  body::-webkit-scrollbar {
    width: 3px !important;
    background: transparent !important;
  }
  
  body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
  }
  
  body::-webkit-scrollbar-track {
    background: transparent !important;
  }
  
  
  html {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
  }
  
  body {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
  }
  
  
  * {
    
    touch-action: auto;
    max-width: 100vw !important;
  }
  
  
  section, div, header, main, footer, nav, article, aside {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  
  input, textarea, select {
    -webkit-user-select: auto;
    user-select: auto;
    touch-action: auto;
    overflow: hidden !important;
  }

  #kontakt .contact-field,
  #kontakt .contact-field > *,
  #kontakt input,
  #kontakt textarea,
  #kontakt select {
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  #tippgeber .tipp-step-title {
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  #energieausweis .ea-tile-title {
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  .timeline-title {
    overflow: hidden !important;
    touch-action: pan-y !important;
  }
}

* {
  box-sizing: border-box;
}


@media (max-width: 768px) {
  body > * {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

.snap-x { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


.testimonial-text-container {
  position: relative;
}

.testimonial-toggle {
  margin-top: -0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.testimonial-toggle:hover {
  text-decoration: underline;
}


.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.rotate-in {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-in.visible {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }


.services-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid-container .service-card:nth-child(4) {
  grid-column: 1 / 2;
}

.services-grid-container .service-card:nth-child(6) {
  grid-column: 3 / 4;
}

.service-card {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.03), rgba(15, 23, 42, 0.01));
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(30, 41, 59, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(30, 41, 59, 0.1);
  border-color: rgba(30, 41, 59, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  width: 300px;
  height: 300px;
}

.service-icon {
  width: 80px;
  height: 80px;
  
  background: linear-gradient(135deg, #0f172a, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.service-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.28);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}


#rezessionen div.bg-gradient-to-br.from-blue-500.to-blue-600 {
  background: linear-gradient(135deg, #0f172a, #2563eb) !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}


#tippgeber .h-11.w-11.rounded-2xl.bg-neutral-100 {
  background: linear-gradient(135deg, #0f172a, #2563eb) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

#tippgeber .h-11.w-11.rounded-2xl.bg-neutral-100 i,
#tippgeber .h-11.w-11.rounded-2xl.bg-neutral-100 svg {
  color: #fff !important;
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-card:hover .service-icon::after {
  width: 120px;
  height: 120px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-list li {
  padding: 0.5rem 0;
  color: #475569;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: bold;
  font-size: 1.1rem;
}


.premium-box {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.7));
  min-height: 420px;
}

.premium-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20200%20200%27%3E%3Cpath%20d%3D%27M40%2090%20L100%2040%20L160%2090%20V160%20H40%20Z%27%20fill%3D%27none%27%20stroke%3D%27%230f172a%27%20stroke-width%3D%276%27%20stroke-linejoin%3D%27round%27/%3E%3Cpath%20d%3D%27M85%20160%20V115%20H115%20V160%27%20fill%3D%27none%27%20stroke%3D%27%230f172a%27%20stroke-width%3D%276%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -50px bottom -40px;
  background-size: 320px;
  opacity: 0.06;
  pointer-events: none;
}

.premium-box > * {
  position: relative;
  z-index: 1;
}

.premium-box-title {
  background: linear-gradient(90deg, #0f172a, #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.premium-box-footer {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}


.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 22px; 
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.35), rgba(29, 78, 216, 0.15));
  border-radius: 9999px;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
}

.timeline-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 2; 
}

.timeline-title {
  font-weight: 800;
  color: rgba(15, 23, 42, 0.96);
  line-height: 1.25;
}

.timeline-text {
  margin-top: 0.25rem;
  color: #475569;
  line-height: 1.55;
}


.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feature-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.25rem 0;
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(37, 99, 235, 0.92));
  color: #fff;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.feature-text {
  color: #475569;
  line-height: 1.6;
}


.human-factor-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.7));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.human-factor-card::after {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.human-factor-card > * {
  position: relative;
  z-index: 1;
}

.human-factor-badge {
  align-self: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 640px) {
  .premium-box {
    min-height: auto;
  }
  .timeline-list::before {
    opacity: 0.22;
  }
}

@media (max-width: 1024px) {
  .services-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .services-grid-container .service-card:nth-child(4),
  .services-grid-container .service-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  
  
  .floating {
    animation: none !important;
  }
  
  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .scale-in,
  .magnetic {
    animation: none !important;
  }
  
  
  *:hover {
    transform: none !important;
  }
  
  
  .services-grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .services-grid-container .service-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .services-grid-container .service-card:nth-child(4),
  .services-grid-container .service-card:nth-child(5),
  .services-grid-container .service-card:nth-child(6) {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .services-grid-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }
  
  .service-card img {
    width: 100% !important;
    height: 100% !important;
    min-height: 200px !important;
    max-height: 250px !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  .service-card[style*="padding: 0"] {
    min-height: 200px !important;
    max-height: 250px !important;
    height: auto !important;
  }
  
  .service-card h3 {
    font-size: 1.125rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .service-card p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }
  
  .service-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 480px) {
  .services-grid-container {
    gap: 1rem;
    padding: 0 0.75rem;
  }
  
  .service-card {
    padding: 1.25rem 0.75rem !important;
  }
  
  .service-card img {
    min-height: 180px !important;
    max-height: 220px !important;
  }
  
  .service-card[style*="padding: 0"] {
    min-height: 180px !important;
    max-height: 220px !important;
  }
}


.nav-link {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  
  background: linear-gradient(90deg, rgba(11, 47, 107, 0.95), rgba(11, 47, 107, 0.55));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(11, 47, 107, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.nav-link:hover {
  color: var(--brand-blue-text);
  transform: translateY(-1px);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-link:hover::after {
  width: 100px;
  height: 100px;
}


.parallax-bg {
  transform: translateZ(0);
  will-change: transform;
}


.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}


@media (max-width: 768px) {
  #ueber-uns .floating {
    animation: none !important;
    transform: none !important;
  }
  
  
  #ueber-uns {
    position: relative !important;
    z-index: 50 !important;
  }
  
  #ueber-uns > div {
    position: relative !important;
    z-index: 51 !important;
  }
  
  #ueber-uns .floating {
    position: relative !important;
    z-index: 52 !important;
  }
  
  
  .hero-section {
    z-index: 1 !important;
  }
}

.floating-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
}


.glow-on-scroll {
  transition: all 0.3s ease;
}

.glow-on-scroll.visible {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}


.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.visible span {
  opacity: 1;
  transform: translateY(0);
}


.gradient-animate {
  background: linear-gradient(-45deg, #3b82f6, #60a5fa, #3b82f6, #60a5fa);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}


section.hero-section.hero-split {
  padding: 0;
  
  overflow-x: hidden;
  overflow-y: visible;
  background: #ffffff;
  position: relative;
  
  height: auto !important;
  min-height: auto !important;
}

.hero-split-grid {
  display: grid;
  
  grid-template-columns: minmax(640px, 1fr) minmax(420px, var(--hero-right-w, 440px));
  column-gap: 56px;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 90vh;
  position: relative;
  z-index: 2;
  padding-top: 88px !important; 
  padding-left: 48px;
  padding-right: 48px;
}

.hero-split-left {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  
  padding: 4.5rem 0;
}

.hero-split-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

.hero-split-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  
  padding: 4.5rem 0;
  background: transparent;
  overflow: visible;
  z-index: 2;
}


.hero-card {
  position: relative;
  width: min(900px, 100%);
  padding: clamp(2rem, 2.8vw, 3rem);
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}


.hero-card::before {
  content: "";
  position: absolute;
  left: clamp(1.5rem, 2.2vw, 2.25rem);
  top: clamp(1.3rem, 1.9vw, 1.9rem);
  width: 140px;
  height: 2px;
  background: var(--brand-gold-solid);
  opacity: 0.85;
}

.hero-split-content {
  position: relative;
  z-index: 3;
  max-width: 100%;
}

section.hero-section.hero-split .hero-split-title {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04 !important;
  
  font-size: 64px !important;
  margin: 0 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  
  word-break: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  hyphens: none !important;
}

section.hero-section.hero-split .hero-split-sub {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem !important;
  line-height: 1.5 !important;
  max-width: 42rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
  
  word-break: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  hyphens: none !important;
}

section.hero-section.hero-split .hero-split-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  max-width: none;
}

section.hero-section.hero-split .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(55, 70, 126, 0.92);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  height: auto !important;
}

section.hero-section.hero-split .hero-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

section.hero-section.hero-split .hero-cta.hero-cta--secondary {
  background: rgba(75, 102, 150, 0.88);
}

.hero-agent {
  position: relative;
  width: min(440px, 86%);
  height: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.18));
}


.hero-portrait {
  position: relative;
  
  --hero-line-bottom: 26px; 
  --hero-photo-nudge-y: 0px; 

  
  
  --hero-frame-h: 420px;
  --hero-frame-w: var(--hero-frame-h);
  --hero-photo-w: 480px; 
  
  --hero-photo-h: calc(var(--hero-frame-h) + 60px);

  width: min(var(--hero-frame-w), 100%);
  height: var(--hero-frame-h);
  max-height: var(--hero-frame-h);
  display: grid;
  place-items: end center;
  padding: 22px 26px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  
  overflow: visible;
  isolation: isolate;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: var(--hero-line-bottom);
  height: 2px;
  background: var(--brand-gold-solid);
  opacity: 0.8;
  z-index: 1;
}


.hero-portrait .hero-agent {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  
  bottom: calc(var(--hero-line-bottom) + 2px - var(--hero-photo-nudge-y));
  height: var(--hero-photo-h);
  width: auto;
  max-width: min(var(--hero-photo-w), 118%);
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}


@media (max-width: 1100px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  
  section.hero-section.hero-split {
    overflow: visible !important;
  }

  .hero-split-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 84px;
    padding-left: 18px;
    padding-right: 18px;
    column-gap: 0;
  }
  .hero-split-left {
    padding: 2.25rem 1.25rem 1.25rem;
    position: relative;
    z-index: 5;
  }
  .hero-split-right {
    padding: 1.25rem 1.25rem 2.25rem;
    
    margin-top: 18px;
    position: relative;
    z-index: 999; 
  }
  .hero-agent {
    width: min(420px, 88%);
  }
  .hero-portrait {
    --hero-line-bottom: 20px;
    
    --hero-frame-w: 210px;
    --hero-frame-h: 210px;
    --hero-photo-w: 150px;
    
    --hero-photo-h: calc(var(--hero-frame-h) - 25px);
    
    width: min(var(--hero-frame-w), 82%) !important;
    max-width: min(var(--hero-frame-w), 82%) !important;
    height: var(--hero-frame-h);
    max-height: var(--hero-frame-h);
    border-radius: 32px;
    padding: 18px 18px;
    z-index: 20;
  }

  
  section.hero-section.hero-split .hero-portrait .hero-agent {
    height: var(--hero-photo-h) !important;
    width: auto !important;
    max-width: min(var(--hero-photo-w), 108%) !important;
    max-height: var(--hero-photo-h) !important;
  }

  .hero-portrait::after {
    left: 34px;
    right: 34px;
  }
  .hero-split-actions {
    gap: 12px;
  }

  section.hero-section.hero-split .hero-split-title {
    font-size: 38px !important;
  }

  
  .hero-card {
    padding: 1.6rem 1.35rem;
  }
}

@media (max-width: 520px) {
  section.hero-section.hero-split .hero-split-title {
    font-size: 34px !important;
  }
}

@media (max-width: 420px) {
  section.hero-section.hero-split .hero-split-title {
    
    font-size: clamp(22px, 6.9vw, 28px) !important;
    letter-spacing: -0.04em;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .hero-card {
    padding: 1.35rem 1.15rem !important;
  }
}

@media (max-width: 360px) {
  section.hero-section.hero-split .hero-split-title {
    font-size: clamp(22px, 7.6vw, 30px) !important;
  }
}

@media (max-width: 340px) {
  section.hero-section.hero-split .hero-split-title {
    font-size: clamp(21px, 7.8vw, 26px) !important;
    line-height: 1.06 !important;
  }
}


@media (max-width: 560px) {
  section.hero-section.hero-split {
    height: auto !important;
    min-height: auto !important;
    display: block !important;
    padding: 0 !important;
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.6);
  border-radius: 50%;
  animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}


.magnetic {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.erfolge-section {
  position: relative;
  overflow: hidden;
  background: url("../images/unsere_erfolge_bg.png") center / cover no-repeat;
}

.erfolge-section::before {
  content: "";
  position: absolute;
  inset: 0;
  
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.48));
  pointer-events: none;
}

.erfolge-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
}

.erfolge-sub {
  margin-top: 10px;
  font-size: 1.2rem;
  color: rgba(17, 24, 39, 0.72);
}

.erfolge-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.erfolge-card {
  position: relative;
  border-radius: 44px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 26px 80px rgba(2, 6, 23, 0.12);
  transform: translateY(0);
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.erfolge-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 95px rgba(2, 6, 23, 0.16);
}

.erfolge-img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 0;
}

.erfolge-body {
  position: relative;
  height: 270px; 
  padding: 44px 24px 36px;
  text-align: center;
  
  background: linear-gradient(180deg, #0b2f6b 0%, #0b2f6b 54%, #072553 100%);
  
  overflow: visible;
  z-index: 1;
}


.erfolge-body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -86px;
  height: 110px;
  z-index: 5;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201000%20200%27%3E%3Cpath%20d%3D%27M0%2C140%20C180%2C90%20320%2C190%20500%2C140%20C680%2C90%20820%2C190%201000%2C140%20L1000%2C200%20L0%2C200%20Z%27%20fill%3D%27%230b2f6b%27/%3E%3C/svg%3E");
  pointer-events: none;
}

.erfolge-num {
  font-weight: 950;
  color: #ffffff;
  font-size: clamp(4.2rem, 6vw, 6.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
  font-variant-numeric: tabular-nums;
}

.erfolge-label {
  margin-top: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 6px 16px rgba(2, 6, 23, 0.14);
}

  .erfolge-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.erfolge-hover {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  z-index: 2;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 460ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 40ms;
  will-change: opacity, transform;
}

.erfolge-card:hover .erfolge-main {
  transform: translateY(-22px);
}

.erfolge-card:hover .erfolge-hover {
  opacity: 1;
  transform: translateY(0);
}



@media (max-width: 1024px) {
  .erfolge-img { height: 220px; }
}

@media (max-width: 768px) {
  .erfolge-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .erfolge-card {
    border-radius: 30px;
    overflow: hidden !important;
    -webkit-overflow-scrolling: auto !important;
  }

  
  .erfolge-img {
    height: 190px;
    border-radius: 0 !important;
  }

  
  .erfolge-body {
    position: relative;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    
    margin-top: -64px;
    padding: 58px 18px 28px;
    overflow: hidden;
    
    background-image:
      url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201000%20200%27%3E%3Cpath%20d%3D%27M0%2C140%20C180%2C90%20320%2C190%20500%2C140%20C680%2C90%20820%2C190%201000%2C140%20L1000%2C200%20L0%2C200%20Z%27%20fill%3D%27%230b2f6b%27/%3E%3C/svg%3E"),
      linear-gradient(180deg, #0b2f6b 0%, #0b2f6b 54%, #072553 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: top center, center;
    background-size: 100% 90px, cover;
  }

  .erfolge-body::before { display: none; }

  .erfolge-main {
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  .erfolge-num {
    font-size: clamp(3.2rem, 16vw, 4.4rem);
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  .erfolge-label {
    margin-top: 8px;
    font-size: 1.05rem;
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  .erfolge-hover {
    
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    padding: 0 6px;
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.32;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 360ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .erfolge-card:hover .erfolge-main {
    transform: translateY(-18px);
  }
  .erfolge-card:hover .erfolge-hover { opacity: 1; transform: translateY(0); }

  
  .erfolge-card.is-active .erfolge-main { transform: translateY(-18px); }
  .erfolge-card.is-active .erfolge-hover { opacity: 1; transform: translateY(0); }
  .erfolge-card { cursor: pointer; }
}


.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  z-index: 9999;
  transition: width 0.1s ease;
}


.top-stripe {
  position: relative;
  overflow: hidden;
}

.top-stripe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(59, 130, 246, 0.4), 
    rgba(59, 130, 246, 0.6), 
    rgba(96, 165, 250, 0.5), 
    rgba(59, 130, 246, 0.6), 
    rgba(59, 130, 246, 0.4), 
    transparent
  );
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.3), 0 0 12px rgba(59, 130, 246, 0.2);
  transform: translateX(-50%);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.top-stripe:hover::before {
  width: 100%;
}


.top-stripe > * {
  position: relative;
  z-index: 2;
}


.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.faq-item:hover {
  border-color: rgba(11, 47, 107, 0.55);
  box-shadow: 0 4px 20px rgba(11, 47, 107, 0.12);
  transform: translateY(-2px);
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: linear-gradient(135deg, rgba(11, 47, 107, 0.12) 0%, rgba(11, 47, 107, 0.06) 100%);
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-question:hover h3 {
  color: var(--brand-blue-text);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #6b7280;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--brand-blue-text);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  background: #fafafa;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer-content {
  padding: 0 24px 24px 24px;
  color: #4b5563;
  line-height: 1.6;
  font-size: 16px;
}

.faq-answer-content p {
  margin: 0 0 12px 0;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}


.testimonials-carousel {
  display: flex;
  animation: scroll 40s linear infinite;
  width: calc(10 * 400px); 
}

.testimonials-carousel:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-5 * 400px)); 
  }
}

.testimonials-container {
  overflow: hidden;
  position: relative;
}

.testimonials-container::before,
.testimonials-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.testimonials-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), transparent);
}

.testimonials-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), transparent);
}


#propertiesWrapper {
  position: relative;
}

#propertiesContainer {
  position: relative;
  transition: transform 0.5s ease-in-out;
  z-index: 1;
}

#propertiesWrapper {
  overflow: hidden;
  position: relative;
  z-index: 1;
}


#propertiesPrevBtn,
#propertiesNextBtn {
  
  z-index: 200 !important;
  position: absolute !important;
}

#propertiesContainer.carousel-mode {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  width: 100%;
}

#propertiesContainer.carousel-mode .property-card {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: 0;
  max-width: calc(33.333% - 1.33rem);
  width: calc(33.333% - 1.33rem);
}

@media (max-width: 768px) {
  
  #propertiesWrapper.properties-mobile-scroll {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
  }
  #propertiesWrapper.properties-mobile-scroll::-webkit-scrollbar {
    display: none !important;
  }

  
  #propertiesWrapper.properties-mobile-scroll #propertiesContainer.carousel-mode {
    width: max-content;
  }

  #propertiesContainer.carousel-mode {
    gap: 1rem; 
  }

  #propertiesContainer.carousel-mode .property-card {
    flex: 0 0 85vw;
    width: 85vw;
    max-width: 85vw;
  }

  
  #propertiesContainer.properties-mobile-single {
    display: block !important;
  }
  #propertiesContainer.properties-mobile-single .property-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  
  #propertiesPrevBtn,
  #propertiesNextBtn {
    left: auto;
    right: auto;
    transform: translateY(-50%) !important;
  }

  #propertiesPrevBtn {
    left: 8px !important;
  }

  #propertiesNextBtn {
    right: 8px !important;
  }
}

#propertiesPrevBtn,
#propertiesNextBtn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  
  z-index: 200 !important;
  position: absolute !important;
}

#propertiesPrevBtn.visible,
#propertiesNextBtn.visible {
  opacity: 1;
  pointer-events: auto;
}

#propertiesPrevBtn:disabled,
#propertiesNextBtn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}


.floating-logo {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 200px;
  height: 80px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-logo.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.floating-logo img {
  width: 180px;
  height: auto;
  object-fit: contain;
}


@media (max-width: 768px) {
  .floating-logo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}


header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  
  z-index: 5000 !important;
  width: 100% !important;
}


body {
  padding-top: 0;
}

@media (min-width: 769px) {
  body {
    padding-top: 88px; 
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px !important; 
  }
  
  main {
    margin-top: 0 !important;
  }
}


@media (max-width: 768px) {
  
  header {
    padding: 0.75rem 1rem !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    position: relative !important;
    background: white !important;
  }
  
  header > div {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
  }
  
  
  header > div > button#brandHome {
    flex-shrink: 0 !important;
    margin-right: auto !important;
  }
  
  header > div > div.flex.items-center.gap-3 {
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
  
  
  header #brandHome {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  header #brandHome > div {
    background: transparent !important;
    border: none !important;
  }
  
  header #brandHome .h-20 {
    background: transparent !important;
    border: none !important;
  }
  
  
  header .h-20 {
    height: 3.5rem !important;
    background: transparent !important;
    border: none !important;
  }
  
  header .w-64 {
    width: 10rem !important;
    max-width: 10rem !important;
  }
  
  header img {
    max-height: 3rem !important;
  }
  
  
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    
    z-index: 5000 !important;
    width: 100% !important;
  }
  
  
  body {
    padding-top: 80px !important;
  }
  
  
  main {
    margin-top: 0 !important;
  }
  
  
  #tools .inline-flex {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: fit-content !important;
    margin-bottom: 1.5rem !important; 
  }
  
  #tools .text-center.mb-16 {
    margin-bottom: 2rem !important;
  }
  
  
  .hero-section {
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 6.5rem 1rem 3rem 1rem !important; 
    position: relative !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
  }
  
  
  .hero-section img.parallax-bg,
  .hero-section > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 0 !important;
  }
  
  
  .hero-section > div.absolute {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
  }
  
  
  .hero-section > div.relative {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    padding: 1.25rem !important; 
    text-align: center !important;
  }
  
  
  .hero-section .inline-flex.items-center.gap-2.rounded-full {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.875rem !important;
    width: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
    margin-bottom: 1rem !important;
  }
  
  
  .hero-section h1 {
    font-size: 1.625rem !important;
    line-height: 1.25 !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  
  .hero-section p {
    font-size: 0.9375rem !important;
    line-height: 1.4 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  
  .hero-section .flex.flex-row,
  .hero-section .mt-10,
  .hero-section div.flex.flex-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  
  
  .hero-section button,
  .hero-section .flex.flex-row > button,
  .hero-section button.fade-in-up,
  .hero-section button.stagger-2,
  .hero-section button.stagger-3 {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0.75rem 0.5rem !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important; 
    animation: none !important; 
    font-size: 0.75rem !important;
    pointer-events: auto !important;
  }
  
  
  .hero-section .fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
  }
  
  
  .hero-section .stagger-1,
  .hero-section .stagger-2,
  .hero-section .stagger-3 {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
  }
  
  
  .hero-section button i,
  .hero-section button svg {
    width: 1rem !important;
    height: 1rem !important;
    margin-right: 0.375rem !important;
    flex-shrink: 0 !important;
  }
  
  
  .hero-section button span {
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }
  
  
  h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
  }
  
  h4 {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }
  
  p {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
  }
  
  
  section {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  
  #rezessionen {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
  }
  
  #rezessionen > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .testimonials-container {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
    scrollbar-width: none !important; 
    -ms-overflow-style: none !important; 
    scroll-behavior: smooth !important;
    touch-action: pan-x pan-y !important; 
    overscroll-behavior-x: contain !important; 
  }
  
  .testimonials-container::-webkit-scrollbar {
    display: none !important; 
  }
  
  
  #rezessionen {
    touch-action: pan-y !important;
    overflow: visible !important;
  }
  
  #rezessionen > div {
    overflow: visible !important;
  }
  
  
  #rezessionen .inline-flex.items-center.gap-2.rounded-full,
  #rezessionen .floating {
    width: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
    margin-bottom: 1rem !important;
  }
  
  #rezessionen .text-center.mb-16 {
    margin-bottom: 1.5rem !important;
  }
  
  
  .testimonials-container::before,
  .testimonials-container::after {
    display: none !important;
  }
  
  .testimonials-carousel {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    animation: none !important; 
    width: fit-content !important; 
    min-width: fit-content !important;
    padding-left: calc((100vw - 85vw) / 2) !important; 
    padding-right: calc((100vw - 85vw) / 2) !important; 
  }
  
  .testimonials-carousel > div {
    flex: 0 0 85vw !important; 
    width: 85vw !important;
    max-width: 85vw !important;
    min-width: 85vw !important;
    scroll-snap-align: center !important; 
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-right: 0 !important; 
  }
  
  
  .testimonials-carousel > div.w-96,
  .testimonials-carousel > div.mr-8 {
    width: 85vw !important;
    max-width: 85vw !important;
    min-width: 85vw !important;
    margin-right: 0 !important;
  }
  
  
  .testimonials-carousel > div > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
  }
  
  
  .testimonials-carousel > div.flex-shrink-0 {
    flex-shrink: 0 !important;
  }
  
  
  .testimonials-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #3b82f6 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 0 !important;
  }
  
  .testimonials-nav-btn svg {
    width: 16px !important;
    height: 16px !important;
    color: #3b82f6 !important;
    stroke: #3b82f6 !important;
  }
  
  .testimonials-nav-btn:hover {
    background: #3b82f6 !important;
    transform: translateY(-50%) scale(1.1) !important;
  }
  
  .testimonials-nav-btn:hover svg {
    color: white !important;
    stroke: white !important;
  }
  
  .testimonials-nav-btn:active {
    transform: translateY(-50%) scale(0.95) !important;
  }
  
  .testimonials-nav-btn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
  }
  
  .testimonials-nav-btn-prev {
    left: -8px !important;
  }
  
  .testimonials-nav-btn-next {
    right: -8px !important;
  }
  
  .testimonials-nav-btn i {
    color: #3b82f6 !important;
    transition: color 0.3s ease !important;
  }
  
  .testimonials-nav-btn:hover i {
    color: white !important;
  }
  
  
  
  section:has(.partner-card) {
    overflow: visible !important;
    touch-action: pan-y !important;
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
    max-height: none !important;
    position: relative !important;
    z-index: 1 !important;
  }
  
  section:has(.partner-card) > div {
    overflow: visible !important;
    touch-action: pan-y !important;
    padding-top: 2rem !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  section:has(.partner-card) .text-center.mb-16 {
    margin-bottom: 1rem !important;
    margin-top: 1rem !important;
    position: relative !important;
    z-index: 3 !important;
    background: transparent !important; 
  }
  
  section:has(.partner-card) h2 {
    font-size: 1.125rem !important;
    margin-bottom: 0.375rem !important;
    position: relative !important;
    z-index: 3 !important;
    background: transparent !important; 
  }
  
  section:has(.partner-card) .text-xl {
    display: none !important;
  }
  
  
  section:has(.partner-card) .floating {
    width: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    font-size: 0.6875rem !important;
    padding: 0.375rem 0.625rem !important;
    position: relative !important;
    z-index: 50 !important; 
    background: rgba(115, 115, 115, 0.5) !important; 
  }
  
  .partner-card {
    overflow: visible !important;
    max-width: 100% !important;
    touch-action: pan-y !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  .partner-card-inner {
    padding: 0.625rem !important;
    touch-action: pan-y !important;
    position: relative !important;
    z-index: 3 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  
  .partner-card:hover {
    transform: translateY(0) !important;
    z-index: 10 !important;
  }
  
  .partner-card h3 {
    font-size: 0.9375rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .partner-card p {
    font-size: 0.6875rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .partner-link-btn {
    font-size: 0.6875rem !important;
    padding: 0.375rem 0.625rem !important;
    min-height: 40px !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 240px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: nowrap;
  }
  
  
  .partner-card .h-16.w-16,
  .partner-card .h-20.w-20 {
    height: 5rem !important; 
    width: 5rem !important;
    padding: 0.5rem !important; 
    overflow: hidden !important;
  }

  .partner-card .h-16.w-16 img,
  .partner-card .h-20.w-20 img,
  .partner-card img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  
  .partner-card .h-16,
  .partner-card .h-20,
  .partner-card .w-16,
  .partner-card .w-20 {
    height: 4rem !important; 
    width: 4rem !important;
  }
  
  
  .partner-card .rounded-2xl.bg-white\/20 {
    height: 4.5rem !important;
    width: 4.5rem !important;
  }
  
  
  section:has(.partner-card) .text-center.mt-12 {
    margin-top: 0.75rem !important;
  }
  
  section:has(.partner-card) .text-center.mt-12 p {
    display: none !important;
  }
  
  section:has(.partner-card) .text-center.mt-12 button {
    padding: 0.5rem 0.875rem !important;
    font-size: 0.75rem !important;
  }
  
  
  .grid.md\:grid-cols-2:has(.partner-card) {
    gap: 0.5rem !important;
  }
  
  
  
  
  .partner-link-btn {
    touch-action: manipulation !important;
    pointer-events: auto !important;
  }
  
  
  .grid.md\:grid-cols-2:has(.partner-card) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  
  
  section:has(.partner-card) .text-center.mt-12 {
    margin-top: 1rem !important;
  }
  
  section:has(.partner-card) .text-center.mt-12 p {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  section:has(.partner-card) .text-center.mt-12 button {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }
  
  
  section > div,
  section > div > div {
    touch-action: pan-y !important;
  }
  
  
  
  #energieausweis .flex.items-center {
    flex-direction: row !important;
    gap: 0.5rem !important; 
    padding: 0.375rem 0 !important;
    justify-content: flex-start !important; 
    align-items: center !important;
  }
  
  #energieausweis .h-10.w-10 {
    height: 2.25rem !important;
    width: 2.25rem !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important; 
  }

  #energieausweis .h-10.w-10 svg,
  #energieausweis .h-10.w-10 i {
    display: block !important;
    margin: 0 !important;
  }
  
  #energieausweis .flex.items-center > div:last-child {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  
  #energieausweis .flex.items-center .text-sm {
    font-size: 0.75rem !important;
    margin-bottom: 0.125rem !important;
  }
  
  #energieausweis .flex.items-center a,
  #energieausweis .flex.items-center span {
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
  }
  
  
  #energieausweis .mt-6.space-y-3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: stretch !important;
  }
  
  
  #energieausweis .mt-8,
  #energieausweis .mt-8.flex {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }
  
  
  #energieausweis .mt-8 > a,
  #energieausweis .mt-8.flex > a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 50% !important;
    padding: 0.75rem 0.5rem !important;
    font-size: 0.8125rem !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
  
  #energieausweis a i,
  #energieausweis a svg {
    width: 1rem !important;
    height: 1rem !important;
    margin-right: 0.375rem !important;
    flex-shrink: 0 !important;
  }
  
  section.py-24 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  section.py-16 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  section > div {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  
  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-2xl {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }
  
  
  section > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  
  .service-card,
  .stat-item,
  .bg-white.rounded-2xl,
  .bg-white.rounded-xl,
  [class*="card"],
  [class*="tile"] {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  
  h1, h2, h3, h4, h5, h6 {
    text-align: center !important;
    width: 100% !important;
  }
  
  p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  
  
  button:not(.hidden) {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  
  .flex {
    justify-content: center !important;
    align-items: center !important;
  }
  
  
  .grid > * {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  
  
  
  button:not(header button) {
    min-height: 44px !important; 
  }
  
  
  button[data-scrollto]:not(header button[data-scrollto]) {
    padding: 0.875rem 1.5rem !important;
  }
  
  
  
  
  img:not(header img):not(.floating-logo img):not(.hero-section img):not(.parallax-bg):not(.contact-photo):not(.contact-bg-img) {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 1.5rem !important; 
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }


.leaflet-container,
.leaflet-container * {
  box-sizing: border-box;
}

.leaflet-container img,
.leaflet-container svg {
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.leaflet-container img.leaflet-tile {
  max-width: none !important;
  max-height: none !important;
}


.leaflet-container {
  position: relative !important;
  overflow: hidden !important;
}

.leaflet-container .leaflet-pane,
.leaflet-container .leaflet-map-pane,
.leaflet-container .leaflet-tile-pane,
.leaflet-container .leaflet-overlay-pane,
.leaflet-container .leaflet-shadow-pane,
.leaflet-container .leaflet-marker-pane,
.leaflet-container .leaflet-tooltip-pane,
.leaflet-container .leaflet-popup-pane {
  position: absolute !important;
}

.leaflet-container .leaflet-tile-container,
.leaflet-container .leaflet-layer,
.leaflet-container .leaflet-marker-icon,
.leaflet-container .leaflet-marker-shadow,
.leaflet-container .leaflet-image-layer,
.leaflet-container .leaflet-tile {
  position: absolute !important;
}

.leaflet-container .leaflet-top,
.leaflet-container .leaflet-bottom {
  position: absolute !important;
}


.map-desktop { display: block; }
.map-mobile { display: none; }

@media (max-width: 768px) {
  .map-desktop { display: none !important; }
  .map-mobile { display: block !important; }
  .map-mobile {
    width: 100% !important;
    height: 100% !important;
    min-height: 14rem;
    border: 0;
  }
}
  
  
  .hero-section img,
  .parallax-bg {
    border-radius: 0 !important;
    border: none !important;
  }
  
  
  .service-card img,
  .service-card-image {
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    min-height: 250px !important;
    max-height: 400px !important; 
    border-radius: 2.5rem !important; 
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  
  
  .service-card-image-container .service-card-image {
    border-radius: 2.5rem !important;
  }
  
  
  .service-card-image-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    border-radius: 2.5rem !important;
    min-height: 250px !important;
  }
  
  
  
  .w-96:not(.testimonials-carousel > div) {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .h-\[32rem\] {
    height: auto !important;
    min-height: 20rem !important;
  }

  
  #ueberUnsSlideshow {
    width: 100% !important;
    max-width: 100% !important;
    height: 28rem !important;
    min-height: 28rem !important;
  }

  
  #ueberUnsDots {
    width: 100%;
  }

  button.ueberuns-dot {
    width: 10px !important;
    height: 10px !important;
    min-height: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    flex: 0 0 auto !important;
    display: block !important;
    border-radius: 9999px !important;
  }
  
  
  .partner-card img {
    object-fit: contain !important;
    border-radius: 0.5rem !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  
  
  .partner-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  
  
  #kontakt img:not(header img) {
    border-radius: 1rem !important; 
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  
  #kontakt .flex-shrink-0,
  #kontakt .relative {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }
  
  
  #energieausweis img {
    border-radius: 1.5rem !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  
  #energieausweis .relative,
  #energieausweis .absolute {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  
  
  #faq {
    overflow: visible !important;
    touch-action: pan-y !important;
    min-height: auto !important;
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
    position: relative !important;
    z-index: 1 !important;
  }
  
  #faq > div {
    overflow: visible !important;
    touch-action: pan-y !important;
    padding-top: 2rem !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  
  #faq .floating {
    width: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    font-size: 0.6875rem !important;
    padding: 0.375rem 0.625rem !important;
    position: relative !important;
    z-index: 50 !important; 
    background: rgb(191, 219, 254) !important; 
  }
  
  #faq .text-center.mb-16 {
    margin-bottom: 1rem !important;
    margin-top: 1rem !important;
    position: relative !important;
    z-index: 3 !important;
    background: transparent !important; 
  }
  
  #faq h2 {
    position: relative !important;
    z-index: 3 !important;
    background: transparent !important; 
  }
  
  #faq h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.375rem !important;
    line-height: 1.2 !important;
  }
  
  #faq .text-xl {
    font-size: 0.8125rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
  }
  
  
  .faq-item {
    margin-bottom: 0.625rem !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  
  .faq-item:hover {
    transform: translateY(0) !important;
    z-index: 10 !important;
  }
  
  .faq-question {
    padding: 0.75rem !important;
  }
  
  .faq-question h3 {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
  }
  
  .faq-answer {
    overflow: visible !important;
  }
  
  .faq-answer-content {
    padding: 0.625rem 0.75rem !important;
  }
  
  .faq-answer-content p {
    font-size: 0.8125rem !important;
    line-height: 1.4 !important;
  }
  
  
  #faq .space-y-4 {
    gap: 0.5rem !important;
  }
  
  
  
  
  
  
  .flex:not(.flex-nowrap) {
    flex-wrap: wrap !important;
  }
  
  
  .grid.grid-cols-1.md\:grid-cols-3,
  .grid.grid-cols-1.lg\:grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  
  .grid-cols-1.md\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
  
  
  
  h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  
  body {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overscroll-behavior-x: none !important;
    position: relative;
    touch-action: pan-y !important;
    font-size: 16px !important;
  }
  
  html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    overscroll-behavior-x: none !important;
    position: relative;
  }
  
  
  ::-webkit-scrollbar:horizontal {
    display: none !important;
    height: 0 !important;
  }
  
  * {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  
  
  .floating-logo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  
  
  div:not(.max-w-7xl):not(.max-w-6xl):not(.max-w-5xl):not(.max-w-4xl):not(.max-w-3xl):not(.max-w-2xl),
  header, main, footer, nav, article, aside, ul, ol, li {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  
  
  table {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
  }
  
  
  .service-card {
    padding: 1.5rem 1rem !important;
    margin: 0 auto 1.5rem auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .service-card h3 {
    font-size: 1.125rem !important;
    margin-bottom: 0.75rem !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .service-card p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .service-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
    margin: 0 auto 1rem auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  
  .stat-item {
    padding: 1.25rem !important;
  }
  
  .stat-number {
    font-size: 2rem !important;
  }
  
  
  input, textarea, select {
    font-size: 16px !important; 
    padding: 0.875rem !important;
    min-height: 44px !important;
  }
  
  
  #ueber-uns .flex.flex-col.lg\:flex-row {
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  
  #ueber-uns .relative.fade-in-right {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }
  
  
  #ueber-uns .flex-shrink-0 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }
  
  #ueber-uns .flex-shrink-0 > div {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }
  
  #ueber-uns .flex-shrink-0 img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 2.5rem !important; 
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  
  
  .w-96:not(.testimonials-carousel > div) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  .h-\[32rem\] {
    height: auto !important;
    min-height: 20rem !important;
    max-height: 25rem !important;
  }
  
  
  .flex-1 {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .text-left {
    text-align: center !important;
  }
  
  
  .inline-flex.items-center {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.75rem !important;
  }
  
  
  .text-center {
    text-align: center !important;
  }
  
  .text-left {
    text-align: left !important;
  }
  
  
  
  #ueber-uns .rounded-\[2\.5rem\] {
    border-radius: 2.5rem !important; 
  }
  
  
  .gap-8 {
    gap: 1.5rem !important;
  }
  
  .gap-12 {
    gap: 1.5rem !important;
  }
  
  
  .text-neutral-600,
  .text-neutral-700 {
    color: #4b5563 !important; 
  }
  
  
  .bg-white.rounded-2xl:not(.service-card),
  .bg-white.rounded-xl:not(.service-card) {
    padding: 1.25rem !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  
  button.rounded-2xl {
    border-radius: 0.75rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  
  .service-list {
    text-align: center !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .service-list li {
    padding: 0.5rem 0 !important;
    padding-left: 1.25rem !important;
    font-size: 0.875rem !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  
  .leading-relaxed {
    line-height: 1.6 !important;
  }
  
  .leading-tight {
    line-height: 1.3 !important;
  }
  
  
  * {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  
  html, body {
    overflow-x: hidden !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  
  .text-center {
    text-align: center !important;
  }
  
  
  .inline-flex {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }
}


@media (max-width: 640px) {
  
  .px-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  section > div {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  header {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-2xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  
  .hero-section {
  
    height: calc(var(--vh, 1vh) * 100) !important;
    min-height: calc(var(--vh, 1vh) * 100) !important;
    padding: 4.5rem 0.75rem 1.5rem 0.75rem !important;
  }
  
  .hero-section h1 {
    font-size: 1.75rem !important;
    margin-top: 0.5rem !important;
  }
  
  .hero-section p {
    font-size: 0.9375rem !important;
    margin-top: 0.5rem !important;
  }
  
  
  header .w-64 {
    width: 13rem !important;
    max-width: 13rem !important;
  }
  
  header .h-20 {
    height: 4rem !important;
  }
  
  
  section.py-24 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  
  * {
    max-width: 100vw !important;
    min-width: 0 !important;
  }
  
  
  [style*="position: absolute"],
  [style*="position: fixed"] {
    max-width: 100vw !important;
  }
  
  
  .container,
  .mx-auto {
    max-width: 100vw !important;
    width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  
  .carousel,
  .slider,
  [class*="carousel"],
  [class*="slider"] {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}


@media (max-width: 480px) {
  
  .px-4,
  .px-6,
  .px-8 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  section > div {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  header {
    padding: 0.5rem 0.75rem !important;
  }
  
  
  body {
    font-size: 15px !important;
  }
  
  h1 {
    font-size: 1.625rem !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }
  
  p {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
  }
  
  
  .hero-section {
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 4rem 0.75rem 1rem 0.75rem !important;
  }
  
  .hero-section h1 {
    font-size: 1.625rem !important;
    margin-top: 0.25rem !important;
  }
  
  .hero-section button {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.875rem !important;
  }
  
  
  header .w-64 {
    width: 7rem !important;
    max-width: 7rem !important;
  }
  
  header .h-20 {
    height: 2.75rem !important;
  }
  
  header img {
    max-height: 2.5rem !important;
  }
  
  
  section.py-24 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  section.py-16 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  
  .service-card {
    padding: 1.25rem 0.75rem !important;
  }
  
  .service-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.25rem !important;
  }
  
  
  .stat-item {
    padding: 1rem !important;
  }
  
  .stat-number {
    font-size: 1.75rem !important;
  }
  
  
  .h-\[32rem\] {
    min-height: 18rem !important;
    max-height: 22rem !important;
  }
  
  
  * {
    min-width: 0 !important;
    max-width: 100vw !important;
  }
}


button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}


.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #3b82f6;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}


section.hero-section {
  min-height: 90vh;
}


@media (max-width: 768px) {
  section.hero-section {
    min-height: 100svh !important;
    height: 100svh !important;
    touch-action: pan-y !important;
    overflow: hidden !important;
  }

  
  header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .particles {
    display: none !important;
  }

  .parallax-bg {
    transform: none !important;
    will-change: auto !important;
  }
}

@media (max-width: 640px) {
  section.hero-section {
    min-height: 100svh !important;
    height: 100svh !important;
  }
}

@media (max-width: 480px) {
  section.hero-section {
    min-height: 100svh !important;
    height: 100svh !important;
  }
}

.service-card-image-container {
  padding: 0 !important;
  overflow: visible !important;
  display: flex;
  align-items: stretch;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.service-card-image-container img,
.service-card-image {
  min-height: 100%;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem !important; 
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}


.hero-section img.parallax-bg,
.parallax-bg {
  border-radius: 0 !important;
}


@media (min-width: 769px) {
  .partner-card .partner-card-inner {
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 260ms cubic-bezier(0.4, 0, 0.2, 1),
      border-color 260ms cubic-bezier(0.4, 0, 0.2, 1),
      background-color 260ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
  }

  .partner-card:hover .partner-card-inner {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border-color: rgba(245, 158, 11, 0.35) !important; 
  }
}


.partner-card img[src*="immowelt_logo.png"] {
  transform: none;
  transform-origin: center;
  display: block;
}


#immoweltWidgetMount {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

#immoweltWidgetMount * {
  box-sizing: border-box;
}


#immoweltWidgetMount #iwModule,
#immoweltWidgetMount #iwWidget,
#immoweltWidgetMount .iwWidget {
  max-width: 100% !important;
}

#immoweltWidgetMount img,
#immoweltWidgetMount iframe,
#immoweltWidgetMount table {
  max-width: 100% !important;
}


#immoweltOffersBlock,
#immoweltWidgetMount {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

#immoweltWidgetMount iframe,
#immoweltWidgetMount #iwModule,
#immoweltWidgetMount #iwWidget,
#immoweltWidgetMount .iwWidget {
  position: relative !important;
  z-index: 1 !important;
}


#immoweltWidgetMount [style*="position: fixed"] {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1 !important;
}

@media (max-width: 768px) {
  #immoweltWidgetMount {
    border-radius: 12px;
  }

  
  #immoweltOffersBlock {
    display: none !important;
  }
}


.partner-card .rounded-2xl.bg-white\/20 {
  background: transparent !important; 
  box-shadow: none !important;
  border: none !important;
  border-radius: 0.375rem !important; 
  overflow: hidden !important; 
}

  .partner-card .text-center {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .partner-card .partner-link-btn {
    margin-top: auto !important;
    align-self: center;
  }

  
  .partner-card a.partner-link-btn,
  .partner-card button.partner-link-btn {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 9999px;
  }

.partner-card img {
  border-radius: 0.375rem !important; 
}


.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000; 
  display: block;
}

.mobile-menu-overlay.hidden {
  display: none;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22); 
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-menu-panel {
  position: absolute;
  top: 72px; 
  left: 12px;
  right: 12px;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  max-height: calc(100vh - 88px);
  width: min(360px, calc(100vw - 24px)); 
  background: rgba(255, 255, 255, 0.78); 
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.22);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1), opacity 220ms ease;
  pointer-events: none;
}

.mobile-menu-overlay.is-open .mobile-menu-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mobile-menu-overlay.is-open .mobile-menu-backdrop {
  background: rgba(15, 23, 42, 0.28);
  opacity: 1;
}

@media (max-width: 768px) {
  
  header #brandHome,
  header #mobileMenuBtn {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px 16px;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  padding: 10px 18px 14px 18px;
  gap: 0;
}

.mobile-menu-item {
  width: 100%;
  text-align: center;
  padding: 14px 0;
  border: none;
  background: transparent;
  color: rgba(17, 24, 39, 0.92);
  font-weight: 500;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(2, 6, 23, 0.06);
}

.mobile-menu-acc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-menu-subitems {
  padding: 8px 0 12px 0;
  border-bottom: 1px solid rgba(2, 6, 23, 0.06);
}

.mobile-menu-subitem {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: rgba(17, 24, 39, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
}

.mobile-menu-subitem.link {
  text-decoration: none;
}

.mobile-menu-subitem:active {
  opacity: 0.7;
}

.mobile-menu-item:active {
  transform: none;
  opacity: 0.7;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-cta {
  padding: 0 12px 12px 12px;
}

.mobile-menu-cta-btn {
  width: 100%;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 12px;
  border-radius: 0;
  background: transparent;
  color: rgba(37, 99, 235, 0.95);
  font-weight: 600;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-menu-cta-btn:active {
  transform: none;
  opacity: 0.7;
}

#angebote {
  overflow: visible;
}

#propertiesPrevBtn,
#propertiesNextBtn {
  
  z-index: 200 !important;
  position: absolute !important;
}

#showAllButtonContainer {
  display: none;
}

.calculator-bg {
  background-image: radial-gradient(circle at 25% 25%, #60a5fa 2px, transparent 2px), radial-gradient(circle at 75% 75%, #3b82f6 2px, transparent 2px);
  background-size: 50px 50px;
}

input[name="website"] {
  display: none;
}


.modal-close-x {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 14px;
  z-index: 99999;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(220, 38, 38, 0.95); 
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
}

.modal-close-x:hover {
  background: rgba(185, 28, 28, 0.98); 
}

.modal-close-x:active {
  transform: scale(0.96);
}

.modal-close-x:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.9);
  outline-offset: 2px;
}


#detailModal,
#searchModal,
#tipModal,
#luxuryModal,
#privacyModal,
#immoscoutInfoModal,
#propertyDetailModal,
#calculatorModal {
  z-index: 100000 !important;
}


#propertyDetailModal {
  position: fixed;
  inset: 0;
}

#propertyDetailModal .propdetail-bg {
  position: fixed;
  inset: 0;
  
  background: url("../images/kontakthintergrund.png") center / cover no-repeat;
  
  filter: none;
  opacity: 1;
  z-index: 0;
}

#propertyDetailModal .propdetail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.18));
}

#propertyDetailModal .propdetail-backdrop {
  position: fixed;
  inset: 0;
  
  background: rgba(2, 6, 23, 0.14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  z-index: 1;
}

#propertyDetailModal .propdetail-shell {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(env(safe-area-inset-top, 0px) + 28px) 24px 36px;
  z-index: 2;
}

#propertyDetailModal .propdetail-card {
  width: min(1220px, 100%);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.70);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 46px 140px rgba(2, 6, 23, 0.32),
    0 0 0 1px rgba(2, 6, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
  position: relative;
}

#propertyDetailModal .propdetail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(15, 23, 42, 0.75);
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
  z-index: 5;
}

#propertyDetailModal .propdetail-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 23, 42, 0.92);
}

#propertyDetailModal .propdetail-top {
  padding: 34px 34px 14px;
}

#propertyDetailModal .propdetail-title {
  color: var(--brand-blue-text);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-size: clamp(1.9rem, 2.8vw, 3.05rem);
  margin: 0;
  padding-right: 64px; 
}

#propertyDetailModal .propdetail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  padding: 0 34px 34px;
}

#propertyDetailModal .propdetail-left {
  min-width: 0;
}

#propertyDetailModal .propdetail-mainimg {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(226, 232, 240, 0.8);
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.16);
}

#propertyDetailModal .propdetail-mainimg-img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0 !important;
}

#propertyDetailModal .propdetail-img-placeholder {
  height: 420px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(11, 47, 107, 0.06), rgba(11, 47, 107, 0.02));
}

#propertyDetailModal .propdetail-img-placeholder-ico,
#propertyDetailModal .propdetail-img-placeholder-ico svg {
  width: 64px;
  height: 64px;
  color: rgba(11, 47, 107, 0.35);
}

#propertyDetailModal .propdetail-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

#propertyDetailModal .propdetail-thumb {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(226, 232, 240, 0.85);
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.10);
}

#propertyDetailModal .propdetail-thumb-img {
  display: block;
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 0 !important;
}

#propertyDetailModal .propdetail-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 47, 107, 0.12);
  opacity: 1;
}

#propertyDetailModal .propdetail-thumb-overlay.is-hover {
  background: rgba(2, 6, 23, 0.10);
  opacity: 0;
  transition: opacity 160ms ease;
}

#propertyDetailModal .propdetail-thumb:hover .propdetail-thumb-overlay.is-hover {
  opacity: 1;
}

#propertyDetailModal .propdetail-thumb-placeholder {
  width: 100%;
  height: 84px;
  display: grid;
  place-items: center;
  background: rgba(226, 232, 240, 0.85);
}

#propertyDetailModal .propdetail-desc {
  margin-top: 18px;
}

#propertyDetailModal .propdetail-desc-title {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

#propertyDetailModal .propdetail-desc-text {
  color: rgba(15, 23, 42, 0.74);
  line-height: 1.55;
  font-size: 0.98rem;
}

#propertyDetailModal .propdetail-right {
  min-width: 0;
  padding-top: 8px;
}

#propertyDetailModal .propdetail-price {
  padding: 14px 0 8px;
}

#propertyDetailModal .propdetail-price-value {
  color: rgba(15, 23, 42, 0.92);
  font-weight: 950;
  font-size: clamp(2.3rem, 3.2vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

#propertyDetailModal .propdetail-price-sub {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.60);
  font-weight: 700;
  font-size: 0.95rem;
}

#propertyDetailModal .propdetail-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.18));
  margin: 14px 0 14px;
}

#propertyDetailModal .propdetail-section-title {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

#propertyDetailModal .propdetail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

#propertyDetailModal .propdetail-fact {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

#propertyDetailModal .propdetail-fact:nth-last-child(-n + 2) {
  border-bottom: none;
}

#propertyDetailModal .propdetail-fact-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: rgba(168, 138, 90, 0.95);
}

#propertyDetailModal .propdetail-fact-svg,
#propertyDetailModal .propdetail-fact-svg svg {
  width: 20px;
  height: 20px;
}

#propertyDetailModal .propdetail-fact-label {
  color: rgba(15, 23, 42, 0.58);
  font-weight: 750;
  font-size: 0.82rem;
  line-height: 1.1;
}

#propertyDetailModal .propdetail-fact-value {
  color: rgba(15, 23, 42, 0.92);
  font-weight: 850;
  font-size: 0.98rem;
  line-height: 1.15;
}

#propertyDetailModal .propdetail-ctas {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

#propertyDetailModal .propdetail-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 9999px;
  font-weight: 900;
  border: 1px solid rgba(15, 23, 42, 0.18);
  text-decoration: none;
  user-select: none;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

#propertyDetailModal .propdetail-btn--primary {
  background: linear-gradient(135deg, rgba(11, 47, 107, 0.98), rgba(5, 18, 50, 0.98));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#propertyDetailModal .propdetail-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

#propertyDetailModal .propdetail-btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 16px 50px rgba(2, 6, 23, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

#propertyDetailModal .propdetail-btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

#propertyDetailModal .propdetail-btn-ico,
#propertyDetailModal .propdetail-btn-ico svg {
  width: 18px;
  height: 18px;
}

#propertyDetailModal .propdetail-link {
  display: block;
}

@media (max-width: 1024px) {
  #propertyDetailModal .propdetail-grid {
    grid-template-columns: 1fr;
  }
  #propertyDetailModal .propdetail-mainimg-img,
  #propertyDetailModal .propdetail-img-placeholder {
    height: 360px;
  }
}

@media (max-width: 560px) {
  #propertyDetailModal .propdetail-top {
    padding: 26px 18px 10px;
  }
  #propertyDetailModal .propdetail-grid {
    padding: 0 18px 22px;
  }
  #propertyDetailModal .propdetail-mainimg-img,
  #propertyDetailModal .propdetail-img-placeholder {
    height: 280px;
  }
  #propertyDetailModal .propdetail-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  #propertyDetailModal .propdetail-thumb-img,
  #propertyDetailModal .propdetail-thumb-placeholder {
    height: 72px;
  }
  #propertyDetailModal .propdetail-facts {
    grid-template-columns: 1fr;
  }
  #propertyDetailModal .propdetail-fact {
    grid-template-columns: 44px 1fr;
  }
}


#detailModal > div,
#searchModal > div,
#tipModal > div,
#luxuryModal > div,
#privacyModal > div,
#calculatorModal .calculator-modal-content {
  padding-top: calc(env(safe-area-inset-top, 0px) + 88px);
}


#tipModal {
  overflow: hidden;
  overscroll-behavior: none;
}

#tipModal > div {
  padding-top: 0 !important;
  max-height: calc(100vh - 32px);
}

#tipModal > div > div {
  max-height: calc(100vh - 32px);
}

#tipModal .overflow-y-auto {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  
  #openLuxuryModal,
  #openSearchForm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    line-height: 1.15 !important;
  }

  
  #openLuxuryModal {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 10px;
  }
  #openLuxuryModal i,
  #openLuxuryModal svg {
    flex: 0 0 auto;
  }

  
  #openLuxuryModal,
  #openSearchForm {
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  
  #openLuxuryModal {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
}


.contact-section {
  background: #0b1220;
}


#kontakt {
  --contact-navy: var(--brand-blue-text);
  --contact-text: #000000;
  --contact-muted: #000000;
  --contact-navy-soft: rgba(11, 47, 107, 0.10);
  --contact-navy-border: rgba(11, 47, 107, 0.55);
}


#kontakt h2,
#kontakt h3 {
  color: var(--contact-navy) !important;
}


#kontakt .contact-label {
  color: var(--contact-text) !important;
}


#kontakt .contact-input {
  color: var(--contact-text) !important;
}

#kontakt .contact-input::placeholder {
  color: var(--contact-muted) !important;
  opacity: 1 !important;
}


#kontakt .text-white\/75 {
  color: var(--contact-text) !important;
}


#kontakt .contact-field-ico {
  color: var(--contact-navy) !important;
}


#kontakt .contact-field {
  border-color: var(--contact-navy-border) !important;
}

#kontakt .contact-field::before {
  background: linear-gradient(
    135deg,
    rgba(11, 47, 107, 0.85),
    rgba(11, 47, 107, 0.35),
    rgba(11, 47, 107, 0.22),
    rgba(11, 47, 107, 0.55)
  ) !important;
  box-shadow: 0 0 18px rgba(11, 47, 107, 0.14) !important;
}

#kontakt .contact-field:focus-within {
  border-color: rgba(11, 47, 107, 0.75) !important;
  box-shadow:
    0 0 0 3px rgba(11, 47, 107, 0.18),
    0 0 36px rgba(11, 47, 107, 0.16) !important;
}


#kontakt .contact-glass::after {
  background: linear-gradient(
    135deg,
    rgba(11, 47, 107, 0.85),
    rgba(11, 47, 107, 0.35),
    rgba(11, 47, 107, 0.28),
    rgba(11, 47, 107, 0.60)
  ) !important;
  
  box-shadow: none !important;
}


#kontakt .contact-glass {
  
  background: rgba(255, 255, 255, 0.30) !important;
  border-color: rgba(255, 255, 255, 0.40) !important;
  
  box-shadow:
    0 34px 110px rgba(2, 6, 23, 0.30),
    0 14px 44px rgba(2, 6, 23, 0.18),
    0 0 0 1px rgba(2, 6, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
  transform: translateZ(0);
}


#kontakt .contact-glass::before {
  border-radius: inherit !important;
  background:
    radial-gradient(900px circle at 20% 0%, rgba(255, 255, 255, 0.38), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 48%) !important;
  opacity: 1 !important;
}


#kontakt .contact-glass::after {
  border-radius: inherit !important;
}

#kontakt .contact-glass:hover {
  box-shadow:
    0 44px 130px rgba(2, 6, 23, 0.34),
    0 18px 52px rgba(2, 6, 23, 0.20),
    0 0 0 1px rgba(2, 6, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
  transform: translateY(-2px);
}


#kontakt .contact-glass:not(.contact-info) > h3 {
  font-weight: 900 !important;
}


#kontakt .contact-submit {
  background: linear-gradient(
    135deg,
    #6FA2E5 0%,
    #6A93D9 35%,
    #4F6FAE 70%,
    #37467E 100%
  ) !important;
  
  border-color: rgba(255, 255, 255, 0.35) !important;
  background-clip: padding-box;
  box-shadow: 0 18px 55px rgba(55, 70, 126, 0.22) !important;
}

#kontakt .contact-submit:hover {
  filter: brightness(1.03) !important;
  box-shadow: 0 24px 70px rgba(55, 70, 126, 0.28) !important;
}


#kontakt .contact-check-label {
  color: var(--contact-text) !important;
}

#kontakt .contact-link {
  color: var(--contact-navy) !important;
}


#kontakt .contact-check {
  border-color: var(--contact-navy-border) !important;
  box-shadow: 0 0 18px rgba(11, 47, 107, 0.10) !important;
}

#kontakt .contact-check::before {
  border-left-color: var(--contact-navy) !important;
  border-bottom-color: var(--contact-navy) !important;
}

#kontakt .contact-check:checked {
  border-color: rgba(11, 47, 107, 0.85) !important;
}

#kontakt .contact-check:focus-visible {
  box-shadow:
    0 0 0 3px rgba(11, 47, 107, 0.16),
    0 0 22px rgba(11, 47, 107, 0.14) !important;
}


#kontakt .contact-tile-title {
  color: var(--contact-navy) !important;
}

#kontakt .contact-tile-text {
  color: var(--contact-text) !important;
}

#kontakt .contact-info a[href^="tel:"],
#kontakt .contact-info a[href^="mailto:"] {
  color: var(--contact-text) !important;
}


#kontakt .contact-tile-ico {
  color: var(--contact-navy) !important;
  background: var(--contact-navy-soft) !important;
  border-color: var(--contact-navy-border) !important;
  box-shadow: 0 0 0 1px rgba(11, 47, 107, 0.14), 0 10px 30px rgba(2, 6, 23, 0.10) !important;
}


#kontakt .contact-ico-phone,
#kontakt .contact-ico-clock,
#kontakt .contact-ico-mail,
#kontakt .contact-ico-office {
  color: var(--contact-navy) !important;
  background: var(--contact-navy-soft) !important;
  box-shadow: 0 0 0 1px rgba(11, 47, 107, 0.18), 0 0 24px rgba(11, 47, 107, 0.10) !important;
}

.contact-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) brightness(1) saturate(1);
  transform: scale(1.02);
  opacity: 1;
  pointer-events: none;
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px circle at 20% 20%, rgba(37, 99, 235, 0.30), transparent 55%),
    radial-gradient(900px circle at 80% 35%, rgba(34, 197, 94, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.40));
  pointer-events: none;
}


#energieausweis .ea-tiles {
  width: 100%;
}

#energieausweis .ea-tile {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

#energieausweis .ea-tile-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  color: var(--brand-blue-text);
  background: rgba(11, 47, 107, 0.10);
  border: 1px solid rgba(11, 47, 107, 0.35);
  box-shadow: 0 0 0 1px rgba(11, 47, 107, 0.10), 0 10px 30px rgba(2, 6, 23, 0.10);
}

#energieausweis .ea-ico,
#energieausweis .ea-tile-ico svg {
  width: 22px;
  height: 22px;
}

#energieausweis .ea-tile-body {
  min-width: 0;
}

#energieausweis .ea-tile-title {
  font-weight: 900;
  color: var(--brand-blue-text);
  font-size: 0.92rem;
  line-height: 1.1;
}

#energieausweis .ea-tile-text {
  margin-top: 4px;
  display: inline-block;
  color: #000;
  font-weight: 700;
}

#energieausweis .ea-tile-text:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  
  #energieausweis .ea-tile-ico {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    flex: 0 0 52px !important;
  }
}


#tippgeber.tippgeber-section {
  position: relative;
}

#tippgeber .tippgeber-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

#tippgeber .tippgeber-title {
  margin-top: 18px;
  color: var(--brand-blue-text);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

#tippgeber .tippgeber-sub {
  margin-top: 14px;
  color: rgba(17, 24, 39, 0.72);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 640px;
}

#tippgeber .tippgeber-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  color: rgba(15, 23, 42, 0.90);
  font-weight: 800;
  font-size: 0.95rem;
}

#tippgeber .tippgeber-badge-ico,
#tippgeber .tippgeber-badge-ico svg {
  width: 16px;
  height: 16px;
  color: rgba(15, 23, 42, 0.72);
}

#tippgeber .tippgeber-pills {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#tippgeber .tipp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: rgba(17, 24, 39, 0.82);
  font-weight: 650;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.04);
}

#tippgeber .tipp-pill-ico,
#tippgeber .tipp-pill-ico svg {
  width: 18px;
  height: 18px;
  color: rgba(17, 24, 39, 0.70);
}

#tippgeber .tippgeber-steps {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  max-width: 740px;
}

#tippgeber .tipp-step {
  --tipp-step-bg: rgba(255, 255, 255, 0.92);
  --tipp-step-border: rgba(226, 232, 240, 0.95);
  position: relative;
  border-radius: 26px;
  padding: 22px 22px 20px;
  background: var(--tipp-step-bg);
  border: 1px solid var(--tipp-step-border);
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.08);
  overflow: visible;
}

#tippgeber .tipp-step--arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 32px;
  height: 32px;
  background: var(--tipp-step-bg);
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--tipp-step-border);
  border-right: 1px solid var(--tipp-step-border);
  border-radius: 10px;
  box-shadow: 12px -12px 40px rgba(2, 6, 23, 0.05);
}

#tippgeber .tipp-step-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

#tippgeber .tipp-step-ico--blue {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(37, 99, 235, 0.96));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

#tippgeber .tipp-step-ico-svg,
#tippgeber .tipp-step-ico-svg svg {
  width: 22px;
  height: 22px;
}

#tippgeber .tipp-step-title {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.96);
  font-size: 1.05rem;
  line-height: 1.2;
}

#tippgeber .tipp-step-sub {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.62);
  font-weight: 650;
  font-size: 0.95rem;
}

#tippgeber .tipp-step--gold {
  --tipp-step-bg: linear-gradient(180deg, rgba(236, 209, 140, 0.96), rgba(214, 180, 107, 0.96));
  --tipp-step-border: rgba(176, 142, 74, 0.35);
  box-shadow: 0 22px 70px rgba(120, 93, 40, 0.18);
}

#tippgeber .tipp-step--gold .tipp-step-title {
  color: rgba(17, 24, 39, 0.92);
}

#tippgeber .tipp-step--gold .tipp-step-sub {
  color: rgba(17, 24, 39, 0.72);
}

#tippgeber .tipp-step-ico--gold {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 20px rgba(120, 93, 40, 0.14);
}

#tippgeber .tipp-step-euro {
  display: inline-block;
  font-weight: 950;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(120, 93, 40, 0.95);
  transform: translateY(-1px);
}

#tippgeber .tippgeber-ctas {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

#tippgeber .tipp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background-color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

#tippgeber .tipp-btn-ico,
#tippgeber .tipp-btn-ico svg {
  width: 18px;
  height: 18px;
}

#tippgeber .tipp-btn--primary {
  background: linear-gradient(90deg, rgba(191, 151, 66, 0.98), rgba(229, 199, 122, 0.98));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 60px rgba(120, 93, 40, 0.22);
}

#tippgeber .tipp-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 26px 80px rgba(120, 93, 40, 0.26);
}

#tippgeber .tipp-btn--ghost {
  background: rgba(255, 255, 255, 0.70);
  color: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 44px rgba(2, 6, 23, 0.06);
}

#tippgeber .tipp-btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.08);
}


#tippgeber .tippgeber-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

#tippgeber .tipp-art {
  position: absolute;
  display: block;
  border-radius: 22px;
  transform: rotate(45deg);
  opacity: 0.65;
}

#tippgeber .tipp-art-1 {
  right: -90px;
  top: -120px;
  width: 340px;
  height: 340px;
  border: 2px solid rgba(11, 47, 107, 0.12);
  background: rgba(11, 47, 107, 0.04);
}

#tippgeber .tipp-art-2 {
  right: 120px;
  top: 26px;
  width: 110px;
  height: 110px;
  border-radius: 16px;
  border: 2px solid rgba(11, 47, 107, 0.18);
  background: transparent;
}

#tippgeber .tipp-art-3 {
  right: 40px;
  top: 132px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(11, 47, 107, 0.16);
  border: 1px solid rgba(11, 47, 107, 0.20);
}

#tippgeber .tipp-art-4 {
  right: -10px;
  top: 206px;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  border: 2px solid rgba(191, 151, 66, 0.35);
  background: rgba(229, 199, 122, 0.20);
}

@media (max-width: 900px) {
  #tippgeber .tippgeber-content {
    max-width: 100%;
  }
  #tippgeber .tippgeber-steps {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  #tippgeber .tipp-step--arrow::after {
    display: none;
  }
}

@media (max-width: 560px) {
  #tippgeber .tippgeber-title {
    font-size: 2.05rem;
    line-height: 1.08;
  }
  #tippgeber .tipp-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  #tippgeber .tipp-art-1 {
    right: -160px;
    top: -180px;
    opacity: 0.45;
  }
}


#kontakt .contact-bg-overlay {
  background:
    radial-gradient(900px circle at 20% 20%, rgba(11, 47, 107, 0.10), transparent 58%),
    radial-gradient(900px circle at 80% 35%, rgba(11, 47, 107, 0.06), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.22));
}

.contact-glass {
  position: relative;
  border-radius: 28px;
  
  background: rgba(15, 23, 42, 0);
  border: 1px solid transparent;
  box-shadow:
    0 22px 70px rgba(2, 6, 23, 0.35),
    0 0 0 1px rgba(2, 6, 23, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    
    0 0 42px rgba(56, 189, 248, 0.14),
    0 0 90px rgba(56, 189, 248, 0.16),
    0 0 160px rgba(99, 102, 241, 0.10);
  
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: hidden;
}

.contact-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  
  background: transparent;
  pointer-events: none;
}

.contact-glass::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.85),
    rgba(59, 130, 246, 0.35),
    rgba(99, 102, 241, 0.30),
    rgba(56, 189, 248, 0.60)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.22),
    0 0 56px rgba(56, 189, 248, 0.26);
  pointer-events: none;
  opacity: 1;
}

.contact-glass > * { position: relative; z-index: 1; }

.contact-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 8px;
}

.contact-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: transparent;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-field::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.85),
    rgba(59, 130, 246, 0.35),
    rgba(99, 102, 241, 0.30),
    rgba(56, 189, 248, 0.60)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: 0.85;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.16);
}

.contact-field::after {
  
  content: none;
}

.contact-field:focus-within {
  border-color: rgba(125, 211, 252, 0.38);
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.22),
    0 0 36px rgba(56, 189, 248, 0.22);
  transform: translateY(-1px);
}

.contact-field:focus-within::after {
  content: none;
}

.contact-field-ico {
  width: 18px;
  height: 18px;
  color: rgba(191, 219, 254, 0.95);
  flex-shrink: 0;
}

.contact-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.contact-select {
  -webkit-appearance: none;
  appearance: none;
}

.contact-field-textarea {
  align-items: flex-start;
}

.contact-textarea {
  resize: none;
  min-height: 150px;
  padding-top: 2px;
}

.contact-check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  margin-top: 12px;
}

.contact-check {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(125, 211, 252, 0.42);
  background: transparent; 
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.10);
  cursor: pointer;
}

.contact-check::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
}

.contact-check:checked {
  border-color: rgba(125, 211, 252, 0.75);
  background: transparent; 
}

.contact-check:checked::before { opacity: 1; }

.contact-check:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.20),
    0 0 22px rgba(56, 189, 248, 0.18);
}

.contact-check-label {
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.45;
}

.contact-link {
  color: rgba(147, 197, 253, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-link:hover { color: rgba(191, 219, 254, 1); }


.contact-info a[href^="tel:"],
.contact-info a[href^="mailto:"] {
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
}

.contact-info a[href^="tel:"]:hover,
.contact-info a[href^="mailto:"]:hover {
  color: #ffffff;
  text-decoration: none;
}

.contact-submit {
  width: 100%;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.95));
  box-shadow: 0 18px 55px rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.34);
}

.contact-info { padding-top: 64px; }

.contact-info-shell {
  position: relative;
  
  
  
  --contact-panel-h: 590px;
  
  --contact-glow-y: 295px;
  --contact-photo-w: 560px;
  
  --contact-photo-box-h: 420px;
  --contact-photo-h: 420px;
  
  --contact-photo-nudge-y: 2px;
}


.contact-info-compact {
  
  height: var(--contact-panel-h, 590px);
  max-height: var(--contact-panel-h, 590px);
  align-self: center;
  
  overflow: visible;
}

/* Tablet: WhatsApp-Button unterhalb des rechten Containers positionieren */
@media (min-width: 769px) and (max-width: 1024px) {
  .contact-info-compact {
    overflow: visible;
  }
  
  .contact-info-shell {
    position: relative;
    padding-bottom: 120px;
  }
  
  .contact-whatsapp {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    margin-top: 20px;
    width: 90px;
    height: 90px;
  }
  
  .contact-whatsapp:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.03) !important;
    filter: brightness(1.04);
    box-shadow:
      0 30px 90px rgba(2, 6, 23, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.44),
      inset 0 -16px 28px rgba(2, 6, 23, 0.28);
  }
  
  .contact-wa-ico {
    font-size: 38px;
  }
  
  .contact-wa-text {
    font-size: 14px;
  }
}

.contact-photo-wrap {
  position: absolute;
  
  top: auto;
  bottom: calc(
    var(--contact-panel-h, 590px) - var(--contact-glow-y, 295px) - var(--contact-photo-nudge-y, 0px)
  );
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--contact-photo-w, 560px), 110%);
  height: var(--contact-photo-box-h, 420px);
  display: grid;
  place-items: end center;
  pointer-events: none;
  z-index: 5;
}

.contact-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-height: var(--contact-photo-h, 420px);
  object-fit: contain;
  filter: drop-shadow(0 30px 90px rgba(2, 6, 23, 0.65));
}

.contact-glow-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: var(--contact-glow-y, 295px);
  height: 2px;
  background: linear-gradient(90deg, rgba(11, 47, 107, 0.65), rgba(11, 47, 107, 0.10));
  border-radius: 9999px;
  opacity: 0.9;
  box-shadow: 0 0 18px rgba(11, 47, 107, 0.16);
  pointer-events: none;
}

.contact-info-inner {
  position: absolute;
  left: 28px;
  right: 28px;
  top: calc(var(--contact-glow-y, 295px) + 26px);
  bottom: 28px;
  padding-bottom: 170px; 
}

.contact-tile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 0;
  padding: 4px 2px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.contact-tile-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.10), 0 10px 30px rgba(2, 6, 23, 0.20);
}


.contact-ico-phone {
  color: rgba(147, 197, 253, 1);
  background: radial-gradient(circle at 30% 25%, rgba(56, 189, 248, 0.30), transparent 60%);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.22),
    0 0 32px rgba(56, 189, 248, 0.22);
}

.contact-ico-clock {
  color: rgba(253, 230, 138, 1);
  background: radial-gradient(circle at 30% 25%, rgba(250, 204, 21, 0.28), transparent 60%);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.22),
    0 0 32px rgba(250, 204, 21, 0.18);
}

.contact-ico-mail {
  color: rgba(134, 239, 172, 1);
  background: radial-gradient(circle at 30% 25%, rgba(34, 197, 94, 0.26), transparent 60%);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.22),
    0 0 32px rgba(34, 197, 94, 0.16);
}

.contact-ico-office {
  color: rgba(216, 180, 254, 1);
  background: radial-gradient(circle at 30% 25%, rgba(168, 85, 247, 0.26), transparent 60%);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.22),
    0 0 32px rgba(168, 85, 247, 0.16);
}

.contact-tile-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.90);
}

.contact-tile-text {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.35;
}


.contact-whatsapp {
  position: absolute;
  
  right: -90px;
  bottom: -90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  width: 156px;
  height: 156px;
  border-radius: 9999px;
  overflow: hidden;
  
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.98), rgba(11, 47, 107, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow:
    0 22px 70px rgba(2, 6, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset 0 -14px 24px rgba(2, 6, 23, 0.26);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  z-index: 20;
  text-decoration: none;
}

.contact-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.04);
  box-shadow:
    0 30px 90px rgba(2, 6, 23, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -16px 28px rgba(2, 6, 23, 0.28);
}

.contact-wa-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.01em;
  user-select: none;
}

.contact-wa-ico {
  font-size: 44px;
  line-height: 1;
}

.contact-wa-text {
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 10px 22px rgba(2, 6, 23, 0.30);
}

@media (max-width: 768px) {
  
  .contact-glass {
    width: 100%;
    max-width: 100%;
  }

  .contact-info-shell {
    
    --contact-photo-w: 100%;
    --contact-photo-box-h: 240px;
    --contact-photo-h: 240px;
    --contact-photo-nudge-y: 0px;
  }

  .contact-info-compact {
    
    height: auto;
    max-height: none;
    overflow: hidden;
    
    display: grid;
    grid-template-columns: 1fr auto;
    
    grid-template-rows: auto auto auto 1fr;
    column-gap: 14px;
    align-items: start;
  }

  .contact-info { padding-top: 12px; }
  .contact-photo-wrap {
    position: relative;
    top: 0;
    left: 0;
    bottom: auto;
    transform: none;
    width: 100%;
    height: 260px;
    margin-bottom: 0;
  }
  
  .contact-glow-line {
    display: block;
    position: relative;
    left: 0;
    right: 0;
    top: auto;
    
    margin: -1px 0 14px;
    width: 100%;
    grid-column: 1 / -1;
  }

  .contact-photo-wrap { grid-column: 1 / -1; }

  
  .contact-info-inner {
    display: contents;
  }

  #kontakt .contact-info-inner > h3 {
    grid-column: 1 / -1;
    grid-row: 3;
    white-space: nowrap;
    font-size: clamp(1.15rem, 5.2vw, 1.85rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  
  .contact-whatsapp {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0;
    grid-column: 2 / 3;
    grid-row: 4;
    
    align-self: end;
    justify-self: end;
    width: 112px;
    height: 112px;
    margin-top: 16px;
    margin-bottom: 6px;
  }

  
  .contact-info-inner .grid {
    grid-template-columns: 1fr !important;
    width: 100%;
    gap: 14px;
    grid-column: 1 / 2;
    grid-row: 4;
  }
  
  #kontakt .contact-tile {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 14px;
    align-items: start;
  }
  #kontakt .contact-tile-ico {
    margin: 0;
    align-self: start;
  }
  
  #kontakt .contact-tile-ico {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    min-width: 52px !important;
    flex: 0 0 52px !important;
    border-radius: 16px !important;
    display: grid !important;
    place-items: center !important;
  }
  #kontakt .contact-tile > div {
    text-align: left !important;
    width: auto !important;
    max-width: none !important;
  }
  #kontakt .contact-tile-title,
  #kontakt .contact-tile-text {
    text-align: left !important;
    width: auto !important;
    max-width: none !important;
  }
  .contact-tile-text {
    font-size: 0.95rem;
  }

  
}

@media (max-width: 768px) {
  
  .contact-wa-ico { font-size: 34px; }
  .contact-wa-text { font-size: 14px; }
}


@media (max-width: 768px) {
  
  #ueber-uns .human-factor-card {
    width: auto !important;
    max-width: 540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  
  #rezessionen .h-12.w-12.rounded-full {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    flex: 0 0 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  
  #suche .h-16.w-16 {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  
  #tippgeber .tippgeber-badge {
    width: fit-content !important;
    max-width: fit-content !important;
  }

  #tippgeber .tipp-pill {
    width: fit-content !important;
    max-width: fit-content !important;
  }

  #tippgeber .tipp-step-ico {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    flex: 0 0 46px !important;
  }

  
  #tippgeber .tipp-step {
    text-align: center;
  }
  #tippgeber .tipp-step-ico {
    margin-left: auto;
    margin-right: auto;
  }

  
  #kontakt .contact-info-inner > h3 {
    white-space: nowrap;
    font-size: clamp(1.35rem, 5.4vw, 1.85rem);
    line-height: 1.1;
    max-width: 100%;
    overflow: visible;
  }

  
  #ueber-uns .floating,
  #ueber-uns .human-factor-badge {
    width: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
  }

  #ueber-uns .human-factor-card {
    max-width: min(520px, 92vw) !important;
  }
}

@media (max-width: 560px) {
  
  #kontakt .contact-info-compact {
    grid-template-columns: 1fr !important;
  }
  #kontakt .contact-info-inner .grid {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }
  #kontakt .contact-whatsapp {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    justify-self: end !important;
    align-self: end !important;
    width: 96px !important;
    height: 96px !important;
    margin-top: 12px !important;
  }
  .contact-wa-ico { font-size: 30px !important; }
  .contact-wa-text { font-size: 12px !important; }
}

@media (max-width: 420px) {
  
  #kontakt .contact-info-compact {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto !important;
  }

  #kontakt .contact-info-inner {
    grid-column: 1 / -1 !important;
  }

  #kontakt .contact-whatsapp {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    justify-self: end !important;
    align-self: end !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    width: 92px !important;
    height: 92px !important;
  }
}

@media (max-width: 360px) {
  
  #kontakt .contact-info-inner > h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  
  #tippgeber .h-11.w-11 {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    flex: 0 0 44px !important;
  }

  
  #tippgeber .h-11.w-11 svg,
  #tippgeber .h-11.w-11 i {
    width: 22px !important;
    height: 22px !important;
  }

  
  #tippgeber .mt-10.grid.sm\:grid-cols-3 > div {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    text-align: left !important;
  }
  #tippgeber .mt-10.grid.sm\:grid-cols-3 > div > .h-11.w-11 {
    grid-row: 1 / span 2;
    margin-bottom: 0 !important;
  }
  #tippgeber .mt-10.grid.sm\:grid-cols-3 > div > .font-semibold {
    margin: 0 !important;
  }
  #tippgeber .mt-10.grid.sm\:grid-cols-3 > div > .text-sm {
    margin-top: 2px !important;
  }

}

@media (max-width: 768px) {
  .tool-required-hint {
    display: none !important;
  }
  
  
  #propertyDetailModal .propdetail-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  
  #propertyDetailModal .propdetail-left {
    order: 1;
  }
  
  
  #propertyDetailModal .propdetail-right {
    order: 2;
  }
  
  
  #propertyDetailModal .propdetail-desc-after-right {
    order: 3;
  }
  
  
  #propertyDetailModal .propdetail-fact-body {
    overflow: visible !important;
    min-width: 0;
  }
  
  #propertyDetailModal .propdetail-fact-label,
  #propertyDetailModal .propdetail-fact-value {
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  
  #propertyDetailModal .propdetail-price,
  #propertyDetailModal .propdetail-price-value,
  #propertyDetailModal .propdetail-price-sub {
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Bildkacheln für Mobile optimieren */
  #propertyDetailModal .propdetail-thumbs {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  #propertyDetailModal .propdetail-thumb {
    min-width: 0;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    box-sizing: border-box !important;
  }
  
  #propertyDetailModal .propdetail-thumb-img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}