body {
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  margin-top: 0;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem 2rem;
  background: linear-gradient(rgba(217, 35, 42, 0.2), rgba(0, 0, 0, 0.65)), url('../public/immobilien_concepte_hauck_header_fallback.jpg') center center / cover no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(217, 35, 42, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

@supports (background-image: -webkit-image-set(url('../public/immobilien_concepte_hauck_header.webp') 1x)) {
  .hero {
    background: linear-gradient(rgba(217, 35, 42, 0.2), rgba(0, 0, 0, 0.65)), url('../public/immobilien_concepte_hauck_header.webp') center center / cover no-repeat;
  }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.hero-badge-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -1px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 3.5rem;
  font-weight: 400;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 3rem;
  background-color: #d9232a;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(217, 35, 42, 0.3);
  cursor: pointer;
}

@media (hover: hover) and (min-width: 769px) {
  .cta-button:hover {
    background-color: #b71c23;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(217, 35, 42, 0.4);
  }

  .cta-button:hover .cta-arrow {
    transform: translateX(5px);
  }
}

.cta-button-text {
  display: block;
}

.cta-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.agent-intro {
  padding: 6rem 2rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.agent-intro::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 35, 42, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.agent-intro-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.agent-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
}

.agent-info {
  order: 1;
}

.agent-image-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3/3.5;
  border-radius: 20px;
  overflow: hidden;
}

.agent-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9232a;
}

.agent-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #d9232a 0%, #b71c23 100%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.8;
}

.agent-image-frame::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 200px;
  height: 200px;
  border: 3px solid #d9232a;
  border-radius: 50%;
  z-index: -1;
}

.agent-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.agent-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d9232a;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.agent-info h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.agent-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #666666;
  margin: 0;
}

.agent-description {
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.8;
  margin: 0;
}


.features {
  padding: 0rem 2rem 8rem 2rem;
  background: #ffffff;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid #f0f0f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(217, 35, 42, 0.05), transparent);
  transition: left 0.6s ease;
}

@media (hover: hover) and (min-width: 769px) {
  .feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(217, 35, 42, 0.15);
    border-color: #d9232a;
  }

  .feature-card:hover::before {
    left: 100%;
  }

  .feature-card:hover .feature-icon {
    transform: scale(1.15);
    background: linear-gradient(135deg, #d9232a 0%, #b71c23 100%);
  }
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.5rem;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 1rem;
  color: #666666;
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
}

.properties-cta {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.properties-cta-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.properties-cta-text h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.properties-cta-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.properties-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 3rem;
  background-color: #d9232a;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.properties-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (min-width: 769px) {
  .properties-cta-button:hover::before {
    opacity: 1;
  }

  .properties-cta-button:hover {
    background-color: #b71c23;
    transform: translateY(-3px);
  }

  .properties-cta-button:hover .properties-cta-arrow {
    transform: translateX(5px);
  }
}

.properties-cta-button-text {
  position: relative;
  z-index: 1;
}

.properties-cta-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d9232a;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #999999;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.footer-credit {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
}

.footer-credit .sie7en-link {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.footer-credit .sie7en {
  font-weight: 700;
  letter-spacing: 0.15em;
}

.footer-credit .seven {
  color: #ecc6b5;
}


@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  .features-container {
    gap: 2rem;
  }

  .properties-cta-text h2 {
    font-size: 2.5rem;
  }

  .properties-cta-text p {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 6rem 1.5rem 3rem 1.5rem;
    justify-content: center;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-badge {
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .hero-badge-icon {
    width: 16px;
    height: 16px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
  }

  .hero-stats {
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 1rem;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
  }

  .agent-intro {
    padding: 4rem 1.5rem;
  }

  .agent-intro-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .agent-image-wrapper {
    order: 2;
  }

  .agent-info {
    order: 1;
  }

  .agent-image-frame {
    max-width: 350px;
    margin: 0 auto;
  }

  .agent-info h2 {
    font-size: 2.25rem;
  }

  .agent-description {
    font-size: 1rem;
  }


  .features {
    padding: 0rem 1.5rem 5rem 1.5rem;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 2.5rem 2rem;
  }

  .feature-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .feature-card:hover .feature-icon {
    transform: none;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.35rem;
  }

  .feature-card p {
    font-size: 1rem;
  }

  .properties-cta {
    padding: 4rem 1.5rem;
  }

  .properties-cta-content {
    gap: 2.5rem;
  }

  .properties-cta-text h2 {
    font-size: 2rem;
  }

  .properties-cta-text p {
    font-size: 1.05rem;
  }

  .properties-cta-button {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 1rem 2rem 1rem;
  }

  .hero-badge {
    padding: 0.6rem 1.1rem;
    font-size: 0.75rem;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
  }

  .hero-badge-icon {
    width: 14px;
    height: 14px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .hero-stat-number {
    font-size: 1.75rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
  }

  .agent-intro {
    padding: 3rem 1rem;
  }

  .agent-info h2 {
    font-size: 1.85rem;
  }

  .agent-title {
    font-size: 1.1rem;
  }

  .agent-description {
    font-size: 0.95rem;
  }


  .features {
    padding: 0rem 1rem 4rem 1rem;
  }

  .features-container {
    gap: 1rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
    border-radius: 14px;
  }

  .feature-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .feature-card:hover .feature-icon {
    transform: none;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .feature-card p {
    font-size: 0.95rem;
  }

  .properties-cta {
    padding: 3rem 1rem;
  }

  .properties-cta-content {
    gap: 2rem;
  }

  .properties-cta-text h2 {
    font-size: 1.75rem;
  }

  .properties-cta-text p {
    font-size: 1rem;
  }

  .properties-cta-button {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    gap: 0.75rem;
  }
}

@media (min-width: 2560px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .hero p {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
  }

  .features-container {
    gap: 2rem;
  }

  .feature-card {
    padding: 4rem 3rem;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .feature-card h3 {
    font-size: 1.75rem;
  }

  .feature-card p {
    font-size: 1.125rem;
  }

  .properties-cta {
    padding: 8rem 2rem;
  }

  .properties-cta-text h2 {
    font-size: 3.5rem;
  }

  .properties-cta-text p {
    font-size: 1.5rem;
  }

  .properties-cta-button {
    padding: 1.5rem 4rem;
    font-size: 1.25rem;
    gap: 1.25rem;
  }
}
