/* 
 * domain.com - Buchhaltungsdienstleistungen
 * Hauptstil-Datei
 */

/* Farbpalette */
:root {
  --electric-indigo: #6F00FF;
  --sunset-coral: #FF6F61;
  --soft-ivory: #FFF8E7;
  --misty-mint: #BFFCC6;
  --deep-charcoal: #2E2E2E;
  --gold-fusion: #85754E;
}

/* Allgemeine Stile */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Отступы для якорей, чтобы учитывать фиксированный хедер */
section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--soft-ivory);
  color: var(--deep-charcoal);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  color: var(--electric-indigo);
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--electric-indigo);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-fusion);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  background-color: var(--electric-indigo);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--sunset-coral);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section-title {
  position: relative;
  margin-bottom: 50px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--sunset-coral);
}

/* Header-Stile */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--electric-indigo);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  font-weight: 500;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--electric-indigo);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--electric-indigo), var(--misty-mint));
  color: white;
  text-align: center;
  padding: 150px 0 100px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1.2s ease;
}

.hero .btn {
  animation: fadeInUp 1.4s ease;
}

/* Über uns Section */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about-text {
  flex: 1;
  padding-right: 30px;
}

.about-images {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* Leistungen Section */
.services {
  background-color: var(--misty-mint);
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-box {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  flex: 1 1 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-box:hover .service-image img {
  transform: scale(1.05);
}

/* Vorteile Section */
.benefits {
  background-color: white;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  color: var(--sunset-coral);
  font-size: 1.5rem;
  margin-right: 15px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--misty-mint);
  text-align: center;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-item {
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 20px;
}

.client-name {
  font-weight: 700;
  color: var(--electric-indigo);
  margin-top: 15px;
}

/* Stats Section */
.stats {
  background-color: var(--electric-indigo);
  color: white;
  text-align: center;
}

.stats h2 {
  color: white;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.stat-item {
  flex: 1 1 200px;
  padding: 20px;
  margin: 10px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--sunset-coral);
}

/* Order Form Section */
.order-form {
  background-color: white;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background-color: var(--soft-ivory);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236F00FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 4px;
}

/* FAQ Section */
.faq {
  background-color: var(--misty-mint);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  padding: 15px 20px;
  cursor: pointer;
  background-color: white;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Footer */
.footer {
  background-color: var(--deep-charcoal);
  color: white;
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer h3 {
  color: var(--sunset-coral);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
}

.footer-links a:hover {
  color: var(--sunset-coral);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  padding-right: 20px;
}

/* Policy Pages */
.policy-page {
  padding-top: 100px;
  padding-bottom: 60px;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--misty-mint);
  padding: 40px;
  border-radius: 8px;
}

.policy-container h1 {
  text-align: center;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  text-align: left;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* Danke Page */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  text-align: center;
  padding: 100px 20px;
}

.thank-you-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border: 2px solid var(--electric-indigo);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(111, 0, 255, 0.2);
}

.thank-you h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .service-box {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 10px 0;
    margin-left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .service-box {
    flex: 1 1 100%;
  }
  
  .benefits-list {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 40px 0;
  }
}
