/* =============================================
   SUBPAGE STYLES – Julia Grosse
   Für: wirbelsaeulenaufrichtung.html,
        craniosacral.html,
        weitere-behandlungen.html
============================================= */

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--lila);
  font-weight: 600;
  transition: opacity 0.3s;
}
.breadcrumb a:hover { opacity: 0.75; }
.breadcrumb span[aria-hidden] { opacity: 0.4; }

/* ---- Subpage Hero ---- */
.subpage-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 160px; /* Desktop: Header ~160px */
  padding-bottom: 3rem;
}
.subpage-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #f5f0eb 0%, #ede5d8 55%, #e0d4c3 100%);
  z-index: 0;
}
.subpage-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 5% 3rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}
.subpage-headline {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--schwarz);
  margin: 0.8rem 0 1rem;
}
.subpage-headline strong {
  font-weight: 700;
  color: var(--lila);
}
.subpage-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 460px;
  line-height: 1.8;
}
.subpage-hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  overflow: hidden;
  border-radius: 40px 0 0 60px;
  z-index: 1;
  opacity: 0.55;
}
.subpage-hero-image picture,
.subpage-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ---- Main Layout ---- */
.subpage-main {
  padding: 5rem 5%;
  background: var(--weiss);
}
.subpage-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

/* ---- Article Content ---- */
.subpage-content p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}
.subpage-content p.lead-text {
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

/* Blockquote */
.subpage-quote {
  background: var(--lila-pale);
  border-left: 4px solid var(--lila);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.8rem;
  margin-bottom: 2rem;
}
.subpage-quote blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--lila);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}
.subpage-quote cite {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: normal;
}

/* Kleines inneres Zitat */
.content-quote-small {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin-top: 1.2rem;
}
.content-quote-small p {
  font-style: italic;
  color: var(--lila) !important;
  font-size: 0.93rem !important;
  margin-bottom: 0.4rem !important;
}
.content-quote-small cite {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Ausbildungshinweis */
.subpage-note {
  font-size: 0.85rem !important;
  color: var(--text-light) !important;
  background: var(--bg-section);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--braun);
  line-height: 1.7 !important;
}

/* ---- Content Accordion ---- */
.content-accordion {
  margin: 2rem 0;
  border: 1px solid rgba(96,74,108,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.content-acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-warm);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lila);
  text-align: left;
  transition: background 0.3s;
}
.content-acc-toggle:hover {
  background: var(--lila-pale);
}
.content-acc-toggle[aria-expanded="true"] {
  background: var(--lila-pale);
  border-bottom: 1px solid rgba(96,74,108,0.12);
}
.content-acc-toggle svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.content-acc-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.content-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.content-acc-body.open {
  grid-template-rows: 1fr;
}
.content-acc-inner {
  overflow: hidden;
  padding: 0 1.4rem;
}
.content-acc-inner > *:first-child { margin-top: 1.2rem; }
.content-acc-inner > *:last-child  { margin-bottom: 1.2rem; }

/* Indikationsliste */
.indikationen-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  list-style: none;
  margin-top: 0.8rem;
}
.indikationen-list li {
  font-size: 0.88rem;
  color: var(--text-light);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}
.indikationen-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--lila);
  border-radius: 50%;
}

/* ---- Sidebar ---- */
.subpage-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 140px;
}
.sidebar-card {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(96,74,108,0.08);
}
.sidebar-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lila);
  margin-bottom: 1rem;
}
.sidebar-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.5;
}
.sidebar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--braun-dark);
  border-radius: 50%;
}
.sidebar-cta {
  background: var(--lila);
  border-color: transparent;
}
.sidebar-cta h3 { color: rgba(255,255,255,0.75); }
.sidebar-cta p  { color: rgba(255,255,255,0.8); margin-bottom: 1.2rem; }
.sidebar-cta .btn-primary {
  background: var(--weiss);
  color: var(--lila);
  box-shadow: none;
  width: 100%;
  justify-content: center;
}
.sidebar-cta .btn-primary:hover {
  background: var(--braun-light);
}

/* Einzugsgebiet-Box */
.sidebar-region {
  background: var(--lila-pale);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
}
.sidebar-region h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lila);
  margin-bottom: 0.5rem;
}
.sidebar-region p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .subpage-grid {
    grid-template-columns: 1fr;
  }
  .subpage-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-card {
    flex: 1;
    min-width: 260px;
  }
  .subpage-hero-image {
    width: 30%;
    opacity: 0.35;
  }
}
@media (max-width: 768px) {
  /* Mobile Header = Logo 64px + padding 2×0.6rem ≈ 83px */
  /* Sicherheitspuffer +10px = 93px */
  .subpage-hero {
    padding-top: 96px;
    min-height: auto;
  }
  .subpage-hero-content {
    padding: 1.5rem 5% 2rem;
  }
  .subpage-hero-image {
    display: none;
  }
  .subpage-headline {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }
  .subpage-main {
    padding: 3rem 5%;
  }
  .subpage-sidebar {
    flex-direction: column;
  }
  .sidebar-card {
    min-width: unset;
  }
}
@media (max-width: 600px) {
  .indikationen-list { grid-template-columns: 1fr; }
}
