/* ==========================================================================
   MOSI BRIDGE – Website
   Mobile-first. DE/EN/FR. Brand colors: #1E3A8A, #14B8A6, #F59E0B, #F3F4F6
   ========================================================================== */

:root {
  --c-ink:        #0B1220;
  --c-ink-2:      #1F2A44;
  --c-muted:      #475569;
  --c-line:       #E5E7EB;

  --c-blue:       #1E3A8A;
  --c-blue-dark:  #0B1E54;
  --c-teal:       #14B8A6;
  --c-teal-dark:  #0E8E82;
  --c-amber:      #F59E0B;
  --c-surface:    #F3F4F6;
  --c-bg:         #FFFFFF;
  --c-bg-soft:    #F8FAFC;

  --ff-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow:    0 6px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.12);

  --container: 1200px;
  --pad:       clamp(20px, 5vw, 40px);

  --easing: cubic-bezier(.2,.7,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* prevent decorative .blob / parallax / gradient elements from triggering
     horizontal page-scroll on touch devices. overflow-x: clip still allows
     position: sticky (unlike overflow-x: hidden on html/body) */
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* older browsers fall back to hidden */
  overflow-x: hidden;
  /* modern browsers then use clip which keeps sticky working */
  overflow-x: clip;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100vw;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color .2s var(--easing); }
a:hover { color: var(--c-teal-dark); }
a:focus-visible { outline: 3px solid var(--c-amber); outline-offset: 3px; border-radius: 4px; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 700; line-height: 1.15; color: var(--c-ink); letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.3rem); }
p  { margin: 0 0 1em; color: var(--c-ink-2); }
p.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--c-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .78rem/1 var(--ff-head); letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-teal-dark);
  padding: 8px 12px;
  background: rgba(20, 184, 166, .10);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-amber); flex: 0 0 6px;
}

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); }

.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: absolute; left: 0; top: -100px;
  background: var(--c-blue); color: #fff; padding: 10px 16px;
  z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 600 .95rem/1 var(--ff-head);
  letter-spacing: .01em;
  border-radius: 999px;
  transition: transform .2s var(--easing), box-shadow .2s var(--easing), background-color .2s var(--easing), color .2s var(--easing), border-color .2s var(--easing);
  text-align: center;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--c-blue); color: #fff; box-shadow: 0 8px 20px rgba(30,58,138,.25); }
.btn-primary:hover { background: #15306F; color: #fff; box-shadow: 0 10px 26px rgba(30,58,138,.35); }

.btn-accent { background: var(--c-teal); color: #fff; box-shadow: 0 8px 20px rgba(20,184,166,.25); }
.btn-accent:hover { background: var(--c-teal-dark); color: #fff; }

.btn-ghost { background: transparent; color: var(--c-blue); border: 1.5px solid var(--c-blue); }
.btn-ghost:hover { background: var(--c-blue); color: #fff; }

.btn-light { background: #fff; color: var(--c-blue); border: 1.5px solid rgba(255,255,255,.4); }
.btn-light:hover { background: #fff; color: var(--c-blue-dark); }

.btn-link { padding: 0; min-height: 0; background: transparent; color: var(--c-blue); font-weight: 600; }
.btn-link:hover { color: var(--c-teal-dark); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.55);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background-color .35s var(--easing),
    border-color .35s var(--easing),
    box-shadow .35s var(--easing),
    padding .35s var(--easing);
  padding: 10px 0;
}
.header.is-stuck {
  background: rgba(255,255,255,.88);
  border-bottom-color: rgba(15,23,42,.06);
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
  padding: 4px 0;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
  transition: min-height .35s var(--easing);
}
.header.is-stuck .header-inner { min-height: 60px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 800; letter-spacing: .06em;
  color: var(--c-blue);
  min-width: 0;
}
.brand img {
  height: clamp(46px, 7vw, 74px);
  width: auto;
  display: block;
  max-width: 100%;
  transition: height .35s var(--easing);
  /* PNG already has a fully transparent background (white was keyed out),
     so no blend mode is needed. A blend mode would flicker against the
     translucent header during height transitions. */
}
@media (min-width: 820px) { .brand img { height: 78px; } }
.header.is-stuck .brand img { height: clamp(36px, 5.5vw, 48px); }
@media (min-width: 820px) { .header.is-stuck .brand img { height: 52px; } }
.brand-tagline {
  display: none;
  font: 500 .7rem/1 var(--ff-body);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-muted);
}

.nav { display: none; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--c-ink); font-weight: 500; font-size: .95rem;
}
.nav-list a:hover { background: var(--c-surface); color: var(--c-blue); }
/* Aktiver Nav-Link (per IntersectionObserver gesetzt) */
.nav-list a.is-active {
  background: var(--c-surface); color: var(--c-blue); font-weight: 600;
  box-shadow: inset 0 -2px 0 0 var(--c-amber);
}
.drawer nav a.is-active { color: var(--c-blue); }
.drawer nav a.is-active::before { content: "› "; color: var(--c-amber); }

.header-right { display: flex; align-items: center; gap: 8px; }

.lang {
  position: relative;
}
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px 8px 8px; border-radius: 999px;
  color: var(--c-ink); font-weight: 600; font-size: .9rem;
  border: 1px solid var(--c-line); background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lang-btn:hover { border-color: var(--c-teal); color: var(--c-blue); box-shadow: 0 2px 10px rgba(20,184,166,.12); }
.lang-btn .chev { width: 14px; height: 14px; opacity: .55; }
.flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 16px; overflow: hidden; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15,23,42,.12), 0 1px 2px rgba(15,23,42,.15);
  flex: 0 0 22px;
}
.flag svg { width: 100%; height: 100%; display: block; }
.lang-menu button { gap: 12px; }
.lang-menu .flag { width: 24px; height: 16px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 160px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.lang[aria-expanded="true"] .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px; border-radius: 8px;
  text-align: left; font-weight: 500;
}
.lang-menu button:hover { background: var(--c-surface); }
.lang-menu .is-active { color: var(--c-teal-dark); font-weight: 600; }
.lang-menu .is-active::before { content: "●"; color: var(--c-teal); }

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  color: var(--c-blue); background: #fff; border: 1px solid var(--c-line);
}
.hamburger:hover { border-color: var(--c-teal); }
.hamburger svg { width: 22px; height: 22px; }
.hamburger .icon-close { display: none; }
body.nav-open .hamburger .icon-open { display: none; }
body.nav-open .hamburger .icon-close { display: block; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(11, 30, 84, .65);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(90vw, 360px); background: #fff;
  padding: 88px 24px 32px;
  transform: translateX(100%);
  transition: transform .35s var(--easing);
  overflow-y: auto;
}
body.nav-open .drawer { opacity: 1; visibility: visible; }
body.nav-open .drawer-panel { transform: translateX(0); }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a {
  display: block; padding: 14px 0; font: 600 1.1rem/1.3 var(--ff-head);
  color: var(--c-ink); border-bottom: 1px solid var(--c-line);
}
.drawer nav a:hover { color: var(--c-teal-dark); }
.drawer .drawer-cta { margin-top: 24px; display: grid; gap: 10px; }
.drawer .drawer-cta .btn { width: 100%; }

/* ---------- Hero ----------
   Stacking order inside .hero:
     .hero-photo         z-index 0   (full-bleed photo)
     .hero::after        z-index 1   (gradient overlay)
     .hero > .container  z-index 2   (text content)
*/
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: clamp(72px, 12vw, 140px) 0 clamp(72px, 12vw, 140px);
  background-color: var(--c-blue-dark);
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--c-blue-dark);
}
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  object-position: right center;
}
/* Mobile: shift the image so both women & skyline stay in frame */
@media (max-width: 819px) {
  .hero-photo img { object-position: 72% center; }
}

/* Overlay: darker on the left where the text sits, lighter on the right
   where the skyline + women are visible. Plus a gentle vertical grade. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(11,30,84,.88) 0%,
      rgba(11,30,84,.72) 35%,
      rgba(11,30,84,.35) 65%,
      rgba(11,30,84,.15) 100%),
    linear-gradient(180deg, rgba(11,30,84,0) 55%, rgba(11,30,84,.4) 100%);
}
@media (max-width: 819px) {
  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(11,30,84,.55) 0%,
        rgba(11,30,84,.78) 35%,
        rgba(11,30,84,.85) 70%,
        rgba(11,30,84,.92) 100%);
  }
}

/* lift text content above the overlay */
.hero > .container { position: relative; z-index: 2; }

/* In the dark-bg hero, the primary blue-on-blue button almost disappears.
   Invert it: white background, dark-blue text, strong shadow. */
.hero .btn-primary {
  background: #FFFFFF;
  color: var(--c-blue-dark);
  box-shadow:
    0 12px 28px rgba(11, 30, 84, .45),
    0 0 0 1px rgba(255, 255, 255, .4) inset;
}
.hero .btn-primary:hover {
  background: #F3F7FB;
  color: var(--c-blue-dark);
  box-shadow:
    0 16px 34px rgba(11, 30, 84, .55),
    0 0 0 1px rgba(255, 255, 255, .6) inset;
}
.hero .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.hero .eyebrow::before { background: var(--c-amber); }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--c-amber); display: block; }
.hero .lead { color: rgba(255,255,255,.92); max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  color: rgba(255,255,255,.8); font-size: .85rem;
}
.hero-trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-amber); display: inline-block; }
.hero-badges { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.hero-badge {
  font: 600 .75rem/1 var(--ff-head); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.10); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}

.hero-art {
  position: absolute; right: -80px; bottom: -40px; width: min(56vw, 620px);
  opacity: .15; pointer-events: none;
  filter: saturate(1.1);
}

/* ---------- Sections base ---------- */
section {
  padding: clamp(56px, 9vw, 112px) 0;
  scroll-margin-top: 80px;
  /* any decorative element that sits outside the container (blobs, bridge-svg,
     parallax photos) must not push horizontal scroll */
  overflow-x: clip;
}
section .container > header { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.section-soft { background: var(--c-bg-soft); }
.section-dark {
  background: linear-gradient(180deg, #0B1E54 0%, #1E3A8A 100%);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p  { color: rgba(255,255,255,.85); }
.section-dark .eyebrow { color: #fff; background: rgba(255,255,255,.15); }

.divider-wave { display: block; width: 100%; height: 48px; margin: 8px 0; }

/* ---------- Mission stats ---------- */
.mission { position: relative; }
.mission-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start;
}
.mission-prose p + p { margin-top: 1em; }
.stats {
  display: grid;
  /* minmax(0,1fr) allows columns to actually shrink below their content
     width so a long label (e.g. "Sprachen: DE · EN · FR") can wrap. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(165deg, #fff 0%, rgba(20,184,166,.06) 100%);
  border: 1px solid rgba(20,184,166,.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(15,23,42,.08);
  position: relative; /* overflow removed so labels are never clipped */
}
.stats::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.stats > div {
  position: relative; z-index: 1;
  text-align: center;
  padding: 6px 2px;
  min-width: 0;          /* required so text truly wraps inside grid cells */
}
.stats > div + div { border-left: 1px solid rgba(30,58,138,.14); }
.stat-value {
  display: inline-block;
  min-width: 3ch;
  font: 800 clamp(2.4rem, 7vw, 4rem)/1 var(--ff-head);
  color: var(--c-blue);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  /* force own compositor layer + isolate paint to avoid flicker during
     frequent textContent updates (counter animation on desktop) */
  transform: translateZ(0);
  will-change: contents;
  contain: layout style paint;
  backface-visibility: hidden;
}
.stat-value.is-counted {
  background: linear-gradient(135deg, #1E3A8A 0%, #14B8A6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Once the final value is set, no more DOM mutations — drop will-change. */
  will-change: auto;
}
.stat-label {
  display: block; margin-top: 10px;
  color: var(--c-ink-2);
  font: 600 .82rem/1.3 var(--ff-head);
  letter-spacing: .02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.stat-label em {
  display: block;
  margin-top: 3px;
  color: var(--c-teal-dark);
  font-style: normal;
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .05em;
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stats > div + div { border-left: 0; border-top: 1px solid rgba(30,58,138,.14); padding-top: 18px; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.service-card {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--c-line);
  transition: transform .3s var(--easing), box-shadow .3s var(--easing), border-color .3s var(--easing);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.16), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(20,184,166,.5); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, #E8F7F5, #D4EEEA);
  color: var(--c-teal-dark);
  margin-bottom: 14px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:nth-child(3n+2) .service-icon { background: linear-gradient(135deg, #E3EAFB, #D1DDF5); color: var(--c-blue); }
.service-card:nth-child(3n+3) .service-icon { background: linear-gradient(135deg, #FEF1D9, #FCE3B0); color: #B4740A; }
.service-card h3 { margin-bottom: 6px; }
.service-card p  { margin: 0; color: var(--c-muted); font-size: .96rem; }

/* ---------- Two-track (Companies / Talents) ---------- */
.tracks { display: grid; grid-template-columns: 1fr; gap: 20px; }
.track {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.track--companies { background: linear-gradient(160deg, #0B1E54 0%, #1E3A8A 100%); color: #fff; }
.track--talents   { background: linear-gradient(160deg, #0E8E82 0%, #14B8A6 100%); color: #fff; }
.track h2 { color: #fff; }
.track p  { color: rgba(255,255,255,.9); }
.track .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.track ul { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 12px; }
.track li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
}
.track li svg { width: 20px; height: 20px; color: var(--c-amber); margin-top: 4px; }
.track li strong { display: block; color: #fff; font: 600 1rem/1.3 var(--ff-head); }
.track li span { display: block; color: rgba(255,255,255,.82); font-size: .94rem; margin-top: 2px; }
.track-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.track-note { font-size: .8rem; color: rgba(255,255,255,.75); }

/* decorative shape */
.track::after {
  content: ""; position: absolute; right: -40px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
  pointer-events: none;
}

/* ---------- Psychosocial section ---------- */
.psych-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.psych-visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: #0B1E54;
}
.psych-visual img { width: 100%; height: 100%; object-fit: cover; }
/* subtle decorative frame – no color tint on the photo itself */
.psych-visual::before {
  content: ""; position: absolute;
  left: -16px; top: -16px; right: 16px; bottom: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-teal) 0%, transparent 75%);
  opacity: .30; z-index: -1;
}
.psych-content ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.psych-content li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--c-line);
}
.psych-content li svg { width: 18px; height: 18px; color: var(--c-teal); margin-top: 4px; }

.quote {
  margin: 28px 0 0; padding: 24px; border-left: 4px solid var(--c-amber);
  background: #fff; border-radius: var(--radius);
  font-family: var(--ff-head); font-style: italic; color: var(--c-ink); font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Origins ---------- */
.origins-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.origins-intro { margin: 0; }
.origins-intro .eyebrow { margin-bottom: 8px; }
.origins-intro h2 { margin: 0 0 16px; }
.origins-intro .lead { margin: 0; }
.origins-map { background: #fff; border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-sm); width: 100%; }
.origins-map img { display: block; width: 100%; height: auto; margin: 0; }
.origins-countries { margin-top: 40px; }
.countries { display: grid; grid-template-columns: 1fr; gap: 10px; }
.country {
  padding: 16px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--c-line);
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
}
.country-flag {
  width: 14px; height: 44px; border-radius: 4px; flex: 0 0 14px;
  background: linear-gradient(180deg, var(--c-blue), var(--c-teal));
}
.country:nth-child(2) .country-flag { background: linear-gradient(180deg, var(--c-amber), var(--c-blue)); }
.country:nth-child(3) .country-flag { background: linear-gradient(180deg, var(--c-teal), var(--c-amber)); }
.country:nth-child(4) .country-flag { background: linear-gradient(180deg, var(--c-blue), var(--c-amber)); }
.country:nth-child(5) .country-flag { background: linear-gradient(180deg, var(--c-amber), var(--c-teal)); }
.country:nth-child(6) .country-flag { background: linear-gradient(180deg, var(--c-teal), var(--c-blue)); }
.country:nth-child(7) .country-flag { background: linear-gradient(180deg, var(--c-amber), var(--c-amber) 33%, var(--c-blue) 33%, var(--c-blue) 66%, var(--c-teal) 66%); }
.country h3 { margin: 0 0 4px; font-size: 1rem; }
.country p  { margin: 0; font-size: .92rem; color: var(--c-muted); }
.more-label {
  margin-top: 16px; padding: 12px 16px; border-radius: 999px;
  background: rgba(245,158,11,.1); color: #B4740A; font-weight: 600; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.more-label--link {
  text-decoration: none; transition: background-color .2s, transform .2s, color .2s;
}
.more-label--link:hover {
  background: rgba(245,158,11,.22); color: #8A560A; transform: translateY(-1px);
}

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.value {
  padding: 24px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.1);
  color: var(--c-amber);
  margin-bottom: 14px;
}
.value-icon svg { width: 28px; height: 28px; }
.value h3 { margin-bottom: 4px; font-size: 1.1rem; }
.value p { font-size: .9rem; color: rgba(255,255,255,.85); margin: 0; }

/* ---------- Founder ---------- */
.founder-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
.founder-photo {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo::after {
  content: ""; position: absolute; right: -30px; bottom: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.4), transparent 70%);
  pointer-events: none;
}
.founder-name {
  display: block; margin-top: 20px;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; color: var(--c-blue);
}
.founder-name-label { display: block; font-family: var(--ff-body); font-weight: 500; color: var(--c-muted); font-size: .85rem; margin-top: 4px; }
.founder-note { font-size: .8rem; color: var(--c-amber); font-style: italic; margin-top: 4px; }
/* hide the draft-note block when it's empty (founder name confirmed) */
.founder-note:empty { display: none; }

/* ---------- Team-Block (innerhalb der Founder-Section) ---------- */
.team-divider {
  margin: 56px auto 28px; padding-top: 32px; border-top: 1px solid rgba(0,0,0,.08);
  text-align: center;
}
.team-divider .eyebrow { display: inline-block; }
.team-divider h3 {
  font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem;
  color: var(--c-blue); margin: 6px 0 8px;
}
.team-divider p { color: var(--c-muted); max-width: 640px; margin: 0 auto; font-size: .98rem; }
.team-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  max-width: 920px; margin: 0 auto;
}
.team-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 28px 22px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.team-card-photo {
  width: 150px; height: 150px; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  flex-shrink: 0;
}
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Mobile-Default: alles zentriert ausgerichtet (passt zum zentrierten Foto) */
.team-card-text { text-align: center; min-width: 0; }
.team-card-name {
  display: block; font-family: var(--ff-head); font-weight: 700;
  font-size: 1.2rem; color: var(--c-blue); margin: 0 0 2px;
}
.team-card-role {
  display: block; font-family: var(--ff-body); font-weight: 500;
  color: var(--c-muted); font-size: .9rem; margin-bottom: 16px;
}
.team-card-bio {
  color: var(--c-ink); font-size: 1rem; line-height: 1.65;
  text-align: left;
  position: relative;
  max-height: 7.5em; overflow: hidden;
  transition: max-height .45s cubic-bezier(.2,.7,.2,1);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
}
.team-card-bio.is-expanded {
  -webkit-mask-image: none; mask-image: none;
}
.team-card-bio p { margin: 0 0 14px; }
.team-card-bio p:last-child { margin-bottom: 0; }

.team-card-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 10px 0 0; padding: 4px 0;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: .95rem; font-weight: 600;
  color: var(--c-blue);
}
.team-card-more:hover { color: var(--c-teal-dark, var(--c-teal)); }
.team-card-more::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px,-1px);
  transition: transform .25s ease;
}
.team-card-more[aria-expanded="true"]::after {
  transform: rotate(-135deg) translate(-2px,-2px);
}

.team-card-quote.quote { margin-top: 22px; text-align: left; }

/* Desktop: Foto links, Text rechts */
@media (min-width: 720px) {
  .team-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
    text-align: left;
    padding: 36px 40px;
  }
  .team-card-photo {
    width: 220px; height: 220px; margin: 0;
  }
  .team-card-text { text-align: left; }
  .team-card-name, .team-card-role { text-align: left; }
}
/* Sobald mehrere Personen da sind, automatisch Multi-Spalten-Layout (Cards werden dann wieder zentriert) */
@media (min-width: 720px) {
  .team-grid:has(> .team-card:nth-of-type(2)) { grid-template-columns: 1fr 1fr; }
  .team-grid:has(> .team-card:nth-of-type(2)) .team-card {
    grid-template-columns: 1fr; text-align: center; padding: 28px 24px;
  }
  .team-grid:has(> .team-card:nth-of-type(2)) .team-card-photo {
    margin: 0 auto 18px; width: 160px; height: 160px;
  }
  .team-grid:has(> .team-card:nth-of-type(2)) .team-card-text { text-align: center; }
  .team-grid:has(> .team-card:nth-of-type(2)) .team-card-bio { font-size: .95rem; }
}
@media (min-width: 1024px) {
  .team-grid:has(> .team-card:nth-of-type(3)) { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Process (bridge chain) ---------- */
.process-bridge {
  position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 32px);
}
.process-bridge-svg {
  position: absolute; left: 0; right: 0; top: 36px; height: 54px;
  pointer-events: none; z-index: 0;
  display: none;
}
.process-bridge-svg { position: absolute; }
.process-bridge-arc { width: 100%; height: 100%; display: block; }
.process-bridge-star {
  position: absolute;
  left: 50%; top: 0;
  width: clamp(44px, 4.5vw, 64px);
  height: clamp(44px, 4.5vw, 64px);
  transform: translate(-50%, -30%);
  filter: drop-shadow(0 6px 14px rgba(245,158,11,.35));
  animation: starTwinkle 4s ease-in-out infinite;
}
@keyframes starTwinkle {
  0%, 100% { transform: translate(-50%, -30%) scale(1);   opacity: 1; }
  50%      { transform: translate(-50%, -30%) scale(1.08); opacity: .9; }
}
@media (min-width: 1024px) { .process-bridge-svg { display: block; } }

.process-steps {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  position: relative; z-index: 1;
}
.step {
  position: relative; padding: 24px 22px 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
  transition: border-color .3s var(--easing), box-shadow .3s var(--easing), transform .3s var(--easing), background-color .3s var(--easing);
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
}
.step:hover { border-color: rgba(20,184,166,.6); background: rgba(255,255,255,.92); box-shadow: 0 14px 34px rgba(15,23,42,.12); transform: translateY(-3px); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-teal) 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 1.15rem/1 var(--ff-head);
  box-shadow: 0 8px 20px rgba(30,58,138,.35);
  position: relative;
}
.step-num::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.28) 0%, transparent 70%);
  z-index: -1;
}
.step h3 { font-size: 1.1rem; margin: 4px 0 6px; }
.step p  { margin: 0; color: var(--c-muted); font-size: .95rem; }

/* On desktop: bridge-like horizontal chain with pylons and arcs */
@media (min-width: 1024px) {
  .process-bridge {
    padding-top: 150px;       /* plenty of room for bridge + star above step circles */
    position: relative;
  }
  .process-bridge-svg {
    top: 0;
    height: 170px;            /* taller so the star floats high above the cards */
    z-index: 0;
    left: 0; right: 0;
  }
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 0;
    position: relative; z-index: 1;
  }
  .step {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 18px 24px;
    justify-items: center;
  }
  .step-num {
    position: absolute;
    top: -34px; left: 50%; transform: translateX(-50%);
    width: 64px; height: 64px;
    z-index: 2;
    font-size: 1.2rem;
    border: 3px solid #fff;
  }
  /* small "cable" line from pylon down onto card */
  .step::before {
    content: ""; position: absolute;
    left: 50%; top: -6px;
    width: 2px; height: 14px; background: var(--c-teal-dark); opacity: .7;
  }
  .step h3 { font-size: 1rem; margin-top: 24px; }
  .step p  { font-size: .9rem; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr; gap: 10px; }
.faq details {
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: #fff; padding: 4px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--c-teal); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 14px 0;
  font: 600 1rem/1.4 var(--ff-head); color: var(--c-ink);
  display: grid; grid-template-columns: 1fr 22px; align-items: start; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-weight: 700; color: var(--c-teal-dark);
  transition: transform .2s;
  display: inline-block;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 14px; color: var(--c-muted); }

/* ==========================================================================
   Sectors / Mangelberufe – card grid with photo + copy
   ========================================================================== */
.sectors-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.sector-card {
  position: relative; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--easing), box-shadow .35s var(--easing);
}
.sector-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sector-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.sector-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--easing);
}
.sector-card:hover .sector-photo img { transform: scale(1.07); }
.sector-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,30,84,.55) 100%);
  pointer-events: none;
}
.sector-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; color: var(--c-blue);
  font: 700 .75rem/1 var(--ff-head); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(11,30,84,.2);
}
.sector-body { padding: 20px 22px 24px; }
.sector-body h3 { margin: 0 0 8px; font-size: 1.15rem; }
.sector-body p  { margin: 0; color: var(--c-muted); font-size: .95rem; line-height: 1.55; }

@media (min-width: 600px)  { .sectors-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sectors-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Internationale Reichweite – stats section with background image
   ========================================================================== */
.section-reach {
  position: relative; color: #fff; overflow: hidden;
  padding: clamp(64px, 10vw, 140px) 0;
}
.reach-photo {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.reach-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
}
.section-reach::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,30,84,.94) 0%, rgba(11,30,84,.78) 55%, rgba(11,30,84,.35) 100%),
    linear-gradient(180deg, rgba(11,30,84,.4) 0%, rgba(11,30,84,.6) 100%);
}
.section-reach h2, .section-reach h3 { color: #fff; }
.section-reach p  { color: rgba(255,255,255,.92); }
.section-reach .eyebrow { background: rgba(255,255,255,.15); color: #fff; }

.reach-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: start;
}
.reach-points { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.reach-points li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  color: rgba(255,255,255,.92);
}
.reach-points li svg { width: 20px; height: 20px; color: var(--c-amber); margin-top: 3px; }

.reach-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.reach-stat {
  padding: 22px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
}
.reach-stat-value {
  display: block; font: 800 clamp(1.4rem, 3.2vw, 2rem)/1.1 var(--ff-head);
  color: var(--c-amber);
  letter-spacing: -.01em;
  word-wrap: break-word; hyphens: auto;
}
.reach-stat-label {
  display: block; margin-top: 8px; font-size: .9rem; color: rgba(255,255,255,.85);
  line-height: 1.4;
}
.reach-stat-label em { color: #FFE9B8; font-style: italic; font-size: .78rem; display: block; margin-top: 3px; }
.reach-note {
  margin-top: 18px; font-size: .78rem; color: var(--c-amber);
  font-style: italic; opacity: .88;
}
.reach-note:empty { display: none; }

@media (min-width: 820px) {
  .reach-grid { grid-template-columns: 1.25fr 1fr; gap: 48px; }
  .reach-stats { grid-template-columns: 1fr 1fr; align-self: stretch; }
}

/* ==========================================================================
   Behördliche Unterstützung – two-column with list of admin steps
   ========================================================================== */
.authorities-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start;
}
.authorities-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.authorities-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  aspect-ratio: 4/3;
}
.authorities-photo::after {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 10px 24px rgba(245,158,11,.4);
}

/* Desktop: stack photo + stat card in left column, list on right */
.authorities-photo-stack { display: flex; flex-direction: column; gap: 20px; }
.authorities-highlight {
  padding: 20px 22px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
  color: #fff;
}
.authorities-highlight .big {
  display: block; font: 800 clamp(2rem, 4.5vw, 2.6rem)/1 var(--ff-head);
  color: var(--c-amber); letter-spacing: -.02em;
}
.authorities-highlight .small {
  display: block; margin-top: 6px; font-size: .9rem; color: rgba(255,255,255,.85);
}
.authorities-highlight strong { color: #fff; display: block; font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }

.authorities-list { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: step; display: grid; gap: 12px; }
.authorities-list li {
  counter-increment: step;
  display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start;
  padding: 12px 0; border-bottom: 1px dashed var(--c-line);
}
.authorities-list li:last-child { border-bottom: 0; }
.authorities-list .authority-num::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-teal); color: #fff;
  font: 700 .75rem/1 var(--ff-head);
  margin-top: 2px;
}
.authorities-list li strong { display: block; font: 600 1rem/1.3 var(--ff-head); color: var(--c-ink); }
.authorities-list li span  { display: block; color: var(--c-muted); font-size: .92rem; margin-top: 3px; }

@media (min-width: 820px) {
  .authorities-grid { grid-template-columns: 5fr 7fr; gap: 48px; }
  .authorities-photo-stack { position: sticky; top: 92px; }
}

/* ---------- Contact ---------- */
.map-mini {
  display: block; position: relative;
  margin-top: 10px;
  max-width: 280px;
  border-radius: 10px; overflow: hidden;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(15,23,42,.08);
  border: 1px solid var(--c-line);
  transition: transform .2s var(--easing), box-shadow .2s var(--easing), border-color .2s var(--easing);
  cursor: pointer;
}
.map-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,23,42,.14);
  border-color: var(--c-teal);
}
.map-mini-img {
  display: block;
  width: 100%; height: 110px; object-fit: cover;
  aspect-ratio: auto;
}
.map-mini-overlay {
  position: absolute; left: 8px; bottom: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(11,30,84,.88);
  color: #fff;
  font: 600 .72rem/1 var(--ff-head); letter-spacing: .02em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.map-mini-overlay svg { flex: 0 0 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-info {
  padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--c-line);
}
.contact-info dl { margin: 0; display: grid; gap: 16px; }
.contact-info .row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.contact-info dt {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(20,184,166,.12); color: var(--c-teal-dark);
}
.contact-info dt svg { width: 20px; height: 20px; }
.contact-info dd { margin: 0; }
.contact-info dd .label { display: block; font-size: .78rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-info dd .value { display: block; color: var(--c-ink); font-weight: 500; margin-top: 2px; }
.contact-info dd .note { display: block; font-size: .78rem; color: var(--c-amber); font-style: italic; margin-top: 2px; }

.form {
  padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--c-line);
}
.form .row { display: grid; gap: 4px; margin-bottom: 14px; }
.form label { font-weight: 600; font-size: .88rem; color: var(--c-ink-2); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0; border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,.25);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-agree { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 12px 0 16px; }
.form-agree input { width: auto; margin-top: 4px; }
.form-agree label { font-weight: 400; font-size: .85rem; color: var(--c-muted); }

.form-msg { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: .9rem; display: none; }
.form-msg.is-success { display: block; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-msg.is-error   { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, #0B1E54 0%, #07153B 100%);
  color: rgba(255,255,255,.8);
  padding: 64px 0 24px;
  position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-amber), var(--c-teal), var(--c-blue));
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer h4 {
  color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: var(--c-amber); }
.footer-brand img { height: auto; width: 100%; max-width: 260px; }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 14px; font-size: .88rem; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.55);
}

/* ---------- Legal pages ---------- */
.legal {
  padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 64px);
  background: var(--c-bg-soft);
  background-image:
    radial-gradient(circle at 100% 0, rgba(20,184,166,.08), transparent 45%),
    radial-gradient(circle at 0 100%, rgba(30,58,138,.05), transparent 50%);
}
@media (max-width: 440px) {
  .legal-back { display: none; }
}
.legal-inner {
  background: #fff;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 26px rgba(15,23,42,.06);
  max-width: 920px; margin: 0 auto;
  border: 1px solid rgba(30,58,138,.06);
}
.legal h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  overflow-wrap: break-word; word-break: break-word; hyphens: auto;
  margin-bottom: .4em;
}
/* kill global section padding inside legal pages (it's meant for main sections) */
.legal section { padding: 0 !important; margin: 0 !important; scroll-margin-top: 0 !important; }
.legal-inner > section + section,
.legal-inner section ~ section { margin-top: 1.2em !important; }

.legal h2 {
  font-size: 1.08rem; margin: 1.1em 0 .35em; color: var(--c-blue);
  display: flex; align-items: center; gap: 10px;
  padding-top: .6em; border-top: 1px solid rgba(15,23,42,.06);
  font-family: var(--ff-head); font-weight: 700;
  line-height: 1.3;
}
.legal h2::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-teal); flex: 0 0 6px;
}
.legal > .container > .legal-inner > h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.6em; }
.legal .lead + div h2:first-child { border-top: 0; padding-top: 0; }
.legal p  { margin: 0 0 .7em; font-size: .95rem; line-height: 1.55; }
.legal p:last-child { margin-bottom: 0; }
.legal ul, .legal ol {
  margin: .3em 0 .8em; padding-left: 1.2em;
  font-size: .93rem; color: var(--c-ink-2); line-height: 1.5;
}
.legal ul li, .legal ol li { margin-bottom: .25em; }
.legal strong { color: var(--c-ink); font-weight: 600; }
.legal a { color: var(--c-teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--c-blue); }
.legal code {
  font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: .85em; padding: 1px 5px; border-radius: 4px;
  background: rgba(20,184,166,.10); color: var(--c-teal-dark);
}
.legal dl {
  display: grid; grid-template-columns: 1fr; gap: 4px 20px;
  margin: .6em 0 1.3em; padding: 14px 16px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(30,58,138,.03), rgba(20,184,166,.03));
}
.legal dt { font-weight: 600; color: var(--c-ink-2); margin-top: .8em; font-size: .88rem; }
.legal dt:first-child { margin-top: 0; }
.legal dd { margin: 0; color: var(--c-muted); font-size: .93rem; }
.legal em { color: #B4740A; font-style: italic; }
.legal .muted { color: var(--c-muted); font-size: .82rem; font-style: italic; }
.legal-meta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 1em; padding: 4px 10px; border-radius: 999px;
  background: rgba(20,184,166,.1); color: var(--c-teal-dark);
  font: 600 .78rem/1 var(--ff-head); letter-spacing: .05em;
}
.legal .legal-toc {
  margin: 1em 0 2em; padding: 16px 20px;
  background: linear-gradient(135deg, #F0FBF9, #F0F4FD);
  border-radius: 12px; border: 1px solid rgba(30,58,138,.08);
}
.legal .legal-toc h3 {
  margin: 0 0 .5em; font-size: .85rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--c-blue);
}
.legal .legal-toc ol {
  column-count: 1; column-gap: 24px;
  list-style: decimal-leading-zero; padding-left: 2em;
  font-size: .88rem; margin: 0;
}
@media (min-width: 700px) { .legal .legal-toc ol { column-count: 2; } }
.legal .legal-toc a { color: var(--c-ink-2); text-decoration: none; }
.legal .legal-toc a:hover { color: var(--c-teal-dark); text-decoration: underline; }

/* ---------- Floating mobile CTA ---------- */
.fab {
  position: fixed; bottom: 16px; right: 16px; z-index: 30;
  display: none;
  min-height: 52px; padding: 0 20px;
  border-radius: 999px; font: 700 .95rem/1 var(--ff-head);
  background: var(--c-amber); color: var(--c-blue-dark);
  box-shadow: 0 12px 30px rgba(245,158,11,.35);
  align-items: center; gap: 8px;
}
.fab:hover { background: #E89109; }

/* ---------- Back to top button ---------- */
.back-to-top {
  position: fixed; right: 16px; z-index: 29;
  bottom: 84px;
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-blue); color: #fff;
  box-shadow: 0 10px 26px rgba(11,30,84,.3);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--easing), transform .3s var(--easing), background-color .2s, visibility .3s;
  cursor: pointer;
}
.back-to-top:hover { background: var(--c-blue-dark); transform: translateY(-2px); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (min-width: 820px) {
  .back-to-top { bottom: 28px; right: 28px; width: 52px; height: 52px; }
}

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .countries { grid-template-columns: 1fr 1fr; }
  .form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form .row-2 .row { margin-bottom: 0; }
}

@media (min-width: 820px) {
  .brand-tagline { display: inline; }
  .hamburger { display: none; }
  .nav { display: block; }
  .hero-cta .btn { min-width: 220px; }
  .mission-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .tracks { grid-template-columns: 1fr 1fr; gap: 24px; }
  .countries { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .origins-grid { grid-template-columns: 1fr 2fr; gap: 40px; }
  .psych-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
  .founder-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 32px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { padding: 28px 32px; }
  .fab { display: none !important; }
}

@media (min-width: 1024px) {
  section { padding: clamp(72px, 8vw, 120px) 0; }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .process-steps { grid-template-columns: repeat(5, 1fr); }
  .step { grid-template-columns: 1fr; text-align: left; }
  .step-num { font-size: 1.8rem; }
}

/* Mobile floating CTA visible only on small screens */
@media (max-width: 819px) {
  .fab { display: inline-flex; }
  body { padding-bottom: 80px; }
}

/* ==========================================================================
   Reveal Animations – modern, more dramatic entry on scroll
   Uses spring-like easing and longer distances for a premium feel
   ========================================================================== */
:root {
  --easing-spring: cubic-bezier(.16, 1, .3, 1);        /* smooth spring-out */
  --easing-bounce: cubic-bezier(.68, -0.15, .27, 1.35); /* overshoot subtly */
  --reveal-duration: 1s;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  transition:
    opacity var(--reveal-duration) var(--easing-spring),
    transform var(--reveal-duration) var(--easing-spring),
    filter var(--reveal-duration) var(--easing-spring);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}

.reveal-left  { transform: translate3d(-80px, 0, 0); }
.reveal-right { transform: translate3d(80px, 0, 0); }
.reveal-scale { transform: scale(.86); opacity: 0; }
.reveal-scale.is-visible { transform: scale(1); opacity: 1; }
.reveal-rotate { transform: rotate(-3deg) translateY(40px) scale(.95); opacity: 0; }
.reveal-rotate.is-visible { transform: rotate(0deg) translateY(0) scale(1); opacity: 1; }
.reveal-blur  { filter: blur(14px); opacity: 0; transform: translateY(30px); }
.reveal-blur.is-visible { filter: blur(0); opacity: 1; transform: translateY(0); }

/* Stagger children – stronger slide + scale, tighter rhythm.
   Each child is observed individually so its animation fires exactly when
   it scrolls into view (this matters on mobile where a stagger grid can
   be 1500+ px tall). The nth-child delays stay so that when multiple
   children enter together (desktop row), they still appear staggered. */
.stagger > * {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(.96);
  transition:
    opacity .9s var(--easing-spring),
    transform .9s var(--easing-spring);
}
.stagger > *:nth-child(1)  { transition-delay: 40ms; }
.stagger > *:nth-child(2)  { transition-delay: 130ms; }
.stagger > *:nth-child(3)  { transition-delay: 220ms; }
.stagger > *:nth-child(4)  { transition-delay: 310ms; }
.stagger > *:nth-child(5)  { transition-delay: 60ms;  }
.stagger > *:nth-child(6)  { transition-delay: 140ms; }
.stagger > *:nth-child(7)  { transition-delay: 60ms;  }
.stagger > *:nth-child(8)  { transition-delay: 140ms; }
.stagger > *:nth-child(9)  { transition-delay: 60ms;  }
.stagger > *:nth-child(10) { transition-delay: 140ms; }
.stagger > *:nth-child(11) { transition-delay: 60ms;  }
.stagger > *:nth-child(12) { transition-delay: 140ms; }

.stagger > .is-visible {
  opacity: 1;
  transform: none;
}

/* Alternating image alignment – flip the visual column to the right */
@media (min-width: 820px) {
  .flip > *:first-child { order: 2; }
  .flip > *:last-child  { order: 1; }
}

/* Gentle hero fade */
@keyframes heroTitleIn {
  0%   { opacity: 0; transform: translateY(24px) scale(.98); }
  100% { opacity: 1; transform: translateY(0)   scale(1); }
}
.hero h1 span { animation: heroTitleIn 1s var(--easing) both; }
.hero h1 span:nth-child(2) { animation-delay: .18s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.fab { animation: floatY 3s ease-in-out infinite; }

/* ==========================================================================
   Visual variety – tinted section backgrounds with soft decorative blobs
   ========================================================================== */
.section-teal {
  position: relative; background: #F0FBF9;
  background-image:
    radial-gradient(circle at 92% 8%,  rgba(20,184,166,.18), transparent 42%),
    radial-gradient(circle at 6% 92%,  rgba(30,58,138,.10), transparent 40%);
}
.section-amber {
  position: relative; background: #FFF7EA;
  background-image:
    radial-gradient(circle at 10% 0%,  rgba(245,158,11,.18), transparent 48%),
    radial-gradient(circle at 96% 100%,rgba(20,184,166,.12), transparent 44%);
}
.section-gradient {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #E8F2F1 100%);
}
.section-blue-soft {
  position: relative;
  background: linear-gradient(155deg, #EEF2FB 0%, #E2E9F5 100%);
}

/* decorative glow blob – rendered via radial-gradient (no GPU blur) */
.blob {
  position: absolute; z-index: 0; pointer-events: none;
  width: 420px; height: 420px; border-radius: 50%;
}
.blob--teal  { background: radial-gradient(circle, rgba(20,184,166,.35) 0%, rgba(20,184,166,.12) 40%, transparent 70%); }
.blob--blue  { background: radial-gradient(circle, rgba(30,58,138,.30)  0%, rgba(30,58,138,.10) 40%, transparent 70%); }
.blob--amber { background: radial-gradient(circle, rgba(245,158,11,.32) 0%, rgba(245,158,11,.10) 40%, transparent 70%); }
.blob--tl { left: -140px; top: -140px; }
.blob--tr { right: -120px; top: -80px; }
.blob--br { right: -160px; bottom: -220px; width: 520px; height: 520px; }
.blob--bl { left: -140px; bottom: -200px; width: 480px; height: 480px; }

section > .container { position: relative; z-index: 1; }

/* dotted pattern overlay (subtle, no mask for perf) */
.pattern-dots {
  background-image:
    radial-gradient(rgba(15,23,42,.05) 1px, transparent 1.2px),
    linear-gradient(180deg, transparent, rgba(255,255,255,.6) 70%);
  background-size: 24px 24px, 100% 100%;
}

/* wave divider */
.wave-top, .wave-bottom {
  display: block; width: 100%; height: 56px;
  line-height: 0;
}
.wave-top svg, .wave-bottom svg { width: 100%; height: 100%; display: block; }

/* section-level decorations for founder */
.founder-photo {
  position: relative;
}
.founder-photo::before {
  content: ""; position: absolute;
  left: -18px; top: -18px; right: 18px; bottom: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-teal) 0%, transparent 70%);
  opacity: .25; z-index: -1;
}

/* card background tints (alternating service cards) */
.services-grid.stagger .service-card:nth-child(6n+1) { background: linear-gradient(160deg, #fff 0%, #F0FBF9 100%); }
.services-grid.stagger .service-card:nth-child(6n+2) { background: linear-gradient(160deg, #fff 0%, #F0F4FD 100%); }
.services-grid.stagger .service-card:nth-child(6n+3) { background: linear-gradient(160deg, #fff 0%, #FFF7EA 100%); }
.services-grid.stagger .service-card:nth-child(6n+4) { background: linear-gradient(160deg, #fff 0%, #F0FBF9 100%); }
.services-grid.stagger .service-card:nth-child(6n+5) { background: linear-gradient(160deg, #fff 0%, #F0F4FD 100%); }
.services-grid.stagger .service-card:nth-child(6n+6) { background: linear-gradient(160deg, #fff 0%, #FFF7EA 100%); }

/* FAQ highlight */
.faq details[open] { background: linear-gradient(165deg, #F0FBF9 0%, #fff 40%); }

/* old process connector – replaced by bridge SVG (see .process-bridge above) */

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > *, .hero h1 span { opacity: 1 !important; transform: none !important; animation: none !important; }
  .fab { animation: none !important; }
}

/* Hide lang menu click-outside helper */
.lang-backdrop { display: none; }
.lang[aria-expanded="true"] .lang-backdrop {
  display: block; position: fixed; inset: 0; z-index: -1; background: transparent;
}

/* Language switcher on dark background (footer) */
.footer .lang-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.footer .lang-btn:hover { border-color: var(--c-teal); }
