/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
  --color-primary:   #0A3A46;
  --color-accent:    #F4A261;
  --color-secondary: #1CA7A6;
  --color-text:      #334155;
  --color-bg:        #F0F5FA;
}

/* =============================================
   BASE
   ============================================= */
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: #334155;
  background: #F0F5FA;
  overflow-x: hidden;
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F0F5FA; }
::-webkit-scrollbar-thumb { background: #1CA7A6; border-radius: 3px; }

/* =============================================
   ANCHOR OFFSET FOR STICKY NAV
   ============================================= */
[id] { scroll-margin-top: 88px; }

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}

/* =============================================
   PREFERS-REDUCED-MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================
   PROSE (Legal pages, blog detail)
   ============================================= */
.prose-brand h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0A3A46;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.prose-brand h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0A3A46;
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2.5px solid #F4A261;
}
.prose-brand h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0A3A46;
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-brand p  { line-height: 1.8; margin-bottom: 1rem; color: #111827; }
.prose-brand ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-brand ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-brand li { line-height: 1.7; margin-bottom: 0.4rem; color: #111827; }
.prose-brand a  { color: #1CA7A6; text-decoration: underline; }
.prose-brand a:hover { color: #0A3A46; }
.prose-brand strong { color: #0A3A46; font-weight: 600; }

/* =============================================
   BLOG ARTIKEL — HERO-BILD (kleiner, ~30 %)
   ============================================= */
.mt-10 > div[style*="aspect-ratio:1/1"] {
  max-width: 260px;
  margin: 0 auto;
}

/* =============================================
   FORM INPUTS
   ============================================= */
.form-input {
  width: 100%;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #334155;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: #1CA7A6;
  box-shadow: 0 0 0 3px rgba(28, 167, 166, 0.18);
}
.form-input::placeholder { color: #94a3b8; }

/* =============================================
   BLOG CARD EXCERPT TRUNCATION
   ============================================= */
.blog-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   BLOG CARDS — HOVER EFFECTS
   ============================================= */
[data-card] {
  position: relative;
  transition: transform 0.32s ease, box-shadow 0.32s ease !important;
}

/* Farbverlauf-Balken oben, fährt von links rein */
[data-card]::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1CA7A6 0%, #F4A261 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s ease;
  z-index: 10;
  border-radius: 0;
}
[data-card]:hover::after {
  transform: scaleX(1);
}

/* Stärkerer Lift + tieferer Schatten */
[data-card]:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 24px 52px rgba(10,58,70,0.16) !important;
}

/* Bild-Zoom */
[data-card] img {
  transition: transform 0.48s ease;
}
[data-card]:hover img {
  transform: scale(1.08);
}

/* Titel wechselt zu Teal */
[data-card] h2 {
  transition: color 0.25s ease;
}
[data-card]:hover h2 {
  color: #1CA7A6;
}

/* „Weiterlesen"-Pfeil gleitet nach rechts */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.25s ease;
}
.blog-read-more svg {
  transition: transform 0.25s ease;
}
[data-card]:hover .blog-read-more svg {
  transform: translateX(5px);
}

/* =============================================
   PSYCHOGRAPHIE TEST — RADIO CARDS
   ============================================= */
.test-option { cursor: pointer; }
.test-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.test-option label {
  display: block;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fff;
  color: #334155;
}
.test-option label:hover {
  border-color: #1CA7A6;
  background: rgba(28, 167, 166, 0.05);
}
.test-option input[type="radio"]:checked + label {
  border-color: #1CA7A6;
  background: rgba(28, 167, 166, 0.1);
  color: #0A3A46;
  font-weight: 600;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
[data-faq-body] {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
[data-faq-body].hidden {
  max-height: 0 !important;
  opacity: 0;
}
[data-faq-body]:not(.hidden) {
  opacity: 1;
}

/* =============================================
   HERO CLIP PATH
   ============================================= */
.hero-clip {
  clip-path: ellipse(120% 100% at 50% 0%);
}

/* =============================================
   PHASE TIMELINE
   ============================================= */
.phase-line::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(to bottom, #1CA7A6, transparent);
}

/* =============================================
   PHASE CARDS — HOVER EFFECTS
   ============================================= */
[data-phase-item] {
  transition: transform 0.32s ease, box-shadow 0.32s ease !important;
}

/* Gradient-Balken oben, fährt von links rein */
[data-phase-item]::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s ease;
  z-index: 10;
  border-radius: 12px 12px 0 0;
}
[data-phase-item]:nth-child(1)::after {
  background: linear-gradient(90deg, #0A3A46 0%, #1CA7A6 100%);
}
[data-phase-item]:nth-child(2)::after {
  background: linear-gradient(90deg, #1CA7A6 0%, rgba(255,255,255,0.6) 100%);
}
[data-phase-item]:nth-child(3)::after {
  background: linear-gradient(90deg, #1CA7A6 0%, #F4A261 100%);
}
[data-phase-item]:hover::after {
  transform: scaleX(1);
}

/* Lift + tieferer Schatten */
[data-phase-item]:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 24px 52px rgba(10,58,70,0.22) !important;
}

/* Titelfarb-Wechsel: Phase 1 → Teal */
[data-phase-item]:nth-child(1) h3 {
  transition: color 0.25s ease;
}
[data-phase-item]:nth-child(1):hover h3 {
  color: #1CA7A6;
}

/* Phase 2: weißer Titel → Teal */
[data-phase-item]:nth-child(2) h3 {
  transition: color 0.25s ease;
}
[data-phase-item]:nth-child(2):hover h3 {
  color: #1CA7A6;
}

/* Phase 3: primary → Accent */
[data-phase-item]:nth-child(3) h3 {
  transition: color 0.25s ease;
}
[data-phase-item]:nth-child(3):hover h3 {
  color: #F4A261;
}

/* =============================================
   PRICING CARDS — HOVER EFFECTS
   ============================================= */

/* Featured Card Hover */
.pricing-card-featured {
  position: relative;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.pricing-card-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 3px rgba(28,167,166,0.5), 0 20px 48px rgba(10,58,70,0.18) !important;
}

/* White/cream pricing cards (weitere Einzelsession & Konventionelles) */
.pricing-card-featured ~ div[style*="background"] {
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.pricing-card-featured ~ .bg-white {
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.pricing-card-featured ~ div[style*="background"]::before,
.pricing-card-featured ~ .bg-white::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1CA7A6 0%, #0A3A46 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s ease;
  z-index: 10;
  border-radius: 1.5rem 1.5rem 0 0;
}

.pricing-card-featured ~ div[style*="background"]:hover::before,
.pricing-card-featured ~ .bg-white:hover::before {
  transform: scaleX(1);
}

.pricing-card-featured ~ div[style*="background"]:hover,
.pricing-card-featured ~ .bg-white:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(10,58,70,0.12) !important;
}

/* Price color change to gold on hover */
.pricing-card-featured:hover .font-heading.text-5xl {
  color: #F4A261;
  transition: color 0.3s ease;
}

.pricing-card-featured ~ div[style*="background"]:hover .font-heading.text-5xl,
.pricing-card-featured ~ .bg-white:hover .font-heading.text-5xl {
  color: #F4A261;
  transition: color 0.3s ease;
}

/* =============================================
   ACTIVE NAV LINK
   ============================================= */
.nav-link.active {
  color: #F4A261 !important;
}

/* =============================================
   BUTTON BASE
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F4A261;
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1rem;
}
.btn-primary:hover {
  background: #e8915a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244, 162, 97, 0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1rem;
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
