/* Main Styles for domain - Accounting Services in Germany */

/* Global Styles */
:root {
  --bg-color: #1a1f2b;
  --accent-yellow: #ffcb3c;
  --accent-coral: #ee6c4d;
  --accent-mint: #33c1b1;
  --text-light: #ffffff;
  --text-secondary: #cccccc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-yellow);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-yellow);
  letter-spacing: 1px;
}

/* Navigation Menu */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  position: relative;
  font-weight: 500;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-yellow);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

/* Mobile Nav */
#mobile-nav-toggle {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
option {
  background: #3e434d;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-yellow);
  color: var(--bg-color);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-coral);
  transform: translateY(-3px);
  color: var(--text-light);
}

/* About Section */
.about {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-yellow);
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0 0 30px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.service-card-content {
  padding: 0 30px;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--accent-yellow);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 180px;
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Why Choose Us Section */
.why-us {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--accent-mint);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-color);
  font-size: 1.8rem;
}

.feature-item h3 {
  margin-bottom: 15px;
  color: var(--accent-yellow);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  opacity: 0.2;
  color: var(--accent-yellow);
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
  color: var(--text-secondary);
}

.client-info {
  display: flex;
  align-items: center;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.client-name {
  font-weight: bold;
}

.client-position {
  font-size: 0.9rem;
  color: var(--accent-coral);
}

/* Process Section */
.process {
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step-item {
  text-align: center;
  position: relative;
  padding: 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: var(--bg-color);
  font-weight: bold;
}

.step-item h3 {
  margin-bottom: 15px;
  color: var(--text-light);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
}

.contact-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-icon {
  min-width: 40px;
  height: 40px;
  background-color: var(--accent-mint);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--text-light);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group a {
  color: var(--accent-yellow);
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 50px 0 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  color: var(--accent-yellow);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-coral);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--accent-coral);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 8rem auto 5rem;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.policy-container h1 {
  color: var(--accent-yellow);
  margin-bottom: 30px;
}

.policy-container h2 {
  color: var(--accent-coral);
  margin: 30px 0 15px;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 20px;
}

.policy-container ul {
  padding-left: 20px;
}

/* Thank You Page */
.thank-you-container {
  max-width: 700px;
  margin: 8rem auto 5rem;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  border-radius: 8px;
}

.thank-you-container h1 {
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.thank-you-container p {
  margin-bottom: 30px;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  position: relative;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-yellow);
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 20px;
  color: var(--text-secondary);
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-checkbox:checked ~ .faq-question::after {
  content: "−";
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 15px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  flex: 1;
  padding-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.cookie-accept {
  background-color: var(--accent-yellow);
  color: var(--bg-color);
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    order: 2;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: left 0.3s ease;
  }

  nav ul li {
    margin: 15px 0;
  }

  #mobile-nav-toggle:checked ~ nav ul {
    left: 0;
  }

  #mobile-nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  #mobile-nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  #mobile-nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .footer-col {
    flex: 100%;
  }

  .cookie-consent {
    flex-direction: column;
  }

  .cookie-text {
    margin-bottom: 15px;
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 20px;
  }
}
