/* Desktop Styles für LumiVitae */

/* Importiere die gemeinsamen Styles */
@import url('styles.css');

/* Desktop-spezifische Stile */
@media (min-width: 1024px) {
  /* Desktop-Hintergrundbilder mit weicherem Übergang */
  body.desktop-view {
    position: relative;
    overflow-x: hidden; /* Verhindere horizontales Scrollen */
  }
  
  /* Separate Hintergrundbilder für Scroll-Effekt */
  body.desktop-view .bg-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: image-set(
      url('../images/green.webp') type('image/webp'),
      url('../images/green.png')
    );
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -2;
    will-change: transform;
  }
  
  body.desktop-view .bg-gradient {
    position: fixed;
    top: 0;
    left: 62%;
    width: 20%;
    height: 100%;
    background-image: linear-gradient(to right, 
      transparent 0%, 
      rgba(255,255,255,0.1) 40%, 
      rgba(255,255,255,0.3) 50%, 
      rgba(255,255,255,0.1) 60%, 
      transparent 100%
    );
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
    will-change: transform;
  }
  
  body.desktop-view .bg-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: image-set(
      url('../images/lumi-sabine-breit.avif') type('image/avif'),
      url('../images/lumi-sabine-breit.webp') type('image/webp'),
      url('../images/lumi-sabine-breit.jpeg')
    );
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: -3;
    will-change: transform;
  }
  
  /* Lade-Animation */
  body.desktop-view.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  body.desktop-view:not(.loading) {
    opacity: 1;
  }
  
  /* Video-Container für Hero-Section */
  body.desktop-view .hero-section .video-container {
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    max-width: 1000px;
    background-color: #000;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: none;
    visibility: hidden;
    opacity: 0;
  }
  
  /* Hero Section mit Video */
  body.desktop-view .hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Special Title für Desktop-Ansicht */
  body.desktop-view .special-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }

  /* Scroll-Indicator Styles */
  body.desktop-view .mobile-scroll-indicator {
    position: relative;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }
  
  body.desktop-view .scroll-text {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
  }
  
  body.desktop-view .arrow-down {
    animation: bounce 2s infinite;
  }
  
  /* Content Section Visibility */
  body.desktop-view .content-section {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  body.desktop-view .content-section.visible {
    opacity: 1;
    visibility: visible;
  }
  
  /* Feature Section Layout */
  body.desktop-view .feature-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  
  /* Hauptvideo über den Feature-Boxen */
  body.desktop-view .video-container.main-video {
    width: 100%;
    max-width: none;
    margin-bottom: 30px;
    padding-top: 42%; /* Angepasstes Seitenverhältnis */
  }
  
  body.desktop-view .feature-item {
    width: 48%;
    background: rgba(0, 30, 60, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  body.desktop-view .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Zentrierte Feature-Box */
  body.desktop-view .centered-feature {
    width: 48%;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Feature Images */
  body.desktop-view .feature-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
  }
  
  body.desktop-view .feature-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  /* Feature Info Text */
  body.desktop-view .feature-info {
    padding: 20px;
    color: white;
    text-align: center;
  }
  
  body.desktop-view .feature-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    letter-spacing: 1px;
    position: relative;
  }
  
  body.desktop-view .feature-info h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
  }
  
  body.desktop-view .feature-info h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 8px;
  }
  
  body.desktop-view .feature-info p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
  }
  
  /* Revolutionary Content Section */
  body.desktop-view .revolutionary-content, 
  body.desktop-view .studies-content {
    background: rgba(0, 30, 60, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    color: white;
  }
  
  /* Überschriften in dunklen Boxen */
  body.desktop-view .revolutionary-content .section-title,
  body.desktop-view .studies-content .section-title {
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 15px;
    width: 100%;
    font-size: 2.2rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  /* Study Cards */
  body.desktop-view .study-card {
    background: rgba(0, 30, 60, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* AI Assistant Box */
  body.desktop-view .ai-assistant-box, 
  body.desktop-view .ai-box {
    background: rgba(0, 30, 60, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Überschriften in der AI Box */
  body.desktop-view .ai-assistant-box .section-title,
  body.desktop-view .ai-box .section-title,
  body.desktop-view .ai-assistant-box h2,
  body.desktop-view .ai-box h2 {
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 15px;
    width: 100%;
    font-size: 2.4rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  body.desktop-view .ai-assistant-box h3 {
    font-size: 1.6rem;
  }
  
  body.desktop-view .ai-info {
    flex: 1;
    padding-right: 20px;
  }
  
  body.desktop-view .ai-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: white;
  }
  
  body.desktop-view .ai-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  body.desktop-view .ai-features li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }
  
  body.desktop-view .ai-features li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.1rem;
  }
  
  /* Antwortbereich für KI auf Desktop anpassen */
  body.desktop-view .response-box .response-text p,
  body.desktop-view .response-box .response-text li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
  }
}

/* Mini Player für Desktop - außerhalb des Media Queries */
body.desktop-view .mini-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 200px;
  height: 112px; /* 16:9 Aspect Ratio */
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 99;
  display: none;
  transition: all 0.3s ease;
}

body.desktop-view .mini-player:hover {
  transform: scale(1.05);
}

body.desktop-view .mini-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

body.desktop-view .mini-player-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 12px;
  padding: 5px;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

/* Video Container Normal View */
body.desktop-view .video-container.normal-view {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 0;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  margin: 0 auto 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  z-index: 5;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.desktop-view .video-container.normal-view iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

body.desktop-view .video-container.normal-view .video-close-btn {
  display: block;
}

body.desktop-view .video-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: all 0.3s ease;
}

body.desktop-view .video-close-btn:hover {
  background: rgba(255, 0, 0, 0.6);
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Additional desktop-specific styles */
body.desktop-view .section-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  color: white;
  text-align: center;
}

body.desktop-view .section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

body.desktop-view .text-center {
  text-align: center;
}

body.desktop-view .study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.desktop-view .study-card {
  background: rgba(0, 30, 60, 0.7);
  backdrop-filter: blur(10px);
}

body.desktop-view .study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body.desktop-view .study-icon {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 15px;
  text-align: center;
}

body.desktop-view .study-card h3 {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  text-align: center;
}

body.desktop-view .study-source {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-top: 10px;
  text-align: right;
}

body.desktop-view .website-link {
  text-align: center;
  margin: 20px auto;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.desktop-view .website-link a {
  display: inline-block;
  padding: 8px 16px;
  background-color: transparent;
  color: white;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

body.desktop-view .website-link a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.desktop-view section {
  padding: 40px 0;
  margin-bottom: 20px;
  position: relative;
}

body.desktop-view .studies-section {
  padding-top: 60px;
  margin-top: 40px;
}

body.desktop-view .power-section {
  padding-top: 20px;
  margin-top: 0;
}

body.desktop-view .power-section .container {
  padding-top: 20px;
}

body.desktop-view .question-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}

body.desktop-view .question-banner:hover {
  transform: scale(1.05);
}

body.desktop-view .questions-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.desktop-view .questions-modal.active {
  opacity: 1;
  visibility: visible;
}

body.desktop-view .questions-content {
  background: rgba(0, 30, 60, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  max-width: 800px;
  width: 80%;
  padding: 40px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

body.desktop-view .questions-modal.active .questions-content {
  transform: translateY(0);
}

body.desktop-view .questions-content h2 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

body.desktop-view .questions-content h3 {
  font-size: 1.6rem;
  color: white;
  margin: 25px 0 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

body.desktop-view .questions-content p {
  font-size: 1.1rem;
  color: white;
  line-height: 1.6;
  margin: 15px 0;
}

body.desktop-view .questions-content .ai-features {
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.desktop-view .questions-content .ai-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

body.desktop-view .modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: all 0.3s ease;
}

body.desktop-view .modal-close:hover {
  background: rgba(255, 0, 0, 0.6);
  opacity: 1;
}

body.desktop-view .info-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--accent-color);
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

body.desktop-view .info-button:hover {
  background: var(--gold-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.desktop-view .info-button i {
  margin-right: 8px;
}

body.desktop-view .ai-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.desktop-view .ai-cta-image {
  max-width: 250px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

body.desktop-view .ai-assistant-box .ai-toggle-button,
body.desktop-view .ai-cta .ai-toggle-button {
  padding: 12px 24px;
  margin-top: 15px;
}

/* Spezielle Media Queries innerhalb der Desktop-Ansicht */
@media (min-width: 1024px) and (max-width: 1200px) {
  body.desktop-view .study-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  body.desktop-view .ai-assistant-intro-container {
    gap: 30px;
  }
}

@media (min-width: 1201px) {
  body.desktop-view .container {
    max-width: 1180px;
  }
  
  body.desktop-view .hero-section .video-container {
    max-width: 1080px;
  }
}

/* Preload Hints für kritische Bilder */
head::after {
  content: '';
  display: none;
  background-image: image-set(
    url('../images/green.webp') type('image/webp'),
    url('../images/green.png'),
    url('../images/lumi-sabine-breit.avif') type('image/avif'),
    url('../images/lumi-sabine-breit.webp') type('image/webp'),
    url('../images/lumi-sabine-breit.jpeg')
  );
} 