/* 
* Main stylesheet for domain.com
* Financial audit services in Germany
* Color palette:
* - Primär: #003366 (Marineblau)
* - Sekundär: #FFCC00 (Goldgelb)
* - Akzent: #8A2BE2 (Violettblau)
* - Hintergrund Hell: #F8FAFC
* - Hintergrund Dunkel: #0A1C2C
* - Textfarbe: #1A1A1A
* - Erfolgsfarbe: #28A745
* - Warnfarbe: #DC3545
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Arial', sans-serif;
  color: #1A1A1A;
  line-height: 1.6;
  background-color: #F8FAFC;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  color: #003366;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #003366;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #8A2BE2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: #003366;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #8A2BE2;
}

.accent-text {
  color: #8A2BE2;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #003366;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #002244;
  color: #fff;
}

.btn-primary {
  background-color: #003366;
}

.btn-accent {
  background-color: #8A2BE2;
}

.btn-accent:hover {
  background-color: #7B1FA2;
}

.btn-secondary {
  background-color: #FFCC00;
  color: #003366;
}

.btn-secondary:hover {
  background-color: #E6B800;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #8A2BE2;
}

/* Mobile Navigation (Burger Menu using CSS) */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  display: none;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #003366;
  height: 3px;
  width: 100%;
  position: absolute;
  transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
}

.nav-toggle-label span {
  top: 9px;
}

.nav-toggle-label span::before {
  top: -9px;
}

.nav-toggle-label span::after {
  top: 9px;
}

.nav-toggle:checked ~ .nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked ~ .nav-toggle-label span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle:checked ~ .nav-toggle-label span::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li:not(:last-child) {
  margin-right: 1.5rem;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 28, 44, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  background-color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 5px;
  background-color: #F8FAFC;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-item i {
  font-size: 2.5rem;
  color: #8A2BE2;
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background-color: #F8FAFC;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: #003366;
  margin-bottom: 0.5rem;
}

/* Benefits Section */
.benefits {
  background-color: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: #FFCC00;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  color: #003366;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  background-color: #003366;
  color: #fff;
}

/* Stats Section */
.stats {
  background-color: #0A1C2C;
  color: #fff;
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFCC00;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #fff;
}

/* Testimonials Section */
.testimonials {
  background-color: #F8FAFC;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 5px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: rgba(138, 43, 226, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: #003366;
}

.testimonial-company {
  font-size: 0.9rem;
  color: #666;
}

/* FAQ Section */
.faq {
  background-color: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: #F8FAFC;
  padding: 1rem;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: #003366;
}

.faq-toggle {
  display: none;
}

.faq-label {
  display: block;
  padding: 1rem;
  background-color: #F8FAFC;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #003366;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-label::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-toggle:checked ~ .faq-label {
  background-color: #003366;
  color: #fff;
}

.faq-toggle:checked ~ .faq-label::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff;
  padding: 0 1rem;
}

.faq-toggle:checked ~ .faq-content {
  max-height: 500px;
  padding: 1rem;
  border: 1px solid #F0F0F0;
  border-top: none;
  border-radius: 0 0 5px 5px;
}

/* Contact Form Section */
.contact {
  background-color: #F8FAFC;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px 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: #003366;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: inherit;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #8A2BE2;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23003366%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form-submit {
  margin-top: 1.5rem;
  text-align: center;
}

/* Footer */
footer {
  background-color: #0A1C2C;
  color: #fff;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: #FFCC00;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #8A2BE2;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #fff;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #FFCC00;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.footer-contact-icon {
  margin-right: 0.8rem;
  color: #FFCC00;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0A1C2C;
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  margin-right: 1rem;
}

/* Thank You Page */
.danke {
  margin: 8rem auto 5rem;
  border: 2px solid #003366;
  padding: 2rem;
  text-align: center;
  max-width: 600px;
}

/* Policy Pages */
.policy-page {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border: 2px solid #003366;
  padding: 2rem;
}

.policy-page h2 {
  color: #8A2BE2;
  margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  /* Header & Navigation */
  .nav-toggle-label {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-toggle:checked ~ .nav-links {
    transform: scale(1, 1);
  }
  
  .nav-links li {
    margin: 0.5rem 0;
  }
  
  .nav-links li:not(:last-child) {
    margin-right: 0;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .danke {
    margin: 5rem auto 3rem;
    padding: 1.5rem;
  }
}