/* =================================================================
   GEMEINSCHAFTSKAUF SPECIFIC STYLES
   Spezifische Styles nur für gemeinschaftskauf.html
   ================================================================= */

/* Gemeinschaftskauf Hero Background */
.hero-gemeinschaftskauf {
  background-image: linear-gradient(
      rgba(23, 60, 75, 0.7),
      rgba(26, 68, 85, 0.7)
    ),
    url(../src/img/team.jpg);
  background-size: cover;
  background-position: center;
  min-height: 90vh;
}

/* Fallback if partnership image doesn't exist */
.hero-gemeinschaftskauf:not([style*="background-image"]) {
  background-image: linear-gradient(
      rgba(23, 60, 75, 0.7),
      rgba(26, 68, 85, 0.7)
    ),
    url(../src/img/team.jpg);
}

/* Gemeinschaftskauf specific color accents - Gold theme consistent mit Website */
.hero-gemeinschaftskauf .stat-number {
  color: #daab36;
}

.hero-gemeinschaftskauf .stat-item {
  border: 1px solid rgba(218, 171, 54, 0.3);
}

/* =================================================================
   TARGET GROUPS SECTION
   ================================================================= */

.target-groups {
  padding: 5rem 0;
  background: white;
}

.target-groups h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #173c4b;
}

.target-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.target-group-card {
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.target-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.target-icon img {
  width: 56px;
  height: 56px;
}

.target-group-card h3 {
  color: #173c4b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.target-group-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.target-group-card strong {
  color: #daab36;
}

.example-calc {
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.example-calc small {
  color: #c4982e;
  font-weight: 500;
}

/* =================================================================
   LEGAL FORMS SECTION
   ================================================================= */

.legal-forms {
  padding: 3rem 0;
  background: #f8fafc;
}

.legal-forms h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #173c4b;
}

.legal-forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.legal-form-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.legal-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.legal-icon img {
  width: 56px;
  height: 56px;
}

.legal-form-card h3 {
  color: #173c4b;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.pros-cons {
  margin-bottom: 1.5rem;
}

.pros h4 {
  color: #daab36;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.pros ul {
  list-style: none;
  padding: 0;
}

.pros li {
  padding: 0.25rem 0;
  color: #666;
  font-size: 0.95rem;
}

.pros li:before {
  content: "✓ ";
  color: #10b981;
  font-weight: bold;
  margin-right: 0.5rem;
}

.ideal-for {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #173c4b;
}

/* =================================================================
   LEGAL SECURITY SECTION
   ================================================================= */

.legal-security {
  padding: 3rem 0;
  background: white;
}

.legal-security h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #173c4b;
}

.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.security-feature {
  text-align: center;
  padding: 2rem;
}

.security-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #daab36, #c4982e);
  border-radius: 50%;
}

.security-icon img {
  height: 50px;
  filter: brightness(0) invert(1);
}

.security-feature h3 {
  color: #173c4b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.security-feature p {
  color: #666;
  line-height: 1.6;
}

/* =================================================================
   PARTNERSHIP CALCULATOR SPECIFIC STYLING
   ================================================================= */

.partner-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.partner-section {
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid rgba(218, 171, 54, 0.2);
}

.partner-section h4 {
  color: #daab36;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.2rem;
}

#partnership-calculator .input-group input:focus,
#partnership-calculator .input-group select:focus {
  border-color: #daab36;
  box-shadow: 0 0 0 3px rgba(218, 171, 54, 0.2);
}

#partnership-calculator .calculate-btn {
  background: linear-gradient(135deg, #daab36, #c4982e);
}

#partnership-calculator .calculate-btn:hover {
  background: linear-gradient(135deg, #c4982e, #b8901a);
}

/* Calculator result styling for gemeinschaftskauf */
.calc-result.partnership-result {
  background: linear-gradient(
    135deg,
    rgba(218, 171, 54, 0.1),
    rgba(218, 171, 54, 0.05)
  );
  border: 2px solid #daab36;
}

.calc-result.legal-result {
  background: linear-gradient(
    135deg,
    rgba(218, 171, 54, 0.1),
    rgba(218, 171, 54, 0.05)
  );
  border: 2px solid #daab36;
}

.calc-result.exit-result {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.1),
    rgba(239, 68, 68, 0.05)
  );
  border: 2px solid #ef4444;
}

/* Gemeinschaftskauf form specific styling */
#gemeinschaftskauf-form input:focus,
#gemeinschaftskauf-form select:focus,
#gemeinschaftskauf-form textarea:focus {
  border-color: #daab36;
  box-shadow: 0 0 0 3px rgba(218, 171, 54, 0.1);
}

#gemeinschaftskauf-form button {
  background: linear-gradient(135deg, #daab36, #c4982e);
}

#gemeinschaftskauf-form button:hover {
  background: linear-gradient(135deg, #c4982e, #b8901a);
}

/* Partner income section styling */
.partner-income-section {
  margin-bottom: 1rem;
}

.partner-income-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: white;
}

/* Specialist note for gemeinschaftskauf */
.specialist-note {
  border: 1px solid rgba(218, 171, 54, 0.3);
}

.specialist-note h4 {
  color: #daab36;
}

/* Success indicators */
.success-indicator {
  color: #daab36;
  font-weight: bold;
}

.success-badge {
  background: #daab36;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* CTA section gemeinschaftskauf specific */
.cta-section .cta-benefit .benefit-icon {
  color: #daab36;
}

.cta-benefit img {
  width: 40px;
  filter: brightness(0) invert(1);
}

/* Hover effects for gemeinschaftskauf cards */
.target-group-card:hover {
  border-top-color: #daab36;
}

.legal-form-card:hover {
  border-left-color: #daab36;
}

/* Testimonials details for gemeinschaftskauf */
.testimonials .testimonial-details {
  font-size: 0.9rem;
  color: #daab36;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Animation for successful calculation */
@keyframes partnershipPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.calc-result.show-success {
  animation: partnershipPulse 0.6s ease-out;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  .hero-gemeinschaftskauf {
    min-height: 70vh;
  }

  .target-groups-grid {
    grid-template-columns: 1fr;
  }

  .legal-forms-grid {
    grid-template-columns: 1fr;
  }

  .partner-inputs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .security-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .target-groups h2,
  .legal-forms h2,
  .legal-security h2 {
    font-size: 2rem;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .hero-gemeinschaftskauf .hero-content h1 {
    font-size: 2rem;
  }

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

  .target-group-card,
  .legal-form-card {
    padding: 1.5rem;
  }

  .partner-section {
    padding: 1rem;
  }

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

  .security-feature {
    padding: 1rem;
  }
}
