/* Reset und Basis-Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.logo {
  height: 40px;
  width: auto;
  background: transparent;
  mix-blend-mode: multiply;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link:hover {
  color: #2563eb;
  background: #f8fafc;
}

.nav-link.active {
  color: #2563eb;
  background: #e0e7ff;
  font-weight: 600;
}

.nav-icon {
  font-size: 1.1rem;
}

/* Active Navigation State */
.nav-link.active {
  color: #2563eb;
  background: #e0e7ff;
  font-weight: 600;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    display: flex !important;
  }
  
  .nav-menu.active {
    left: 0 !important;
  }
  
  .nav-link {
    width: 100%;
    justify-content: center;
    padding: 16px;
    margin: 8px 0;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    background: #e0e7ff;
    color: #4f46e5;
    transform: translateY(-2px);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-toggle:hover {
  background-color: #f3f4f6;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-text {
  color: white;
  flex: 1;
  max-width: 50%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-button {
  background: white;
  color: #1e3a8a;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Dashboard Preview */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  max-width: 50%;
}

.dashboard-preview {
  width: 100%;
  max-width: 500px;
}

.browser-window {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.browser-header {
  background: #2d2d2d;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.browser-dots span:nth-child(2) {
  background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
  background: #28ca42;
}

.browser-url {
  background: #1a1a1a;
  color: #888;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: monospace;
}

.dashboard-content {
  padding: 24px;
  color: white;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dashboard-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.status-indicator {
  background: #10b981;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #2d2d2d;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #60a5fa;
}

.stat-label {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-top: 4px;
}

.property-list {
  space-y: 12px;
}

.property-item {
  background: #2d2d2d;
  padding: 16px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.property-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.property-info p {
  font-size: 0.9rem;
  color: #9ca3af;
}

.property-status {
  background: #10b981;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Immobilien Section */
.immobilien-section {
  padding: 80px 0;
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.2rem;
  color: #6b7280;
}

.geo-location-prompt {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.geo-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.geo-content p {
  color: #6b7280;
  margin-bottom: 24px;
}

.geo-button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
  transition: background 0.3s ease;
}

.geo-button:hover {
  background: #1d4ed8;
}

.geo-skip {
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.geo-skip:hover {
  background: #f9fafb;
  color: #374151;
}

.properties-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.service-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background: #f8fafc;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.product-preview {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-preview:hover {
  transform: translateY(-4px);
}

.product-browser {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
}

.product-content {
  padding: 24px;
  background: white;
}

.product-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.product-content p {
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-tag {
  background: #e0e7ff;
  color: #3730a3;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-align: center;
}

.contact-info > p {
  color: #6b7280;
  margin-bottom: 40px;
  line-height: 1.6;
  text-align: center;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.contact-method {
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.contact-method h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.contact-method p {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.phone-button {
  background: #10b981;
  color: white;
}

.phone-button:hover {
  background: #059669;
  transform: translateY(-2px);
}

.email-button {
  background: #2563eb;
  color: white;
}

.email-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.whatsapp-button {
  background: #25d366;
  color: white;
}

.whatsapp-button:hover {
  background: #1ea952;
  transform: translateY(-2px);
}

.button-icon {
  font-size: 1.2rem;
}

.contact-address {
  background: #1a1a1a;
  color: white;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}

.contact-address h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.address-details p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.address-details p:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex !important;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Touch-friendly mobile navigation */
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }
}
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 16px;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Hero Section */
.page-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  padding: 120px 0 80px;
  text-align: center;
  color: white;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Impressum Section */
.impressum-section {
  padding: 80px 0;
  background: white;
}

.impressum-content {
  max-width: 800px;
  margin: 0 auto;
}

.impressum-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 32px;
  text-align: center;
}

.impressum-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.impressum-item {
  background: #f8fafc;
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
}

.impressum-item strong {
  color: #1a1a1a;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
}

.impressum-hinweis {
  background: #f8fafc;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 4px solid #10b981;
}

.impressum-hinweis h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.impressum-hinweis p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
}

.impressum-hinweis ul {
  color: #6b7280;
  line-height: 1.6;
  padding-left: 20px;
}

.impressum-hinweis li {
  margin-bottom: 8px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Property Details Page */
.property-details {
  padding: 60px 0;
  background: #f8fafc;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.detail-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.detail-card.full-width {
  grid-column: 1 / -1;
}

.detail-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 8px;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item .label {
  font-weight: 500;
  color: #6b7280;
}

.detail-item .value {
  font-weight: 600;
  color: #1a1a1a;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  background: #dbeafe;
  color: #1e40af;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.description, .special-features {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.links-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.link-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.property-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 40px;
}

.property-actions {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background: #4b5563;
  transform: translateY(-2px);
}

.btn-success {
  background: #10b981;
  color: white;
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .property-navigation {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .property-actions {
    justify-content: center;
  }
  
  .links-grid {
    flex-direction: column;
  }
}
