/* Base Styles */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #f3f4f6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #111827;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 0.375rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Privacy Popup Styles */

/* Datenschutz Popup */
.privacy-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.privacy-popup-overlay.show {
  display: flex;
}

.privacy-popup {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  text-align: center;
}

.privacy-popup h3 {
  margin-bottom: 1rem;
}

.privacy-popup p {
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.privacy-popup-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.privacy-btn-accept,
.privacy-btn-decline {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-weight: 600;
}

.privacy-btn-accept {
  background-color: #2563eb;
  color: white;
}

.privacy-btn-decline {
  background-color: #f3f4f6;
  color: #1f2937;
}

.privacy-popup-footer {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.privacy-popup-footer a {
  color: #2563eb;
  text-decoration: underline;
}

  

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  border: 1px solid;
  border-color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-full {
  width: 100%;
}

/* Header Styles */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0;
}

.desktop-nav {
  display: none;

}

.desktop-nav ul {
  display: flex;
  gap: 2rem;

}

.desktop-nav a {
  color: var(--text-dark);
  font-weight: 500;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary-color);
}

.cta-button {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background-color: var(--bg-white);
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-dark);
  font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary-color);
}

.mobile-cta {
  margin-top: 1rem;
  text-align: center;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(to right, #eef2ff, #e0e7ff);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.arrow-right {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover .arrow-right {
  transform: translateX(4px);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  background-color: #dbeafe;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.learn-more {
  display: flex;
  align-items: center;
  font-weight: 600;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
}

.check-icon {
  color: #10b981;
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.pricing-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid #e5e7eb;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: scale(1.05);
  z-index: 1;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.pricing-card.popular .plan-description {
  color: rgba(255, 255, 255, 0.8);
}

.price {
  margin-bottom: 1.5rem;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.period {
  font-size: 1rem;
  color: var(--text-light);
}

.pricing-card.popular .period {
  color: rgba(255, 255, 255, 0.8);
}

.features-list {
  margin-bottom: 2rem;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pricing-card.popular .features-list li {
  color: var(--text-white);
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.125rem;
  margin-bottom: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.contact-info {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
  color: var(--primary-color);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-text h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.social-links {
  margin-top: 2rem;
}

.social-links h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--text-light);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-column p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: #9ca3af;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--text-white);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  margin-bottom: 0;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Dropdown-Menü Styles */
/* Dropdown-Menü Styles */
.desktop-nav .dropdown {
  position: relative;
}

.desktop-nav .dropdown .dropdown-menu {
  display: none; /* Standardmäßig ausgeblendet */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  min-width: 200px;
  padding: 0.5rem 0;
  z-index: 1000;
  border: 1px solid #e5e7eb;
  opacity: 0; /* Startet mit vollständiger Transparenz */
  visibility: hidden; /* Verhindert Klicken auf unsichtbare Elemente */
  transition: opacity 0.5s ease; /* Übergang für 0,5 Sekunden */
}

.desktop-nav .dropdown:hover .dropdown-menu {
  display: block; /* Zeigt das Dropdown an */
  opacity: 1; /* Wird vollständig sichtbar */
  visibility: visible; /* Macht es klickbar */
}

/* Optional: Verzögerung beim Ausblenden */
.desktop-nav .dropdown:not(:hover) .dropdown-menu {
  transition: opacity 0.5s ease;
  opacity: 0;
  visibility: hidden;
}

.dropdown-menu {
  flex-direction: column; /* Unterpunkte untereinander anzeigen */
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu a {
  color: var(--text-dark);
  font-weight: 500;
  display: block;
  width: 100%;
  text-align: left;
}

.dropdown-menu a:hover {
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

/* Anpassung für mobile Navigation */
.mobile-nav .dropdown-menu {
  position: static; /* Keine absolute Positionierung im Mobilmodus */
  display: none; /* Standardmäßig ausgeblendet */
  background-color: var(--bg-white);
  padding-left: 1rem;
  box-shadow: none;
  border: none;
}

.mobile-nav .dropdown.active .dropdown-menu {
  display: block; /* Zeigt das Dropdown an, wenn der Hauptlink aktiv ist */
}

/* SERVICES H2 Border BOTTOM UP*/

.linie_unten{
  border-bottom: 1px solid #000;
}

.linie_oben{
  padding-top: 7px;
  border-top: 1px solid #000;
  background: linear-gradient(to right, #eef2ff, #e0e7ff);
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }
  
  .cta-button {
    display: block;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text {
    flex: 1;
    padding-right: 2rem;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .about-content {
    flex-direction: row;
    align-items: center;
  }
  
  .about-image {
    flex: 1;
  }
  
  .about-text {
    flex: 1;
    padding-left: 2rem;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-content {
    flex-direction: row;
  }
  
  .contact-form {
    flex: 1;
    padding-right: 2rem;
  }
  
  .contact-info {
    flex: 1;
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* media queries privacy mobile responsive*/
@media (max-width: 640px) {
  .privacy-popup {
    margin: 1rem;
    max-width: none;
  }
  
  .privacy-popup-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .privacy-popup-content {
    padding: 1rem 1.5rem;
  }
  
  .privacy-popup-actions {
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
  }
  
  .privacy-popup-footer {
    padding: 0 1.5rem 1.5rem;
  }
}
