/* Main Styles for LumiVitae */

:root {
  --primary-color: #0078b4;
  --secondary-color: #f5f8fa;
  --accent-color: #FFC107;
  --gold-color: #e6b800;
  --text-color: #333;
  --light-text: #fff;
  --light-bg: #f9f9f9;
  --border-color: #ddd;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --gradient-primary: linear-gradient(135deg, #0078b4 0%, #005a87 100%);
  --dark-bg: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  /* Hintergrund wird nun direkt im HTML über inline-style gesetzt */
}

/* Container für Inhalte mit teilweise transparentem Hintergrund */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparenter Hintergrund */
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

section {
  padding: 40px 0;
  /* Entfernte Section-Hintergründe */
}

/* Video-Hintergrund Stile werden entfernt */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

/* Bubbles Animation Effekt */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bubble {
  position: absolute;
  bottom: -20px;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  opacity: 0.7;
  animation: rise-small 20s infinite linear;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

.bubble::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  transform: scale(0.8);
}

.bubble:nth-child(even) {
  width: 5px;
  height: 5px;
  animation-duration: 15s;
  background: rgba(255, 255, 255, 0.9);
}

.bubble:nth-child(3n) {
  width: 3px;
  height: 3px;
  animation-duration: 12s;
  background: rgba(255, 255, 255, 0.95);
}

.bubble:nth-child(5n) {
  width: 10px;
  height: 10px;
  animation-duration: 25s;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

@keyframes rise-small {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
    opacity: 0;
  }
  5% {
    opacity: 0.9;
  }
  95% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-1000px) translateX(var(--tx)) scale(0.1);
    opacity: 0;
  }
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 2rem;
  /* Hintergrund entfernt */
  text-align: center;
  position: relative;
}

.hero-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.video-container {
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  max-width: 1000px;
  background-color: #000; /* Dunkler Hintergrund für das Video */
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.video-title-overlay {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background: transparent; /* Transparent statt grau */
  pointer-events: none; /* Ermöglicht Klicks durch das Overlay auf das Video */
  padding: 15px 0;
}

.video-title-overlay .hero-title,
.video-title-overlay .section-title {
  color: white;
  text-shadow: 
    2px 2px 6px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 0, 0, 0.8),
    0 0 5px rgba(0, 0, 0, 0.9),
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000; /* Kombination aus Schlagschatten und Outline */
  margin: 0;
  padding: 0 20px;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.video-title-overlay .section-title {
  font-size: 2.5rem;
}

.video-title-overlay .section-title:after {
  display: none; /* Entfernt den Unterstrich für besser Lesbarkeit auf dem Video */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.website-link {
  margin-bottom: 2rem;
}

.website-link a {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  display: inline-block;
}

.website-link a:hover {
  color: var(--light-text);
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Promo Banner - Anpassung für Transparenz */
.promo-banner {
  background: linear-gradient(135deg, rgba(0,120,190,0.85), rgba(0,79,128,0.85), rgba(0,58,95,0.85));
  padding: 3rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--gold-color);
  border-bottom: 4px solid var(--gold-color);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.promo-banner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.3; }
  to { opacity: 0.8; }
}

.promo-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.promo-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.promo-bottle {
  max-height: 200px;
  transform: rotate(-5deg);
  transition: all 0.5s ease;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}

.promo-text {
  text-align: left;
  color: var(--light-text);
}

.promo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.promo-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background-color: var(--gold-color);
}

.btn-primary {
  display: inline-block;
  background-color: var(--gold-color);
  color: var(--dark-bg);
  padding: 0.9rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  color: var(--dark-bg);
}

.btn-primary:hover::before {
  left: 100%;
}

/* CellPower Section - Transparenter Hintergrund */
.cellpower-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  /* Hintergrund entfernt */
}

.cellpower-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 120, 190, 0.05);
  z-index: -1;
}

.cellpower-section .bubble-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -20px;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  opacity: 0.7;
  animation: rise-small 20s infinite linear;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

.bubble::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  transform: scale(0.8);
}

.bubble:nth-child(even) {
  width: 5px;
  height: 5px;
  animation-duration: 15s;
  background: rgba(255, 255, 255, 0.9);
}

.bubble:nth-child(3n) {
  width: 3px;
  height: 3px;
  animation-duration: 12s;
  background: rgba(255, 255, 255, 0.95);
}

.bubble:nth-child(5n) {
  width: 10px;
  height: 10px;
  animation-duration: 25s;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

@keyframes rise-small {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
    opacity: 0;
  }
  5% {
    opacity: 0.9;
  }
  95% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-1000px) translateX(var(--tx)) scale(0.1);
    opacity: 0;
  }
}

/* Wasser-Wellen-Effekt */
.cellpower-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  animation: water-movement 15s infinite alternate ease-in-out;
}

@keyframes water-movement {
  0% {
    opacity: 0.6;
    background-position: 0% 0%, 100% 100%;
  }
  50% {
    opacity: 0.8;
    background-position: 2% 1%, 98% 99%;
  }
  100% {
    opacity: 0.6;
    background-position: 0% 0%, 100% 100%;
  }
}

.cellpower-image-container {
  flex-basis: 35%;
  text-align: center;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
  transform: translateZ(0);
}

.cellpower-image-container img {
  max-width: 100%;
  height: auto;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.cellpower-image-container img:hover {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.2));
}

.cellpower-content {
  flex-basis: 60%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cellpower-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cellpower-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 3px;
  width: 70px;
  background-color: var(--gold-color);
}

.cellpower-button {
  align-self: flex-start;
  margin-top: 1rem;
}

/* Media queries für den neu gestalteten Promo-Bereich */
@media (max-width: 768px) {
  .promo-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .promo-bottle {
    max-height: 150px;
  }
  
  .promo-text {
    text-align: center;
  }
  
  .promo-content h2 {
    font-size: 2rem;
  }
  
  .promo-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
  }
  
  .cellpower-section {
    flex-direction: column;
    padding: 2rem 20px;
  }
  
  .cellpower-image-container {
    flex-basis: 100%;
    margin-bottom: 2rem;
  }
  
  .cellpower-content {
    flex-basis: 100%;
    text-align: center;
  }
  
  .cellpower-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .cellpower-button {
    align-self: center;
  }
}

@media (max-width: 576px) {
  .promo-banner {
    padding: 2rem 0;
  }
  
  .promo-bottle {
    max-height: 120px;
  }
  
  .promo-content h2 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
  }
  
  .btn-primary {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
  }
  
  .cellpower-content h2 {
    font-size: 1.7rem;
  }
}

/* Features Section - Transparenter Hintergrund */
.features-section {
  padding: 4rem 0;
  /* Hintergrund entfernt */
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 2rem;
  justify-content: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 0;
}

.feature-item {
  flex: 1;
  min-width: 280px;
  max-width: calc(50% - 1rem);
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  margin: 10px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.feature-image-container {
  height: 250px;
  overflow: hidden;
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.feature-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.feature-info h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--gold-color);
}

.feature-info h4 {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.feature-info p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Gold accents for the bottle */
.sun-bottle {
  background-color: var(--gold-color);
  position: relative;
}

.sun-bottle::after {
  content: "LV";
  position: absolute;
  top: 25%;
  right: 10%;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--light-text);
  background-color: var(--dark-bg);
  padding: 0.5rem;
  border-radius: 5px;
  z-index: 2;
}

/* Vereinfachte Styles für das Farbrad - jetzt Teil des Hintergrundbildes */
.chromotherapy-image {
  position: relative;
}

/* Alte sun-bottle und color-wheel Styles werden entfernt */

/* Power Section */
.power-section {
  padding: 4rem 0;
  /* Hintergrund entfernt */
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  padding: 0.5rem;
  border: none;
  display: inline-block;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--gold-color);
}

/* Revolutionary Section */
.revolutionary-section {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.revolutionary-section .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
}

.title-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  max-width: 100%;
}

.title-container .section-title {
  width: 100%;
  color: var(--primary-color);
  font-size: 2rem;
  margin: 0;
  text-align: center;
}

.revolutionary-content {
  width: 100%;
  text-align: left;
  padding: 2rem;
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.revolutionary-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.revolutionary-content p:last-child {
  margin-bottom: 0;
}

.addition {
  margin-top: 2rem;
  font-style: italic;
  padding: 1.5rem;
  background-color: rgba(0, 120, 190, 0.05);
  border-left: 3px solid var(--primary-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background-color: var(--light-text);
  background-image: linear-gradient(135deg, rgba(0, 120, 190, 0.1), rgba(212, 175, 55, 0.1));
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-text);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.bottle-image {
  flex: 0 0 30%;
  transition: all 0.3s ease;
}

.bottle-image:hover {
  transform: translateY(-10px);
}

.bottle {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.cta-content {
  flex: 0 0 30%;
  text-align: center;
}

.cta-content h3 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.info-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-button:hover {
  background-color: var(--gold-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* AI Section */
.ai-section {
  padding: 4rem 0;
  background-color: var(--secondary-color);
  text-align: center;
}

.ai-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 2rem;
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.ai-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.ai-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.ai-content li {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* Comparison Section */
.comparison-section {
  padding: 4rem 0;
  background-color: var(--light-text);
  text-align: center;
}

.comparison-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 2rem;
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.comparison-content h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.comparison-content h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--gold-color);
}

.comparison-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.comparison-content li {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.comparison-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Detox Section */
.detox-section {
  padding: 4rem 0;
  background-color: var(--secondary-color);
  text-align: center;
}

.detox-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 2rem;
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.detox-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.detox-link {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.detox-link:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

/* Affiliate Partner Section */
.affiliate-partner-section {
  padding: 4rem 0;
  background-color: var(--light-text);
  text-align: center;
}

.affiliate-partner-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.affiliate-partner-link {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.affiliate-partner-link:hover {
  color: var(--gold-color);
}

.affiliate-partner-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.affiliate-partner-content .cta-button {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 0.8rem 2rem;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.affiliate-partner-content .cta-button:hover {
  background-color: var(--gold-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer - Transparenter Hintergrund */
footer {
  background-color: rgba(51, 51, 51, 0.9);
  color: var(--light-text);
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.footer-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--light-text);
}

.footer-product-text {
  color: var(--light-text);
}

.footer-content a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer-content a:hover {
  color: var(--light-text);
  text-decoration: underline;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-links h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--gold-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-item {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .video-container {
    max-width: 90%;
    margin-bottom: 1rem;
  }
  
  .feature-row {
    gap: 1.5rem;
  }
  
  /* KI-Assistent mobile Styles */
  .ai-assistant-intro-container {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
  }
  
  .ai-info {
    padding-right: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .ai-info h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .ai-features li {
    text-align: left;
    padding-left: 1.8rem;
  }
  
  .feature-image-container {
    height: 200px; /* Reduzierte Höhe für mobile Geräte */
  }
}

@media (max-width: 576px) {
  .hero-title, .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .video-container {
    max-width: 100%;
  }
  
  .feature-item {
    margin-bottom: 1.5rem;
  }
  
  /* Kompaktere Ansicht für sehr kleine Geräte */
  .ai-toggle-button {
    width: 100%;
    padding: 0.8rem 1.5rem;
  }
  
  /* Mobile-Assistenten-Button als fixiertes Element */
  .mobile-fixed-button .ai-toggle-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-fixed-button .ai-toggle-button span {
    display: none;
  }
  
  /* Vollbild-Ansicht für die mobile AI-Box */
  .mobile-fullscreen-ai .ai-box.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    margin: 0;
    border-radius: 0;
    padding: 1rem;
    transform: translateY(0);
  }
  
  .mobile-fullscreen-ai .ai-box::before {
    content: "×";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
  }
}

/* Mobile-spezifische Anpassungen für den AI-Assistenten */
@media (max-width: 768px) {
  .ai-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 15px 15px 0 0;
    z-index: 1000;
    transform: translateY(100%);
    max-height: 80vh; /* Verhindert, dass die Box zu groß wird */
    overflow-y: auto;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3); /* Stärkerer Schatten von oben */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
  }
  
  .ai-box.active {
    transform: translateY(0) !important; /* !important verhindert Überschreiben */
    opacity: 1 !important;
  }
  
  .ai-toggle-button {
    width: auto;
    padding: 0.8rem 1.5rem;
  }
  
  /* AI-Box Inhalt für Mobile optimieren */
  .ai-form {
    padding: 1rem;
  }
  
  .ai-select, .ai-input {
    font-size: 16px;  /* Verhindert Zoom auf Mobilgeräten */
  }
}

/* Studies Section */
.studies-section {
  padding: 4rem 0;
  /* Hintergrund entfernt */
}

.studies-content {
  max-width: 1100px;
  margin: 0 auto;
}

.study-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.study-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.study-card {
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.study-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.study-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.study-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--gold-color);
}

.study-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.study-source {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
}

.study-conclusion {
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-align: left;
}

.study-conclusion p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.study-conclusion p:last-child {
  margin-bottom: 0;
}

/* AI Assistant Section */
.ai-assistant-section {
  padding: 4rem 0 6rem;
  /* Hintergrund entfernt */
}

.ai-assistant-box {
  position: relative;
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,248,255,0.95) 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 120, 190, 0.15);
  z-index: 5;
}

.ai-assistant-intro-container {
  position: relative;
  z-index: 10;
  display: flex;
  padding: 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.ai-info {
  flex: 1;
  text-align: left;
  padding-right: 2rem;
}

.ai-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.ai-info h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--gold-color);
}

.ai-info p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #555;
}

.ai-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-features li {
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
  font-size: 1rem;
  color: #666;
}

.ai-features li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #0078b4;
}

.ai-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-toggle-button {
  background: var(--gradient-primary);
  color: var(--light-text);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 120, 190, 0.3);
  white-space: nowrap;
  z-index: 999;
  position: relative;
  outline: none;
}

.ai-toggle-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 120, 190, 0.4);
}

.ai-toggle-button:active, .ai-toggle-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 120, 190, 0.35);
  outline: none;
}

.ai-toggle-button i {
  font-size: 1.5rem;
}

.ai-box {
  background-color: #ffffff;
  border-radius: 0 0 15px 15px;
  padding: 2rem;
  display: none;
  text-align: left;
  z-index: 100;
  border-top: 1px solid rgba(0, 120, 190, 0.15);
  max-height: 80vh; /* Begrenzt die Höhe, verhindert aber Überlauf */
  overflow-y: auto; /* Scrollbar, wenn der Inhalt zu groß ist */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Deutlicherer Schatten */
  position: relative;
}

.ai-box.active {
  display: block !important; /* !important verhindert Überschreiben */
  animation: fadeIn 0.5s ease-in-out both; /* 'both' behält Eigenschaften nach Animation bei */
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(-10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.ai-form {
  margin-bottom: 2rem;
  background-color: rgba(0, 120, 190, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 120, 190, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.ai-select, .ai-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 120, 190, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

.ai-select:focus, .ai-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 120, 190, 0.15);
}

.ai-button {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-weight: bold;
}

.ai-button:hover:not(:disabled) {
  background-color: #0069a8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ai-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ai-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Chat-ähnliche Darstellung */
.question-box {
  color: var(--light-text);
  background-color: var(--primary-color);
  padding: 1rem 1.5rem;
  border-radius: 12px 12px 0 0;
  margin-top: 1.5rem;
  font-weight: bold;
  display: none;
  font-size: 1.05rem;
}

.response-box {
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 0 0 12px 12px;
  padding: 0;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.placeholder-text {
  color: #777;
  font-style: italic;
  padding: 1.5rem;
  text-align: center;
}

.search-container {
  margin: 10px 0;
  padding: 10px;
  background: rgba(0, 120, 190, 0.1);
  border-radius: 8px;
  text-align: center;
  display: none;
  transition: all 0.3s ease;
}

.search-container.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.search-message {
  color: #000000;
  font-weight: bold;
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-message.active {
  opacity: 1;
  display: flex;
}

.search-message::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 3px solid #4a90e2;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.waiting-text {
  color: #000000;
  text-align: center;
  margin: 15px auto;
  font-size: 1.1em;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  max-width: 90%;
  font-style: italic;
  padding: 10px;
  border-radius: 5px;
  background-color: rgba(0, 120, 190, 0.1);
}

.waiting-text.visible {
  opacity: 1;
}

.follow-up-section {
  margin-top: 1.5rem;
}

.follow-up-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 120, 190, 0.2);
  border-radius: 8px 8px 0 0;
  font-size: 1rem;
  background-color: #fff;
}

.follow-up-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 120, 190, 0.15);
}

.follow-up-button {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 0 0 8px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.follow-up-button:hover {
  background-color: #0069a8;
}

.answer-header {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 1rem 1.5rem;
  font-weight: bold;
  border-radius: 0;
  font-size: 1.05rem;
}

.response-text {
  background-color: var(--light-text);
  padding: 1.5rem;
  line-height: 1.6;
  border-radius: 0 0 12px 12px;
  color: #333;
}

.response-text p {
  margin-bottom: 1rem;
}

.response-text p:last-child {
  margin-bottom: 0;
}

.response-text strong {
  color: #0069a8;
}

.ai-disclaimer {
  margin-top: 2rem;
  padding: 1.2rem;
  background-color: #FFF9C4;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #7D6608;
  border-left: 3px solid #FBC02D;
}

/* Wissenschaftliche Referenzen Styling */
.scientific-references {
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(0, 120, 180, 0.1);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.scientific-references a {
    display: inline-block;
    background-color: #0078b4;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.scientific-references a:hover {
    background-color: #005a8c;
    transform: translateY(-2px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .scientific-references {
        flex-direction: column;
        align-items: center;
    }
    
    .scientific-references a {
        width: 100%;
        text-align: center;
    }
}

.text-center {
  text-align: center !important;
}

.section-title.text-center:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Überschrift mit begrenzter Breite */
.section-title.text-center {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 30px;
}

.container-width {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.title-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  max-width: 100%;
}

/* Verstärkte Zentrierung für die AI-Assistant Überschrift */
.ai-assistant-section .section-title {
  text-align: center;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ai-assistant-section .section-title:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Debug-Hilfe - sichtbare Ränder um wichtige Elemente */
.debug-mode .ai-assistant-box {
  border: 2px dashed red;
}

.debug-mode .ai-box {
  border: 2px dashed blue;
}

.debug-mode .ai-toggle-button {
  border: 2px dashed green;
} 