/*
 * Consulting-Page — 1:1 aus design/brainfood-consulting.html.
 *
 * Klassen-Prefix `bf-` entspricht den Vorlagen-Klassen.
 * Wird vom enqueue.php nur auf der Consulting-Page geladen.
 */

/* ============ Consulting-Hero (.ph) ============ */
.bf-ph--consulting {
  padding: 40px 0 90px !important;
  position: relative;
  overflow: hidden;
  background: var(--bf-white);
}
.bf-ph--consulting::before {
  content: '';
  position: absolute;
  top: 0; right: -20%;
  width: 70%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(221,31,90,.06) 0%, transparent 65%);
  pointer-events: none;
}
.bf-ph--consulting .bf-ph__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 32px;
}
.bf-ph--consulting .bf-ph__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--bf-gray-dark);
  margin: 0 0 24px;
}
.bf-ph--consulting .bf-ph__title em { font-style: italic; color: var(--bf-pink); font-weight: 400; }
.bf-ph--consulting .bf-ph__lead {
  font-size: 19px; line-height: 1.55; color: var(--bf-gray-80);
  max-width: 560px; margin: 0 0 32px;
}
.bf-ph__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.bf-ph__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--bf-gray-80);
}
.bf-ph__list li::before {
  content: '';
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--bf-pink), var(--bf-orange));
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}
.bf-ph--consulting .bf-ph__ctas { display: flex; gap: 20px; flex-wrap: wrap; }

.bf-ph__image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0;
}
.bf-ph__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-ph__image-tag {
  position: absolute;
  left: 22px; bottom: 22px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 44px);
}
.bf-ph__image-tag-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bf-pink), var(--bf-orange));
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 18px;
}
.bf-ph__image-tag-icon i { line-height: 1; }
.bf-ph__image-tag-text { font-size: 13px; line-height: 1.35; color: var(--bf-gray-dark); }
.bf-ph__image-tag-text strong { display: block; font-weight: 700; font-size: 14px; color: var(--bf-green-dark-1); }

@media (max-width: 1024px) {
  .bf-ph--consulting .bf-ph__grid { grid-template-columns: 1fr; gap: 56px; }
  .bf-ph__image { max-width: 480px; margin-inline: auto; }
}

/* ============ Services (6 Cards) ============ */
.bf-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .bf-services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .bf-services__grid { grid-template-columns: 1fr; } }

.bf-service {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(212,214,215,.5);
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  /* Damit Footer-Anker (#lms-auswahl, #custom-content, …) NICHT unter
     dem Sticky-Header landen. */
  scroll-margin-top: 108px;
}
.bf-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--bf-pink); }
.bf-service__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 26px;
}
.bf-service__icon i { line-height: 1; }
.bf-service--lms       .bf-service__icon { background: linear-gradient(135deg, var(--bf-pink), var(--bf-orange)); }
.bf-service--content   .bf-service__icon { background: linear-gradient(135deg, var(--bf-turquoise), var(--bf-green)); }
.bf-service--journey   .bf-service__icon { background: linear-gradient(135deg, var(--bf-green-dark-1), var(--bf-turquoise-dark)); }
.bf-service--authoring .bf-service__icon { background: linear-gradient(135deg, var(--bf-yellow), var(--bf-orange)); }
.bf-service--ausbildung .bf-service__icon { background: linear-gradient(135deg, var(--bf-green), var(--bf-green-dark-1)); }
.bf-service--social    .bf-service__icon { background: linear-gradient(135deg, var(--bf-orange), var(--bf-pink)); }

.bf-service__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--bf-gray-dark);
  margin: 0 0 12px;
}
.bf-service__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bf-gray-80);
  margin: 0 0 18px;
}
.bf-service__features {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid var(--bf-gray-20);
}
.bf-service__features li {
  font-size: 13.5px;
  color: var(--bf-gray-60);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bf-service__features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--bf-pink);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============ Process (4 Steps mit Verbindungslinie) ============ */
.bf-process {
  background: linear-gradient(180deg, #fff 0%, var(--bf-beige-light) 100%);
}
.bf-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 50px;
}
.bf-process__grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--bf-pink) 0%, var(--bf-orange) 33%, var(--bf-yellow) 66%, var(--bf-green) 100%);
  z-index: 0;
  opacity: 0.3;
}
@media (max-width: 1024px) {
  .bf-process__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bf-process__grid::before { display: none; }
}
@media (max-width: 540px) {
  .bf-process__grid { grid-template-columns: 1fr; }
}

.bf-step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.bf-step__num {
  position: relative;
  z-index: 1;
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: #fff;
  border: 2px solid var(--bf-gray-20);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--bf-pink);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}
.bf-step:hover .bf-step__num { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--bf-pink); }
.bf-step__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--bf-gray-dark);
  margin: 0 0 8px;
}
.bf-step__text { font-size: 14px; line-height: 1.55; color: var(--bf-gray-80); margin: 0; }

/* ============ Projects (3 Cards mit Cover) ============ */
.bf-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .bf-projects__grid { grid-template-columns: 1fr; } }

.bf-project {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid rgba(212,214,215,.4);
  overflow: hidden;
  transition: all 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.bf-project:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bf-project__cover {
  aspect-ratio: 5/3;
  position: relative;
  overflow: hidden;
}
.bf-project--a .bf-project__cover { background: linear-gradient(135deg, var(--bf-pink) 0%, var(--bf-orange) 100%); }
.bf-project--b .bf-project__cover { background: linear-gradient(135deg, var(--bf-green-dark-1) 0%, var(--bf-turquoise-dark) 100%); }
.bf-project--c .bf-project__cover { background: linear-gradient(135deg, var(--bf-orange) 0%, var(--bf-yellow) 100%); }
.bf-project__cover::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(255,255,255,.15) 0%, transparent 50%);
}
.bf-project__cover-icon {
  position: absolute;
  top: 24px; left: 24px;
  width: 50px; height: 50px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
}
.bf-project__cover-icon i { line-height: 1; }
.bf-project__cover-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,.95);
  color: var(--bf-gray-dark);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bf-project__body {
  padding: 28px 28px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.bf-project__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--bf-gray-dark);
  margin: 0 0 10px;
}
.bf-project__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--bf-gray-80);
  margin: 0 0 20px;
  flex-grow: 1;
}
.bf-project__metrics {
  display: flex;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--bf-gray-20);
}
.bf-project__metrics > div { flex: 1; }
.bf-project__metric-val {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--bf-pink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.bf-project__metric-lbl {
  font-size: 11px;
  color: var(--bf-gray-60);
  margin-top: 4px;
  line-height: 1.3;
}

/* ============ Team (4 Personen, beige BG) ============ */
.bf-team-c {
  background: var(--bf-beige-light);
}
/* Section-Kopf zentriert (Eyebrow → Headline → Intro) — entspricht dem Design.
 * Wrapper 760 px (wie .bf-section-head), Intro-Absatz exakt auf .bf-lead-Breite
 * (680 px), damit er in derselben Spalte läuft wie der Intro der Vier-Phasen-
 * Sektion (bf-process verwendet bf-section-head + bf-lead). */
.bf-team-c__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 50px;
}
.bf-team-c__head > div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bf-team-c__head h2 { margin: 0; }
.bf-team-c__head-text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--bf-gray-80);
  max-width: 680px;
  margin: 0 auto;
}

/* Responsives Grid: auto-fit + minmax sorgt dafür, dass 2 Founders nebeneinander
 * stehen, weitere Team-Mitglieder ohne Code-Änderung in 3- oder 4-spaltige
 * Anordnung umbrechen (oder auf engen Viewports auf 1 Spalte fallen). */
.bf-team-c__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}
@media (max-width: 480px) { .bf-team-c__grid { grid-template-columns: 1fr; } }

/* Card-Layout vertikal, mittig: Avatar oben groß und prominent, darunter
 * Name + Rolle, Trennlinie, Zitat, Trennlinie, Tag-Pills, LinkedIn. */
.bf-person-c {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 32px 32px;
  border: 1px solid rgba(212,214,215,.4);
  transition: all 0.25s var(--ease);
}
.bf-person-c:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.bf-person-c__avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--bf-gray-40);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 24px;
  /* Default-Hintergrund (Letter-Avatar): dunkler Brand-Ton; per
     tm_avatar_gradient_from/_to im CPT überschreibbar. */
  background: var(--bf-gray-dark);
}
.bf-person-c__avatar .bf-avatar-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.bf-person-c__name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--bf-gray-dark);
  line-height: 1.15;
  margin-bottom: 8px;
}
.bf-person-c__role {
  font-size: 14px;
  color: var(--bf-gray-60);
  line-height: 1.45;
  margin-bottom: 24px;
}

/* Trennlinien ober- und unterhalb des Zitats erzeugen wir mit ::before/::after
 * auf dem Quote-Element, damit sie nur erscheinen, wenn auch ein Zitat da ist. */
.bf-person-c__quote {
  position: relative;
  width: 100%;
  margin: 0 0 24px;
  padding: 24px 0;
  border: 0;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--bf-turquoise-dark);
  font-weight: 500;
}
.bf-person-c__quote::before,
.bf-person-c__quote::after {
  content: "";
  position: absolute; left: 12%; right: 12%;
  height: 1px; background: rgba(212,214,215,.6);
}
.bf-person-c__quote::before { top: 0; }
.bf-person-c__quote::after  { bottom: 0; }

.bf-person-c__tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.bf-person-c__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bf-green-dark-1);
  background: var(--bf-turquoise-20);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  line-height: 1;
}
.bf-person-c__tag i { font-size: 13px; line-height: 1; }

.bf-person-c__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bf-gray-60);
  text-decoration: none;
  transition: color 0.15s var(--ease);
  margin-top: auto;
}
.bf-person-c__linkedin:hover { color: var(--bf-turquoise-dark); }
.bf-person-c__linkedin svg { display: block; }

/* ============ Quote / Testimonial ============ */
.bf-quote__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.bf-quote__mark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: var(--bf-turquoise-20);
  margin-bottom: -20px;
}
.bf-quote__text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bf-gray-dark);
  margin: 0 0 36px;
}
.bf-quote__text em { font-style: italic; color: var(--bf-pink); }
.bf-quote__author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.bf-quote__author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bf-pink), var(--bf-orange));
  color: #fff;
  display: grid; place-items: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  flex-shrink: 0;
}
.bf-quote__author-name { font-weight: 700; font-size: 14.5px; color: var(--bf-gray-dark); }
.bf-quote__author-role { font-size: 13px; color: var(--bf-gray-60); margin-top: 2px; }
