/* css/styles.css - Sternenpfade Premium Styling */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Brand Colors */
  --c-violet: #2f1155;
  --c-teal: #016395;
  --c-pink: #e23179;
  --c-gold: #fab435;
  --c-white: #ffffff;
  --c-hint: rgba(255, 255, 255, 0.7);
  /* Standardized hint color */
  --c-bg-dark: #120b1e;
  /* Slightly lighter, more refined background */

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Utilities */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);
  --shadow-glow: 0 0 30px rgba(47, 17, 85, 0.5);

  /* Layout */
  --container-width: 1200px;
  --spacing-section: 5rem;
  --spacing-element: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-bg-dark);
  color: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Map */
.cosmic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url('../assets/bg-nebula.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cosmic-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(18, 11, 30, 0.75) 0%, rgba(60, 25, 110, 0.45) 100%);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 4.5rem;
  font-weight: 600;
  background: linear-gradient(to right, var(--c-white), var(--c-gold), var(--c-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  color: var(--c-gold);
}

h3 {
  font-size: 1.75rem;
}

/* Page Themes */
.theme-tiere h2,
.theme-tiere h3,
.theme-tiere h4 {
  color: var(--c-teal);
}

.theme-menschen h2,
.theme-menschen h3,
.theme-menschen h4 {
  color: var(--c-pink);
}

.theme-jenseits h2,
.theme-jenseits h3,
.theme-jenseits h4 {
  color: var(--c-gold);
}

p {
  font-weight: 300;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
}

a {
  color: var(--c-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--c-white);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--spacing-section) 0;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.hint-text {
  font-size: 0.9rem;
  color: var(--c-hint);
  margin-bottom: 1rem;
  font-weight: 400;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(250, 180, 53, 0.3);
  /* gold subtle border */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-teal), var(--c-violet));
  color: var(--c-white);
  box-shadow: 0 4px 15px rgba(1, 99, 149, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--c-violet), var(--c-pink));
  transform: scale(1.05);
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(226, 49, 121, 0.5);
}

.btn-secondary {
  background: var(--c-gold);
  color: var(--c-bg-dark);
  border: 1px solid var(--c-gold);
  box-shadow: 0 4px 15px rgba(250, 180, 51, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--c-violet), var(--c-pink));
  border-color: transparent;
  color: var(--c-white);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(226, 49, 121, 0.5);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

header.scrolled {
  background: rgba(18, 11, 30, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--c-gold);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.logo-item {
  margin: 0 1rem;
}

.mobile-logo {
  display: none;
}

.nav-links a {
  color: var(--c-white);
  font-weight: 400;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--c-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 40px 0;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1.5s ease forwards;
}

.hero-subtitle {
  color: var(--c-pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

/* Footer */
footer {
  background: rgba(18, 11, 30, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-col h4 {
  color: var(--c-gold);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
  color: var(--c-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--c-white);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-family: var(--font-body);
}

.faq-question .icon {
  transition: transform 0.3s ease;
  color: var(--c-gold);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(250, 180, 53, 0.5); /* gold */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Responsive */
@media (max-width: 900px) {
  h1 {
    font-size: 2.5rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-container {
    justify-content: space-between;
  }

  .mobile-logo {
    display: flex;
  }

  .logo-item {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(10, 5, 16, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .mobile-hide {
    display: none;
  }

  .section {
    padding: 3rem 0;
  }

  .glass-card {
    padding: 1.5rem;
  }

  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1.5rem !important;
  }

  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Calendly Container styling */
.calendly-wrapper {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  min-height: 700px;
}

/* Testimonial Slider Styling */
.testimonial-slider-container {
  height: 380px !important;
}

.testimonial-slider-container .slider-arrow:hover {
  background: var(--c-gold) !important;
  color: var(--c-bg-dark) !important;
  border-color: var(--c-gold) !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.testimonial-slider-container .slider-dot:hover {
  background: var(--c-white) !important;
}

@media (max-width: 768px) {
  .testimonial-slider-container .slider-arrow {
    display: none !important;
  }
  .testimonial-slider-container {
    padding: 2.5rem 1.25rem !important;
    height: auto !important;
    min-height: 480px !important;
  }
}