/* 
* domain.com - Finanzprüfungsdienste
* Hauptstilblatt
*/

/* Grundeinstellungen */
:root {
  --bg-primary: #0e1d2b;
  --accent-yellow: #ffd166;
  --accent-green: #06d6a0;
  --accent-red: #ef476f;
  --text-primary: #ffffff;
  --text-secondary: #d0d0d0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 40px;
}
option {
  background-color: #24323f;
}
div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
}

a {
  color: var(--accent-yellow);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-green);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: linear-gradient(
    135deg,
    var(--accent-green) 0%,
    var(--accent-yellow) 100%
  );
  color: var(--bg-primary);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--bg-primary);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(14, 29, 43, 0.95);
  padding: 15px 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;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo a {
  color: var(--text-primary);
}

.logo a:hover {
  color: var(--accent-yellow);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--text-primary);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--accent-yellow);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--text-primary);
  margin-bottom: 5px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#menu-checkbox {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 29, 43, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-yellow);
}

/* Grid Layouts */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
  text-align: center;
  padding: 20px;
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid var(--accent-yellow);
}

.testimonial-content {
  position: relative;
}

.testimonial-content::before {
  content: "";
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: 0;
  color: var(--accent-yellow);
  opacity: 0.3;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step-card {
  position: relative;
  padding-left: 60px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  background: var(--accent-green);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Form Styles */
.form-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 40px;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-primary);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(14, 29, 43, 0.95);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
}

.cookie-popup.active {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-popup p {
  margin-right: 20px;
}

/* Footer */
footer {
  background: rgba(10, 20, 30, 0.6);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-yellow);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.contact-info span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 15px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 120px auto 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 20px;
}

.policy-container ul {
  padding-left: 20px;
}

/* Thank You Page */
.danke-container {
  text-align: center;
  margin: 8rem auto 5rem;
  max-width: 600px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.danke-container h1 {
  margin-bottom: 20px;
  color: var(--accent-green);
}

.danke-container p {
  margin-bottom: 30px;
}

/* Blog Preview */
.blog-preview .card {
  display: flex;
  flex-direction: column;
}

.blog-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
}

.blog-preview .card h3 {
  margin-bottom: 10px;
}

.blog-preview .card p {
  margin-bottom: 15px;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 1.2rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 5px 5px;
}

.faq-content {
  padding: 15px;
}

.faq-question:checked ~ .faq-answer {
  max-height: 1000px;
}

.faq-question:checked ~ .faq-label::after {
  content: "−";
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 3rem;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    order: 2;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul li {
    margin: 0 0 15px 0;
  }

  #menu-checkbox:checked ~ nav ul {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 40px;
  }

  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }

  .cookie-popup p {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .form-section {
    padding: 20px;
  }

  .policy-container {
    padding: 20px;
    margin: 100px auto 40px;
  }
}
