/* Mobile card ordering styles */
@media (max-width: 767px) {
  .pricing-cards-container {
    display: flex !important;
    flex-direction: column !important;
  }
  .pricing-cards-container > div:nth-child(2) {
    order: 1 !important;
  }
  .pricing-cards-container > div:nth-child(1) {
    order: 2 !important;
  }
  .pricing-cards-container > div:nth-child(3) {
    order: 3 !important;
  }
}

/* Ensure grid layout is preserved on desktop */
@media (min-width: 768px) {
  .pricing-cards-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .pricing-cards-container > div:nth-child(1) {
    order: unset !important;
  }
  .pricing-cards-container > div:nth-child(2) {
    order: unset !important;
  }
  .pricing-cards-container > div:nth-child(3) {
    order: unset !important;
  }
}

/* Base styles */
body {
  font-family: 'Segoe UI', Roboto, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #ffffff;
  line-height: 1.6;
}

.hero {
  position: relative;
  color: #333;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

/* Aurora Background Effect */
.aurora-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  mask-image: radial-gradient(
    ellipse at 50% 50%,
    black 30%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 50%,
    black 30%,
    transparent 80%
  );
}

.aurora-inner {
  position: absolute;
  inset: -10px;
  background-image: repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.8) 7%,
      transparent 12%,
      transparent 6%,
      rgba(255, 255, 255, 0.8) 16%
    ),
    repeating-linear-gradient(
      100deg,
      #3182ce 10%,
      #6366f1 15%,
      #60a5fa 20%,
      #a78bfa 25%,
      #3b82f6 30%
    );
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(10px);
  opacity: 0.1;
  pointer-events: none;
  will-change: transform;
  transition-opacity: 300ms ease-in-out;
  animation: aurora 60s linear infinite;
}

@keyframes aurora {
  from {
    background-position: 50% 50%, 50% 50%;
  }
  to {
    background-position: 350% 50%, 350% 50%;
  }
}

.aurora-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.8) 0%,
      transparent 0%,
      transparent 2%,
      rgba(255, 255, 255, 0.8) 0%
    ),
    repeating-linear-gradient(
      100deg,
      #3182ce 10%,
      #6366f1 15%,
      #60a5fa 20%,
      #a78bfa 25%,
      #3b82f6 30%
    );
  background-size: 200%, 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: aurora 60s linear infinite;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-flex {
  display: flex;
  gap: 3rem;
  padding: 2rem 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  height: 100%;
}

.hero-subtitle-container {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  width: 100%;
}

.hero-title {
  font-size: 4.2rem;
  max-width: 44rem;
  letter-spacing: -0.05em;
  text-align: center;
  font-weight: 400;
  margin: 0 auto;
}

.hero-title-highlight {
  color: #000000;
  font-weight: 500;
}

.animated-word-container {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
  overflow: visible;
  text-align: center;
  padding: 0.5rem 0 1.5rem 0;
  min-height: 7rem;
  margin: 0.5rem 0;
}

.animated-word {
  position: absolute;
  font-weight: 700;
  opacity: 0;
  transform: translateY(3rem);
  transition: all 0.5s ease;
  color: #004691;
  font-size: 110%;
  text-shadow: 0 1px 2px rgba(0, 70, 145, 0.1);
}

.animated-word.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: #666;
  max-width: 40rem;
  text-align: center;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-primary {
  background: #ffffff49;
  color: #004691;
  border: 1px solid #004691;
  box-shadow: 0 6px 15px rgba(43, 108, 176, 0.3);
}

.btn-primary:hover {
  background: #004691;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(43, 172, 176, 0.4);
}

.btn-outline {
  background: transparent;
  color: #1e5799;
  border: 1px solid #1e5799;
}

.btn-outline:hover {
  background: rgba(30, 87, 153, 0.1);
  transform: translateY(-2px);
}

.icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
}

.story-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.story-text {
  flex: 1;
  min-width: 300px;
}

.story-image {
  flex: 1;
  min-width: 300px;
  background: #ddd;
  height: 300px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #666;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.feature-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.feature-box h3 {
  margin-top: 0;
  color: #1e5799;
}

.how-it-works {
  background: #f0f4f8;
  padding: 60px 20px;
  margin: 60px 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1e5799;
  color: white;
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: bold;
}

.testimonials {
  background: #f0f4f8;
  padding: 60px 20px;
  text-align: center;
  margin: 60px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.testimonial-author {
  font-weight: bold;
  margin-top: 20px;
  color: #1e5799;
}

.pricing-section {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.price-tag {
  font-size: 3rem;
  color: #1e5799;
  margin: 20px 0;
}

.price-description {
  max-width: 600px;
  margin: 0 auto 30px;
}

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.guarantee-icon {
  font-size: 2rem;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 0;
    min-height: auto;
  }
  .hero-container {
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.2rem;
    max-width: 100%;
    padding: 0 10px;
  }
  .aurora-bg {
    opacity: 0.5;
  }
  .story-section {
    flex-direction: column;
  }
  .story-image {
    order: -1;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .animated-word-container {
    min-height: 3.2rem;
    padding: 0 0 0.4rem 0;
    margin: 0.2rem 0;
  }
  .hero-flex {
    gap: 1rem;
    padding: 0;
    height: auto;
    width: 100%;
  }
  .hero-subtitle-container {
    width: 100%;
    padding: 0;
    margin: 0 0 0.5rem 0;
  }
  .hero-image-container {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0;
  }
  .hero-device-image {
    border-radius: 0;
    width: 100%;
  }
}

/* Hide hero buttons on screens smaller than 1440px */
@media (max-width: 1440px) {
  .hero-buttons {
    display: none;
  }
}

.gallery-section {
  width: 100%;
  padding: 60px 0;
  background-color: #fff;
}

.gallery-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 48px;
}

.badge {
  display: inline-block;
  border: 1px solid #1e5799;
  color: #1e5799;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 8px 0;
}

.gallery-description {
  max-width: 700px;
  color: #666;
  font-size: 1.125rem;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

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

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-card {
  overflow: hidden;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-image-container {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-content {
  padding: 16px;
}

.gallery-item-title {
  font-weight: 500;
  margin: 0 0 4px 0;
}

.gallery-category {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.testimonials-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}

.avatar-group {
  display: flex;
  margin-bottom: 16px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

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

.satisfied-clients {
  color: #666;
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  gap: 8px;
}

@media (min-width: 640px) {
  .subscribe-form {
    flex-direction: row;
  }
}

.email-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.subscribe-button {
  padding: 10px 20px;
}

.bento-section {
  width: 100%;
  padding: 60px 0 50px 0;
  background-color: #fff;
}

.bento-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 48px;
}

.bento-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 8px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile styles für Bento-Titel */
@media (max-width: 768px) {
  .bento-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
}

.bento-description {
  max-width: 700px;
  color: #666;
  font-size: 1.125rem;
  line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(280px, auto);
  position: relative;
}

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

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento-span-2 {
    grid-column: span 2;
  }
}

.bento-card {
  overflow: hidden;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.bento-card-inner {
  padding: 0.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  justify-content: space-between;
}

/* Neues Layout für bento-span-2 Karten mit Bild */
.bento-span-2 .bento-card-inner {
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.bento-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Content anpassen für Karten mit vertikalem Layout und Bild */
.bento-card-inner.with-image .bento-content {
  flex: 0 1 auto;
  max-height: 65%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bento-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-image img,
.bento-image video {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Video container styling */
.video-container {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Hero video styling */
.hero-video-container {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-video-container video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .bento-span-2 .bento-card-inner {
    flex-direction: column;
  }

  .bento-image {
    max-width: 100%;
    margin-top: 15px;
  }

  /* Verbesserte Darstellung für mobile Ansicht */
  .bento-card-inner {
    padding: 16px;
  }

  .bento-card .bento-card-inner.with-image .bento-image {
    min-height: 100px;
    max-height: none;
    width: 100%;
  }
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(30, 87, 153, 0.03) 1px,
    transparent 1px
  );
  background-size: 10px 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background-color: rgba(30, 87, 153, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: background-color 0.3s ease;
}

.bento-card:hover .bento-icon {
  background-color: rgba(30, 87, 153, 0.1);
}

.bento-item-title {
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #333;
  font-size: 1.25rem;
}

.bento-item-description {
  color: #666;
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.bento-tag {
  background-color: #eef1f8;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.875rem;
  color: #1e5799;
  transition: all 0.3s ease;
  font-weight: 500;
}

.bento-card:hover .bento-tag {
  background-color: rgba(30, 87, 153, 0.1);
}

.bento-cta {
  display: block;
  margin-top: 16px;
  text-align: right;
  color: #1e5799;
  font-weight: 500;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-cta {
  opacity: 1;
  transform: translateX(0);
}

.faq-section {
  padding: 60px 0;
  background-color: #fff;
}

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.faq-left {
  flex: 1;
  min-width: 300px;
}

.faq-right {
  flex: 1;
  min-width: 300px;
}

.faq-content {
  text-align: center;
}

.faq-header {
  margin-bottom: 20px;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 8px 0;
}

.faq-description {
  max-width: 700px;
  color: #666;
  font-size: 1.125rem;
  line-height: 1.7;
}

.faq-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: #1e5799;
  border: 1px solid #1e5799;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.faq-contact-btn:hover {
  background: rgba(30, 87, 153, 0.1);
}

.accordion {
  max-width: 600px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 16px;
}

.accordion-content-inner {
  margin: 0;
  padding: 0 0 16px 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-trigger {
  font-weight: 500;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.accordion-trigger:hover {
  color: #1e5799;
}

@media (max-width: 768px) {
  .faq-grid {
    flex-direction: column;
  }
  .faq-left,
  .faq-right {
    width: 100%;
  }
}

.hero-image-container {
  margin-top: 2rem;
  max-width: 100%;
  width: 90%;
  display: flex;
  justify-content: center;
}

.hero-device-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 0 transparent;
  transform: perspective(1000px) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-device-image:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-5px);
  box-shadow: 0 0 0 transparent;
}

@media (max-width: 768px) {
  .hero-device-image {
    transform: none;
    transition: none;
  }
  .hero-device-image:hover {
    transform: none;
  }
}

/* Marquee Animation Styles */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes marquee2 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

.animate-marquee {
  animation: marquee 25s linear infinite;
}

.animate-marquee2 {
  animation: marquee2 25s linear infinite;
}

/* Badge styles */
.badge {
  display: inline-block;
  border: 1px solid #1e5799;
  color: #1e5799;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5568;
  background-color: #f7fafc;
  margin-bottom: 1rem;
}

/* Testimonial styles */
.testimonial-card p {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  text-align: left;
  line-height: 1.5;
}

/* Force line breaks in testimonials */
[class*='rounded-xl'] p.text-sm {
  white-space: pre-line;
}

/* Testimonial styles */
.flex-col p.text-sm {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.5;
  text-align: left;
  display: block;
}

/* Force line breaks in testimonials */
[class*='rounded-xl'] p.text-sm {
  white-space: pre-line;
}

/* Ensure equal height for all testimonial cards */
.testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Fix spacing between testimonial cards */
.animate-marquee > div,
.animate-marquee2 > div {
  margin-right: 2rem;
}

.sparkles-section {
  position: relative;
  height: 40rem;
  width: 100%;
  background-color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
}

#sparkles-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sparkles-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.sparkles-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  transition: all 0.3s ease-in-out;
}

.sparkles-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sparkles-title {
    font-size: 5rem;
  }

  .sparkles-subtitle {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .sparkles-title {
    font-size: 7rem;
  }

  .sparkles-subtitle {
    font-size: 2rem;
  }
}

/* Lamp component styles */
.lamp-container {
  position: relative;
  display: flex;
  min-height: 70vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0f172a;
  width: 100%;
  z-index: 0;
  border-radius: 0.375rem;
}

/* Mobile styles for lamp component */
@media (max-width: 768px) {
  .lamp-container {
    height: 500px;
    min-height: auto;
    border-radius: 0;
  }
}

.lamp-inner {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transform: scaleY(1);
  align-items: center;
  justify-content: center;
  isolation: isolate;
  z-index: 0;
}

.lamp-glow-right {
  position: absolute;
  inset: auto;
  right: 50%;
  height: 14rem;
  overflow: visible;
  width: 30rem;
  background: conic-gradient(
    from 70deg at center top,
    #06b6d4,
    transparent,
    transparent
  );
  color: white;
  animation: none;
  opacity: 0.5;
}

.lamp-glow-right.animate {
  animation: expandWidth 1s ease-in-out forwards;
}

.lamp-glow-left {
  position: absolute;
  inset: auto;
  left: 50%;
  height: 14rem;
  width: 30rem;
  background: conic-gradient(
    from 290deg at center top,
    transparent,
    transparent,
    #06b6d4
  );
  color: white;
  animation: none;
  opacity: 0.5;
}

.lamp-glow-left.animate {
  animation: expandWidth 1s ease-in-out 0s forwards;
}

.lamp-mask-bottom {
  position: absolute;
  width: 100%;
  left: 0;
  background-color: #0f172a;
  height: 10rem;
  bottom: 0;
  z-index: 20;
  mask-image: linear-gradient(to top, white, transparent);
  -webkit-mask-image: linear-gradient(to top, white, transparent);
}

.lamp-mask-left {
  position: absolute;
  width: 10rem;
  height: 100%;
  left: 0;
  background-color: #0f172a;
  bottom: 0;
  z-index: 20;
  mask-image: linear-gradient(to right, white, transparent);
  -webkit-mask-image: linear-gradient(to right, white, transparent);
}

.lamp-mask-right {
  position: absolute;
  width: 10rem;
  height: 100%;
  right: 0;
  background-color: #0f172a;
  bottom: 0;
  z-index: 20;
  mask-image: linear-gradient(to left, white, transparent);
  -webkit-mask-image: linear-gradient(to left, white, transparent);
}

.lamp-blur {
  position: absolute;
  top: 50%;
  height: 12rem;
  width: 100%;
  transform: translateY(3rem) scaleX(1.5);
  background-color: #0f172a;
  filter: blur(1rem);
}

.lamp-backdrop {
  position: absolute;
  top: 50%;
  z-index: 50;
  height: 12rem;
  width: 100%;
  background-color: transparent;
  opacity: 0.1;
  backdrop-filter: blur(0.5rem);
}

.lamp-glow-center {
  position: absolute;
  inset: auto;
  z-index: 50;
  height: 9rem;
  width: 28rem;
  transform: translateY(-50%);
  border-radius: 9999px;
  background-color: #06b6d4;
  opacity: 0.5;
  filter: blur(1.5rem);
}

.lamp-glow-orb {
  position: absolute;
  inset: auto;
  z-index: 30;
  height: 9rem;
  width: 16rem;
  transform: translateY(-6rem);
  border-radius: 9999px;
  background-color: #22d3ee;
  filter: blur(1rem);
  animation: none;
}

.lamp-glow-orb.animate {
  animation: expandOrbWidth 1s ease-in-out 0.2s forwards;
}

.lamp-line {
  position: absolute;
  inset: auto;
  z-index: 50;
  height: 0.125rem;
  width: 30rem;
  transform: translateY(-7rem);
  background-color: #22d3ee;
  animation: none;
}

.lamp-line.animate {
  animation: expandLineWidth 2s ease-in-out 0.5s forwards;
}

.lamp-shade-top {
  position: absolute;
  inset: auto;
  z-index: 40;
  height: 11rem;
  width: 100%;
  transform: translateY(-12.5rem);
  background-color: #0f172a;
}

.lamp-content {
  position: relative;
  z-index: 50;
  display: flex;
  transform: translateY(7rem);
  flex-direction: column;
  align-items: center;
  padding: 0 1.25rem;
}

.lamp-heading {
  margin-top: 2rem;
  background-image: linear-gradient(to bottom right, #e2e8f0, #64748b);
  padding: 1rem 0;
  background-clip: text;
  -webkit-background-clip: text;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: transparent;
  opacity: 0;
  transform: translateY(6.25rem);
  animation: none;
}

.lamp-heading.animate {
  animation: fadeInUp 2s ease-in-out 0.3s forwards;
}

@media (min-width: 768px) {
  .lamp-heading {
    font-size: 4.5rem;
  }
}

@keyframes expandWidth {
  from {
    opacity: 0.5;
    width: 15rem;
  }
  to {
    opacity: 1;
    width: 30rem;
  }
}

@keyframes expandOrbWidth {
  from {
    width: 8rem;
  }
  to {
    width: 16rem;
  }
}

@keyframes expandLineWidth {
  from {
    width: 15rem;
  }
  to {
    width: 30rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0.5;
    transform: translateY(6.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom colors for animated words */
#word-1 {
  color: #14ed2d;
}

#word-2 {
  color: #3b82f6;
}

#word-3 {
  color: #8b5cf6;
}

/* Anpassung für normale Karten mit Bild */
.bento-card .bento-card-inner.with-image .bento-image {
  max-width: 100%;
  width: 100%;
  margin-top: 15px;
  min-height: 120px;
  overflow: hidden;
  flex: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Neue Klasse für horizontales Layout (links Text, rechts Bild) */
.bento-card.horizontal .bento-card-inner {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.bento-card.horizontal .bento-content {
  flex: 1;
}

.bento-card.horizontal .bento-image {
  max-width: 45%;
  height: auto;
  min-height: 160px;
  margin-top: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .bento-card.horizontal .bento-card-inner {
    flex-direction: column;
  }

  .bento-card.horizontal .bento-image {
    max-width: 100%;
    margin-top: 20px;
    min-height: 120px;
    height: auto;
  }
}

.bento-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Mobile styles für Bilder */
@media (max-width: 768px) {
  .bento-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 200px;
    border-radius: 0;
    margin: 0;
    padding: 0;
  }

  .bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  /* Ensure cards with images display properly */
  .bento-card-inner.with-image {
    padding: 0;
  }

  .bento-card-inner.with-image .bento-content {
    padding: 15px;
  }
}

/* Fix für einheitliche Kartenhöhen */
@media (min-width: 1024px) {
  .bento-card:not(.bento-span-2) {
    height: 280px;
  }
}

/* Feinabstimmung für die Inhalte */
.bento-item-description {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Dafür sorgen, dass die Beschreibung nicht zu viel Raum einnimmt */
.bento-card-inner.with-image .bento-item-description {
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Special class for the specific images mentioned */
.full-width-img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 768px) {
  .full-width-img {
    border-radius: 0 !important;
    max-height: none !important;
    min-height: auto !important;
  }
}

/* Verbesserte Textbegrenzung für mobile Ansicht */
@media (max-width: 768px) {
  .bento-item-description {
    font-size: 0.9rem;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 3.8em;
  }

  .bento-span-2 .bento-item-description {
    -webkit-line-clamp: 2;
    max-height: 2.8em;
  }

  /* Optimierte Höhe für span-2 Karten in mobiler Ansicht */
  .bento-span-2 {
    height: auto;
    max-height: none;
  }

  .bento-span-2 .bento-content {
    flex: 0 1 auto;
  }
}

.lamp-heading.animate {
  animation: fadeInUp 2s ease-in-out 0.3s forwards;
}

/* Pricing card consistent styling */
.pricing-card {
  transition: all 0.3s ease;
  height: auto !important;
  min-height: 520px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Mobile-specific height */
@media (max-width: 768px) {
  .pricing-card {
    height: 630px !important;
  }
}

/* Ensure content area takes same space */
.pricing-card ul {
  flex: 0 0 auto !important;
  margin-bottom: 15px !important;
}

/* Optimize spacing in pricing cards */
.pricing-card p {
  margin-bottom: 10px !important;
}

/* Reduce space between pricing sections */
.pricing-card > div:not(:last-child) {
  margin-bottom: 10px !important;
}

/* Make checkout buttons align at bottom */
.pricing-card .checkout-button {
  margin-top: auto !important;
}

/* Swipeable pricing cards for mobile */
@media (max-width: 768px) {
  /* Ensure all pricing cards have consistent padding */
  .pricing-card {
    padding: 20px !important;
    box-sizing: border-box !important;
  }

  .pricing-cards-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 16px;
    padding: 10px 0;
    padding-left: calc(50% - 150px);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    justify-content: flex-start;
  }

  .pricing-cards-container::-webkit-scrollbar {
    display: none;
  }

  .pricing-cards-container > div {
    flex: 0 0 85% !important;
    min-width: 85% !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
    float: none !important;
    margin-right: 16px;
    width: 85% !important;
    display: block !important;
    min-height: 620px !important;
    height: auto !important;
  }

  /* Pricing cards indicators */
  .pricing-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 5px;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 10;
    text-align: center;
    left: 0;
    right: 0;
  }

  .pricing-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
    margin: 0 8px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
  }

  /* Add a larger hit area for mobile taps */
  .pricing-indicator::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: 1;
  }

  .pricing-indicator.active {
    background-color: #004691 !important;
    width: 14px;
    height: 14px;
    transform: scale(1.1);
  }
}

/* Swipe indicator for pricing cards on mobile */
.swipe-indicator {
  position: absolute;
  top: 50%;
  left: calc(50% + 120px);
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
  pointer-events: none;
  animation: swipeAnimation 1.5s infinite;
  opacity: 0;
  display: none;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .swipe-indicator {
    opacity: 1;
    display: flex;
  }

  .swipe-indicator svg {
    width: 24px;
    height: 24px;
    color: #004691;
  }

  @keyframes swipeAnimation {
    0% {
      transform: translateY(-50%) translateX(0);
      opacity: 1;
    }
    50% {
      transform: translateY(-50%) translateX(-10px);
      opacity: 0.7;
    }
    100% {
      transform: translateY(-50%) translateX(0);
      opacity: 1;
    }
  }

  /* Ensure pricing cards are well aligned in all views */
  .pricing-cards-container {
    align-items: stretch !important;
  }
}

/* Button sichtbar machen */
.btn.btn-primary.checkout-button {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .lamp-heading {
    font-size: 4.5rem;
  }
}

/* Mobile styles für animierte Wörter */
@media (max-width: 768px) {
  .animated-word-container {
    min-height: 4rem;
  }
  .animated-word {
    font-size: 0.9em;
  }
}

/* Fixed Banner Styles */
.banner-content {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.025em;
  white-space: nowrap;
  animation: bottom-banner-scroll 30s linear infinite;
  display: flex;
}

.banner-text {
  padding-right: 5rem;
  flex-shrink: 0;
}

@keyframes bottom-banner-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}