/* 
* Domain.com - Finanzprüfung Dienstleistungen
* Main CSS file
*/

/* Global styles */
:root {
  --dark-blue: #0B1F3A;
  --yellow: #F9D342;
  --coral: #EC7357;
  --white: #FFFFFF;
  --light-blue: #CBD3DC;
}

* {
  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(--dark-blue);
  color: var(--white);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--coral);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  color: var(--white);
}

p {
  margin-bottom: 1rem;
  color: var(--light-blue);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, var(--yellow), var(--coral));
  color: var(--dark-blue);
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(249, 211, 66, 0.5), 0 0 15px rgba(236, 115, 87, 0.5);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  font-size: 2rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--yellow), var(--coral));
}

.neon-box {
  background-color: rgba(11, 31, 58, 0.8);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(249, 211, 66, 0.3), 0 0 15px rgba(236, 115, 87, 0.3);
  transition: box-shadow 0.3s ease;
}

.neon-box:hover {
  box-shadow: 0 0 25px rgba(249, 211, 66, 0.5), 0 0 25px rgba(236, 115, 87, 0.5);
}

/* Header styles */
header {
  background-color: rgba(11, 31, 58, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo h1 {
  font-size: 1.5rem;
  margin-left: 10px;
  margin-bottom: 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--yellow), var(--coral));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 2px 0;
  background-color: var(--white);
  transition: transform 0.3s ease;
}

#menu-toggle {
  display: none;
}

/* Hero section styles */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 31, 58, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--light-blue);
}

/* About section styles */
.about {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(249, 211, 66, 0.3), 0 0 20px rgba(236, 115, 87, 0.3);
}

/* Services section styles */
.services {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(11, 31, 58, 0.9);
  box-shadow: 0 0 15px rgba(249, 211, 66, 0.2), 0 0 15px rgba(236, 115, 87, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(249, 211, 66, 0.4), 0 0 25px rgba(236, 115, 87, 0.4);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Benefits section styles */
.benefits {
  padding: 5rem 0;
  background-color: rgba(11, 31, 58, 0.7);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-item {
  padding: 20px;
  text-align: center;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--yellow);
  margin-bottom: 15px;
}

.benefit-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* Testimonials section styles */
.testimonials {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(11, 31, 58, 0.9);
  border-radius: 8px;
  padding: 25px;
  position: relative;
  box-shadow: 0 0 15px rgba(249, 211, 66, 0.2), 0 0 15px rgba(236, 115, 87, 0.2);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  color: rgba(249, 211, 66, 0.2);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: bold;
  color: var(--white);
  margin-bottom: 5px;
}

.author-position {
  font-size: 0.9rem;
  color: var(--light-blue);
}

/* Partners section styles */
.partners {
  padding: 5rem 0;
  background-color: rgba(11, 31, 58, 0.7);
}

.partners-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.partner-logo {
  max-width: 150px;
  height: auto;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Contact form styles */
.contact {
  padding: 5rem 0;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid var(--yellow);
  border-radius: 10px;
  z-index: -1;
}

.contact-form-container::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--coral);
  border-radius: 10px;
  z-index: -1;
}

.contact-form {
  padding: 30px;
  background-color: rgba(11, 31, 58, 0.9);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(249, 211, 66, 0.3), 0 0 20px rgba(236, 115, 87, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--light-blue);
}

.form-input {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 10px rgba(249, 211, 66, 0.3);
}

.checkbox-group {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.checkbox-label {
  margin-left: 10px;
  font-size: 0.9rem;
  color: var(--light-blue);
}

.form-submit {
  margin-top: 20px;
}

/* FAQ section styles */
.faq {
  padding: 5rem 0;
  background-color: rgba(11, 31, 58, 0.7);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  font-weight: bold;
  padding: 15px;
  background-color: rgba(249, 211, 66, 0.1);
  color: var(--white);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(11, 31, 58, 0.9);
  transition: max-height 0.3s ease;
}

.faq-checkbox:checked ~ .faq-content {
  max-height: 500px;
}

.faq-checkbox:checked ~ .faq-question .faq-toggle::before {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 15px;
  color: var(--light-blue);
}

.faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  transition: transform 0.3s ease;
}

.faq-toggle::before {
  width: 2px;
  height: 10px;
}

.faq-toggle::after {
  width: 10px;
  height: 2px;
}

/* Footer styles */
footer {
  background-color: rgba(7, 21, 38, 0.95);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: var(--yellow);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--yellow), var(--coral));
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: var(--light-blue);
}

.footer-contact-info .icon {
  margin-right: 10px;
  color: var(--yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-blue);
  font-size: 0.9rem;
}

/* Legal pages styles */
.legal-content {
  padding: 5rem 0;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(11, 31, 58, 0.9);
  border-radius: 8px;
  padding: 30px;
  position: relative;
  box-shadow: 0 0 20px rgba(249, 211, 66, 0.3), 0 0 20px rgba(236, 115, 87, 0.3);
}

.legal-container::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid var(--yellow);
  border-radius: 10px;
  z-index: -1;
}

.legal-container::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: -5px;
  bottom: -5px;
  border: 1px solid var(--coral);
  border-radius: 10px;
  z-index: -1;
}

.legal-title {
  margin-bottom: 2rem;
  text-align: center;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.legal-section p,
.legal-section ul,
.legal-section ol {
  margin-bottom: 1rem;
  color: var(--light-blue);
}

.legal-section ul,
.legal-section ol {
  margin-left: 20px;
}

/* Thank you page styles */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  margin: 8rem auto 5rem;
  text-align: center;
}

.thank-you-container {
  max-width: 600px;
  padding: 40px;
  position: relative;
}

.thank-you-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--yellow);
  border-radius: 10px;
  z-index: -1;
}

.thank-you-container h1 {
  color: var(--yellow);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Cookie consent popup */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 15px 25px;
  background-color: rgba(11, 31, 58, 0.95);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
}

.cookie-accept {
  background: linear-gradient(to right, var(--yellow), var(--coral));
  color: var(--dark-blue);
  border: none;
}

.cookie-decline {
  background: transparent;
  color: var(--light-blue);
  border: 1px solid var(--light-blue);
}

/* Media Queries */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column-reverse;
    gap: 30px;
  }
  
  .about-text, .about-image {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: rgba(11, 31, 58, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 0;
    transition: height 0.3s ease;
  }
  
  #menu-toggle:checked ~ .nav-menu {
    height: auto;
    padding: 20px 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 15px 0;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  #menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  #menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .cookie-consent {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cookie-text {
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .contact-form-container::before,
  .contact-form-container::after {
    display: none;
  }
  
  .legal-container::before,
  .legal-container::after {
    display: none;
  }
}