/* Freddy DE/EN: Philosophy's white/blue system, real photography and thin ink rules.
 * New team-* components avoid legacy [data-page="about"] card and image overrides.
 * All navigation, footer and booking behavior remains in the shared presentation.
 */
.menst-refined.team-page {
  --team-reading-width: 62ch;
  --team-section-space: 64px;
}
.menst-refined.team-page #main-content { background: #fff; }
.menst-refined.team-page .team-hero { padding-block: 48px; background: #fff; }
.menst-refined.team-page .team-hero-grid {
  display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr);
  gap: 64px; align-items: center;
}
.menst-refined.team-page .team-eyebrow {
  margin: 0 0 20px; color: var(--menst-steel);
  font-size: .875rem; font-weight: 500; line-height: 1.4; letter-spacing: .02em;
}
.menst-refined.team-page .team-hero h2 {
  margin: 0 0 24px; max-width: 15ch;
  font-size: clamp(2.25rem,3.8vw,3.25rem); line-height: 1.12; letter-spacing: -.035em;
}
.menst-refined.team-page .team-hero-copy > p:not(.team-eyebrow) {
  max-width: 49ch; margin: 0 0 20px; font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty;
}
.menst-refined.team-page :where(.team-hero-copy,.team-prose) strong { font-weight: 500; }
.menst-refined.team-page .team-text-link {
  display: inline-flex; align-items: center; gap: 16px; min-height: 44px;
  margin-top: 4px; color: #0755cb; font-size: 1rem; font-weight: 600;
  letter-spacing: .01em; text-decoration: none;
}
.menst-refined.team-page .team-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.menst-refined.team-page :where(.team-text-link,.team-consultation a):focus-visible {
  outline: 2px solid #0755cb; outline-offset: 5px;
}
.menst-refined.team-page :where(.team-portrait,.team-practice) { margin: 0; min-width: 0; }
.menst-refined.team-page .team-portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.12;
  object-fit: cover; object-position: center 35%; border-radius: 8px;
}
.menst-refined.team-page :where(.team-portrait,.team-practice) figcaption {
  padding-top: 12px; color: var(--menst-steel); font-size: .8125rem; line-height: 1.5; letter-spacing: .015em;
}
.menst-refined.team-page .team-portrait figcaption {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px;
}
.menst-refined.team-page .team-section {
  border-top: 1px solid var(--menst-ink); padding-block: var(--team-section-space);
}
.menst-refined.team-page .team-story-grid {
  display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 64px;
}
.menst-refined.team-page .team-story-grid > * { min-width: 0; }
.menst-refined.team-page .team-section-heading h2 {
  max-width: 20ch; margin: 0; font-size: clamp(1.75rem,2.7vw,2.25rem); line-height: 1.18;
}
.menst-refined.team-page .team-section-heading .team-eyebrow { margin-bottom: 16px; }
.menst-refined.team-page .team-section-lead { margin: 16px 0 0; max-width: 35ch; }
.menst-refined.team-page .team-prose p {
  max-width: var(--team-reading-width); margin: 0 0 24px;
  font-size: 1.0625rem; line-height: 1.65; text-wrap: pretty;
}
.menst-refined.team-page .team-prose p:last-child { margin-bottom: 0; }
.menst-refined.team-page .team-emphasis { color: var(--menst-ink); }
.menst-refined.team-page .team-practice { margin-top: 28px; max-width: 400px; }
.menst-refined.team-page .team-practice img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; object-position: center; border-radius: 8px;
}
.menst-refined.team-page .team-promise { background: #edf3fa; }
.menst-refined.team-page .team-promise .team-prose p { color: var(--menst-ink); font-size: 1.125rem; line-height: 1.55; }
.menst-refined.team-page .team-promise strong { font-weight: 400; }
.menst-refined.team-page .team-qualification-content h3 { margin: 0 0 24px; font-size: 1.25rem; line-height: 1.35; }
.menst-refined.team-page .team-qualification-list { padding: 0; margin: 0; list-style: none; }
.menst-refined.team-page .team-qualification-list li {
  display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 24px;
  border-bottom: 1px solid var(--menst-silver); padding-block: 24px;
  color: var(--menst-ink); font-size: 1.0625rem; line-height: 1.5;
}
.menst-refined.team-page .team-qualification-list li:first-child { padding-top: 0; }
.menst-refined.team-page .team-qualification-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.menst-refined.team-page .team-qualification-number {
  padding-top: 2px; color: var(--menst-steel); font-size: .875rem; line-height: 1.5; font-variant-numeric: tabular-nums;
}
.menst-refined.team-page .team-quote { margin: 0 0 24px; padding: 0; border: 0; }
.menst-refined.team-page .team-quote p { color: var(--menst-ink); font-size: clamp(1.375rem,2vw,1.75rem); line-height: 1.35; text-wrap: balance; }
.menst-refined.team-page .team-consultation-grid {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.menst-refined.team-page .team-consultation h2 { margin: 0; max-width: 25ch; font-size: 1.75rem; }
.menst-refined.team-page .team-consultation .btn--menst-primary { flex-shrink: 0; }
.menst-refined.team-page :where(#sec\.menst-about-freddy,#freddys-qualifikationen,#freddys-qualifications) {
  scroll-margin-top: calc(var(--menst-header-height) + 24px);
}
@media (max-width: 1023px) {
  .menst-refined.team-page .team-hero-grid { gap: 32px; }
  .menst-refined.team-page .team-story-grid { gap: 40px; }
  .menst-refined.team-page .team-hero h2 { font-size: clamp(2rem,4.2vw,2.75rem); }
}
@media (max-width: 767px) {
  .menst-refined.team-page { --menst-gutter: 20px; --team-section-space: 40px; }
  .menst-refined.team-page .team-hero { padding-block: 32px 40px; }
  .menst-refined.team-page .team-hero-grid,
  .menst-refined.team-page .team-story-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .menst-refined.team-page .team-hero h2 { max-width: 16ch; font-size: clamp(2rem,7.2vw,2.75rem); }
  .menst-refined.team-page .team-hero-copy > p:not(.team-eyebrow),
  .menst-refined.team-page .team-prose p { font-size: 1rem; }
  .menst-refined.team-page .team-portrait img { aspect-ratio: 1 / 1; object-position: center 28%; }
  .menst-refined.team-page .team-practice { margin-top: 24px; }
  .menst-refined.team-page .team-qualification-list li { grid-template-columns: 24px minmax(0,1fr); gap: 16px; font-size: 1rem; }
  .menst-refined.team-page .team-quote p { font-size: 1.375rem; }
  .menst-refined.team-page .team-consultation-grid { flex-direction: column; align-items: flex-start; gap: 24px; }
  .menst-refined.team-page .team-consultation .btn--menst-primary { width: 100%; }
}
