/* ================================================
   STARTSEITE — Extrahiert aus mockups/astromantie-v4-final-v2.jsx
   ================================================ */

/* ===== HERO SECTION ===== */
.astro-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 48px 100px;
  background: var(--astro-hero-grad);
  transition: background 0.5s;
  min-height: 600px;
}

.astro-hero-parallax {
  position: absolute;
  inset: 0;
  will-change: transform;
  pointer-events: none;
}

.astro-hero-nebula {
  position: absolute;
  border-radius: 50%;
  animation: nebulaFloat 12s ease-in-out infinite;
}

.astro-hero-nebula:nth-child(2) {
  animation-duration: 15s;
  animation-delay: 3s;
}

.astro-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Left — Text Content (padding-top zentriert Text zum Formular, verhindert CLS) */
.astro-hero-grid > div:first-child {
  padding-top: 177px;
}

.astro-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--astro-gold-line);
  background: rgba(232,201,106,0.08);
  margin-bottom: 40px;
}

body.astro-light-theme .astro-hero-badge {
  background: rgba(201,168,76,0.06);
}

.astro-hero-badge-icon {
  font-size: 11px;
  color: var(--astro-gold-star);
}

.astro-hero-badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--astro-gold-star);
}

.astro-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: var(--astro-hero-title-color);
  transition: color 0.5s;
}

.astro-hero-title-highlight {
  font-weight: 600;
  background: linear-gradient(135deg, #a78bfa, #efd35c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body.astro-light-theme .astro-hero-title-highlight {
  background: linear-gradient(135deg, #c9a227, #8b6914);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.astro-hero-desc {
  font-size: 16px;
  color: var(--astro-text);
  line-height: 1.8;
  max-width: 480px;
  transition: color 0.5s;
  margin-bottom: 36px;
}

body.astro-light-theme .astro-hero-desc {
  color: var(--astro-text-mid);
}

/* Trust Bullets */
.astro-hero-bullets {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.astro-hero-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
}

.astro-hero-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--astro-gold);
}

.astro-hero-bullet-text {
  font-size: 13px;
  color: var(--astro-text);
  font-weight: 500;
}

body.astro-light-theme .astro-hero-bullet-text {
  color: var(--astro-text-mid);
}

/* Social Proof */
.astro-hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  width: fit-content;
}

body.astro-light-theme .astro-hero-social-proof {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.12);
}

.astro-hero-stars {
  display: flex;
  gap: 2px;
  color: var(--astro-gold);
  font-size: 13px;
}

.astro-hero-rating {
  font-size: 13px;
  font-weight: 600;
  color: var(--astro-gold-star);
}

body.astro-light-theme .astro-hero-rating {
  color: var(--astro-accent-dark);
}

.astro-hero-count {
  font-size: 12px;
  color: var(--astro-text);
}

body.astro-light-theme .astro-hero-count {
  color: var(--astro-text-mid);
}

/* Hero Right — Form Card */
.astro-hero-form-wrapper {
  position: relative;
  overflow: visible;
}

/* CLS-Fix: Outer-Glow als Pseudo-Element statt echtes Div */
.astro-hero-form-outer-glow {
  display: none !important;
}

.astro-hero-form-wrapper::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 28px;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 0 30px rgba(124,58,237,0.15), 0 0 60px rgba(124,58,237,0.08);
  animation: formGlowPulse 4s ease-in-out infinite;
}

body.astro-light-theme .astro-hero-form-wrapper::before {
  box-shadow: 0 0 25px rgba(201,168,76,0.12), 0 0 50px rgba(232,201,106,0.08), 0 0 80px rgba(201,168,76,0.04);
  animation: goldPulse 5s ease-in-out infinite;
}

/* Flower of Life */
.astro-flower-of-life {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  animation: auraRotate 30s linear infinite, flowerBreathe 6s ease-in-out infinite;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: 0;
}

/* Flower of Life: Light Mode golden stroke */
body.astro-light-theme .astro-flower-of-life svg g {
  stroke: rgba(193,160,50,0.65);
}

body.astro-light-theme .astro-flower-of-life svg g circle {
  stroke: rgba(193,160,50,0.5);
}

/* Form Starfield */
.astro-form-starfield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body.astro-light-theme .astro-form-starfield {
  display: none;
}

/* Form Grid */
.astro-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.astro-form-row + .astro-form-row,
.astro-form-row + .astro-form-field {
  margin-top: 12px;
}

.astro-form-field + .astro-form-row {
  margin-top: 12px;
}

.astro-form-field {
  margin-top: 12px;
}

/* Hand Photo Section */
.astro-hand-section {
  margin-top: 18px;
}

.astro-hand-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--astro-text-mid);
  margin-bottom: 8px;
  display: block;
}

.astro-hand-info {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--astro-text-mid);
  line-height: 1.6;
}

body.astro-light-theme .astro-hand-info {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.15);
}

/* Pflichtfeld-Sternchen */
.astro-required {
  color: var(--astro-accent);
  font-weight: 700;
  margin-left: 1px;
}

/* Beispielbilder Toggle */
.astro-example-toggle {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--astro-accent);
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s;
}
.astro-example-toggle:hover { opacity: 0.75; }

/* Beispielbilder Grid */
.astro-example-grid {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.astro-example-item {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.astro-example-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid rgba(124,58,237,0.2);
  transition: transform 0.2s, border-color 0.2s;
}
.astro-example-thumb:hover {
  transform: scale(1.04);
  border-color: var(--astro-accent);
}
body.astro-light-theme .astro-example-thumb {
  border-color: rgba(201,168,76,0.25);
}
body.astro-light-theme .astro-example-thumb:hover {
  border-color: var(--astro-accent);
}

.astro-example-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: var(--astro-text-mid);
  margin-top: 4px;
  line-height: 1.3;
}
.astro-example-label::first-letter {
  color: #4ade80;
}

.astro-hand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Partner Form Divider */
.astro-form-person-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--astro-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.astro-form-partner-divider {
  height: 1px;
  background: var(--astro-surface-border);
  margin: 4px 0 20px;
  position: relative;
}

.astro-form-partner-divider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--astro-form-bg);
  padding: 4px 14px;
  font-size: 14px;
}

/* Firma Info Box */
.astro-firma-info {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: var(--astro-subtle-bg);
  border: 1px solid var(--astro-surface-border);
  font-size: 11px;
  color: var(--astro-text-mid);
  line-height: 1.6;
}

/* Privacy + CTA Section */
.astro-form-privacy {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.astro-form-ctas {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== TRUST BAR ===== */
.astro-trust-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 48px;
  border-top: 1px solid var(--astro-surface-border);
  border-bottom: 1px solid var(--astro-surface-border);
  flex-wrap: wrap;
  transition: background 0.5s, border-color 0.5s;
}

.astro-trust-item {
  text-align: center;
}

.astro-trust-number {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  background: linear-gradient(135deg, #e8c96a, #f5e08a, #d4a843);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body.astro-light-theme .astro-trust-number {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #a07c2a;
  color: #a07c2a;
}

.astro-trust-label {
  font-size: 10px;
  color: var(--astro-text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== WAS IST ASTROMANTIE ===== */
.astro-section .astro-section-label {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--astro-accent-dark);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}

.astro-section .astro-section-title {
  font-family: 'Cinzel', serif;
  font-size: 40px;
  color: var(--astro-text);
  margin-bottom: 20px;
  font-weight: 400;
  transition: color 0.5s;
}

.astro-section .astro-section-desc {
  font-size: 16px;
  color: var(--astro-text);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 50px;
  transition: color 0.5s;
}

body.astro-light-theme .astro-section .astro-section-desc {
  color: var(--astro-text-mid);
}

/* Two-column card grid */
.astro-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.astro-info-card {
  padding: 32px;
  border-radius: 18px;
  text-align: center;
  background: var(--astro-card-surface);
  border: 1px solid var(--astro-surface-border);
  transition: background 0.5s, border-color 0.5s;
}

.astro-info-card-emoji {
  font-size: 32px;
  margin-bottom: 12px;
}

.astro-info-card-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--astro-text);
  margin-bottom: 6px;
  font-weight: 500;
}

.astro-info-card-meta {
  font-size: 12px;
  color: var(--astro-accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.astro-info-card-desc {
  font-size: 14px;
  color: var(--astro-text);
  line-height: 1.7;
  margin: 0;
}

body.astro-light-theme .astro-info-card-desc {
  color: var(--astro-text-mid);
}

/* ===== SCHRITTE SECTION ===== */
.astro-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.astro-step-card {
  padding: 28px;
  border-radius: 18px;
  text-align: left;
  background: var(--astro-card-surface);
  border: 1px solid var(--astro-surface-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.5s, border-color 0.5s;
}

.astro-step-num {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 400;
}

.astro-step-title {
  font-size: 17px;
  color: var(--astro-text);
  margin-bottom: 8px;
  font-weight: 600;
}

.astro-step-desc {
  font-size: 13px;
  color: var(--astro-text-mid);
  line-height: 1.7;
  margin: 0;
}

.astro-step-link {
  color: var(--astro-accent);
  cursor: pointer;
  font-weight: 600;
  border-bottom: 1px dashed var(--astro-accent);
}

/* Photo Guide Tooltip */
.astro-photo-guide {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.15);
  font-size: 12px;
  line-height: 1.7;
  color: var(--astro-text-mid);
}

body.astro-light-theme .astro-photo-guide {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.15);
}

.astro-photo-guide-title {
  font-weight: 700;
  color: var(--astro-accent);
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.astro-photo-guide-step {
  margin-bottom: 6px;
}

.astro-photo-guide-step-num {
  color: var(--astro-gold-star);
  font-weight: 600;
}

body.astro-light-theme .astro-photo-guide-step-num {
  color: var(--astro-accent-dark);
}

/* ===== FEATURES SECTION ===== */
.astro-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.astro-feature-card {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  background: var(--astro-card-surface);
  border: 1px solid var(--astro-surface-border);
  transition: background 0.5s, border-color 0.5s;
}

.astro-feature-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  color: var(--astro-gold);
  transition: color 0.5s;
}

body.astro-light-theme .astro-feature-icon {
  color: var(--astro-accent-dark);
}

.astro-feature-title {
  font-size: 13px;
  color: var(--astro-text);
  margin-bottom: 4px;
  font-weight: 600;
}

.astro-feature-desc {
  font-size: 11px;
  color: var(--astro-accent);
  line-height: 1.5;
  margin: 0;
}

body.astro-light-theme .astro-feature-desc {
  color: #8b6914;
}

/* ===== TESTIMONIALS ===== */
.astro-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.astro-testimonial-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--astro-card-surface);
  border: 1px solid var(--astro-surface-border);
  transition: background 0.5s, border-color 0.5s;
}

.astro-testimonial-text {
  font-size: 14px;
  color: var(--astro-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

body.astro-light-theme .astro-testimonial-text {
  color: var(--astro-text-mid);
}

.astro-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.astro-testimonial-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}

body.astro-light-theme .astro-testimonial-avatar {
  background: linear-gradient(135deg, #c9a84c, #e8c96a);
}

.astro-testimonial-name {
  font-size: 13px;
  color: var(--astro-text);
  font-weight: 600;
}

.astro-testimonial-meta {
  font-size: 11px;
  color: var(--astro-text-dim);
}

/* ===== QUOTE SECTION ===== */
.astro-quote-section {
  padding: 80px 48px;
  text-align: center;
  background: var(--astro-subtle-bg, rgba(124, 58, 237, 0.04));
}

.astro-quote-star {
  font-size: 32px;
  color: #e8c96a;
  margin-bottom: 24px;
  display: block;
}

body.astro-light-theme .astro-quote-star {
  color: #a07c2a;
}

.astro-quote-text {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--astro-text);
  max-width: 700px;
  margin: 0 auto 20px;
  font-style: normal;
  border: none;
  padding: 0;
}

.astro-quote-text strong {
  font-weight: 500;
  background: linear-gradient(135deg, #a78bfa, #e8c96a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.astro-light-theme .astro-quote-text strong {
  background: linear-gradient(135deg, #c9a227, #8b6914);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.astro-quote-attribution {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--astro-text-dim);
}

/* ===== FAQ SECTION (Startseite) ===== */
.astro-faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.astro-faq-item {
  border-bottom: 1px solid var(--astro-surface-border);
  padding: 22px 0;
}

.astro-faq-question {
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--astro-text);
  text-align: left;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
  line-height: 1.4;
}

/* Chevron-Pfeil verstecken, + im runden Kreis anzeigen */
.astro-faq-chevron {
  font-size: 0;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--astro-surface-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.astro-faq-chevron::after {
  content: '+';
  font-size: 16px;
  font-weight: 300;
  color: var(--astro-text-mid);
  transition: all 0.3s;
}

.astro-faq-item.open .astro-faq-chevron {
  background: var(--astro-accent-dark, #7c3aed);
  border-color: var(--astro-accent-dark, #7c3aed);
  transform: rotate(45deg);
}

.astro-faq-item.open .astro-faq-chevron::after {
  color: #fff;
}

.astro-faq-answer {
  display: none;
  padding: 0;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0.1px;
  color: #e8e0f0;
}

body.astro-light-theme .astro-faq-answer {
  color: #5a4d3a;
}

.astro-faq-item.open .astro-faq-answer {
  display: block;
}

/* ===== FAQ "MEHR FRAGEN" LINK ===== */
.astro-faq-more {
  text-align: center;
  margin-top: 32px;
}

.astro-faq-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--astro-text-mid);
  text-decoration: none;
  border: 1px solid var(--astro-surface-border);
  background: transparent;
  transition: all 0.3s;
}

.astro-faq-more-link:hover {
  color: var(--astro-accent);
  border-color: var(--astro-accent);
  background: rgba(124, 58, 237, 0.06);
}

body.astro-light-theme .astro-faq-more-link:hover {
  color: var(--astro-accent-dark, #7c3aed);
  border-color: var(--astro-accent-dark, #7c3aed);
  background: rgba(124, 58, 237, 0.04);
}

.astro-faq-more-link svg {
  transition: transform 0.3s;
}

.astro-faq-more-link:hover svg {
  transform: translateX(3px);
}

/* ===== STEP 02 BEISPIELBILDER LINK ===== */
.astro-step-examples {
  margin-top: 12px;
}

.astro-step-examples-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--astro-accent, #a78bfa);
  transition: opacity 0.2s;
}

.astro-step-examples-btn:hover {
  opacity: 0.8;
}

.astro-step-examples-btn svg {
  opacity: 0.7;
}

/* ===== EXAMPLE PHOTOS GRID ===== */
.astro-example-photo {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(124,58,237,0.12);
  background: rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}

body.astro-light-theme .astro-example-photo {
  border-color: rgba(201,168,76,0.12);
  background: rgba(255,255,255,0.5);
}

.astro-example-photo:hover {
  transform: scale(1.02);
}

.astro-example-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.astro-example-photo-side {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  overflow: hidden;
}

.astro-example-photo-hand {
  font-size: 32px;
  opacity: 0.5;
}

.astro-example-photo-caption {
  padding: 8px 10px;
}

.astro-example-photo-caption-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--astro-text);
}

.astro-example-photo-caption-sub {
  font-size: 10px;
  color: var(--astro-text-mid);
  margin-top: 2px;
}

.astro-example-tip {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(232,201,106,0.06);
  border: 1px solid rgba(232,201,106,0.12);
  font-size: 10px;
  color: var(--astro-text-mid);
  line-height: 1.6;
  text-align: center;
}

body.astro-light-theme .astro-example-tip {
  background: rgba(201,168,76,0.04);
  border-color: rgba(201,168,76,0.1);
}

.astro-example-tip-highlight {
  color: var(--astro-gold-star);
  font-weight: 700;
}

body.astro-light-theme .astro-example-tip-highlight {
  color: var(--astro-accent-dark);
}

/* ===== LIGHTBOX ===== */
.astro-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 32px;
}

.astro-lightbox.open {
  display: flex;
}

.astro-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
}

.astro-lightbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 700px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.astro-lightbox-caption {
  margin-top: 20px;
  text-align: center;
}

.astro-lightbox-caption-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.astro-lightbox-caption-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.astro-lightbox-hint {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ===== STICKY MOBILE CTA ===== */
.astro-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 20px;
  padding-bottom: 16px;
  background: linear-gradient(transparent, rgba(10,10,26,0.97) 30%);
  animation: fadeUp 0.3s ease-out;
}

body.astro-light-theme .astro-sticky-cta {
  background: linear-gradient(transparent, rgba(250,248,244,0.95) 30%);
}

.astro-sticky-cta.visible {
  display: block;
}

.astro-sticky-cta-btn {
  width: 100%;
  padding: 15px 24px;
  border-radius: 12px;
  border: none;
  background: var(--astro-btn-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
  box-shadow: 0 0 24px var(--astro-accent-glow), 0 4px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===== STARFIELD COMPONENT ===== */
.astro-starfield {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.astro-starfield > div {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.astro-starfield svg {
  /* SVGs are now inside a wrapper div for seamless animation */
}

body.astro-light-theme .astro-starfield {
  display: none;
}

/* Seamless star drift: translate3d forces GPU compositing on mobile */
@keyframes starDriftSeamless {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ===== NEBULA BLUR CIRCLES — HIDDEN ===== */
.astro-hero-nebula {
  display: none !important;
}

/* ===== PARALLAX ORBS — HIDDEN ===== */
.astro-parallax-orbs {
  display: none !important;
}

.astro-parallax-orb {
  display: none !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .astro-hero {
    padding: 40px 20px 30px;
    min-height: 400px;
    overflow-x: clip;
  }

  .astro-hero-parallax {
    will-change: auto;
  }

  .astro-hero-form-wrapper::before {
    animation: none;
  }

  .astro-hero-grid > div:first-child {
    padding-top: 0;
  }

  .astro-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    max-width: 100%;
  }

  /* Grid-Items: min-width:0 verhindert dass Grid-Kinder breiter
     als ihre Spalte werden (CSS Grid Default ist min-width:auto) */
  .astro-hero-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .astro-hero-form-wrapper {
    overflow: hidden; /* Clippt Flower of Life + Glow auf Mobile */
  }

  .astro-hero-badge {
    margin: 0 auto 32px;
  }

  .astro-hero-desc {
    text-align: center;
    margin: 0 auto 24px;
  }

  .astro-hero-bullets {
    justify-content: center;
    margin-bottom: 0;
    gap: 10px 28px;
  }

  .astro-hero-social-proof {
    margin: 22px auto 0;
  }

  .astro-firma-info {
    padding: 10px 8px;
  }

  .astro-form-privacy {
    text-align: left;
  }

  .astro-trust-bar {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 32px 16px;
  }

  .astro-trust-number {
    font-size: 24px;
  }

  .astro-trust-label {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .astro-section .astro-section-title {
    font-size: 24px;
  }

  .astro-two-col-grid {
    grid-template-columns: 1fr;
  }

  .astro-info-card {
    padding: 20px;
  }

  .astro-info-card-title {
    font-size: 16px;
  }

  .astro-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .astro-step-card {
    text-align: center;
  }

  .astro-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .astro-feature-card {
    padding: 18px;
  }

  .astro-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .astro-quote-section {
    padding: 60px 20px;
  }

  .astro-quote-text {
    font-size: 18px;
  }

  .astro-faq-question {
    padding: 0;
    font-size: 14px;
  }

  .astro-faq-answer {
    padding: 0;
  }

  .astro-flower-of-life {
    display: none;
  }

  .astro-example-photo-side {
    aspect-ratio: 3/2;
  }

  .astro-example-photo-hand {
    font-size: 22px;
  }
}

/* ===== TAB CONTENT (JS-gesteuert) ===== */
.astro-tab-content {
  display: none;
}

.astro-tab-content[style*="display:block"],
.astro-tab-content[style*="display: block"] {
  display: block;
}

/* JS target spans for price/title update */
.astro-price-display,
.astro-form-title-display {
  /* Inline elements updated by startseite.js */
}

/* Upload Preview Container */
.astro-upload-preview {
  margin-top: 8px;
}

.astro-upload-preview img {
  max-width: 100%;
  border-radius: 8px;
}

/* Lightbox Side Panels */
.astro-lightbox-side {
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}


/* Bild-Lightbox */
.astro-img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.2s ease;
}

.astro-img-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  cursor: default;
}

.astro-img-lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: block;
}

.astro-img-lightbox-caption {
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
}

.astro-img-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.astro-img-lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ================================================
   PRODUKT-KUNDENSTIMMEN AUF /einzelanalyse (18.08.2026)
   Die Seite laedt seit dem Plattform-Umbau startseite.css statt
   einzelanalyse.css. Der Shortcode [astro_kundenstimmen stil="produkt"]
   rendert aber die astro-product-testimonial-Klassen - deshalb hier
   die Regeln aus einzelanalyse.css uebernommen (unveraendert).
   ================================================ */
.astro-product-testimonials {
  padding: 60px 48px;
}

.astro-product-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.astro-product-testimonial {
  padding: 28px;
  border-radius: 16px;
  background: var(--astro-card-surface);
  border: 1px solid var(--astro-surface-border);
}

.astro-product-testimonial-text {
  font-size: 14px;
  color: var(--astro-text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.astro-product-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.astro-product-testimonial-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

body.astro-light-theme .astro-product-testimonial-avatar {
  background: linear-gradient(135deg, #c9a84c, #e8c96a);
}

.astro-product-testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--astro-text);
}

.astro-product-testimonial-meta {
  font-size: 12px;
  color: var(--astro-text-dim);
}

.astro-product-testimonials .astro-section-title {
  font-size: 32px;
}

@media (max-width: 768px) {
  .astro-product-testimonials {
    padding: 40px 20px;
  }

  .astro-product-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .astro-product-testimonials .astro-section-title {
    font-size: 24px;
  }
}
