/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #c1d82f;
  --primary-dark: #a0b822;
  --text-dark: #2c2c2c;
  --text-light: #666666;
  --white: #f5f9f2;
  --bg-light: #c1d82f;
  --bg2-light: #eff2db;
  
  --container-width: 1200px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background: var(--white);
  color: var(--text-dark);
  padding: 5rem 0;
  text-align: left;
}

.hero-content {
  display: flex;
  align-items: center;
}

.hero-logo {
  margin-right: 5cm;
  margin-left: 5cm;
}

.hero-logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.welcome-text {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: var(--text-dark);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}

.section {
  padding: 5rem 0;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.section-services .intro-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* About Section */
.section-about {
  background: var(--bg-light);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.text-block p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  text-align: justify;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}

.process-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 110px;
}

.process-step:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.process-step h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

/* Services Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-light);
}

/* Contact Section */
.section-contact {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.section-contact h2 {
  color: var(--white);
}

.section-contact p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact-info {
  display: inline-block;
  text-align: left;
  background: var(--white);
  color: var(--text-dark);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  min-width: 300px;
}

.contact-info p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.contact-info strong {
  color: var(--text-dark);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Impressum Section */
.section-impressum {
  background: var(--bg2-light);
  padding: 4rem 0;
}

.section-impressum h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.impressum-content {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.impressum-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.impressum-content strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.impressum-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    align-items: center;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .process-step h3 {
    order: 2;
  }

  .step-number {
    order: 1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-logo {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1.5rem;
  }

  .hero-logo img {
    max-width: 200px;
    margin: 0 auto;
  }

  .hero-text {
    align-items: center;
  }

  .welcome-text {
    font-size: 1.75rem;
  }

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

  .section {
    padding: 2.5rem 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .contact-info {
    min-width: unset;
    width: 100%;
    box-sizing: border-box;
  }

  .section-contact p {
    font-size: 1rem;
  }

  .impressum-content {
    padding: 1.5rem;
  }

  .process-step {
    min-height: 110px;
    height: 110px;
  }
}

/* Copyright */
.copyright {
  text-align: center;
  padding: 2rem;
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.section {
  animation: fadeIn 0.6s ease-out;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.contact-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Legal Page Styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--primary-color);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  border-top: none;
}

.legal-content h3 {
  color: var(--text-dark);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.2rem;
}

.legal-content p {
  color: var(--text-light);
  line-height: 1.7;
}

.legal-content ul {
  margin-left: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}
