/* Brand Patterns — wiederverwendbare Klassen für alle neuen Seiten.
 * Setzt brand-tokens.css voraus.
 * Siehe docs/aesthetik-website-richtlinie.md → Flyer-DNA-Patterns + Bento.
 */

/* =========================================================
 *  EYEBROW — Caps + Gold + Letterspacing
 * ========================================================= */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: var(--fw-medium);
  margin-bottom: 1.5rem;
}

.eyebrow--small {
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .eyebrow { font-size: 11px; letter-spacing: 3px; }
}

/* =========================================================
 *  SECTION-TITLE GOLD — Hauptüberschrift in Gold + Light
 * ========================================================= */
.section-title-gold {
  color: var(--gold-primary);
  font-weight: var(--fw-light);
  font-size: var(--fs-h2);
  letter-spacing: var(--ls-headline);
  line-height: 1.2;
  margin: 0 0 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .section-title-gold { font-size: 1.85rem; }
}

@media (max-width: 480px) {
  .section-title-gold { font-size: 1.5rem; }
}

/* Größere Variante — eine Stufe größer als h2.
 * Frau-Dr.-Review P-03 (18.05.2026): Hub-Heading "Ästhetik und Behandlungsspektrum"
 * soll prominenter wirken. */
.section-title-gold--lg {
  font-size: 1.85rem;
  letter-spacing: var(--ls-headline);
}

@media (max-width: 768px) {
  .section-title-gold--lg { font-size: 2rem; }
}

@media (max-width: 480px) {
  .section-title-gold--lg { font-size: 1.65rem; }
}

/* =========================================================
 *  ACCENT-DIVIDER — Linie · Dot · Linie
 * ========================================================= */
.accent-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 1.5rem auto;
}

.accent-divider .line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--gold-primary);
}

.accent-divider .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold-primary);
  border-radius: 50%;
}

/* =========================================================
 *  SECTION-HEADER — Container für Eyebrow + H2 + Divider
 * ========================================================= */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1rem;
}

/* =========================================================
 *  BUTTONS — Pillförmig
 * ========================================================= */
.btn-primary-pill,
.btn-secondary-pill {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-medium);
  font-size: var(--fs-body);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.4;
}

.btn-primary-pill {
  background: var(--button-primary);
  color: var(--white);
  box-shadow: var(--shadow-button-gold-small);
}

.btn-primary-pill:hover,
.btn-primary-pill:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-live-hover);
}

.btn-secondary-pill {
  background: transparent;
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.btn-secondary-pill:hover,
.btn-secondary-pill:focus-visible {
  background: var(--gold-glow);
  color: var(--gold-hover);
  border-color: var(--gold-hover);
}

/* =========================================================
 *  CARD-LINK — "Mehr erfahren →"
 * ========================================================= */
.card-link {
  display: inline-block;
  color: var(--gold-primary);
  font-weight: var(--fw-medium);
  font-size: var(--fs-small);
  letter-spacing: 0.3px;
  text-decoration: none;
  margin-top: 0.75rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--gold-hover);
  transform: translateX(2px);
}

/* =========================================================
 *  BENTO-GRID — Behandlungs-Cards (2+3-Layout)
 * ========================================================= */
.bento-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--bento-gap-desktop);
  margin-bottom: var(--bento-gap-desktop);
}

.bento-grid-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bento-gap-desktop);
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-gold-subtle);
  box-shadow: var(--shadow-card);
  padding: 0.875rem;
  min-height: var(--bento-card-small-min-h);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover,
.bento-card:focus-visible {
  transform: scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.bento-card--featured {
  padding: 1rem;
  min-height: var(--bento-card-large-min-h);
}

.treatment-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-primary);
  font-weight: var(--fw-medium);
  margin-bottom: 0.5rem;
}

.bento-card h3 {
  color: var(--anthracite);
  font-size: 1.125rem;
  font-weight: var(--fw-medium);
  margin: 0 0 0.375rem;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

.bento-card p {
  color: var(--text-section);
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-card--featured h3 {
  font-size: 1.25rem;
}

/* Mobile-Breakpoint — Bento wird 2x2 + 1 listed */
@media (max-width: 768px) {
  .bento-grid-large,
  .bento-grid-small {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--bento-gap-mobile);
    margin-bottom: var(--bento-gap-mobile);
  }
  .bento-card,
  .bento-card--featured {
    min-height: var(--bento-card-mobile-min-h);
    padding: 0.625rem;
    border-radius: var(--radius-card-mobile);
  }
  .bento-card--featured h3,
  .bento-card h3 { font-size: 0.95rem; line-height: 1.2; }
  .bento-card p,
  .bento-card--featured p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .treatment-eyebrow { font-size: 9px; }
  .bento-card .card-link {
    display: none;
  }
  /* 5. Card: Full-Width-Listen-Stil */
  .bento-card--listed-mobile {
    grid-column: span 2;
    min-height: var(--bento-card-mobile-list-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
  }
  .bento-card--listed-mobile h3 { margin: 0; flex: 1; }
  .bento-card--listed-mobile p,
  .bento-card--listed-mobile .treatment-eyebrow { display: none; }
  .bento-card--listed-mobile::after {
    content: "→";
    color: var(--gold-primary);
    font-size: 1.25rem;
    margin-left: 0.5rem;
  }
}
