/* WertBau.ink - EcoValue Real Estate Hub - Unique Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --primary-green: #27ae60;
  --primary-dark: #229954;
  --secondary-blue: #3498db;
  --accent-teal: #16a085;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --energy-gold: #f39c12;
  --success-green: #2ecc71;
  --gradient-1: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  --gradient-2: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  --gradient-3: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--background-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  color: var(--text-light);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Header Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.cta-button {
  background: var(--gradient-1);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(46, 204, 113, 0.1);
  color: var(--primary-green);
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(46, 204, 113, 0.3);
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  padding: 1.125rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary-green);
  padding: 1.125rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.125rem;
  border: 2px solid var(--primary-green);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-3px);
}

.hero-image {
  animation: fadeInRight 1s ease-out 0.3s backwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Stats Section */
.stats {
  padding: 4rem 2rem;
  background: white;
  position: relative;
  margin-top: -3rem;
  z-index: 10;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  background: var(--background-light);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-green);
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  color: var(--primary-green);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(22, 160, 133, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* Services Section */
.services {
  padding: 6rem 2rem;
  background: var(--background-light);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-content {
  padding: 2.5rem;
}

.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.0625rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.service-link:hover {
  gap: 1rem;
}

/* Contact Form Section */
.contact-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h2 {
  color: white;
  margin-bottom: 2rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.contact-item-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin: 0;
}

.contact-item-content a {
  color: var(--success-green);
  font-weight: 600;
}

.contact-item-content a:hover {
  text-decoration: underline;
}

/* Unique Application Form */
.application-form {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.application-form h3 {
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-size: 1.75rem;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition-smooth);
  background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  background: white;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232c3e50' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  cursor: pointer;
  accent-color: var(--primary-green);
}

.checkbox-group label {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  background: var(--gradient-1);
  color: white;
  padding: 1.25rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  font-family: 'Inter', sans-serif;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.submit-button:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 45px;
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--success-green);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: white;
    width: 100%;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .application-form {
    padding: 2rem 1.5rem;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

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

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(46, 204, 113, 0.2);
  border-top: 3px solid var(--primary-green);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
