/* ══════════════════════════════════════════════
   Über uns (About) – page-scoped styles
   Source: previews/about_preview.html
   All rules scoped under body.ueber-uns-page to prevent leakage.
   Mobile-first refinements at the bottom.
   ══════════════════════════════════════════════ */

/* ── Local container variants (page-narrow used inside hero) ── */
.ueber-uns-page .container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 21px;
}

/* ── Eyebrow – used across all sections of this page ── */
.ueber-uns-page .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 5px 13px;
  border-radius: 999px;
}
.ueber-uns-page .eyebrow.coral {
  color: var(--primary);
  background: var(--primary-light);
}

/* ── Light btn variants used only inside dark CTA banner ── */
.ueber-uns-page .btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.ueber-uns-page .btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}

/* ══════════════════════════════════════════════
   § HERO
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-hero {
  padding: 55px 0 0;
  text-align: center;
  background: #fff;
}
.ueber-uns-page .ueber-hero .eyebrow { margin-bottom: 24px; }
.ueber-uns-page .ueber-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--secondary); /* #004F5A */
  max-width: 920px;
  margin: 0 auto 21px;
  text-wrap: balance;
}
.ueber-uns-page .ueber-hero h1 em {
  font-style: normal;
  color: var(--primary); /* #D85E43 */
}
.ueber-uns-page .ueber-hero p {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.ueber-uns-page .hero-actions {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 55px;
}

/* HERO IMAGE STRIP */
.ueber-uns-page .ueber-hero-strip {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 13px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 21px 89px;
}
.ueber-uns-page .hero-strip-img {
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
  box-shadow: var(--shadow-md);
}
.ueber-uns-page .hero-strip-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ueber-uns-page .hero-strip-img.center { aspect-ratio: 16/10; }
.ueber-uns-page .hero-strip-img .label-card {
  position: absolute;
  left: 13px; bottom: 13px;
  background: rgba(255,255,255,0.96);
  border-radius: 12px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ueber-uns-page .label-card .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
}
.ueber-uns-page .label-card .dot.coral { background: var(--primary); }

/* ══════════════════════════════════════════════
   § MISSION + STATS
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-mission {
  padding: 89px 0;
  text-align: center;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.ueber-uns-page .mission-text {
  max-width: 780px;
  margin: 0 auto 55px;
  font-size: 22px;
  line-height: 1.55;
  color: var(--gray-900);
  letter-spacing: -0.015em;
  font-weight: 500;
  text-wrap: balance;
}
.ueber-uns-page .mission-text strong { color: var(--secondary); font-weight: 700; }
.ueber-uns-page .mission-text em {
  font-style: normal;
  color: var(--primary);
  font-weight: 700;
}

.ueber-uns-page .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
}
.ueber-uns-page .stat-cell {
  padding: 34px 21px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}
.ueber-uns-page .stat-cell:last-child { border-right: none; }
.ueber-uns-page .stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.ueber-uns-page .stat-num em { font-style: normal; color: var(--primary); }
.ueber-uns-page .stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   § STORY BLOCKS (alternating)
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-story { padding: 89px 0; }
.ueber-uns-page .story-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr; /* text wider than image */
  gap: 55px;
  align-items: center;
  margin-bottom: 89px;
}
.ueber-uns-page .story-grid:last-child { margin-bottom: 0; }
.ueber-uns-page .story-grid.reverse { grid-template-columns: 1fr 1.3fr; }
.ueber-uns-page .story-grid.reverse .story-text { order: 2; }
.ueber-uns-page .story-grid.reverse .story-visual { order: 1; }

.ueber-uns-page .story-text .eyebrow { margin-bottom: 20px; }
.ueber-uns-page .story-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 20px;
  text-wrap: balance;
  color: var(--gray-900);
}
.ueber-uns-page .story-text > p {
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 34px;
}
.ueber-uns-page .story-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.ueber-uns-page .story-bullets li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.55;
}
.ueber-uns-page .story-bullets svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--secondary);
  margin-top: 1px;
}
.ueber-uns-page .story-bullets strong {
  color: var(--gray-900);
  display: block;
  margin-bottom: 2px;
}

.ueber-uns-page .story-visual {
  position: relative;
  border-radius: 20px;
  overflow: visible; /* allow visual-card to overhang */
  aspect-ratio: 4/5;
  background: var(--gray-100);
}
.ueber-uns-page .story-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.ueber-uns-page .story-visual .visual-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 21px 21px;
  box-shadow: var(--shadow-lg);
}
.ueber-uns-page .story-visual .visual-card.bottom-left { left: -28px; bottom: 36px; }
.ueber-uns-page .story-visual .visual-card.top-right    { right: -28px; top: 40px; }
.ueber-uns-page .vc-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ueber-uns-page .vc-num em { font-style: normal; color: var(--primary); }
.ueber-uns-page .vc-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.ueber-uns-page .vc-row {
  display: flex;
  gap: 13px;
  align-items: center;
}
.ueber-uns-page .vc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ueber-uns-page .vc-icon svg { width: 20px; height: 20px; }

/* ── Origin-story block: centered, no image ─────────────────
   Used for the "Aus eigener Erfahrung" narrative section. */
.ueber-uns-page .story-centered {
  max-width: 1140px;
  margin: 0 auto 89px;
  text-align: center;
}
.ueber-uns-page .story-centered .eyebrow { margin-bottom: 20px; }
.ueber-uns-page .story-centered h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 24px;
  text-wrap: balance;
  color: var(--gray-900);
}
.ueber-uns-page .story-centered > p {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.ueber-uns-page .story-centered > p:last-of-type { margin-bottom: 34px; }
.ueber-uns-page .story-centered .btn { margin-top: 8px; }

/* Timeline list — date marker on the left, text body on the right.
   Width: 610px (Fibonacci F15 ≈ wrapper/φ) so it visibly sits as a
   centered narrow island within the wider story-centered wrapper. */
.ueber-uns-page .story-timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto 34px;
  max-width: 610px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
/* Vertical connecting line behind the markers (left rail through marker centers) */
.ueber-uns-page .story-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.ueber-uns-page .story-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 21px;
  align-items: flex-start;
  padding: 21px 0;
  z-index: 1;
}
.ueber-uns-page .story-timeline .st-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #fff;
}
/* Last marker uses the coral accent for emphasis (the "Heute" milestone) */
.ueber-uns-page .story-timeline li:last-child .st-marker {
  background: var(--primary);
}
.ueber-uns-page .story-timeline .st-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 6px;
}
.ueber-uns-page .story-timeline .st-body strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}
.ueber-uns-page .story-timeline .st-body span {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   § VALUES (dark teal band)
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-values {
  padding: 89px 0;
  background: var(--secondary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ueber-uns-page .ueber-values::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(255,255,255,0.06), transparent 40%),
    radial-gradient(circle at 88% 76%, rgba(216,94,67,0.12), transparent 50%);
  pointer-events: none;
}
.ueber-uns-page .ueber-values .section-head {
  text-align: center;
  margin-bottom: 55px;
  position: relative;
}
.ueber-uns-page .ueber-values .eyebrow {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.ueber-uns-page .ueber-values h2 {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 40px);
  max-width: 720px;
  margin: 0 auto;
  text-wrap: balance;
}
.ueber-uns-page .values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  position: relative;
}
.ueber-uns-page .value-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 34px 21px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Icon + title side-by-side row */
.ueber-uns-page .value-card .value-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.ueber-uns-page .value-card .v-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ueber-uns-page .value-card .v-icon svg { width: 24px; height: 24px; }
.ueber-uns-page .value-card h3 {
  color: #fff;
  font-size: 20px;
  margin: 0;
  line-height: 1.25;
}
.ueber-uns-page .value-card p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   § TEAM (Lynqet-style asymmetric corner cuts)
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-team {
  padding: 89px 0;
  background: #fff;
}
.ueber-uns-page .ueber-team .section-head {
  text-align: center;
  margin-bottom: 55px;
}
.ueber-uns-page .ueber-team .eyebrow { margin-bottom: 16px; }
.ueber-uns-page .ueber-team h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 12px;
  text-wrap: balance;
  color: var(--gray-900);
}
.ueber-uns-page .ueber-team .section-head p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--gray-700);
}

/* ── Team groups (Gründung & Leitung / Lehrkräfte & weiteres Team) ── */
.ueber-uns-page .team-group { margin-bottom: 55px; }
.ueber-uns-page .team-group:last-child { margin-bottom: 0; }
.ueber-uns-page .team-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 21px;
  margin-bottom: 21px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--gray-200);
}
.ueber-uns-page .team-group-head h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ueber-uns-page .team-group-head .group-count {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

/* ── Featured grid (max 3 Lynqet-style cards per row, centered) ────── */
/* Flexbox so partial rows (e.g. 5 cards = 3+2) center the bottom row.
   Card width fixed at 310px (~15% smaller than the previous 1fr stretch
   to ~366px). Wraps to next row when more than 3 fit. */
.ueber-uns-page .featured-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 21px;
}
.ueber-uns-page .featured-grid > .team-card {
  flex: 0 0 263px;
  max-width: 263px;
}

/* ── Legacy alias kept so older markup still works ─────────────────── */
.ueber-uns-page .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}
.ueber-uns-page .team-card {
  background: #f9fbfc;
  border: 1px solid transparent;
  padding: 21px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: 14px;
  /* Layered 3D-lift shadow */
  box-shadow:
    0 1px 0 rgba(15, 40, 45, 0.04),
    0 6px 12px -6px rgba(15, 40, 45, 0.10),
    0 18px 30px -12px rgba(15, 40, 45, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ueber-uns-page .team-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(15, 40, 45, 0.06),
    0 10px 20px -8px rgba(15, 40, 45, 0.13),
    0 24px 40px -16px rgba(15, 40, 45, 0.22);
}
/* Asymmetric corner cuts */
.ueber-uns-page .team-card.left-cut  { border-bottom-left-radius:  64px; }
.ueber-uns-page .team-card.right-cut { border-bottom-right-radius: 64px; }

.ueber-uns-page .team-card-header { margin-bottom: 34px; }
.ueber-uns-page .team-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--gray-900);
}
.ueber-uns-page .team-card-header .team-role {
  color: var(--gray-500);
  font-size: 13.5px;
  font-weight: 500;
}
.ueber-uns-page .team-card .team-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  /* Fallback styling for user-added custom tags (admin-managed in WP):
     uses a neutral teal palette so any new tag still looks styled
     even before we add a per-slug color override. */
  background: var(--secondary-light);
  color: var(--secondary);
}
/* Coral group: leadership / growth */
.ueber-uns-page .team-tag.founder    { background: var(--primary-light);   color: var(--primary); }
.ueber-uns-page .team-tag.marketing  { background: var(--primary-light);   color: var(--primary); }
/* Teal group: delivery (coaching + teaching) */
.ueber-uns-page .team-tag.coach_1to1 { background: var(--secondary-light); color: var(--secondary); }
.ueber-uns-page .team-tag.lecturer   { background: var(--secondary-light); color: var(--secondary); }
/* Amber group: administration */
.ueber-uns-page .team-tag.verwaltung { background: #fff8e6;                color: #b58105; }
/* Legacy aliases (in case any old data still uses these tag values) */
.ueber-uns-page .team-tag.coach      { background: var(--secondary-light); color: var(--secondary); }
.ueber-uns-page .team-tag.coord      { background: #fff8e6;                color: #b58105; }

.ueber-uns-page .team-photo {
  position: relative;
  margin-top: auto;
  width: 100%;
  height: 198px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #eef4f5;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 280' preserveAspectRatio='xMidYMid meet'><g fill='none' stroke='%23c5d8db' stroke-width='1.5'><rect x='90' y='52' width='90' height='160' rx='10' ry='10' fill='%23dde8ea'/><rect x='115' y='38' width='90' height='160' rx='10' ry='10' fill='%23d2e1e3'/><rect x='140' y='52' width='90' height='160' rx='10' ry='10' fill='%23dde8ea'/></g></svg>");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: 80% auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ueber-uns-page .team-card.left-cut  .team-photo { border-bottom-left-radius:  46px; }
.ueber-uns-page .team-card.right-cut .team-photo { border-bottom-right-radius: 46px; }

.ueber-uns-page .team-photo .ph-monogram {
  position: relative;
  font-size: 64px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.04em;
  opacity: 0.7;
}
.ueber-uns-page .team-photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Horizontal scroll strip (Lehrkräfte & weiteres Team / featured >3) ── */
.ueber-uns-page .team-scroll-wrap { position: relative; }
/* Right-edge fade only on the bottom-strip variant (compact cards).
   Featured wrap doesn't scroll on desktop, so no fade needed there. */
.ueber-uns-page .team-scroll-wrap:not(.featured-scroll-wrap)::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 21px;
  width: 55px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, #fff 100%);
}

/* Pagination (mirrors homepage vv-pagination — same liquid blob behaviour) */
.ueber-uns-page .team-pagination-row {
  display: flex;
  justify-content: center;
  margin-top: 21px;
}
.ueber-uns-page .team-pagination-row[hidden] { display: none; }
.ueber-uns-page .team-pagination {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 16px;
  filter: drop-shadow(0 2px 6px rgba(0, 79, 90, 0.15));
}
.ueber-uns-page .team-dots-static {
  display: flex;
  gap: 13px;
}
.ueber-uns-page .team-dots-static button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 79, 90, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.ueber-uns-page .team-dots-static button:hover {
  background-color: rgba(0, 79, 90, 0.4);
}
.ueber-uns-page .team-dot-blob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: rgb(155, 206, 211);
  pointer-events: none;
  z-index: 10;
  transform: translate(-2px, -50%);
  /* No transitions – JS drives every frame for 1:1 scroll sync */
}

.ueber-uns-page .team-scroll {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 5px;
  padding: 8px 5px 21px;
  margin: 0 -5px;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
  -webkit-overflow-scrolling: touch;
}
.ueber-uns-page .team-scroll::-webkit-scrollbar { height: 5px; }
.ueber-uns-page .team-scroll::-webkit-scrollbar-track { background: transparent; }
.ueber-uns-page .team-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

/* Compact card inside the scroll strip */
.ueber-uns-page .compact-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: #f9fbfc;
  border-radius: 13px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 0 rgba(15, 40, 45, 0.04),
    0 4px 10px -4px rgba(15, 40, 45, 0.08),
    0 14px 24px -14px rgba(15, 40, 45, 0.16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ueber-uns-page .compact-card:hover { transform: translateY(-2px); }
.ueber-uns-page .compact-card .compact-header {
  margin-bottom: 13px;
  min-height: 55px;
}
.ueber-uns-page .compact-card .compact-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.ueber-uns-page .compact-card .compact-role {
  font-size: 12.5px;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.35;
}
.ueber-uns-page .compact-card .compact-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background-color: #eef4f5;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 280' preserveAspectRatio='xMidYMid meet'><g fill='none' stroke='%23c5d8db' stroke-width='1.5'><rect x='90' y='52' width='90' height='160' rx='10' ry='10' fill='%23dde8ea'/><rect x='115' y='38' width='90' height='160' rx='10' ry='10' fill='%23d2e1e3'/><rect x='140' y='52' width='90' height='160' rx='10' ry='10' fill='%23dde8ea'/></g></svg>");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: 80% auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}
.ueber-uns-page .compact-card .compact-photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ueber-uns-page .compact-card .compact-photo .ph-monogram {
  font-size: 44px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.04em;
  opacity: 0.7;
}
.ueber-uns-page .compact-card .compact-tag {
  align-self: flex-start;
  margin-top: 13px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  /* Neutral fallback for admin-added tags */
  background: var(--secondary-light);
  color: var(--secondary);
}
.ueber-uns-page .compact-card .compact-tag.founder    { background: var(--primary-light);   color: var(--primary); }
.ueber-uns-page .compact-card .compact-tag.marketing  { background: var(--primary-light);   color: var(--primary); }
.ueber-uns-page .compact-card .compact-tag.coach_1to1 { background: var(--secondary-light); color: var(--secondary); }
.ueber-uns-page .compact-card .compact-tag.lecturer   { background: var(--secondary-light); color: var(--secondary); }
.ueber-uns-page .compact-card .compact-tag.verwaltung { background: #fff8e6;                color: #b58105; }
.ueber-uns-page .compact-card .compact-tag.coach      { background: var(--secondary-light); color: var(--secondary); }
.ueber-uns-page .compact-card .compact-tag.coord      { background: #fff8e6;                color: #b58105; }

/* ── Team cards are clickable (open modal) ──────────────────────────── */
.ueber-uns-page [data-team-modal-trigger] { cursor: pointer; outline: none; }
.ueber-uns-page [data-team-modal-trigger]:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 13px;
}

/* ══════════════════════════════════════════════
   § TEAM MODAL — popup with full details on card click
   ══════════════════════════════════════════════ */
.ueber-uns-page .team-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 21px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.ueber-uns-page .team-modal[hidden] { display: none; }
.ueber-uns-page .team-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility 0s linear 0s;
}
.ueber-uns-page .team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 40, 45, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.ueber-uns-page .team-modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 21px;
  box-shadow:
    0 8px 24px -8px rgba(15, 40, 45, 0.24),
    0 32px 64px -16px rgba(15, 40, 45, 0.32);
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 42px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform .2s ease;
}
.ueber-uns-page .team-modal.is-open .team-modal-dialog { transform: scale(1); }

.ueber-uns-page .team-modal-close {
  position: absolute;
  top: 13px; right: 13px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease, color .2s ease;
}
.ueber-uns-page .team-modal-close:hover {
  background: var(--gray-900);
  color: #fff;
}
.ueber-uns-page .team-modal-close svg { width: 18px; height: 18px; }

.ueber-uns-page .team-modal-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #eef4f5;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 280' preserveAspectRatio='xMidYMid meet'><g fill='none' stroke='%23c5d8db' stroke-width='1.5'><rect x='90' y='52' width='90' height='160' rx='10' ry='10' fill='%23dde8ea'/><rect x='115' y='38' width='90' height='160' rx='10' ry='10' fill='%23d2e1e3'/><rect x='140' y='52' width='90' height='160' rx='10' ry='10' fill='%23dde8ea'/></g></svg>");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: 70% auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ueber-uns-page .team-modal-photo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ueber-uns-page .team-modal-photo-monogram {
  font-size: 80px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.04em;
  opacity: 0.7;
}

.ueber-uns-page .team-modal-body {
  padding: 21px 21px 21px;
  overflow-y: auto;
}
.ueber-uns-page .team-modal-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.ueber-uns-page .team-modal-tag.founder    { background: var(--primary-light);   color: var(--primary); }
.ueber-uns-page .team-modal-tag.marketing  { background: var(--primary-light);   color: var(--primary); }
.ueber-uns-page .team-modal-tag.coach_1to1 { background: var(--secondary-light); color: var(--secondary); }
.ueber-uns-page .team-modal-tag.lecturer   { background: var(--secondary-light); color: var(--secondary); }
.ueber-uns-page .team-modal-tag.verwaltung { background: #fff8e6;                color: #b58105; }
.ueber-uns-page .team-modal-tag.coach      { background: var(--secondary-light); color: var(--secondary); }
.ueber-uns-page .team-modal-tag.coord      { background: #fff8e6;                color: #b58105; }

.ueber-uns-page .team-modal-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin: 0 0 5px;
}
.ueber-uns-page .team-modal-role {
  font-size: 14.5px;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 21px;
}

.ueber-uns-page .team-modal-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--gray-200);
  padding-top: 21px;
}
.ueber-uns-page .team-modal-contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 15px;
}
.ueber-uns-page .team-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--secondary-light);
  color: var(--secondary);
  flex-shrink: 0;
}
.ueber-uns-page .team-modal-icon svg { width: 16px; height: 16px; }
.ueber-uns-page .team-modal-link {
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
}
.ueber-uns-page .team-modal-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Force [hidden] to actually hide — our display:flex/block rules above
   override the browser default `[hidden] { display: none }`, so we re-assert
   it with class+attr selectors that win on specificity. */
.ueber-uns-page .team-modal-photo-img[hidden],
.ueber-uns-page .team-modal-photo-monogram[hidden],
.ueber-uns-page .team-modal-contact-item[hidden],
.ueber-uns-page .team-modal-tag[hidden],
.ueber-uns-page .team-modal-role[hidden] { display: none !important; }

/* Body scroll lock when modal is open */
body.team-modal-open { overflow: hidden; }

/* Mobile modal: full-bleed feel */
@media (max-width: 640px) {
  .ueber-uns-page .team-modal { padding: 13px; align-items: flex-end; }
  .ueber-uns-page .team-modal-dialog {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 21px 21px 0 0;
    transform: translateY(100%);
    transition: transform .25s ease;
  }
  .ueber-uns-page .team-modal.is-open .team-modal-dialog { transform: translateY(0); }
  .ueber-uns-page .team-modal-photo { aspect-ratio: 16 / 10; }
  .ueber-uns-page .team-modal-name { font-size: 19px; }
}

/* ══════════════════════════════════════════════
   § PARTNER & KOOPERATIONEN — logo strip
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-partners {
  padding: 89px 0;
  background: #fff;
}
.ueber-uns-page .ueber-section-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.ueber-uns-page .partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 34px 55px;
}
.ueber-uns-page .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.ueber-uns-page a.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
.ueber-uns-page .partner-logo img {
  max-height: 55px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

/* ══════════════════════════════════════════════
   § AZAV CERTIFICATION BANNER
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-azav {
  padding: 55px 0 89px;
  background: #fff;
}
.ueber-uns-page .azav-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
  gap: 55px;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 21px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 21px;
}
.ueber-uns-page .azav-seal {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ueber-uns-page .azav-seal img {
  max-width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}
.ueber-uns-page .azav-text h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 13px;
  text-wrap: balance;
}
.ueber-uns-page .azav-text p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 21px;
}
.ueber-uns-page .azav-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 13px;
  font-size: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--gray-200);
}
.ueber-uns-page .azav-meta-label {
  color: var(--gray-500);
  font-weight: 500;
}
.ueber-uns-page .azav-meta-value {
  color: var(--gray-900);
  font-weight: 700;
}
.ueber-uns-page .azav-meta-sep { color: var(--gray-300); }

/* ══════════════════════════════════════════════
   § BEITRÄGE ÜBER UNS — press / media coverage
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-press {
  padding: 89px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.ueber-uns-page .press-head {
  text-align: center;
  margin-bottom: 55px;
}
.ueber-uns-page .press-head h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 13px;
  text-wrap: balance;
}
.ueber-uns-page .press-head p {
  color: var(--gray-700);
  font-size: 16px;
  max-width: 56ch;
  margin: 0 auto;
}
.ueber-uns-page .press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 21px;
  max-width: 980px;
  margin: 0 auto;
}
.ueber-uns-page .press-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 21px;
  height: 144px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 13px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.ueber-uns-page .press-card:hover {
  transform: translateY(-3px);
  border-color: var(--gray-300);
  box-shadow:
    0 4px 10px -4px rgba(15, 40, 45, 0.08),
    0 14px 24px -14px rgba(15, 40, 45, 0.16);
}
.ueber-uns-page .press-card img {
  max-width: 100%;
  max-height: 89px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Mobile adjustments for the new sections */
@media (max-width: 1024px) {
  .ueber-uns-page .azav-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }
  .ueber-uns-page .azav-meta { justify-content: center; }
}
@media (max-width: 640px) {
  .ueber-uns-page .ueber-partners,
  .ueber-uns-page .ueber-press { padding: 55px 0; }
  .ueber-uns-page .ueber-azav  { padding: 34px 0 55px; }
  .ueber-uns-page .partners-grid { gap: 21px 34px; }
  .ueber-uns-page .partner-logo { height: 40px; }
  .ueber-uns-page .partner-logo img { max-height: 40px; max-width: 130px; }
  .ueber-uns-page .azav-grid { padding: 21px; }
  .ueber-uns-page .azav-seal img { max-height: 180px; }
  .ueber-uns-page .press-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }
  .ueber-uns-page .press-card { height: 110px; padding: 13px; }
  .ueber-uns-page .press-card img { max-height: 60px; }
}

/* ══════════════════════════════════════════════
   § TRUST STRIP
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-trust {
  padding: 89px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.ueber-uns-page .ueber-trust h3 {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.ueber-uns-page .trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.ueber-uns-page .trust-pill {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
}
.ueber-uns-page .trust-pill .tp-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.ueber-uns-page .trust-pill .tp-mark.coral {
  background: var(--primary-light);
  color: var(--primary);
}
.ueber-uns-page .trust-pill strong { color: var(--gray-900); }
.ueber-uns-page .trust-pill em {
  font-style: normal;
  color: var(--gray-500);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   § FAQ
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-faq {
  padding: 89px 0;
  background: #fff;
}
.ueber-uns-page .faq-head {
  text-align: center;
  margin-bottom: 55px;
}
.ueber-uns-page .faq-head .eyebrow { margin-bottom: 16px; }
.ueber-uns-page .faq-head h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 12px;
  text-wrap: balance;
  color: var(--gray-900);
}
.ueber-uns-page .faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
/* FAQ inherits the global .faq-item / .faq-q / .faq-chevron / .faq-a
   rules from custom.css — same look as /coachings/, /foerderung/,
   /umschulungen/. No page-specific overrides needed. */

/* ══════════════════════════════════════════════
   § CTA BANNER
   ══════════════════════════════════════════════ */
.ueber-uns-page .ueber-cta {
  padding: 89px 0;
  background: #fff;
}
.ueber-uns-page .cta-banner {
  max-width: 1140px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: 24px;
  padding: 55px 34px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ueber-uns-page .cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(216,94,67,0.16), transparent 36%),
    radial-gradient(circle at 92% 88%, rgba(255,255,255,0.06), transparent 40%);
  pointer-events: none;
}
.ueber-uns-page .cta-banner > * { position: relative; }
.ueber-uns-page .cta-banner .eyebrow {
  background: rgba(255,255,255,0.12);
  color: #fff;
  margin-bottom: 20px;
}
.ueber-uns-page .cta-banner h2 {
  color: #fff;
  font-size: clamp(28px, 3.8vw, 44px);
  margin-bottom: 16px;
  text-wrap: balance;
}
.ueber-uns-page .cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 34px;
}
.ueber-uns-page .cta-banner .btn-row {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   § RESPONSIVE – tablet & mobile
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ueber-uns-page .story-grid,
  .ueber-uns-page .story-grid.reverse {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 72px;
  }
  /* On mobile, the visual is always rendered above its own text section
     (banner-style header). Both blocks share the same order, regardless of
     the desktop .reverse alternation. */
  .ueber-uns-page .story-grid .story-visual,
  .ueber-uns-page .story-grid.reverse .story-visual { order: 1; }
  .ueber-uns-page .story-grid .story-text,
  .ueber-uns-page .story-grid.reverse .story-text { order: 2; }

  /* Stacked layout: show the full photo at its natural ratio (no cropping).
     2026-05-15: switched from fixed aspect-ratio + object-fit:cover to
     natural ratio because both story photos have important subjects in
     different parts of the frame — no single crop worked for both. */
  .ueber-uns-page .story-visual {
    aspect-ratio: auto !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 14px;
    background: transparent;
  }
  .ueber-uns-page .story-visual > img {
    width: 100%;
    height: auto !important;
    border-radius: 14px;
    object-fit: contain;
  }
  /* Visual-cards on mobile: both badges anchor to top-right so they sit in
     the same corner across story blocks (visual consistency on small screens).
     Original desktop layout alternates bottom-left/top-right for variety. */
  .ueber-uns-page .story-visual .visual-card.bottom-left,
  .ueber-uns-page .story-visual .visual-card.top-right {
    left: auto;
    bottom: auto;
    right: 13px;
    top: 13px;
  }

  .ueber-uns-page .stats-row { grid-template-columns: repeat(2, 1fr); }
  .ueber-uns-page .stat-cell:nth-child(2) { border-right: none; }
  .ueber-uns-page .stat-cell:nth-child(1),
  .ueber-uns-page .stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--gray-200);
  }

  .ueber-uns-page .values-grid { grid-template-columns: 1fr; }

  .ueber-uns-page .team-grid,
  .ueber-uns-page .featured-grid { grid-template-columns: 1fr; gap: 13px; }
  /* Reset asymmetric cuts in 1-col so they don't go lopsided */
  .ueber-uns-page .team-card.left-cut,
  .ueber-uns-page .team-card.right-cut { border-radius: 13px; }
  .ueber-uns-page .team-card.left-cut  .team-photo,
  .ueber-uns-page .team-card.right-cut .team-photo {
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
  }
  /* Right-edge fade hidden on tablet/mobile (touch users swipe directly) */
  .ueber-uns-page .team-scroll-wrap::after { display: none; }
}

@media (max-width: 640px) {
  /* Section padding compression */
  .ueber-uns-page .ueber-hero { padding: 55px 0 0; }
  .ueber-uns-page .ueber-hero h1 { font-size: 32px; line-height: 1.1; }
  .ueber-uns-page .ueber-hero p  { font-size: 16px; }

  .ueber-uns-page .ueber-mission,
  .ueber-uns-page .ueber-story,
  .ueber-uns-page .ueber-values,
  .ueber-uns-page .ueber-team,
  .ueber-uns-page .ueber-trust,
  .ueber-uns-page .ueber-faq,
  .ueber-uns-page .ueber-cta { padding: 55px 0; }

  /* Hero strip on mobile: CSS-only crossfade slider (no JS, no library).
     All 3 photos stack in the same golden-ratio (1.618:1) frame and
     cross-fade on a 9s loop. GPU-accelerated (opacity only), so it
     adds zero meaningful weight to the page. */
  .ueber-uns-page .ueber-hero-strip {
    display: block !important;
    position: relative;
    aspect-ratio: 1.618 / 1;
    margin: 0 13px 34px;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
  }
  .ueber-uns-page .hero-strip-img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto !important;
    border-radius: 0;
    opacity: 0;
    box-shadow: none;
    /* Respect users who opt out of motion */
    animation-duration: 9s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
  }
  .ueber-uns-page .hero-strip-img.center { aspect-ratio: auto !important; }
  .ueber-uns-page .hero-strip-img:nth-child(1) { animation-name: pp-slide-1; }
  .ueber-uns-page .hero-strip-img:nth-child(2) { animation-name: pp-slide-2; }
  .ueber-uns-page .hero-strip-img:nth-child(3) { animation-name: pp-slide-3; }
  /* 3rd slide (123go-1.webp) — anchor lower in the source image so the
     interesting bottom portion stays in frame. */
  .ueber-uns-page .hero-strip-img:nth-child(3) img {
    object-position: center 20%;
  }
  @keyframes pp-slide-1 {
    0%, 30% { opacity: 1; }
    35%, 95% { opacity: 0; }
    100% { opacity: 1; }
  }
  @keyframes pp-slide-2 {
    0%, 30% { opacity: 0; }
    35%, 60% { opacity: 1; }
    65%, 100% { opacity: 0; }
  }
  @keyframes pp-slide-3 {
    0%, 60% { opacity: 0; }
    65%, 95% { opacity: 1; }
    100% { opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ueber-uns-page .hero-strip-img { animation: none; }
    .ueber-uns-page .hero-strip-img:nth-child(2) { opacity: 1; }
  }
  .ueber-uns-page .hero-strip-img .label-card {
    left: 6px;
    bottom: 6px;
    padding: 4px 7px;
    font-size: 9px;
    border-radius: 6px;
    gap: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    white-space: nowrap;
    max-width: calc(100% - 12px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ueber-uns-page .label-card .dot {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
  }

  /* Hero CTAs: full width, stacked */
  .ueber-uns-page .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 34px;
  }
  .ueber-uns-page .hero-actions .btn { width: 100%; }

  /* Mission text */
  .ueber-uns-page .mission-text { font-size: 18px; margin-bottom: 34px; }

  /* Centered origin-story block: tighter spacing, smaller marker */
  .ueber-uns-page .story-centered { margin-bottom: 55px; }
  .ueber-uns-page .story-centered h2 { font-size: 26px; margin-bottom: 18px; }
  .ueber-uns-page .story-centered > p { font-size: 16px; line-height: 1.65; }
  .ueber-uns-page .story-timeline::before { left: 22px; }
  .ueber-uns-page .story-timeline li {
    grid-template-columns: 44px 1fr;
    gap: 13px;
    padding: 13px 0;
  }
  .ueber-uns-page .story-timeline .st-marker {
    width: 44px; height: 44px;
    font-size: 10px;
    box-shadow: 0 0 0 4px #fff;
  }
  .ueber-uns-page .story-timeline .st-body strong { font-size: 15px; }
  .ueber-uns-page .story-timeline .st-body span { font-size: 14px; }

  /* Stats: 2x2 → 1 col stack */
  .ueber-uns-page .stats-row {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
  .ueber-uns-page .stat-cell {
    padding: 21px 13px;
    border-right: none !important;
    border-bottom: 1px solid var(--gray-200) !important;
  }
  .ueber-uns-page .stat-cell:last-child { border-bottom: none !important; }
  .ueber-uns-page .stat-num { font-size: 32px; }

  /* Story blocks on phones: show full photo at natural ratio (no fixed
     height crop). Both visual-cards anchor top-right for consistency. */
  .ueber-uns-page .story-visual {
    aspect-ratio: auto !important;
    height: auto !important;
    max-height: none !important;
  }
  .ueber-uns-page .story-visual > img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
  }
  .ueber-uns-page .story-visual .visual-card.bottom-left,
  .ueber-uns-page .story-visual .visual-card.top-right {
    left: auto;
    bottom: auto;
    right: 10px;
    top: 10px;
  }
  .ueber-uns-page .story-visual .visual-card { padding: 10px 12px; }
  .ueber-uns-page .vc-num { font-size: 20px; }
  .ueber-uns-page .vc-label { font-size: 10px; }
  /* Tighter gap between banner and the text below */
  .ueber-uns-page .story-grid,
  .ueber-uns-page .story-grid.reverse {
    gap: 21px !important;
    margin-bottom: 55px !important;
  }

  /* Team grids on mobile: legacy .team-grid stays 1-col;
     .featured-grid (Gründung & Leitung) becomes a horizontal scroll
     carousel so users don't have to scroll past 5 stacked cards to
     reach the next section. Same snap pattern as the compact strip below. */
  .ueber-uns-page .team-grid { grid-template-columns: 1fr; gap: 13px; }
  .ueber-uns-page .featured-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    padding: 8px 16px 21px;
    margin: 0 -16px;
    gap: 13px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
    justify-content: flex-start;
  }
  .ueber-uns-page .featured-grid::-webkit-scrollbar { height: 5px; }
  .ueber-uns-page .featured-grid::-webkit-scrollbar-track { background: transparent; }
  .ueber-uns-page .featured-grid::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
  }
  /* Card size on mobile carousel: matches desktop after 15%-reduction
     pass — width 263px (Fibonacci-aligned), photo 198px tall.
     flex-basis 1/φ ≈ 62vw so ~1.6 cards are visible (next card peeks
     to signal swipeability). */
  .ueber-uns-page .featured-grid > .team-card {
    flex: 0 0 62vw;
    max-width: 263px;
    scroll-snap-align: start;
    padding: 21px;
  }
  .ueber-uns-page .team-card,
  .ueber-uns-page .team-card.left-cut,
  .ueber-uns-page .team-card.right-cut { border-radius: 13px !important; }
  .ueber-uns-page .team-card .team-photo,
  .ueber-uns-page .team-card.left-cut .team-photo,
  .ueber-uns-page .team-card.right-cut .team-photo {
    border-radius: 13px !important;
    height: 198px;
  }
  /* Compact cards stay slim on phones */
  .ueber-uns-page .compact-card { flex: 0 0 180px; padding: 13px; }
  .ueber-uns-page .compact-card .compact-header h4 { font-size: 14px; }
  .ueber-uns-page .compact-card .compact-photo .ph-monogram { font-size: 36px; }
  /* Group head: smaller on mobile */
  .ueber-uns-page .team-group-head { gap: 13px; padding-bottom: 8px; margin-bottom: 13px; }
  .ueber-uns-page .team-group-head h3 { font-size: 12px; }
  .ueber-uns-page .team-group-head .group-count { font-size: 12px; }

  /* Trust pills: smaller padding */
  .ueber-uns-page .trust-pill {
    padding: 13px 13px;
    font-size: 13px;
  }
  .ueber-uns-page .trust-pill .tp-mark {
    width: 28px; height: 28px;
    font-size: 11px;
  }

  /* CTA banner: tighter padding, full-width buttons */
  .ueber-uns-page .cta-banner {
    padding: 34px 21px;
    border-radius: 18px;
  }
  .ueber-uns-page .cta-banner .btn-row { flex-direction: column; }
  .ueber-uns-page .cta-banner .btn-row .btn { width: 100%; }

  /* Values: tighter padding on mobile + smaller icon row */
  .ueber-uns-page .value-card { padding: 21px 21px; }
  .ueber-uns-page .value-card .v-icon { width: 40px; height: 40px; }
  .ueber-uns-page .value-card .v-icon svg { width: 20px; height: 20px; }
  .ueber-uns-page .value-card h3 { font-size: 17px; }
}

/* Hairline tweak – phones below 380px (small Androids, older iPhone SE) */
@media (max-width: 380px) {
  .ueber-uns-page .ueber-hero h1 { font-size: 28px; }
  .ueber-uns-page .mission-text { font-size: 17px; }
  .ueber-uns-page .stat-num { font-size: 28px; }
  .ueber-uns-page .team-card { padding: 21px; }
  .ueber-uns-page .team-photo { height: 200px; }
  .ueber-uns-page .team-photo .ph-monogram { font-size: 52px; }
  .ueber-uns-page .cta-banner { padding: 34px 21px; }
  .ueber-uns-page .cta-banner h2 { font-size: 24px; }
}
