/* =====================================================
   LEISTUNGEN PAGE STYLES
===================================================== */

/* Full leistung blocks – alternating layout */
.leistung-block {
  padding: 80px 28px;
  border-bottom: 1px solid var(--border);
}
.leistung-block:nth-child(even) { background: var(--white); }
.leistung-block:nth-child(odd)  { background: var(--cream); }

.lb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.lb-inner.reverse { direction: rtl; }
.lb-inner.reverse > * { direction: ltr; }

.lb-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(115,106,99,0.10);
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.lb-num {
  font-family: var(--ff-serif);
  font-size: 5rem;
  font-weight: 500;
  color: var(--border);
  line-height: 1;
  margin-bottom: -12px;
}
.lb-content h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 16px;
}
.lb-content h2 em { font-style: italic; color: var(--stone); }
.lb-content p { font-size: 0.96rem; color: var(--muted); line-height: 1.82; margin-bottom: 20px; }

/* Bullet list within leistung */
.lb-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 20px 0 28px;
}
.lb-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.90rem;
  color: var(--dark-mid);
  line-height: 1.55;
}
.lb-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  background: var(--stone);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* Image panel */
.lb-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.lb-image img { width: 100%; height: 100%; object-fit: cover; }
.lb-image .img-placeholder { height: 100%; }

/* Fix image wrapper height for real photos */
.lb-image { position: relative; overflow: hidden; }
.lb-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Info box */
.info-box {
  background: var(--cream-dark);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.84rem;
  color: var(--dark-mid);
  line-height: 1.6;
  margin-top: 20px;
}
.info-box strong { color: var(--dark); }

/* Privatpatienten / Sondersection */
#private-section {
  background: var(--dark);
  padding: 80px 28px;
}
.private-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.private-content .eyebrow { color: var(--taupe); margin-bottom: 18px; }
.private-content h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 16px;
}
.private-content h2 em { font-style: italic; color: var(--taupe); }
.private-content p { font-size: 0.95rem; color: rgba(250,248,244,0.60); line-height: 1.80; margin-bottom: 20px; }
.private-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 32px;
}
.pf {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.87rem;
  color: rgba(250,248,244,0.80);
}
.pf svg { width: 15px; height: 15px; color: var(--taupe); flex-shrink: 0; }

.private-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pcard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  transition: var(--transition);
}
.pcard:hover { background: rgba(255,255,255,0.09); }
.pcard-icon {
  width: 40px; height: 40px;
  background: rgba(115,106,99,0.3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.pcard-icon svg { width: 18px; height: 18px; }
.pcard h3 { font-size: 0.92rem; font-weight: 600; color: rgba(250,248,244,0.90); margin-bottom: 6px; }
.pcard p { font-size: 0.80rem; color: rgba(250,248,244,0.48); line-height: 1.55; }

/* CTA banner */
.cta-banner {
  background: var(--stone);
  padding: 72px 28px;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner p { font-size: 1rem; color: rgba(250,248,244,0.68); margin-bottom: 36px; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Praxis gallery grid */
.gallery-section {
  background: var(--cream);
  padding: 80px 28px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}
.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(42,38,34,0.7));
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.85);
}

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
}
@media (max-width: 980px) {
  .leistung-block,
  #private-section,
  .gallery-section,
  .cta-banner { padding: 64px 24px; }
  .lb-inner,
  .private-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .lb-inner.reverse { direction: ltr; }
  .lb-image { aspect-ratio: 16 / 10; }
  .private-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .leistung-block,
  #private-section,
  .gallery-section,
  .cta-banner { padding: 56px 20px; }
  .lb-num { font-size: 3.6rem; margin-bottom: -6px; }
  .lb-content p { font-size: 0.92rem; line-height: 1.72; }
  .lb-list li { font-size: 0.86rem; }
  .private-card-grid { grid-template-columns: 1fr; }
  .cta-banner p { font-size: 0.93rem; margin-bottom: 24px; }
  .cta-banner-btns .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item,
  .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* =====================================================
   PRAXIS HIGHLIGHTS STRIP
===================================================== */
.praxis-highlights {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 28px 28px;
}
.phx-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
}
.phx-item {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 160px;
}
.phx-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: rgba(115,106,99,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--stone);
}
.phx-icon svg { width: 18px; height: 18px; }
.phx-text {
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.45;
}
.phx-text strong { display: block; color: var(--dark); font-weight: 600; font-size: 0.82rem; }

/* =====================================================
   BESONDERE LEISTUNGEN SECTION
===================================================== */
.sonder-leistungen {
  background: var(--white);
  padding: 80px 28px;
  border-bottom: 1px solid var(--border);
}
.sl-inner { max-width: var(--max-w); margin: 0 auto; }
.sl-header { margin-bottom: 48px; }
.sl-header .eyebrow { margin-bottom: 12px; }
.sl-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
}
.sl-title em { font-style: italic; color: var(--stone); }
.sl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sl-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
}
.sl-icon {
  width: 48px; height: 48px;
  background: rgba(115,106,99,0.12);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--stone);
}
.sl-icon svg { width: 22px; height: 22px; }
.sl-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.sl-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }
.sl-card p em { font-style: italic; color: var(--stone); }
@media (max-width: 980px) {
  .sl-grid { grid-template-columns: 1fr 1fr; }
  .sonder-leistungen { padding: 64px 24px; }
  .phx-inner { gap: 14px 20px; }
}
@media (max-width: 640px) {
  .sl-grid { grid-template-columns: 1fr; }
  .sonder-leistungen { padding: 56px 20px; }
  .praxis-highlights { padding: 22px 20px; }
  .phx-item { min-width: 140px; }
}
