/* 
   Domain Financial Audit - Main Stylesheet
   Colors:
   - Primary: #0A2239 (dark blue)
   - Accent: #F6AE2D (amber), #33658A (teal), #86BBD8 (light blue)
   - Text: #F5F5F5, #2E2E2E
*/

/* === Base Styles === */
:root {
  --primary: #0a2239;
  --accent1: #f6ae2d;
  --accent2: #33658a;
  --accent3: #86bbd8;
  --light-text: #f5f5f5;
  --dark-text: #2e2e2e;
  --max-width: 1200px;
  --section-padding: 4rem 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

body {
  font-family: "Roboto", "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: #fff;
}
option {
  background: #21374c;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
form a {
  color: var(--accent1);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--accent1);
  color: var(--dark-text);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #e9a221;
  transform: translateY(-2px);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  height: 4px;
  width: 80px;
  background-color: var(--accent1);
  margin: 0.5rem auto 0;
}

/* === Header === */
header {
  background-color: var(--primary);
  color: var(--light-text);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent1);
}

/* Mobile Menu (CSS-only) */
.menu-toggle {
  display: none;
}

.menu-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--light-text);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--light-text);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent1);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* === Hero Section === */
.hero {
  height: 80vh;
  min-height: 500px;
  background-image: url("./img/ANUxx.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--light-text);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 34, 57, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* === About Section === */
.about {
  padding: var(--section-padding);
  background-color: #f9f9f9;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* === Benefits Section === */
.benefits {
  padding: var(--section-padding);
  background-color: var(--primary);
  color: var(--light-text);
}

.benefits .section-title {
  color: var(--light-text);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-item h3 {
  margin: 1rem 0;
  font-size: 1.5rem;
  color: var(--accent1);
}

/* === Services Section === */
.services {
  padding: var(--section-padding);
  background-color: #fff;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.5rem;
}

/* === Testimonials Section === */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--accent3);
  color: var(--dark-text);
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: #eee;
  font-family: Georgia, serif;
  z-index: 0;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-company {
  font-style: italic;
  color: #777;
}

/* === Steps Section === */
.steps {
  padding: var(--section-padding);
  background-color: #f9f9f9;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--accent1);
  color: var(--dark-text);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* === Form Section === */
.contact-form {
  padding: var(--section-padding);
  background-color: var(--primary);
  color: var(--light-text);
}

.contact-form .section-title {
  color: var(--light-text);
}

form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--light-text);
  font-size: 1rem;
}

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'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  padding-right: 2rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

/* === Contact Section === */
.contact {
  padding: var(--section-padding);
  background-color: #f9f9f9;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* === Footer === */
footer {
  background-color: var(--primary);
  color: var(--light-text);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.footer-about h3 {
  margin-bottom: 1rem;
  color: var(--accent1);
}

.footer-links h3 {
  margin-bottom: 1rem;
  color: var(--accent1);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-text);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent1);
}

.footer-contact h3 {
  margin-bottom: 1rem;
  color: var(--accent1);
}

.contact-item {
  display: flex;
  margin-bottom: 0.8rem;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 0.5rem;
  min-width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === Danke-Seite === */
.danke-seite {
  text-align: center;
  margin: 8rem auto 5rem;
  max-width: 600px;
  padding: 3rem;
  border: 2px solid var(--accent1);
  border-radius: 8px;
}

.danke-seite h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* === Policy Pages === */
.policy-page {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-page h1 {
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.policy-page h2 {
  color: var(--accent2);
  margin: 2rem 0 1rem;
}

.policy-page p,
.policy-page ul,
.policy-page ol {
  margin-bottom: 1.5rem;
}

.policy-page ul,
.policy-page ol {
  padding-left: 2rem;
}

/* === Cookie Popup === */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--light-text);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-accept {
  background-color: var(--accent1);
  color: var(--dark-text);
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid var(--accent1);
  color: var(--light-text);
}

/* === FAQ Section (Using CSS Checkbox) === */
.faq {
  padding: var(--section-padding);
  background-color: #fff;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background-color: #f9f9f9;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff;
  padding: 0 1.5rem;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-toggle:checked ~ .faq-question::after {
  content: "−";
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
  }

  .menu-toggle-label {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-toggle:checked ~ .nav-menu {
    max-height: 300px;
  }

  .nav-menu li {
    margin: 0;
    text-align: center;
    padding: 1rem;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
  }
}
