/* ======== VARIABLES ======== */
:root {
  --primary: #2241A1;    /* Saphirblau */
  --secondary: #D0F55D;  /* Limettengrün */
  --accent: #FF2E88;     /* Neonrosa */
  --background: #0D0D2B; /* Mitternachtsblau */
  --text: #F2F2F2;       /* Hellgrau */
  --dark-text: #333333;
  --light-background: #121242;
  --font-family: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --glow: 0 0 10px rgba(208, 245, 93, 0.5);
  --benefit-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ======== RESET & BASE STYLES ======== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  font-weight: 600;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* ======== HEADER & NAVIGATION ======== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(13, 13, 43, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(208, 245, 93, 0.2);
  padding: 15px 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo-text {
  color: var(--text);
  text-shadow: 0 0 10px rgba(255, 46, 136, 0.7);
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
}

.desktop-nav li {
  margin-left: 30px;
}

.desktop-nav a {
  color: var(--text);
  position: relative;
}

.desktop-nav a:hover {
  color: var(--secondary);
}

.desktop-nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.desktop-nav a:hover:after {
  width: 100%;
}

.cta-button-small {
  background-color: var(--accent);
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.cta-button-small:hover {
  background-color: var(--secondary);
  color: var(--dark-text);
  box-shadow: var(--glow);
}

/* Mobile Navigation */
.mobile-nav {
  display: block;
}

.menu-icon {
  position: relative;
  width: 35px;
  height: 25px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--secondary);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked + .hamburger span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

.menu-items {
  position: absolute;
  top: 60px;
  right: 0;
  background: var(--light-background);
  border-radius: var(--border-radius);
  width: 200px;
  padding: 20px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(208, 245, 93, 0.2);
}

.menu-items ul li {
  margin-bottom: 15px;
}

.menu-items ul li a {
  color: var(--text);
  display: block;
  padding: 5px 0;
}

.menu-items ul li a:hover {
  color: var(--secondary);
}

/* ======== HERO SECTION ======== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--background) 0%, var(--light-background) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-top: 60px;
}

.hero-section:before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(ellipse at center, rgba(255, 46, 136, 0.1) 0%, rgba(13, 13, 43, 0) 70%);
  animation: pulse 15s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0.6; }
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.logo-container h1 {
  font-size: 3.5rem;
  margin-right: 15px;
  background: linear-gradient(to right, var(--text) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-container img {
  width: 50px;
  height: 50px;
}

.hero-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: var(--glow);
}

/* ======== ABOUT SECTION ======== */
.about-section {
  background-color: var(--light-background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.about-box {
  background: var(--background);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(208, 245, 93, 0.2);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
  border-color: var(--secondary);
}

.about-image {
  width: 100%;
  height: 180px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 20px;
  border: 2px solid var(--accent);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-box:hover .about-image img {
  transform: scale(1.05);
}

.animate-on-scroll {
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-box h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* ======== SERVICES SECTION ======== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.service-card {
  background: var(--light-background);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(208, 245, 93, 0.2);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
  border-color: var(--accent);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--background);
  border: 2px solid var(--accent);
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  color: var(--secondary);
  margin-bottom: 15px;
}

/* ======== BENEFITS SECTION ======== */
.benefits-section {
  background-color: var(--light-background);
}

.benefits-grid {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .benefits-grid {
    flex-direction: column;
    align-items: center;
    gap: 70px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.benefit-item {
  background: var(--background);
  padding: 30px;
  border-radius: var(--border-radius);
  position: relative;
  border: 4px solid var(--secondary);
  height: 250px;
  width: 300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--benefit-shadow);
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.benefit-number {
  position: absolute;
  top: -20px;
  left: 25px;
  background: var(--accent);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 3px solid var(--secondary);
  box-shadow: var(--benefit-shadow);
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.benefit-item h3 {
  margin-top: 15px;
  color: var(--secondary);
  font-size: 1.5rem;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* ======== TESTIMONIALS SECTION ======== */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto 30px;
  height: 200px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-slide.active {
  opacity: 1;
}

blockquote {
  background: var(--light-background);
  padding: 30px;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--accent);
  position: relative;
}

blockquote:before {
  content: """;
  font-size: 5rem;
  position: absolute;
  top: 0;
  left: 10px;
  color: rgba(208, 245, 93, 0.3);
  font-family: Georgia, serif;
}

cite {
  display: block;
  margin-top: 15px;
  font-style: normal;
  font-weight: 600;
  color: var(--secondary);
  text-align: right;
}

.carousel-dots {
  display: flex;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--text);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
}

.dot.active {
  opacity: 1;
  background: var(--accent);
}

/* ======== TIMELINE SECTION ======== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 4px;
  height: 100%;
  background: var(--secondary);
}

.timeline-item {
  padding: 30px 0;
  position: relative;
}

.timeline-content {
  background: var(--light-background);
  border-radius: var(--border-radius);
  padding: 20px;
  position: relative;
  width: calc(100% - 60px);
  margin-left: 60px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(208, 245, 93, 0.2);
  transition: var(--transition);
}

.timeline-content:before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  left: -40px;
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.timeline-content h3 {
  color: var(--secondary);
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    width: calc(50% - 30px);
    margin-left: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-content:before {
    left: auto;
    right: -40px;
  }
}

/* ======== FAQ SECTION ======== */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(208, 245, 93, 0.2);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  background: var(--light-background);
  color: var(--text);
  padding: 20px;
  display: block;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--secondary);
}

.faq-toggle {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--background);
  padding: 0 20px;
}

.faq-toggle:checked + .faq-question:after {
  content: '-';
}

.faq-toggle:checked + .faq-question {
  background: var(--accent);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* ======== CONTACT SECTION ======== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h3 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-form {
  background: var(--light-background);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(208, 245, 93, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(208, 245, 93, 0.2);
  border-radius: var(--border-radius);
  background: rgba(13, 13, 43, 0.7);
  color: var(--text);
  font-family: var(--font-family);
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 5px rgba(255, 46, 136, 0.5);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

button[type="submit"] {
  background: var(--accent);
  color: var(--text);
  padding: 12px 30px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--accent);
  width: 100%;
  margin-top: 10px;
}

button[type="submit"]:hover {
  background: transparent;
  color: var(--accent);
}

/* ======== FOOTER ======== */
.main-footer {
  background: var(--light-background);
  padding: 60px 0 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(208, 245, 93, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text);
}

.footer-col ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(208, 245, 93, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgba(242, 242, 242, 0.7);
}

/* ======== COOKIE BANNER ======== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--light-background);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  border: 1px solid var(--accent);
  max-width: 400px;
  display: none;
}

.cookie-content h3 {
  color: var(--secondary);
  margin-bottom: 10px;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.cookie-buttons button {
  background: var(--accent);
  color: var(--text);
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.cookie-buttons button:hover {
  background: var(--secondary);
  color: var(--dark-text);
}

.cookie-buttons a {
  color: var(--text);
  display: flex;
  align-items: center;
}

/* ======== RESPONSIVE DESIGN ======== */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 4rem;
  }
  
  .hero-section h2 {
    font-size: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  section {
    padding: 40px 0;
    width: 100%;
    overflow-x: hidden;
  }
  
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .service-card, .about-box, .benefit-item {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }
  
  .mobile-nav {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .timeline-content {
    width: calc(50% - 50px);
  }
}