*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #2DB84B;
  --teal-d: #239040;
  --teal-l: #D4F5DC;
  --amber: #F5A623;
  --amber-d: #D4891A;
  --cream: #FAF6EE;
  --charcoal: #1F2420;
  --stone: #6B7B6E;
  --pebble: #9BAD9E;
  --bone: #DDE5DE;
  --surface: #ffffff;
  --head: 'Nunito', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --r: 10px;
  --r-lg: 18px;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--stone);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 5vw, 52px); }
h2 { font-size: clamp(22px, 4vw, 38px); }
h3 { font-size: clamp(17px, 2.4vw, 22px); }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); box-shadow: 0 12px 24px -12px rgba(45,184,75,.65); }
.btn-outline { background: transparent; color: var(--charcoal); border: 1.5px solid var(--bone); }
.btn-outline:hover {
  background: rgba(45,184,75,.12);
  border-color: rgba(45,184,75,.34);
  color: var(--teal-d);
}

/* ── Keyboard focus ring on all interactive controls (was missing on
      buttons — a11y gap). Low-specificity :where() so component-specific
      focus styles still win. Reduced-motion users keep it; it's instant. ── */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--bone);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 13px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.logo-name {
  font-family: var(--head);
  font-size: 22px;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
.logo-sub {
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--pebble);
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1;
}
.desk-nav {
  display: none;
  align-items: center;
  gap: 22px;
}
.desk-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--stone);
  transition: color .15s ease;
}
.desk-nav a:hover,
.desk-nav a.active { color: var(--teal-d); }
.header-cta {
  display: none;
  align-items: center;
  gap: 12px;
}
.mobile-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--bone);
  background: var(--surface);
  color: var(--charcoal);
  font-size: 18px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* Suppress the browser's default (blue) tap/focus outline; keep a clear
   keyboard ring via :focus-visible to match index.html. */
.mobile-toggle:focus { outline: none; }
.mobile-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Hide the raw DE/EN/ES switcher until JS upgrades it to the globe, so it
   doesn't flash on first paint. (.lang-globe is added the moment it's built.) */
.lang-switch:not(.lang-globe) { visibility: hidden; }
.mobile-menu {
  display: none;
  padding: 0 0 18px;
}
.mobile-menu.open { display: block; }
.mobile-menu-card {
  border: 1.5px solid var(--bone);
  border-radius: 18px;
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.mobile-menu-links {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.mobile-menu-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--bone);
  text-decoration: none;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
}
.mobile-menu-links a.active {
  background: var(--teal-l);
  border-color: rgba(45,184,75,.25);
  color: var(--teal-d);
}
.mobile-menu-meta > a[href*="#book-home-visit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(45,184,75,.2);
}
.mobile-menu-meta {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--bone);
}
.mobile-menu-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-menu-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--stone);
  white-space: nowrap;
  text-decoration: none;
}
.mobile-menu-phone-ic {
  font-size: 15px;
  line-height: 1;
}
.mobile-menu-phone-ic svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--bone);
  border-radius: 999px;
  background: #fff;
}
.lang-btn {
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--stone);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.lang-btn.active {
  background: var(--teal-l);
  color: var(--teal-d);
}
.hero {
  padding: 26px 0 64px;
  background:
    radial-gradient(circle at top right, rgba(45,184,75,.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(250,246,238,.9));
}
.hero-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--hero-position, center);
  transform: scale(1.02);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(250,246,238,.8) 0%, rgba(250,246,238,.68) 28%, rgba(250,246,238,.4) 48%, rgba(250,246,238,.14) 70%, rgba(250,246,238,0) 100%),
    radial-gradient(circle at top right, rgba(45,184,75,.08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(250,246,238,.1));
}
.hero-photo .hero-copy,
.hero-photo .hero-card {
  position: relative;
  z-index: 1;
}
.hero-photo .hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.52), rgba(255,255,255,.44));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (min-width: 1024px) {
  .hero-photo .hero-card {
    background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.34));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.hero-photo-leistungen {
  --hero-image: url("./hero-leistungen.jpg");
  --hero-position: 78% 14%;
}
.hero-photo-regionen {
  --hero-image: url("./hero-regionen.jpg");
  --hero-position: 82% 12%;
}
.hero-photo-ueber-uns {
  --hero-image: url("./hero-ueber-uns.jpg");
  --hero-position: 78% 14%;
}
.hero-photo-ratgeber {
  --hero-image: url("./hero-ratgeber.jpg");
  --hero-position: 76% 16%;
}
.hero-photo-karriere {
  --hero-image: url("./dog on couch.jpg");
  --hero-position: 80% 16%;
}
.breadcrumb {
  font-size: 13px;
  color: var(--pebble);
  margin-bottom: 22px;
}
.breadcrumb a {
  text-decoration: none;
  color: var(--pebble);
}
.breadcrumb span { margin: 0 6px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45,184,75,.11);
  color: var(--teal-d);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-grid {
  display: grid;
  gap: 26px;
}
.hero-copy p {
  max-width: 60ch;
  margin-top: 18px;
  font-size: 17px;
  color: var(--stone);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-card {
  border: 1px solid var(--bone);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  padding: 22px;
  box-shadow: 0 18px 40px rgba(31,36,32,.06);
}
.hero-card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal-d);
  margin-bottom: 14px;
}
.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.hero-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--charcoal);
  font-weight: 600;
}

.desk-only { display: none; }
.mob-only { display: block; }

.section {
  padding: 72px 0;
}
.section.alt { background: var(--surface); }
.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.section-head p {
  margin-top: 12px;
}

.card-grid {
  display: grid;
  gap: 16px;
}
.info-card,
.link-card,
.step-card,
.quote-card {
  border: 1px solid var(--bone);
  border-radius: 22px;
  background: var(--surface);
  padding: 22px;
}
.info-card p,
.link-card p,
.step-card p,
.quote-card p { margin-top: 10px; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--bone);
  background: var(--cream);
  text-decoration: none;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
}
.pill-link:hover {
  border-color: var(--teal);
  color: var(--teal-d);
}
.booking-section {
  background:
    radial-gradient(circle at top right, rgba(212,245,220,.5), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(250,246,238,.92));
}
.booking-section-inner {
  display: grid;
  gap: 26px;
  align-items: start;
}
.booking-section-copy {
  max-width: 620px;
}
.booking-section-copy p {
  margin-top: 14px;
  max-width: 60ch;
}
.booking-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(245,166,35,.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,250,240,.96), rgba(255,245,224,.92));
  box-shadow: 0 10px 24px rgba(31,36,32,.05);
}
.booking-note h3 {
  font-size: 16px;
  color: var(--charcoal);
}
.booking-note p {
  margin-top: 8px;
  max-width: 58ch;
}
.booking-note strong {
  color: var(--charcoal);
}
.booking-widget {
  width: 100%;
}
.booking-card {
  background: var(--surface);
  border: 1.5px solid var(--bone);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 10px 34px rgba(31,36,32,.08);
}
.booking-shell {
  overflow: hidden;
  transition: height .36s cubic-bezier(.22,1,.36,1);
  position: relative;
}
.booking-shell.is-transitioning .mob-step {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
}
.mob-step { transition: opacity .22s; }
.mob-step.is-hidden { display: none !important; }
.mob-step.is-fading { opacity: 0; }
.booking-label {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
}
.pet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.pet-btn {
  height: 56px;
  border: 1.5px solid var(--bone);
  border-radius: 12px;
  background: var(--surface);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--stone);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color .15s, background .15s, color .15s;
}
.pet-btn:hover,
.pet-btn.selected {
  border-color: var(--teal);
  background: var(--teal-l);
  color: var(--teal-d);
}
/* Error shake when continuing without choosing a pet (mirrors the homepage) */
.pet-grid.is-shaking { animation: t-pet-shake 280ms linear; }
.pet-grid.is-error .pet-btn { border-color: #e5484d; }
@keyframes t-pet-shake {
  0%     { transform: translateX(0);    animation-timing-function: cubic-bezier(.22,1,.36,1); }
  28.57% { transform: translateX(6px);  animation-timing-function: cubic-bezier(.22,1,.36,1); }
  57.14% { transform: translateX(-6px); animation-timing-function: cubic-bezier(.22,1,.36,1); }
  78.57% { transform: translateX(4px);  animation-timing-function: cubic-bezier(.22,1,.36,1); }
  100%   { transform: translateX(0); }
}
.pet-hint {
  margin-top: 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: #e5484d;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .25s ease, max-height .25s ease;
}
.pet-hint.show { opacity: 1; max-height: 34px; }
@media (prefers-reduced-motion: reduce) {
  .pet-grid.is-shaking { animation: none; }
}
.desktop-help-title strong,
.mobile-help-title strong {
  color: var(--teal);
}
.reasons-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pebble);
}
.search-field {
  position: relative;
  margin-bottom: 16px;
}
.booking-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--bone);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color .15s, background .15s;
}
.booking-search-row.has-chips {
  flex-wrap: wrap;
  align-items: flex-start;
  height: auto;
  min-height: 52px;
  padding: 8px 14px;
}
.booking-search-row:focus-within {
  border-color: var(--teal);
  background: var(--surface);
}
.search-chip-list {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-bottom: 2px;
}
.booking-search-row.has-chips .search-chip-list { display: flex; }
.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--teal-l);
  color: var(--teal-d);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.search-chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-chip-remove {
  border: none;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}
.search-ic {
  color: var(--pebble);
  font-size: 18px;
  flex-shrink: 0;
}
.booking-search-row input {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--body);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
}
.booking-search-row input::placeholder { color: var(--pebble); }
.search-suggestions {
  display: none;
  margin-top: 6px;
  background: var(--surface);
  border: 1.5px solid var(--bone);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(31,36,32,.08);
  overflow: hidden;
}
.search-suggestions.open { display: block; }
.search-inline-suggestions {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.search-inline-suggestions.open { display: flex; }
.search-suggestion-btn,
.search-suggestion-empty {
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: transparent;
  text-align: left;
  font-family: var(--body);
}
.search-suggestion-btn {
  cursor: pointer;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(221,229,222,.9);
  transition: background .15s;
}
.search-suggestion-btn:last-child { border-bottom: none; }
.search-suggestion-btn:hover,
.search-suggestion-btn.active {
  background: var(--teal-l);
}
.search-suggestion-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.search-suggestion-meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--pebble);
}
.search-suggestion-empty {
  font-size: 13px;
  color: var(--stone);
}
.search-suggestion-chip {
  min-height: 34px;
  border: 1.5px solid var(--bone);
  border-radius: 999px;
  background: var(--surface);
  color: var(--charcoal);
  padding: 0 12px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .15s, background .15s, color .15s;
}
.search-suggestion-chip:hover,
.search-suggestion-chip.active {
  border-color: var(--teal);
  background: var(--teal-l);
  color: var(--teal-d);
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.reason-btn {
  min-height: 52px;
  border: 1.5px solid var(--bone);
  border-radius: 12px;
  background: var(--surface);
  padding: 9px 12px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--stone);
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .15s, background .15s, color .15s;
}
.reason-btn:hover,
.reason-btn.selected {
  border-color: var(--teal);
  background: var(--teal-l);
  color: var(--teal-d);
}
.btn-xl {
  width: 100%;
  height: 58px;
  font-size: 16px;
  border-radius: 12px;
}
.desktop-booking-card.is-collapsed {
  padding-bottom: 22px;
}
.desktop-booking-reasons {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  margin-top: 0;
  pointer-events: none;
  transition: max-height .4s cubic-bezier(.22,1,.36,1), opacity .24s ease, transform .28s ease, margin-top .28s ease;
}
.desktop-booking-reasons.is-open {
  max-height: 720px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
  pointer-events: auto;
}
.desktop-back-btn,
.mobile-back-btn {
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  border: none;
  background: none;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--stone);
  cursor: pointer;
}
.split-grid {
  display: grid;
  gap: 24px;
}
.check-list,
.plain-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.check-list li,
.plain-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check-list li::before {
  content: '•';
  color: var(--teal);
  font-weight: 900;
}
.step-grid {
  display: grid;
  gap: 16px;
}
.page-careers .process-flow-grid {
  counter-reset: career-process;
  gap: 24px 28px;
}
.page-careers .process-flow-grid .step-card {
  position: relative;
  overflow: visible;
  counter-increment: career-process;
}
.page-careers .process-flow-grid .step-card::before {
  content: counter(career-process, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 800;
  color: var(--teal-d);
  background: linear-gradient(135deg, rgba(212,245,220,.96), rgba(255,255,255,.96));
  border: 1px solid rgba(45,184,75,.22);
  box-shadow: 0 14px 28px -24px rgba(31,36,32,.6);
}
.page-careers .process-flow-grid .step-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .82;
}
.page-careers .process-flow-grid .step-card:nth-child(-n+3)::after {
  left: 50%;
  bottom: -28px;
  width: 62px;
  height: 32px;
  transform: translateX(-50%) rotate(90deg);
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='56' viewBox='0 0 120 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 31c15-17 30 13 45-1 13-13 27-19 49-7' fill='none' stroke='%232db84b' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='m96 13 15 9-14 12' fill='none' stroke='%232db84b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='13' cy='31' r='3' fill='%23f5a623' opacity='.86'/%3E%3Ccircle cx='30' cy='23' r='2.2' fill='%232db84b' opacity='.46'/%3E%3Cpath d='M63 8l2.4 5 5 2.4-5 2.4-2.4 5-2.4-5-5-2.4 5-2.4z' fill='%23f5a623' opacity='.76'/%3E%3C/svg%3E");
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-size: 19px;
  margin-bottom: 14px;
}
.quote-card {
  position: relative;
  padding: 28px 26px 24px;
  border: 1px solid rgba(45,184,75,.16);
  background:
    radial-gradient(circle at top right, rgba(212,245,220,.7), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,251,248,.94));
  box-shadow: 0 18px 34px rgba(31,36,32,.06);
}
.quote-card::before {
  content: '“';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--head);
  font-size: 58px;
  line-height: 1;
  color: rgba(45,184,75,.16);
}
.quote-card h3 {
  font-size: 15px;
  letter-spacing: .02em;
}
.quote-card p {
  max-width: 32ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
}
.quote-card strong {
  display: block;
  margin-top: 18px;
  color: var(--teal-d);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.career-section {
  background:
    radial-gradient(circle at top left, rgba(212,245,220,.5), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(250,246,238,.94));
}
.contact-section {
  background: var(--cream);
}
.page-careers .contact-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-color: rgba(45,184,75,.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(245,252,247,.92));
  box-shadow: 0 20px 48px -36px rgba(31,36,32,.58);
}
.page-careers .contact-card h3 {
  position: relative;
  display: block;
  padding-bottom: 12px;
}
.page-careers .contact-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), rgba(245,166,35,.72));
}
.page-careers .contact-card ul {
  gap: 9px;
  margin-top: 18px;
}
.page-careers .contact-card li {
  border: 1px solid rgba(45,184,75,.11);
  border-radius: 16px;
  background: rgba(255,255,255,.76);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.page-careers .contact-card .contact-row-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 11px 12px;
  color: inherit;
  text-decoration: none;
}
.page-careers .contact-card li:has(.contact-row-link:hover),
.page-careers .contact-card li:has(.contact-row-link:focus-visible) {
  border-color: rgba(45,184,75,.26);
  box-shadow: 0 14px 28px -24px rgba(31,36,32,.6);
  transform: translateY(-1px);
}
.page-careers .contact-card .contact-row-link:focus-visible {
  outline: 2px solid rgba(45,184,75,.42);
  outline-offset: 4px;
  border-radius: 14px;
}
.page-careers .contact-card li span:first-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  line-height: 0;
  font-size: 0;
  color: var(--teal-d);
  background: rgba(224,248,230,.94);
  border: 1px solid rgba(45,184,75,.2);
}
.page-careers .contact-card .contact-icon::before {
  content: none !important;
}
.page-careers .contact-card .contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.page-careers .contact-card li:nth-child(2) span:first-child {
  color: var(--amber-d);
  background: rgba(255,245,224,.96);
  border-color: rgba(245,166,35,.24);
}
.page-careers .contact-card li:nth-child(3) span:first-child {
  color: #2794a7;
  background: rgba(230,248,250,.96);
  border-color: rgba(39,148,167,.22);
}
.faq-section {
  background: var(--surface);
}
.page-careers .faq-section .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-careers .faq-section .faq-list {
  margin-left: auto;
  margin-right: auto;
}
.career-title-mark {
  color: var(--teal);
}
.career-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
.career-form-card {
  border: 1px solid var(--bone);
  border-radius: 24px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 16px 34px rgba(31,36,32,.06);
}
.career-form-card h3 {
  font-size: 24px;
}
.career-form-card p {
  margin-top: 10px;
}
.career-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.career-field {
  display: grid;
  gap: 8px;
}
.career-field span {
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
}
.career-field .req-star {
  color: #e5484d;
  margin-left: 3px;
}
.career-field input,
.career-field textarea {
  width: 100%;
  border: 1.5px solid var(--bone);
  border-radius: 14px;
  background: var(--surface);
  padding: 13px 14px;
  font: inherit;
  color: var(--charcoal);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.career-field textarea {
  resize: vertical;
  min-height: 120px;
}
.career-field input[type="file"] {
  padding: 11px 12px;
  cursor: pointer;
}
.career-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  padding: 10px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.career-field input[type="file"]::file-selector-button:hover {
  background: var(--teal-d);
  transform: translateY(-1px);
}
.career-field small {
  font-size: 12px;
  color: var(--pebble);
}
.career-field input:focus,
.career-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(45,184,75,.08);
}
.career-form .btn {
  margin-top: 4px;
  width: 100%;
}
.career-form-feedback {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(212,245,220,.7);
  color: var(--teal-d);
  font-size: 14px;
  font-weight: 600;
}
.career-form-feedback.is-error {
  background: rgba(229,72,77,.10);
  color: #c0392b;
}

/* Inline validation feedback (mirrors the homepage shake + hint) */
.career-field input.shake-x,
.career-field textarea.shake-x { animation: career-shake 280ms linear; }
@keyframes career-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.career-field input.is-error,
.career-field textarea.is-error {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229,72,77,.10);
}
.career-field-hint {
  font-size: 12px;
  font-weight: 600;
  color: #e5484d;
}
@media (prefers-reduced-motion: reduce) {
  .career-field input.shake-x,
  .career-field textarea.shake-x { animation: none; }
}

.cta-band {
  padding: 44px 0 72px;
  background: linear-gradient(135deg, var(--teal), #36c75a);
  color: #fff;
}
.cta-band h2,
.cta-band p { color: #fff; }
.cta-band p {
  margin-top: 10px;
  max-width: 58ch;
}
.cta-band .hero-actions { margin-top: 22px; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--teal-d);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 14px 28px rgba(31,36,32,.18);
}
.cta-band .btn-primary:hover {
  background: #f3fff5;
  transform: translateY(-2px) scale(1.01);
}
.cta-band .btn-outline {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.cta-band .btn-outline:hover { border-color: #fff; }

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.72);
  padding-block: clamp(40px, 5vw, 68px);
}
.site-footer .footer-top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.site-footer .footer-logo img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.site-footer .footer-logo-text {
  font-family: var(--head);
  font-size: 32px;
  color: #fff;
  font-weight: 600;
  line-height: 1;
}
.site-footer .footer-contact {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg);
  padding: 22px;
  max-width: 292px;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.site-footer .footer-contact-title {
  font-family: var(--head);
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 500;
}
.site-footer .footer-service-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.site-footer .footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  background: rgba(255,255,255,.05);
  transition: background .15s ease;
  margin-bottom: 10px;
}
.site-footer .footer-phone:hover {
  background: rgba(255,255,255,.10);
}
.site-footer .footer-hours {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.site-footer .footer-col h4 {
  font-family: var(--head);
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 500;
}
.site-footer .footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .footer-col li {
  font-size: 14px;
  color: rgba(255,255,255,.58);
}
.site-footer .footer-col a {
  color: inherit;
  text-decoration: none;
  font: inherit;
  line-height: inherit;
}
.site-footer .footer-col li:hover,
.site-footer .footer-col li:focus-within,
.site-footer .footer-col a:hover,
.site-footer .footer-col a:focus-visible {
  color: #fff;
}
.site-footer .footer-col a:focus-visible {
  outline: 2px solid rgba(255,255,255,.4);
  outline-offset: 4px;
  border-radius: 4px;
}
.site-footer .footer-regions {
  margin-top: 44px;
}
.site-footer .footer-regions h4 {
  font-family: var(--head);
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 500;
}
.site-footer .regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px 24px;
}
.site-footer .region-item {
  font-size: 13px;
  color: rgba(255,255,255,.48);
  display: inline-block;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.site-footer a.region-item:hover,
.site-footer a.region-item:focus-visible {
  color: rgba(255,255,255,.82);
  transform: translateY(-1px);
}
.site-footer .region-item.current {
  color: #fff;
}
.site-footer .region-waitlist {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.site-footer .region-waitlist:hover {
  background: rgba(255,255,255,.10);
}
.site-footer .waitlist-form {
  display: none;
  max-width: 560px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.site-footer .waitlist-form.visible {
  display: block;
}
.site-footer .waitlist-form-title {
  font-family: var(--head);
  font-size: 19px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}
.site-footer .waitlist-form-copy {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.site-footer .waitlist-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.site-footer .waitlist-input {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 0 14px;
  font-family: var(--body);
  font-size: 14px;
  outline: none;
}
.site-footer .waitlist-input::placeholder {
  color: rgba(255,255,255,.48);
}
.site-footer .waitlist-input:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,.08);
}
.site-footer .waitlist-submit {
  margin-top: 4px;
}
.site-footer .waitlist-feedback {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #b8f5c4;
}
.site-footer .footer-hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-block: 36px;
}
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.36);
}

@media (max-width: 767px) {
  .header-row {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 10px;
  }
  .logo {
    gap: 8px;
    min-width: 0;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
  }
  .logo-name {
    font-size: 18px;
  }
  .logo-sub {
    font-size: 8.5px;
    letter-spacing: .07em;
  }
  .header-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .header-right .btn {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
  .lang-switch {
    flex-shrink: 0;
  }
  .lang-btn {
    min-width: 30px;
    padding: 0 6px;
  }
  .mob-menu-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .site-footer .footer-contact {
    padding: 18px;
    background: rgba(255,255,255,.08);
  }
  .site-footer .waitlist-form-grid {
    grid-template-columns: 1fr;
  }
  .site-footer .regions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }
}

@media (min-width: 768px) {
  .desk-nav,
  .header-cta { display: flex; }
  .mobile-toggle,
  .mobile-menu { display: none !important; }
  .desk-only { display: block; }
  .mob-only { display: none !important; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); align-items: start; }
  .hero-card { margin-top: 46px; }
  .booking-section-inner {
    grid-template-columns: minmax(0, .9fr) minmax(360px, .82fr);
    gap: 34px;
  }
  .card-grid.two,
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  #team .quote-card { margin-top: 42px; }
  .career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .page-careers .process-flow-grid .step-card:nth-child(1)::after,
  .page-careers .process-flow-grid .step-card:nth-child(3)::after {
    top: 50%;
    right: -49px;
    bottom: auto;
    left: auto;
    width: 82px;
    height: 42px;
    transform: translateY(-50%);
  }
  .page-careers .process-flow-grid .step-card:nth-child(2)::after {
    left: -48px;
    bottom: -58px;
    width: 126px;
    height: 82px;
    transform: none;
    background-image: url("data:image/svg+xml,%3Csvg width='146' height='100' viewBox='0 0 146 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M116 10c19 31-20 35-52 44-23 7-39 15-49 34' fill='none' stroke='%232db84b' stroke-width='4.4' stroke-linecap='round'/%3E%3Cpath d='m30 84-17 8 5-19' fill='none' stroke='%232db84b' stroke-width='4.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='112' cy='11' r='3.2' fill='%23f5a623' opacity='.82'/%3E%3Ccircle cx='78' cy='43' r='2.5' fill='%232db84b' opacity='.42'/%3E%3Cpath d='M53 20l2.1 4.5 4.5 2.1-4.5 2.1-2.1 4.5-2.1-4.5-4.5-2.1 4.5-2.1z' fill='%23f5a623' opacity='.72'/%3E%3C/svg%3E");
  }
}

@media (max-width: 1023px) {
  .hero-photo-leistungen {
    --hero-position: 82% 16%;
  }
  .hero-photo-regionen {
    --hero-position: 84% 14%;
  }
  .hero-photo-ueber-uns {
    --hero-position: 80% 16%;
  }
  .hero-photo-ratgeber {
    --hero-position: 80% 18%;
  }
  .hero-photo-karriere {
    --hero-position: 82% 20%;
  }
}

@media (max-width: 767px) {
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(250,246,238,.86) 0%, rgba(250,246,238,.68) 34%, rgba(250,246,238,.46) 58%, rgba(250,246,238,.16) 100%),
      radial-gradient(circle at top right, rgba(45,184,75,.08), transparent 34%),
      linear-gradient(180deg, rgba(255,255,255,.04), rgba(250,246,238,.1));
  }
  .hero-photo-leistungen {
    --hero-position: 82% 18%;
  }
  .hero-photo-regionen {
    --hero-position: 84% 18%;
  }
  .hero-photo-ueber-uns {
    --hero-position: 80% 20%;
  }
  .hero-photo-ratgeber {
    --hero-position: 82% 20%;
  }
  .hero-photo-karriere {
    --hero-position: 84% 22%;
  }
}

@media (min-width: 1024px) {
  .card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .site-footer .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* ── FAQ accordion ── */
.faq-list { display: grid; gap: 10px; max-width: 780px; }
.faq-item {
  border: 1px solid var(--bone);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 20px;
  color: var(--teal);
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--stone);
}

/* ── Service index (Leistungen page) ── */
.service-index { padding: 16px 0 72px; }
.service-category {
  padding: 48px 0;
  border-bottom: 1px solid var(--bone);
}
.service-category:last-of-type { border-bottom: none; }
.service-category-head { margin-bottom: 22px; }
.service-category-head h2 { font-size: clamp(19px, 2.6vw, 26px); }
.service-category-head p {
  margin-top: 8px;
  font-size: 15px;
  max-width: 65ch;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
}
.service-tile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid var(--bone);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  min-height: 72px;
  height: 100%;
  transition: border-color .15s, color .15s, background .15s;
}
.service-tile:hover {
  border-color: var(--teal);
  color: var(--teal-d);
  background: rgba(45,184,75,.04);
}
.service-tile-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}
@media (max-width: 479px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-tile {
    min-width: 0;
    min-height: 68px;
    padding: 14px 16px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
}
@media (min-width: 600px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================================
   ROUNDED PAGE EDGES (global) — the hero curves down into the
   content and the footer curves up out of it, on every section
   page. Content between stays square. The home page sets the same
   in its own inline styles; careers curves its marquee band above.
   ============================================================ */
.hero-photo {
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.site-footer {
  position: relative;
  margin-top: -40px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

/* ============================================================
   CAREERS PAGE — redesigned hero, stats strip & scroll motion
   (Scoped to .page-careers / .hero-careers / new classes so other
   pages are unaffected. Motion gated behind html.js-fx and disabled
   for prefers-reduced-motion.)
   ============================================================ */

/* ── Readability: body/muted text on this page failed AA (4.16:1).
      Darken the muted ramp so all copy clears 4.5:1 on cream & white. ── */
.page-careers {
  --stone: #4f5b53;   /* ~6:1 on cream — calm but readable */
  --pebble: #66746b;  /* small print, still AA */
}

/* ── Rounded corners only where the page meets its top and bottom edges:
      the hero/intro band curves down into the content, and the footer
      curves up out of it. Content sections stay square. ── */
.page-careers .career-marquee-band {
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
/* (Footer rounding is global — see ROUNDED PAGE EDGES below.) */

/* ── Drop the uppercase eyebrow above every section (AI scaffolding).
      Keep only the single hero kicker as a deliberate accent. ── */
.page-careers section.section .section-head .eyebrow { display: none; }
.page-careers .section-head { margin-bottom: 26px; }
.page-careers .section-head h2 { text-wrap: balance; }

/* ── Benefits: six identical bordered cards read as a template and a
      long stack on mobile. Render as a calm, borderless content grid
      with hairline dividers instead. ── */
/* Benefits as a horizontal slideshow / carousel */
.page-careers .benefit-carousel {
  --slide-w: min(330px, 76vw);
  --side-offset: clamp(260px, 70vw, 360px);
  min-height: clamp(430px, 106vw, 500px);
  overflow: hidden;
  scroll-snap-type: none;
  touch-action: pan-y;
  scrollbar-width: none;
  /* Soft edge fade so the back cards melt into the page instead of a hard cut. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.page-careers .benefit-carousel::-webkit-scrollbar { display: none; }
.page-careers .benefit-track {
  position: relative;
  height: clamp(408px, 100vw, 472px);
  width: 100%;
  padding: 8px 0 24px;
  gap: 0;
  transition: transform .34s ease;
}
.page-careers .benefit-card {
  scroll-snap-align: start;
  position: absolute;
  top: 8px;
  left: 50%;
  width: var(--slide-w);
  height: auto;
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--bone);
  border-radius: 22px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform .46s cubic-bezier(.22, .61, .36, 1), opacity .34s ease, filter .24s ease, box-shadow .24s ease;
  will-change: transform, opacity;
  box-shadow: 0 16px 34px -24px rgba(31, 36, 32, .55);
}
.page-careers .benefit-card.is-active {
  z-index: 3;
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateX(-50%) scale(1) !important;
  box-shadow: 0 24px 52px -28px rgba(31,36,32,.55);
}
.page-careers .benefit-card.is-prev {
  z-index: 2;
  opacity: .42 !important;
  transform: translateX(calc(-50% - var(--side-offset))) scale(.88) !important;
  filter: saturate(.75);
  pointer-events: auto;
  cursor: pointer;
}
.page-careers .benefit-card.is-next {
  z-index: 2;
  opacity: .42 !important;
  transform: translateX(calc(-50% + var(--side-offset))) scale(.88) !important;
  filter: saturate(.75);
  pointer-events: auto;
  cursor: pointer;
}
.page-careers .benefit-card.is-hidden {
  transform: translateX(-50%) scale(.78) !important;
}
@media (prefers-reduced-motion: reduce) {
  .page-careers .benefit-card { transition: opacity .2s ease; }
}
.page-careers .benefit-media {
  position: relative;
  aspect-ratio: 3 / 2;
  height: auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--teal-d);
  background: radial-gradient(130% 130% at 28% 18%, rgba(45, 184, 75, .20), rgba(45, 184, 75, .06));
}
.page-careers .benefit-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.page-careers .benefit-media svg { width: 54px; height: 54px; }
.page-careers .benefit-card:nth-child(even) .benefit-media {
  color: var(--amber-d);
  background: radial-gradient(130% 130% at 28% 18%, rgba(245, 166, 35, .22), rgba(245, 166, 35, .07));
}
.page-careers .benefit-body { padding: 20px 22px 24px; }
.page-careers .benefit-body h3 { color: var(--charcoal); }
.page-careers .benefit-body p { margin-top: 8px; color: var(--stone); font-size: 15px; }
.page-careers .benefit-section > .wrap:first-child {
  max-width: none;
}

.page-careers .benefit-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.page-careers .benefit-dots { display: flex; gap: 7px; align-items: center; }
.page-careers .benefit-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: var(--bone); cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.page-careers .benefit-dots button.active { width: 22px; background: var(--teal); }
.page-careers .benefit-arrows { display: flex; gap: 10px; }
.page-careers .benefit-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--bone); background: var(--surface); color: var(--charcoal);
  display: grid; place-items: center; cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
.page-careers .benefit-arrow:hover:not(:disabled) { background: var(--teal); border-color: var(--teal); color: #fff; }
.page-careers .benefit-arrow:disabled { opacity: .35; cursor: default; }
.page-careers .benefit-arrow svg { width: 20px; height: 20px; }
.page-careers .benefit-counter {
  min-width: 46px;
  text-align: center;
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
}
.page-careers .benefit-section .benefit-nav,
.page-careers .career-rail-section--feature .benefit-nav {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  justify-content: center;
}
.page-careers .benefit-section .benefit-dots,
.page-careers .career-rail-section--feature .benefit-dots {
  display: none;
}
.page-careers .benefit-section .benefit-arrows,
.page-careers .career-rail-section--feature .benefit-arrows {
  align-items: center;
  gap: 18px;
}

@media (min-width: 900px) {
  .page-careers .benefit-section > .wrap:first-child .section-head {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-careers .benefit-carousel {
    --slide-w: min(500px, 44vw);
    --side-offset: clamp(330px, 31vw, 400px);
    max-width: none;
    min-height: 550px;
  }
  .page-careers .benefit-track {
    height: 522px;
  }
  .page-careers .benefit-card {
    width: var(--slide-w);
    min-height: 472px;
  }
  .page-careers .benefit-nav {
    margin-top: 10px;
  }
  .page-careers .benefit-dots {
    display: none;
  }
  .page-careers .benefit-arrows {
    gap: 18px;
  }
}

.page-careers .career-rail-section > .wrap {
  max-width: 1180px;
}
.page-careers .career-rail-section .section-head {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-careers .career-text-rail {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.page-careers .career-text-rail::-webkit-scrollbar { display: none; }
.page-careers .career-rail-track {
  display: flex;
  width: max-content;
  padding: 8px 0 16px;
}
.page-careers .career-text-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(224px, 68vw, 280px);
  min-height: 168px;
  padding: 6px 22px 10px;
  border-left: 1px solid var(--bone);
}
.page-careers .career-text-card:first-child {
  border-left: 0;
  padding-left: 0;
}
.page-careers .career-text-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid rgba(45,184,75,.18);
  background: linear-gradient(135deg, rgba(212,245,220,.95), rgba(255,255,255,.95));
  box-shadow: 0 14px 30px -24px rgba(31,36,32,.65);
  color: var(--teal-d);
}
.page-careers .career-text-card:nth-child(2n) .career-text-icon {
  border-color: rgba(245,166,35,.24);
  background: linear-gradient(135deg, rgba(255,242,214,.98), rgba(255,255,255,.95));
  color: var(--amber-d);
}
.page-careers .career-text-card:nth-child(3n) .career-text-icon {
  border-color: rgba(39,148,167,.18);
  background: linear-gradient(135deg, rgba(220,244,246,.96), rgba(255,255,255,.95));
  color: #177f90;
}
.page-careers .career-text-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-careers .career-text-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 18px;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-d);
}
.page-careers .career-text-card p {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.58;
}
.page-careers .career-text-card--wide {
  flex-basis: clamp(282px, 76vw, 360px);
  position: relative;
}
.page-careers .career-text-card--wide::before {
  content: '“';
  position: absolute;
  top: 4px;
  right: 12px;
  font-family: var(--head);
  font-size: 58px;
  line-height: 1;
  color: rgba(45,184,75,.18);
  pointer-events: none;
}
.page-careers .career-rail-nav {
  max-width: 100%;
  margin-top: 18px;
}
.page-careers .career-rail-nav .benefit-arrows {
  align-items: center;
}
.page-careers .career-feature-rail {
  margin-top: 2px;
}
.page-careers .career-feature-card .benefit-body h3 {
  font-size: clamp(18px, 2.2vw, 22px);
}
.page-careers .career-feature-card .benefit-body p {
  line-height: 1.62;
}

@media (min-width: 900px) {
  .page-careers .career-text-rail {
    --career-text-w: clamp(238px, 22vw, 292px);
    overflow: hidden;
  }
  .page-careers .career-rail-section--text .career-rail-track {
    display: flex;
    gap: 0;
    width: max-content;
    height: auto;
    padding: 14px 0 22px;
    transform: translateX(calc(var(--career-text-offset, 0px) * -1));
    transition: transform .42s cubic-bezier(.22, .61, .36, 1);
  }
  .page-careers .career-rail-section--text .career-text-card {
    width: var(--career-text-w);
    min-height: 178px;
    flex: 0 0 var(--career-text-w);
    padding: 8px 24px 12px;
    border-left: 1px solid var(--bone);
    opacity: .66;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
      transform .44s cubic-bezier(.2, 1.18, .28, 1),
      opacity .26s ease,
      filter .26s ease;
    will-change: transform, opacity;
  }
  .page-careers .career-rail-section--text .career-text-card:first-child {
    border-left: 1px solid var(--bone);
    padding-left: 24px;
  }
  .page-careers .career-rail-section--text .career-text-card.is-before {
    opacity: .46;
  }
  .page-careers .career-rail-section--text .career-text-card.is-after {
    opacity: .74;
  }
  .page-careers .career-rail-section--text .career-text-card.is-active {
    opacity: 1;
    transform: translateY(-8px) scale(1.015);
    filter: none;
  }
  .page-careers .career-rail-section--text .career-text-card--wide {
    width: clamp(300px, 30vw, 380px);
    flex-basis: clamp(300px, 30vw, 380px);
  }
  .page-careers .career-rail-section--text .career-rail-nav {
    max-width: 320px;
    margin-left: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 899px) {
  .page-careers .career-rail-section .section-head {
    text-align: left;
  }
  .page-careers .career-text-rail {
    padding: 12px 0 26px;
    margin: -12px 0 -8px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), rgba(0,0,0,0) 100%);
  }
  .page-careers .career-rail-track {
    padding-left: 0;
    padding-right: 18px;
    padding-bottom: 22px;
  }
  .page-careers .career-text-card {
    border-left: 0;
    margin-right: 14px;
    padding: 18px 18px 20px;
    border: 1px solid var(--bone);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 16px 34px -28px rgba(31,36,32,.55);
  }
  .page-careers .career-text-card:first-child {
    padding-left: 18px;
  }
}

/* ── Process steps: isometric illustrations replace the number badges ── */
.page-careers .step-card .step-img {
  display: block;
  height: clamp(88px, 9vw, 104px);
  width: auto;
  max-width: 100%;
  margin: -6px 0 12px -6px;  /* optical left-align with the heading */
  object-fit: contain;
}

/* ── Careers hero: clean two-column, framed photo (never cropped) ── */
.hero-careers {
  padding: 26px 0 0;
  background:
    linear-gradient(180deg, rgba(45,184,75,.20) 0%, rgba(212,245,220,.58) 34%, rgba(255,255,255,.96) 76%, rgba(250,246,238,.92) 100%);
}
.hero-careers .breadcrumb { color: var(--stone); }
.hero-careers .breadcrumb a { color: var(--teal-d); font-weight: 600; }
.hero-careers .hero-grid { gap: 28px; }
.hero-side { display: grid; gap: 18px; align-content: start; }
.hero-photo-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--bone);
  box-shadow: 0 22px 48px rgba(31,36,32,.14);
  background: var(--surface);
  aspect-ratio: 4 / 3;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Solid card so the teal bullets read clearly */
.hero-careers .hero-card { background: #fff; }

/* ── Centered hero (TravelPerk-style composition) ── */
.hero-center {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-center .eyebrow { margin-bottom: 14px; }
.hero-center h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.hero-center p {
  max-width: 56ch;
  margin: 18px auto 0;
  color: var(--stone);
  font-size: 18px;
}
.hero-center .hero-actions {
  justify-content: center;
  margin-top: 26px;
}
.hero-illustration {
  width: 100%;
  max-width: 540px;
  margin: 32px auto -58px;   /* overlap down onto the marquee band */
  position: relative;
  z-index: 4;
}
.hero-illustration img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 26px rgba(31,36,32,.10));
}

/* ── Incentive marquee band (contrasting colour) ── */
.career-marquee-band {
  position: relative;
  margin-top: 8px;
  padding: 34px 0 0;
  background: #ECE4D2;            /* warm sand — distinct from the cream hero */
  border-top: 1px solid #DCD2BC;
}
.career-marquee { padding: 2px 0 14px; }
.marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  /* Own compositor layer so the masked, animating band doesn't repaint
     (flicker) while the page scrolls — notably on iOS Safari. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 52s linear infinite;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 24px;
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-d);
  white-space: nowrap;
}
.marquee-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--teal);
}
.marquee-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ── Floating section-jump pill (overlaps the band's bottom edge) ── */
.hero-jump {
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  transform: translateY(50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--bone);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(31,36,32,.14);
}
/* room below the band for the pill that hangs over its edge */
.career-marquee-band { margin-bottom: 34px; }
.hero-jump-seg {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.hero-jump-seg.is-active { background: var(--teal); color: #fff; }
.hero-jump-seg:hover,
.hero-jump-seg:focus-visible { background: var(--teal-l); color: var(--teal-d); }
.hero-jump-seg.is-active:hover,
.hero-jump-seg.is-active:focus-visible { background: var(--teal-d); color: #fff; }

@media (max-width: 640px) {
  .career-marquee-band {
    padding-top: 24px;
    margin-bottom: 24px;
  }
  .career-marquee {
    padding-bottom: 10px;
  }
  .hero-jump {
    max-width: calc(100% - 44px);
    gap: 2px;
    padding: 4px;
  }
  .hero-jump-seg {
    padding: 8px 15px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-viewport {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
  }
  .marquee-track { animation: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

@media (min-width: 768px) {
  .hero-careers .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
    align-items: start;
  }
  .hero-careers .hero-card { margin-top: 0; }
  .hero-photo-frame { aspect-ratio: 5 / 4; }
}

/* ── Stats strip ── */
.stat-strip-section { padding: 8px 0 36px; }
.stat-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(45,184,75,.18);
  background:
    radial-gradient(circle at top left, rgba(212,245,220,.55), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,251,248,.94));
  box-shadow: 0 18px 38px rgba(31,36,32,.06);
}
.stat-tile { padding: 6px 4px; }
.stat-num {
  font-family: var(--head);
  font-size: 34px;
  line-height: 1;
  color: var(--teal-d);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--stone);
}
@media (min-width: 600px) { .stat-strip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .stat-strip { grid-template-columns: repeat(4, 1fr); gap: 8px 28px; } }

/* ── Hero entrance (plays on load, pure CSS, self-completing) ── */
.fx-rise { opacity: 1; }
html.js-fx .fx-rise {
  opacity: 0;
  animation: fxRise .7s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: calc(var(--fx-i, 0) * 90ms + 80ms);
}
@keyframes fxRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ── Scroll reveal: single elements & staggered groups ── */
html.js-fx .fx-reveal,
html.js-fx .fx-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .65s ease,
    transform .65s cubic-bezier(.22,.61,.36,1);
}
html.js-fx .fx-reveal { transition-delay: calc(var(--fx-i, 0) * 70ms); }
html.js-fx .fx-reveal.is-visible,
html.js-fx .fx-group.is-visible > * {
  opacity: 1;
  transform: none;
}
/* stagger group children */
html.js-fx .fx-group.is-visible > *:nth-child(2) { transition-delay: .07s; }
html.js-fx .fx-group.is-visible > *:nth-child(3) { transition-delay: .14s; }
html.js-fx .fx-group.is-visible > *:nth-child(4) { transition-delay: .21s; }
html.js-fx .fx-group.is-visible > *:nth-child(5) { transition-delay: .28s; }
html.js-fx .fx-group.is-visible > *:nth-child(6) { transition-delay: .35s; }
html.js-fx .fx-group.is-visible > *:nth-child(n+7) { transition-delay: .42s; }

/* ── Scroll-linked word reveal (gray → charcoal) ── */
.fx-text-reveal {
  max-width: 40ch;
  font-family: var(--head);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45;
  margin-top: 6px;
  margin-bottom: 38px;
  color: var(--charcoal);
}
.role-difference-section .wrap {
  max-width: 1040px;
}
.role-difference-section .section-head {
  margin-bottom: 22px;
}
.role-difference-section .fx-text-reveal {
  --role-accent: var(--teal);
  --role-icon-bg: rgba(224,248,230,.96);
  --role-icon-border: rgba(45,184,75,.22);
  --role-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4.5h10a2.5 2.5 0 0 1 2.5 2.5v10a2.5 2.5 0 0 1-2.5 2.5H7A2.5 2.5 0 0 1 4.5 17V7A2.5 2.5 0 0 1 7 4.5Z' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 12h8M12 8v8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  position: relative;
  max-width: none;
  margin: 0 0 12px;
  padding: 16px 18px 16px 60px;
  border: 1px solid rgba(45,184,75,.12);
  border-left: 4px solid var(--teal);
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 34px -30px rgba(31,36,32,.55);
  font-family: var(--body);
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.62;
}
.role-difference-section .fx-text-reveal::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  transform: translateY(-50%);
  background: var(--role-icon-bg);
  border: 1px solid var(--role-icon-border);
}
.role-difference-section .fx-text-reveal::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--role-accent);
  -webkit-mask-image: var(--role-icon);
  mask-image: var(--role-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* Role-pitch points as animated, dotless rows with soft visual anchors */
.role-rows {
  display: grid;
  gap: 10px !important;
  margin-top: 16px;
  border-top: 0;
}
.role-rows li {
  --role-accent: var(--teal);
  --role-icon-bg: rgba(224,248,230,.96);
  --role-icon-border: rgba(45,184,75,.22);
  --role-row-bg: rgba(255,255,255,.84);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(45,184,75,.12);
  border-left: 4px solid var(--role-accent);
  border-radius: 18px;
  background: var(--role-row-bg);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 14px 34px -30px rgba(31,36,32,.55);
}
.role-rows li:nth-child(2n) {
  --role-accent: var(--amber);
  --role-icon-bg: rgba(255,245,224,.96);
  --role-icon-border: rgba(245,166,35,.24);
  --role-row-bg: rgba(255,252,246,.88);
  border-color: rgba(245,166,35,.14);
  border-left-color: var(--role-accent);
}
.role-rows li:nth-child(3n) {
  --role-accent: #2794a7;
  --role-icon-bg: rgba(230,248,250,.96);
  --role-icon-border: rgba(39,148,167,.22);
  --role-row-bg: rgba(248,253,253,.88);
  border-color: rgba(39,148,167,.12);
  border-left-color: var(--role-accent);
}
.role-rows li > span:first-child {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--role-accent);
  background: var(--role-icon-bg);
  border: 1px solid var(--role-icon-border);
  font-size: 0;
  line-height: 1;
}
.role-rows li > span:first-child::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  transform: translateY(0);
  -webkit-mask-image: var(--role-icon);
  mask-image: var(--role-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.role-rows li:nth-child(1) > span:first-child {
  --role-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.2 13.6c.1-.5.2-1.1.2-1.6s-.1-1.1-.2-1.6l-2.2-.8-.5-1.1 1-2.1c-.7-.9-1.5-1.7-2.4-2.3l-2.1 1-.9-.4L13.3 2h-2.6l-.8 2.7-.9.4-2.1-1c-.9.6-1.7 1.4-2.4 2.3l1 2.1-.5 1.1-2.2.8c-.1.5-.2 1.1-.2 1.6s.1 1.1.2 1.6l2.2.8.5 1.1-1 2.1c.7.9 1.5 1.7 2.4 2.3l2.1-1 .9.4.8 2.7h2.6l.8-2.7.9-.4 2.1 1c.9-.6 1.7-1.4 2.4-2.3l-1-2.1.5-1.1 2.2-.8ZM12 15.6A3.6 3.6 0 1 1 12 8.4a3.6 3.6 0 0 1 0 7.2Z'/%3E%3C/svg%3E");
}
.role-rows li:nth-child(2) > span:first-child {
  --role-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3 5 5.5v5.4c0 4.4 3 7.4 7 8.6 4-1.2 7-4.2 7-8.6V5.5Z'/%3E%3Cpath d='m9 12 2 2 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.role-rows li:nth-child(3) > span:first-child {
  --role-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 4h8l2 2v14H6V6Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 10h6M9 14h5M9 18h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M15 4v3h3' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.role-rows li:nth-child(4) > span:first-child {
  --role-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3c.5 3.4 2.3 5.2 5.7 5.7-3.4.5-5.2 2.3-5.7 5.7-.5-3.4-2.3-5.2-5.7-5.7C9.7 8.2 11.5 6.4 12 3Z'/%3E%3Cpath d='M18 14.5c.3 1.5 1.1 2.3 2.6 2.6-1.5.3-2.3 1.1-2.6 2.6-.3-1.5-1.1-2.3-2.6-2.6 1.5-.3 2.3-1.1 2.6-2.6Z'/%3E%3C/svg%3E");
}
.role-rows li:nth-child(5) > span:first-child {
  --role-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 19h14M6 17v-3h4v3M10 17v-6h4v6M14 17V8h4v9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 9c2.8-3.2 6-4.2 10-3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='m15 3 4 3-4 3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html.js-fx .fx-text-reveal .fx-word,
html.js-fx .role-rows .fx-word {
  color: rgba(39,33,30,.20);
  transition: color .25s linear;
}
html.js-fx .fx-text-reveal .fx-word.lit,
html.js-fx .role-rows .fx-word.lit { color: var(--charcoal); }

.pixel-road-scene {
  position: relative;
  height: clamp(270px, 29vw, 420px);
  --pixel-tile-w: clamp(820px, 92vw, 1480px);
  --pixel-road-h: clamp(104px, 10.4vw, 150px);
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--surface) 0 12%, #e8f5fb 12% 68%, var(--cream) 68% 100%);
  isolation: isolate;
}
.pixel-road-scene__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  image-rendering: pixelated;
  /* Pin the whole scene to one stable GPU layer so mobile browsers don't
     evict/repaint the child layers mid-animation (the on/off flicker). */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.pixel-road-scene__layer {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--pixel-top, auto);
  bottom: var(--pixel-bottom, auto);
  height: var(--pixel-height);
  overflow: hidden;
  pointer-events: none;
  z-index: var(--pixel-z, 1);
}
.pixel-road-scene__layer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: max(200%, calc(var(--pixel-tile-w) * 2));
  background-image: var(--pixel-layer);
  background-repeat: repeat-x;
  background-position: 0 50%;
  background-size: auto 100%;
  image-rendering: pixelated;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  animation: pixelSceneScroll var(--pixel-speed, 38s) linear infinite;
}
.pixel-road-scene__layer--clouds {
  --pixel-layer: url("./pixel-car/clouds-band.webp");
  --pixel-speed: 120s;
  --pixel-height: clamp(54px, 5.8vw, 86px);
  --pixel-top: 0px;
  --pixel-z: 1;
  opacity: .95;
}
.pixel-road-scene__layer--mountains {
  --pixel-layer: url("./pixel-car/mountains-band.webp");
  --pixel-speed: 90s;
  --pixel-height: clamp(74px, 8.4vw, 124px);
  --pixel-top: clamp(108px, 11.5vw, 160px);
  --pixel-z: 2;
  opacity: .86;
}
.pixel-road-scene__layer--palms {
  --pixel-layer: url("./pixel-car/palms-band.webp");
  --pixel-speed: 55s;
  --pixel-height: clamp(136px, 14.4vw, 214px);
  --pixel-bottom: calc(var(--pixel-road-h) - clamp(42px, 4vw, 58px));
  --pixel-z: 3;
}
.pixel-road-scene__layer--bushes {
  --pixel-layer: url("./pixel-car/bushes-rocks-band.webp");
  --pixel-speed: 30s;
  --pixel-height: clamp(58px, 6.2vw, 92px);
  --pixel-bottom: calc(var(--pixel-road-h) - clamp(28px, 2.7vw, 40px));
  --pixel-z: 4;
}
.pixel-road-scene__layer--road {
  --pixel-layer: url("./pixel-car/road-band.webp");
  --pixel-speed: 12s;
  --pixel-height: var(--pixel-road-h);
  --pixel-bottom: 0px;
  --pixel-z: 5;
}
.pixel-road-scene__car {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 2.6vw, 38px);
  width: clamp(220px, 23vw, 360px);
  aspect-ratio: 2 / 1;
  overflow: hidden;
  transform: translate3d(-50%,0,0);
  pointer-events: none;
  z-index: 6;
}
.pixel-road-scene__car-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  opacity: 0;
  transform: scaleX(-1) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: pixelCarFrame .6s steps(1, end) infinite;
  will-change: opacity;
}
.pixel-road-scene__car-frame:nth-child(2) {
  animation-delay: .15s;
}
.pixel-road-scene__car-frame:nth-child(3) {
  animation-delay: .3s;
}
.pixel-road-scene__car-frame:nth-child(4) {
  animation-delay: .45s;
}
@keyframes pixelSceneScroll {
  to { transform: translate3d(-50%,0,0); }
}
@keyframes pixelCarFrame {
  0%, 24.99% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

/* Freeze the parallax road while the page is actively scrolling, so the GPU
   isn't compositing the scroll and ~10 animated layers at the same time (the
   cause of the flicker, especially on iOS). It resumes a moment after the
   scroll stops — see assets/scene-perf.js. */
html.is-scrolling .pixel-road-scene__layer::before,
html.is-scrolling .pixel-road-scene__car-frame {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  html.js-fx .fx-rise,
  html.js-fx .fx-reveal,
  html.js-fx .fx-group > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  html.js-fx .fx-text-reveal .fx-word,
  html.js-fx .role-rows .fx-word { color: var(--charcoal) !important; }
  .pixel-road-scene { display: none !important; }
}

@media (update: slow) {
  .pixel-road-scene { display: none !important; }
}
