/* 
 * Domain.com - Finanzielle Auditdienste
 * Hauptstil-Datei
 */

/* Grundlegende Einstellungen */
:root {
  --primary: #0d1b2a; /* Haupthintergrund: dunkel indigo */
  --secondary: #1b263b; /* Sekundärer Hintergrund */
  --accent-coral: #ff6b6b; /* Akzent: korallenrot */
  --accent-sunny: #fcca46; /* Akzent: sonnig */
  --accent-mint: #6bcb77; /* Akzent: minze */
  --text-light: #ffffff; /* Text auf dunklem Hintergrund */
  --text-dark: #333333; /* Text auf hellem Hintergrund */
  --gray-light: #f5f5f5; /* Heller Grauton */
  --gray-medium: #e0e0e0; /* Mittlerer Grauton */
  --gray-dark: #aaaaaa; /* Dunkler Grauton */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--primary);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* Text und Überschriften */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-light);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-coral);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--accent-coral);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-sunny);
}
form a {
  margin-inline: 0.3rem;
}

/* Header-Stile */
header {
  background-color: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
}

.logo a {
  color: var(--text-light);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--text-light);
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--accent-coral);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
}

/* Hero-Sektion */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-coral);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-sunny);
  color: var(--text-dark);
}

/* Grid-Layouts für Karten */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Karten-Stile */
.card {
  background-color: var(--secondary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--text-light);
}

.card p {
  color: var(--gray-dark);
}

/* Über uns Sektion */
.about {
  background-color: var(--secondary);
}

/* Dienstleistungen Sektion */
.services {
  background-color: var(--primary);
}

/* Vorteile Sektion */
.advantages {
  background-color: var(--secondary);
}

.advantage-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.advantage-icon {
  font-size: 2rem;
  margin-right: 15px;
  color: var(--accent-mint);
}

/* Kundenstimmen Sektion */
.testimonials {
  background-color: var(--primary);
}

.testimonial-card {
  text-align: center;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
}

.testimonial-name {
  font-weight: bold;
  color: var(--accent-coral);
}

/* Schritte zur Zusammenarbeit */
.steps {
  background-color: var(--secondary);
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: var(--accent-sunny);
  color: var(--text-dark);
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Formular Sektion */
.form-section {
  background-color: var(--primary);
  padding: 80px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--secondary);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-light);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray-dark);
  border-radius: 4px;
  background-color: var(--gray-light);
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-coral);
}

.checkbox-label {
  display: flex;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.checkbox-label input {
  margin-right: 10px;
}

/* Danke Seite */
.thank-you {
  margin: 8rem auto 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  padding: 3rem;
  border-radius: 8px;
  background-color: var(--secondary);
  flex-direction: column;
  text-align: center;
  max-width: 800px;
}

/* Footer Stile */
footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--accent-coral);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--accent-coral);
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Politik-Seiten */
.policy-page {
  background-color: var(--secondary);
  padding: 50px 0;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--primary);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-dark);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 30px;
}

/* Cookie-Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--secondary);
  padding: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: bottom 0.5s ease;
}

.cookie-popup.active {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  margin-left: 20px;
}

/* FAQ Bereich mit Checkbox-Toggles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background-color: var(--secondary);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: block;
  position: relative;
  padding: 15px;
  padding-right: 40px;
  background-color: var(--secondary);
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--primary);
  transition: max-height 0.3s ease;
  padding: 0 15px;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked + .faq-question::after {
  content: "-";
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 15px;
}

/* Responsive Designs */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0;
    padding: 0.5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    margin-left: 0;
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }
}

/* CSS für den Hamburger-Menü-Toggle (ohne JS) */
#menu-toggle {
  display: none;
}

.menu-button {
  display: none;
}

@media (max-width: 768px) {
  .menu-button {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 999;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    display: none;
    flex-direction: column;
  }

  .nav-menu li {
    margin: 0;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 10px 0;
  }

  #menu-toggle:checked ~ .nav-menu {
    display: flex;
  }
}
