@charset "UTF-8";
/**
 * Stargo Design System tokens
 * Source: Figma Design System canvas 1:25
 * Colors Theme 781:21515 · Typography 781:22467 · Button 383:4867 · Badge 642:9773
 */
:root {
  /* ---------- Color: text ---------- */
  --text-text-primary: #0d1016;
  --text-text-secondary: #3f4349;
  --text-text-tetriary: #3f4349;
  --text-text-disabled: #6b7078;
  --text-inverse-primary: #ffffff;
  --text-inverse-secondary: #d7d6db;
  --text-link-default: #0d1016;
  --text-link-pressed: #1988d6;
  --text-accent-brand: #559ed3;
  --text-accent-error: #ff6467;
  --text-accent-success: #20c564;
  /* ---------- Color: surface ---------- */
  --surface-basic-primary: #ffffff;
  --surface-basic-secondary: #f6f8fa;
  --surface-basic-tertiary: #dedde2;
  --surface-basic-brand: #c1e6ff;
  --surface-basic-brand-dark: #91c4e5;
  --surface-basic-primary-inverted: #0d1016;
  --surface-button-primary: #c1e6ff;
  --surface-button-primary-pressed: #91c4e5;
  --surface-button-primary-disabled: #dedde2;
  --surface-button-secondary-default: #ffffff;
  --surface-button-secondary-pressed: #0d1016;
  --surface-button-icon-default: #0d1016;
  --surface-transparent-primary-dark-xs: rgba(44, 56, 94, 0.08);
  --surface-transparent-primary-white-md: rgba(255, 255, 255, 0.2);
  --transparent-white-20: rgba(255, 255, 255, 0.2);
  /* ---------- Color: border / icon ---------- */
  --border-basic-primary: rgba(44, 56, 94, 0.12);
  --border-basic-brand: #1988d6;
  --icon-icon-primary: #0d1016;
  --icon-icon-secondary: #3f4349;
  --icon-icon-inverted: #ffffff;
  --icon-icon-disabled: #6b7078;
  --blue-700: #1988d6;
  /* ---------- Aliases used by theme (backward compatible) ---------- */
  --color-text-primary: var(--text-text-primary);
  --color-text-inverse: var(--text-inverse-primary);
  --color-text-muted: var(--text-text-secondary);
  --color-text-link: var(--text-link-default);
  --color-surface-primary: var(--surface-basic-primary);
  --color-surface-button-primary: var(--surface-button-primary);
  --color-surface-button-secondary: var(--surface-button-secondary-pressed);
  --color-surface-badge: var(--surface-basic-brand);
  --color-icon-primary: var(--icon-icon-primary);
  --color-icon-inverse: var(--icon-icon-inverted);
  --color-glass: var(--transparent-white-20);
  --color-overlay-hero-from: rgba(0, 0, 0, 0.38);
  --color-overlay-hero-to: rgba(0, 0, 0, 0.48);
  /* ---------- Typography (Poppins — live styles on Home) ---------- */
  --family-body: "Poppins", system-ui, sans-serif;
  --family-title: "Poppins", system-ui, sans-serif;
  --font-family: var(--family-body);
  --font-family-title: var(--family-title);
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --size-xxs: 12px;
  --size-xs: 14px;
  --size-sm: 16px;
  --size-lg: 20px;
  --size-2xl: 32px;
  --size-3xl: 42px;
  --size-display: 56px;
  --font-size-sm: var(--size-sm);
  --font-size-lg: var(--size-lg);
  --font-size-display: var(--size-display);
  --line-height-sm: 20px;
  --line-height-body: 24px;
  --line-height-display: 62px;
  --tracking-display: -0.06em;
  --tracking-body: -0.02em;
  /* ---------- Spacing ---------- */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-36: 36px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-120: 120px;
  --space-4: var(--spacing-4);
  --space-8: var(--spacing-8);
  --space-12: var(--spacing-12);
  --space-16: var(--spacing-16);
  --space-20: var(--spacing-20);
  --space-24: var(--spacing-24);
  --space-32: var(--spacing-32);
  --space-36: var(--spacing-36);
  --space-40: var(--spacing-40);
  --space-48: var(--spacing-48);
  --space-64: var(--spacing-64);
  --space-120: 120px;
  /* ---------- Radius ---------- */
  --corner-radius-xs: 4px;
  --corner-radius-md: 12px;
  --corner-radius-lg: 20px;
  --corner-radius-full: 9999px;
  --radius-xs: var(--corner-radius-xs);
  --radius-md: var(--corner-radius-md);
  --radius-lg: var(--corner-radius-lg);
  --radius-hero: 36px;
  --radius-full: var(--corner-radius-full);
  /* ---------- Layout ---------- */
  --page-max: 1440px;
  --content-pad: 32px;
  --header-blur: 6px;
}

@media (max-width: 1023px) {
  :root {
    --content-pad: 16px;
    --font-size-display: 32px;
    --size-display: 32px;
    --line-height-display: 36px;
    --tracking-display: -0.03em;
  }
}
/* DS atoms — Button (383:4867) + Badge (642:9773) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-12);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 24px;
  border-radius: var(--corner-radius-full);
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
  opacity: 1;
}
.btn:disabled, .btn.is-disabled {
  opacity: 1;
}
.btn:disabled {
  pointer-events: none;
}
.btn {
  /* aria-disabled path stays keyboard-focusable (B3) */
}
.btn[aria-disabled=true] {
  cursor: not-allowed;
}

.btn--primary {
  /* Figma: Body + Arrow both rounded-full, parent clips to one pill */
  background: transparent;
  color: var(--text-text-primary);
  overflow: hidden;
  padding: 0;
  gap: 0;
  border-radius: var(--corner-radius-full);
}
.btn--primary .btn__label {
  padding: var(--spacing-12) var(--spacing-20);
  background: var(--surface-button-primary);
  border-radius: var(--corner-radius-full);
}
.btn--primary .btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12) var(--spacing-20);
  background: var(--surface-button-primary);
  border-radius: var(--corner-radius-full);
}
.btn--primary:hover .btn__label, .btn--primary:hover .btn__icon {
  background: var(--surface-button-primary-pressed);
}
.btn--primary {
  /* Designer 5802:39503 — simple arrow nudge on hover */
}
.btn--primary .btn__icon img {
  transition: transform 0.2s ease;
}
.btn--primary:hover .btn__icon img {
  transform: translateX(3px);
}
.btn--primary.is-disabled .btn__label, .btn--primary.is-disabled .btn__icon, .btn--primary:disabled .btn__label, .btn--primary:disabled .btn__icon {
  background: var(--surface-button-primary-disabled);
  color: var(--text-text-disabled);
}
.btn--primary img {
  width: 24px;
  height: 24px;
}

/* Dark primary / inverted split button */
.btn--primary-dark {
  background: transparent;
  color: var(--text-inverse-primary);
  overflow: hidden;
  padding: 0;
  gap: 0;
  height: auto;
  border-radius: var(--corner-radius-full);
  max-width: 344px;
}
.btn--primary-dark .btn__label {
  padding: var(--spacing-12) var(--spacing-20);
  color: var(--text-inverse-primary);
  background: var(--surface-button-secondary-pressed);
  border-radius: var(--corner-radius-full);
  transition: background-color 0.2s ease;
}
.btn--primary-dark .btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12) var(--spacing-20);
  background: var(--surface-button-secondary-pressed);
  border-radius: var(--corner-radius-full);
  transition: background-color 0.2s ease;
}
.btn--primary-dark:hover .btn__label, .btn--primary-dark:hover .btn__icon {
  background: #2a2f3a;
}
.btn--primary-dark {
  /* Designer 5802:39503 — simple arrow nudge on hover */
}
.btn--primary-dark .btn__icon img {
  transition: transform 0.2s ease;
}
.btn--primary-dark:hover .btn__icon img {
  transform: translateX(3px);
}
.btn--primary-dark img {
  width: 24px;
  height: 24px;
}

.btn--dark {
  background: var(--surface-button-secondary-pressed);
  color: var(--text-inverse-primary);
  padding: var(--spacing-12) var(--spacing-20);
  height: 48px;
}

.btn--ghost {
  height: 48px;
  padding: var(--spacing-12) var(--spacing-24);
  color: var(--text-inverse-primary);
  background: var(--transparent-white-20);
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
}

.btn--secondary {
  height: 48px;
  padding: var(--spacing-12) var(--spacing-24);
  background: var(--surface-button-secondary-default);
  color: var(--text-text-primary);
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: var(--spacing-12) var(--spacing-20);
  background: var(--surface-button-icon-default);
  color: var(--text-inverse-primary);
}
.btn--icon img {
  width: 24px;
  height: 24px;
}

.btn--sm {
  height: 40px;
  padding-top: var(--spacing-8);
  padding-bottom: var(--spacing-8);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-4);
  /* Figma py 8 + Body 1 16/20 → 36px. +1/−1 optical nudge for Poppins caps. */
  padding: 9px var(--spacing-12) 7px;
  border-radius: var(--corner-radius-xs);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: var(--line-height-sm);
  color: var(--text-text-primary);
  width: fit-content;
  max-width: max-content;
  align-self: flex-start;
  flex-shrink: 0;
  box-sizing: border-box;
}
.badge--soft, .badge--blue {
  background: var(--surface-basic-brand);
}
.badge--gray {
  background: var(--surface-basic-secondary);
  /* Figma Gray py 12 → 44px with same optical nudge */
  padding: 13px var(--spacing-8) 11px;
}
.badge--glass, .badge--white {
  color: var(--text-inverse-primary);
  background: var(--transparent-white-20);
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
}
.badge--muted, .badge--gray-blog {
  background: var(--surface-transparent-primary-dark-xs);
  backdrop-filter: blur(var(--header-blur));
}
.badge--dark {
  color: #fff;
  background: rgba(13, 16, 22, 0.72);
  backdrop-filter: blur(6px);
}
.badge img {
  width: 20px;
  height: 20px;
}

/* M1 — opaque dark badges ONLY over photographic media (not on light process panels) */
.hero .badge--glass,
.blog-card__media .badge--glass,
.blog-featured__media .badge--glass,
.article-cover .badge--glass,
.article-cover__badge {
  color: #ffffff;
  background: rgba(13, 16, 22, 0.85);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero .btn--ghost {
  background: rgba(13, 16, 22, 0.72);
}

/* H15 skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 16px;
  background: #0d1016;
  color: #fff;
  border-radius: 0 0 8px 0;
  font-weight: 500;
}

.skip-link:focus {
  left: 0;
}

/* M9 prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

:focus-visible {
  outline: 3px solid #0d1016;
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  hyphens: auto;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-primary);
  background: var(--color-surface-primary);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}

.site,
.site-frame {
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Do not set overflow on .site — it creates a scroll container and breaks
   sticky/fixed header containment. Horizontal spill is clipped per-section. */
/*
 * Layout:
 * - .site / .site-frame = full viewport width
 * - Heroes = full-bleed media edge-to-edge
 * - Page sections (non-hero) = capped at --page-max (1440), gutters via --content-pad (32 / 16)
 * - Inset cards (process / mid-cta / about / company-cta) = 12px outer frame, keep as-is
 * - Footer = full-bleed bg outside .site-frame; inner .site-footer__frame at 1440
 */
.site {
  width: 100%;
  background: #fff;
  min-width: 0;
}

.site-frame {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-width: 0;
}

/* Page blocks stay inside the 1440 content column.
   Hero media is contained (not viewport edge-to-edge); copy uses
   frame-inline-pad inside that frame (Figma 5269:5849).
   Clients / for-whom / mid-cta still run edge-to-edge. */
.home-page > *:not(.clients):not(.for-whom):not(.svc-spaces):not(.mid-cta),
.company-page > *:not(.clients):not(.for-whom):not(.svc-spaces):not(.mid-cta),
.contact-page > *:not(.clients):not(.for-whom):not(.svc-spaces):not(.mid-cta),
.blog-page > *:not(.clients):not(.for-whom):not(.svc-spaces):not(.mid-cta),
.service-page > *:not(.clients):not(.for-whom):not(.svc-spaces):not(.mid-cta) {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  box-sizing: border-box;
}
.home-page > .clients,
.home-page > .for-whom,
.home-page > .svc-spaces,
.home-page > .mid-cta,
.company-page > .clients,
.company-page > .for-whom,
.company-page > .svc-spaces,
.company-page > .mid-cta,
.contact-page > .clients,
.contact-page > .for-whom,
.contact-page > .svc-spaces,
.contact-page > .mid-cta,
.blog-page > .clients,
.blog-page > .for-whom,
.blog-page > .svc-spaces,
.blog-page > .mid-cta,
.service-page > .clients,
.service-page > .for-whom,
.service-page > .svc-spaces,
.service-page > .mid-cta {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-sizing: border-box;
}
.home-page,
.company-page,
.contact-page,
.blog-page,
.service-page {
  /* Hero + process — contained to the 1440 frame */
}
.home-page > .hero,
.home-page > .contact-hero,
.home-page > .blog-hero,
.home-page > .article-hero,
.home-page > .process,
.home-page > .process--company,
.home-page > .process--company.svc-process,
.company-page > .hero,
.company-page > .contact-hero,
.company-page > .blog-hero,
.company-page > .article-hero,
.company-page > .process,
.company-page > .process--company,
.company-page > .process--company.svc-process,
.contact-page > .hero,
.contact-page > .contact-hero,
.contact-page > .blog-hero,
.contact-page > .article-hero,
.contact-page > .process,
.contact-page > .process--company,
.contact-page > .process--company.svc-process,
.blog-page > .hero,
.blog-page > .contact-hero,
.blog-page > .blog-hero,
.blog-page > .article-hero,
.blog-page > .process,
.blog-page > .process--company,
.blog-page > .process--company.svc-process,
.service-page > .hero,
.service-page > .contact-hero,
.service-page > .blog-hero,
.service-page > .article-hero,
.service-page > .process,
.service-page > .process--company,
.service-page > .process--company.svc-process {
  max-width: var(--page-max);
  margin-inline: auto;
}

/* Inline pad inside a --page-max frame (Figma px-32).
   Do not re-center with (100% - page-max): % padding is vs the parent,
   so that formula double-offsets when the section is already margin:auto. */
/* Freeze page scroll while process horizontal scrub is locked */
html.is-process-locked,
html.is-process-locked body {
  overflow: hidden;
  overscroll-behavior: none;
}

/* Freeze page scroll while mobile nav is open.
   --scrollbar-comp (set in JS before lock) replaces the classic scrollbar
   width so layout / fixed header+menu do not jump wider when it vanishes. */
html.nav-open,
html.nav-open body {
  overflow: hidden;
  overflow-x: clip;
  overscroll-behavior: none;
  max-width: 100%;
}

html.nav-open body {
  padding-inline-end: var(--scrollbar-comp, 0px);
  box-sizing: border-box;
}

html.nav-open .site-header {
  right: max(var(--content-pad) + var(--scrollbar-comp, 0px), 50% - var(--page-max) / 2 + var(--content-pad) + var(--scrollbar-comp, 0px));
}

/* ---------- Header (in hero) ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  padding: 8px 8px 8px 24px;
  background: var(--surface-basic-primary);
  border-radius: var(--corner-radius-md);
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
  position: fixed;
  top: var(--space-12);
  /* Stay inside the 1440 frame on ultrawide viewports */
  left: max(var(--content-pad), 50% - var(--page-max) / 2 + var(--content-pad));
  right: max(var(--content-pad), 50% - var(--page-max) / 2 + var(--content-pad));
  z-index: 120;
  color: var(--text-text-primary);
  flex-shrink: 0;
  overflow: visible;
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(13, 16, 22, 0.12);
}
.site-header {
  /* Shared mobile pill — must not live only under .hero (blog/article/contact use other heroes) */
}
@media (max-width: 1023px) {
  .site-header {
    height: 56px;
    padding: 8px 8px 8px 12px;
    border-radius: 54px;
    border: 0;
    gap: 8px;
    overflow: hidden; /* keep logo/CTA/menu inside pill */
  }
}
@media (min-width: 1024px) and (max-width: 1365px) {
  .site-header {
    padding: 8px 8px 8px 16px;
    gap: 4px;
  }
}

.site-logo {
  display: flex;
  align-items: center;
  width: 174px;
  height: 42px;
  overflow: hidden;
  flex-shrink: 0;
  /* Figma LdgLogo 187×42 clipped in 174×42 — mark ~41px reads closest vs screenshot */
}
.site-logo__mark {
  height: 41px;
  width: auto;
  flex-shrink: 0;
}
.site-logo__word {
  height: 26px;
  width: auto;
  margin-left: 8px;
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  .site-logo {
    /* Compact so logo + CTA + menu fit inside the pill */
    width: 120px;
    height: 40px;
    padding: 8px 0 8px 4px;
    box-sizing: border-box;
    align-items: center;
  }
  .site-logo__mark {
    height: 24px;
    width: auto;
  }
  .site-logo__word {
    height: 16px;
    margin-left: 6px;
  }
}

.site-nav {
  display: none;
  align-items: center;
  gap: 36px;
  padding: 12px 40px;
  box-sizing: border-box;
  border-radius: var(--corner-radius-full);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-shrink: 1;
  min-width: 0;
}
@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }
}
/* Startseite added an item — keep CTA inside the pill on mid widths */
@media (min-width: 1024px) and (max-width: 1365px) {
  .site-nav {
    gap: 16px;
    padding: 12px 12px;
  }
}
.site-nav a {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  line-height: 20px;
  color: var(--text-link-default);
  white-space: nowrap;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.site-nav a:hover {
  color: var(--text-text-primary, #0d1016);
  opacity: 0.85;
}
.site-nav a[aria-current=page] {
  color: var(--text-text-primary, #0d1016);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}
.site-nav__dropdown {
  position: relative;
}
.site-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  line-height: 20px;
  color: var(--text-link-default);
  white-space: nowrap;
  cursor: pointer;
}
.site-nav__chevron {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}
.site-nav__dropdown.is-open .site-nav__chevron--down, .site-nav__dropdown:not(.is-open) .site-nav__chevron--up {
  display: none;
}
.site-nav__dropdown.is-open .site-nav__chevron--up {
  display: block;
}
.site-nav {
  /* Figma 5709:19865 — Expanded Menu */
}
.site-nav__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 456px;
  padding: 16px 8px;
  background: #fff;
  border: 1px solid rgba(44, 56, 94, 0.12);
  border-radius: 0 0 var(--corner-radius-md) var(--corner-radius-md);
  box-shadow: 0 6px 14px -6px rgba(15, 40, 96, 0.12), 0 10px 32px -4px rgba(15, 40, 96, 0.1);
  /* Hover bridge — prevents menu closing across the 16px gap */
}
.site-nav__menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.site-nav__menu[hidden] {
  display: none;
}
.site-nav__menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 16px 8px 8px;
  border-radius: var(--corner-radius-full);
  color: var(--text-text-primary, #0d1016);
  white-space: normal;
  /* Figma 5860:1400 — #9bc1ee → #d4eff8 on the pill itself */
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav__menu-item:hover, .site-nav__menu-item:focus-visible {
  outline: none;
  background: linear-gradient(90deg, #9bc1ee 0%, #d4eff8 100%);
}
.site-nav__menu-item:hover .site-nav__menu-icon, .site-nav__menu-item:focus-visible .site-nav__menu-icon {
  background: #f6f8fa;
  border-color: transparent;
  box-shadow: none;
}
.site-nav__menu-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  padding: 12px 20px;
  box-sizing: border-box;
  background: #f6f8fa;
  border: 1px solid transparent;
  border-radius: var(--corner-radius-full);
  backdrop-filter: blur(12px);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.site-nav__menu-icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}
.site-nav__menu-label {
  flex: 1 1 0;
  min-width: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  line-height: 20px;
}

.nav-toggle {
  display: flex;
  /* M7 — expand hit area to ≥44×44 while icon stays 24 */
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
}
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}
.nav-toggle img {
  width: 24px;
  height: 24px;
  display: block;
}
.nav-toggle__close[hidden], .nav-toggle__open[hidden] {
  display: none !important;
}

/* Figma 5842:42322 / 5842:42337 — full-screen mobile menu */
.site-nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  flex-direction: column;
  color: var(--text-text-primary);
  overflow: hidden;
  box-sizing: border-box;
  /* Figma 5842:42322 — sheet with rounded bottom, not a hard white panel */
  border-radius: 0 0 36px 36px;
}
.site-nav-mobile[hidden] {
  display: none !important;
}
.site-nav-mobile.is-open {
  display: flex;
}
@media (min-width: 1024px) {
  .site-nav-mobile {
    display: none !important;
  }
}

.site-nav-mobile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  border-radius: 0 0 36px 36px;
}

.site-nav-mobile__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 0;
  /* Clear fixed header: top 12 + 56 + gap — Figma 5842:42322 */
  padding: calc(var(--space-12) + 56px + 16px) 16px 32px;
  box-sizing: border-box;
  gap: 16px;
}

.site-nav-mobile__links {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.site-nav-mobile__group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.site-nav-mobile__row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.site-nav-mobile__title,
.site-nav-mobile__link {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.96px;
  color: var(--text-text-primary);
  text-decoration: none;
}

.site-nav-mobile__link[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-nav-mobile__chevron {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 9999px;
  background: #f6f8fa;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  box-sizing: border-box;
}
.site-nav-mobile__chevron img {
  width: 24px;
  height: 24px;
  display: block;
}
.site-nav-mobile__chevron .site-nav-mobile__chevron-up[hidden],
.site-nav-mobile__chevron .site-nav-mobile__chevron-down[hidden] {
  display: none !important;
}
.site-nav-mobile__chevron[aria-expanded=true] {
  background: var(--surface-button-secondary-pressed, #0d1016);
}
.site-nav-mobile__chevron[aria-expanded=true] img {
  filter: brightness(0) invert(1);
}

.site-nav-mobile__sub {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.site-nav-mobile__sub:not([hidden]) {
  display: flex;
}

.site-nav-mobile__sub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  /* Figma 5842:42337 — icon pill + label row, no full-bleed chip background */
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: var(--text-text-primary);
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  box-sizing: border-box;
}
.site-nav-mobile__sub-item > span:last-child {
  flex: 1;
  min-width: 0;
}
.site-nav-mobile__sub-item[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav-mobile__sub-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 48px;
  padding: 12px 20px;
  border-radius: 9999px;
  background: #f6f8fa;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-sizing: border-box;
}
.site-nav-mobile__sub-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.site-nav-mobile__cta {
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  justify-content: flex-start;
}
.site-nav-mobile__cta .btn__label {
  flex: 1;
}

.header-cta {
  display: none;
  flex-shrink: 0;
}
.header-cta__short {
  display: none;
}
@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
  .header-cta .header-cta__short {
    display: none;
  }
  .header-cta .header-cta__full {
    display: inline;
  }
}
.header-cta {
  /* Mobile: same label as desktop — „Angebot anfragen“ */
}
@media (max-width: 1023px) {
  .header-cta {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 1;
    min-width: 0;
    height: 36px;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 18px;
  }
  .header-cta .header-cta__full {
    display: inline;
  }
  .header-cta .header-cta__short {
    display: none;
  }
}

.header-phone {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  /* Figma artboard 834; slightly shorter so laptop viewports match “a little smaller” */
  min-height: 780px;
  /* Header is position:fixed — reserve its in-flow height (58) + top pad (12) */
  padding-top: calc(var(--space-12) + 58px);
  padding-bottom: var(--space-32);
  padding-inline: var(--content-pad);
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
  overflow: visible;
  color: var(--color-text-inverse);
  box-sizing: border-box;
}
@media (min-width: 1440px) {
  .hero {
    min-height: 834px;
  }
}
@media (max-width: 1023px) {
  .hero {
    /* Figma mobile heroes: pb 36 */
    padding-bottom: 36px;
    min-height: 720px;
  }
  .hero .hero__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: auto;
  }
  .hero .hero__content {
    width: 100%;
    margin-top: 0;
    gap: 24px;
  }
  .hero .hero__title {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
  }
  .hero .hero__lead {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.02em;
  }
  .hero .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero .hero__actions .btn {
    width: 100%;
  }
  .hero .hero__actions .btn--primary {
    width: 100%;
    justify-content: flex-start;
  }
  .hero .hero__actions .btn--primary .btn__label {
    flex: 1;
    text-align: left;
  }
  .hero .hero__actions .btn--primary .btn__icon {
    flex: 0 0 auto;
  }
  .hero .hero__actions .btn--ghost {
    justify-content: flex-start;
    width: 100%;
    height: 48px;
  }
  .hero .hero__trust {
    width: 100%;
    justify-content: flex-end;
    gap: 16px;
    height: 56px;
  }
  .hero .hero__trust .hero__trust__logo {
    height: 48px;
  }
  .hero .hero__trust .hero__trust__logo--qv {
    width: 144px;
  }
  .hero .hero__trust .hero__trust__logo--ldg {
    width: 172px;
  }
  .hero .hero__trust .hero__trust__strip {
    width: 100%;
    max-width: 358px;
    height: 56px;
    object-fit: contain;
    object-position: right center;
  }
  .hero {
    /* Figma mobile 5842:41300 — w 123.18%, h 124.53%, left -11.59%, top -23.98% */
  }
  .hero .hero__media img {
    width: 123.18%;
    height: 124.53%;
    left: -11.59%;
    top: -23.98%;
    object-fit: cover;
    object-position: center center;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero__media img {
  position: absolute;
  /* Figma desktop 5269:5849 — w 124.02%, h 120.52%, left -22.57% */
  width: 124.02%;
  height: 120.52%;
  left: -22.57%;
  top: 0;
  max-width: none;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--color-overlay-hero-from), var(--color-overlay-hero-to));
}

/* Only hero bottom/content need relative stacking above media —
   mobile nav must stay position:fixed (see .site-nav-mobile). */
.hero > .hero__bottom {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  /* Figma 5269:5890 — fixed 800px content column */
  width: 800px;
  max-width: 100%;
  margin-top: auto;
  flex: 0 1 auto;
  min-width: 0;
  align-items: flex-start;
}
@media (max-width: 1023px) {
  .hero__content {
    width: 100%;
    max-width: 100%;
  }
}
.hero__content .badge--glass {
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

/* Home location badge — Figma 120×36 with pin + Stuttgart */
.home-page .hero__content .badge--glass {
  width: 120px;
  max-width: 120px;
  justify-content: center;
}

.hero__title {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
}

.hero__lead {
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-body);
  letter-spacing: var(--tracking-body);
  max-width: 760px;
  /* M1 — keep body copy readable over photographic heroes */
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(13, 16, 22, 0.55);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.hero__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-24);
  /* Fixed header is out of flow — push copy/trust to hero bottom (Figma justify-between) */
  margin-top: auto;
  width: 100%;
}
@media (max-width: 1023px) {
  .hero__bottom {
    flex-wrap: wrap;
  }
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 64px;
  height: 56px;
  flex: 0 0 auto;
  margin-left: auto;
  /* Pair of HQ badges (not a clipped strip composite) */
}
.hero__trust__logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
}
.hero__trust__logo--qv {
  /* Figma 601/201 @ 56px tall */
  width: 168px;
}
.hero__trust__logo--ldg {
  /* Figma 428/120 @ 56px tall */
  width: 200px;
}
.hero__trust {
  /* Legacy strip fallback if still referenced elsewhere */
}
.hero__trust__strip {
  display: block;
  width: 431px;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 1023px) {
  .hero__trust {
    gap: 16px;
    height: 56px;
    width: 100%;
    justify-content: flex-end;
  }
  .hero__trust__logo {
    height: 48px;
  }
  .hero__trust__logo--qv {
    width: 144px;
  }
  .hero__trust__logo--ldg {
    width: 172px;
  }
  .hero__trust__strip {
    width: 100%;
    max-width: 358px;
    object-position: right center;
  }
}

/* ---------- Clients strip ---------- */
.clients {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-36);
  /* Title stays in content column; logos run edge-to-edge (designer note) */
  padding: var(--spacing-48) 0 0;
  text-align: center;
  min-height: 172px;
}

.clients__title {
  margin: 0;
  width: 100%;
  max-width: var(--page-max);
  padding-inline: var(--content-pad);
  box-sizing: border-box;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-primary);
}

.clients__viewport {
  width: 100%;
  overflow: hidden;
  /* Soft edges so logos are not hard-clipped mid-glyph at the viewport */
  padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

.clients__track {
  display: flex;
  align-items: center;
  gap: var(--spacing-120, 120px);
  width: max-content;
  opacity: 0.7;
  animation: clients-marquee 40s linear infinite;
}

@keyframes clients-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.clients__logo {
  flex: 0 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients__logo img {
  display: block;
  width: auto;
  height: 64px;
  max-width: none;
  object-fit: contain;
  filter: none;
}
.clients__logo {
  /* Figma 5279:16280…16345 — Logo 8…1 from export Trusted by clients */
}
.clients__logo--sue img {
  width: 92px;
  height: 48px;
}
.clients__logo--nuvoli img {
  width: 64px;
  height: 64px;
}
.clients__logo--planzept img {
  width: 108px;
  height: 48px;
}
.clients__logo--insani img {
  width: 103px;
  height: 36px;
}
.clients__logo--secuvera img {
  width: 160px;
  height: 48px;
  opacity: 1;
}
.clients__logo--clever img {
  width: 88px;
  height: 48px;
}
.clients__logo--widas img {
  width: 135px;
  height: 46px;
}
.clients__logo--sthree img {
  width: 150px;
  height: 54px;
}

@media (max-width: 1023px) {
  .clients {
    min-height: 188px;
    padding: var(--spacing-48) var(--content-pad) 0;
    gap: var(--spacing-36);
  }
  .clients__title {
    /* Figma mobile clients — H2 Semibold 18/20 */
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.36px;
    font-weight: var(--font-weight-semibold, 600);
  }
  .clients__track {
    gap: 64px;
  }
}
/* ---------- Services ---------- */
.services {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-64);
  padding: var(--spacing-48) var(--content-pad);
}

.services__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-12);
  max-width: 1010px;
}

.services__copy {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  max-width: 800px;
}

.services__heading {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
  color: var(--text-text-primary);
}

.services__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 400px;
  min-height: 400px;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  color: var(--text-text-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 16, 22, 0.12);
}
.service-card:focus-visible {
  outline: 2px solid #0d1016;
  outline-offset: 3px;
}

.service-card__media {
  position: absolute;
  inset: 0;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(193, 230, 255, 0) 0%, #c1e6ff 100%);
  pointer-events: none;
}

.service-card--pattern .service-card__shade {
  background: linear-gradient(to bottom, rgba(193, 230, 255, 0.3) 0%, #c1e6ff 100%);
}

.service-card__pattern {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 55%;
  background-image: url("../images/stargo-pattern.svg");
  background-repeat: repeat;
  background-size: 77px 54px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__body {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: var(--spacing-20);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--spacing-12);
  background: transparent;
  min-height: 0;
}

.service-card__title {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
}

.service-card__desc {
  margin: 0;
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  color: var(--text-text-secondary);
}

@media (max-width: 1023px) {
  /* Figma 5842:41316 — no vertical pad (48px is inter-section gap); intro→cards 24 */
  .services {
    gap: 24px;
    padding: 0 16px;
  }
  .services__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
  }
  .services__text {
    font-size: 18px;
    line-height: 20px;
  }
  /* Figma 5842:41324 — mobile cards 358×400 */
  .service-card {
    height: 400px;
    min-height: 400px;
    aspect-ratio: auto;
  }
}
/* ---------- For whom carousel ---------- */
.for-whom {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-64);
  padding: 0;
  position: relative;
  width: 100%;
  max-width: none;
}

.for-whom__intro {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-12);
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  margin-bottom: 0;
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}

.for-whom__copy {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  max-width: 800px;
}

.for-whom__heading {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
  color: var(--text-text-primary);
}

.for-whom__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}

.for-whom__carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-36);
  overflow: visible;
  /* Desktop: always show side arrows (not hover-only — clients reported “missing”) */
}
@media (hover: hover) and (pointer: fine) {
  .for-whom__carousel .for-whom__next,
  .for-whom__carousel .for-whom__prev {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    left: auto;
    right: auto;
    top: 176px;
    transform: translateY(-50%);
  }
  .for-whom__carousel .for-whom__next {
    right: 16px;
    left: auto;
    transform: translateY(-50%);
  }
  .for-whom__carousel .for-whom__prev {
    left: 16px;
    transform: translateY(-50%);
  }
}

.for-whom__viewport {
  /* Full-bleed section + no right pad = peeks to page edge */
  overflow: hidden;
  padding-left: max(var(--content-pad), (100% - 908px) / 2);
  padding-right: 0;
  width: 100%;
  box-sizing: border-box;
  /* Designer 5802:40992 — mobile margin: 16px start, peek to right edge */
}
@media (max-width: 1023px) {
  .for-whom__viewport {
    padding-left: 16px;
    padding-right: 0;
    margin: 0;
  }
}

.for-whom__track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.for-whom__slide {
  flex: 0 0 min(908px, 100vw - 64px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 12px;
  position: relative;
  height: 505px;
}
.for-whom__slide:not(.is-active) {
  height: 400px;
  overflow: hidden;
}
.for-whom__slide:not(.is-active) .for-whom__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}
.for-whom__slide:not(.is-active) .for-whom__caption {
  visibility: hidden;
}
.for-whom__slide.is-active .for-whom__image {
  height: 400px;
}
@media (max-width: 1023px) {
  .for-whom__slide {
    flex-basis: calc(100vw - 32px);
    /* Figma 5842:41791 — Carusel Card 358×556 */
    height: 556px;
    min-height: 556px;
    gap: 24px;
  }
  .for-whom__slide:not(.is-active) {
    height: 556px;
    min-height: 556px;
  }
  .for-whom__slide.is-active .for-whom__image, .for-whom__slide:not(.is-active) .for-whom__image {
    height: 400px;
  }
}

.for-whom__image {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.for-whom__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Designer 5802:40389 — keep subject in frame (was bottom-cropped) */
  object-position: center 30%;
}

.for-whom__caption {
  text-align: center;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.for-whom__caption h3 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-primary);
}
.for-whom__caption p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .for-whom__caption {
    padding: 0 var(--content-pad);
  }
}

.for-whom__next,
.for-whom__prev {
  position: absolute;
  top: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 48px;
  border-radius: var(--corner-radius-full);
  background: var(--surface-basic-primary-inverted);
  z-index: 5;
  transform: translate(-50%, -50%);
  cursor: pointer;
  will-change: left, top;
}
.for-whom__next img,
.for-whom__prev img {
  width: 24px;
  height: 24px;
}
.for-whom__next[hidden],
.for-whom__prev[hidden] {
  display: none !important;
}
.for-whom__next,
.for-whom__prev {
  /* Mobile: keep prev/next visible — swipe alone was reported as “arrows missing” */
}
@media (max-width: 1023px) {
  .for-whom__next,
  .for-whom__prev {
    top: auto;
    bottom: 12px;
    width: 48px;
    height: 40px;
    transform: none;
  }
}

.for-whom__next {
  right: 16px;
  left: auto;
}

.for-whom__prev {
  left: 16px;
}

.for-whom__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  min-height: 6px;
}

.for-whom__progress {
  position: relative;
  width: 96px;
  height: 6px;
  border-radius: 4px;
  background: var(--surface-basic-tertiary);
  overflow: hidden;
  flex-shrink: 0;
}
.for-whom__progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  height: 100%;
  background: var(--surface-basic-primary-inverted);
  border-radius: 4px;
}
.for-whom__progress i.is-running {
  animation: for-whom-progress 5s linear forwards;
}

.for-whom__dot {
  /* Visual 6×6, hit area ≥44×44 (M7) */
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: var(--surface-basic-tertiary);
  flex-shrink: 0;
  cursor: pointer;
  border: 0;
  padding: 19px;
  margin: -19px;
  box-sizing: content-box;
  background-clip: content-box;
}

@keyframes for-whom-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  /* Figma 5842:41781 — intro→carousel 24 */
  .for-whom {
    gap: 24px;
  }
  .for-whom__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
  }
  .for-whom__text {
    font-size: 18px;
    line-height: 20px;
  }
  .for-whom__progress {
    width: 96px;
  }
}
.badge--muted {
  color: var(--color-text-primary);
  background: rgba(44, 56, 94, 0.08);
  backdrop-filter: blur(6px);
}

/* ---------- Mid CTA ---------- */
.mid-cta {
  padding: 0 12px;
}

.mid-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  /* Figma 5269:6143 — title | aside, gap 12, both flex-1; parent centers the row */
  gap: 12px;
  width: 100%;
  /* Cap only on large desktop so tablet/mobile keep full inset card */
  max-width: none;
  margin-inline: 0;
  height: 353px;
  min-height: 353px;
  padding: 36px 48px;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  isolation: isolate;
  background-color: #c5dff8;
}
@media (min-width: 1440px) {
  .mid-cta__inner {
    max-width: var(--page-max);
    margin-inline: auto;
  }
}

.mid-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}
.mid-cta__bg img {
  position: absolute;
  left: 0;
  /* Figma 5842:41801 / 5269:6143 — top -58.43%, height 258.29% */
  top: -58.43%;
  width: 100%;
  height: 258.29%;
  max-width: none;
  object-fit: cover;
}

.mid-cta__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: image-set(url("../images/cta-pattern.webp") type("image/webp"), url("../images/cta-pattern.png") type("image/png"));
  background-image: url("../images/cta-pattern.webp");
  background-repeat: no-repeat;
  /* Desktop: stretch pattern to card (avoids fixed-width seam on ultrawide) */
  background-size: 100% 100%;
  background-position: center center;
  opacity: 1;
}

.mid-cta__title,
.mid-cta__aside {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-width: 0;
}

.mid-cta__title {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display);
  line-height: var(--line-height-display);
  letter-spacing: -0.06em; /* Figma Display 1 tracking -3.36 @ 56 */
  color: var(--text-text-primary);
}

.mid-cta__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
}

.mid-cta__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}

/* Figma 5279:3636 — label + arrow are shrink-to-content pills (not a 344 stretched label) */
.mid-cta .btn--primary-dark {
  width: auto;
  max-width: 344px;
  justify-content: flex-start;
}
.mid-cta .btn--primary-dark .btn__label {
  flex: 0 0 auto;
}

/* Tablet keeps desktop row so pattern/crop don't tear; phone gets Figma mobile stack */
@media (max-width: 767px) {
  /* Figma 5842:41800/41801 — card inset 16, 358×376, radius md */
  .mid-cta {
    padding: 0 16px;
  }
  .mid-cta__inner {
    flex-direction: column;
    align-items: stretch;
    /* Figma 5842:41949 — title → aside group gap 12 */
    gap: 12px;
    height: auto;
    min-height: 376px;
    padding: 64px 16px;
    /* Top-aligned like Figma (py 64), not vertically centered */
    justify-content: flex-start;
    border-radius: var(--corner-radius-md, 12px);
  }
  /* Smooth gradient fill — avoid desktop crop math tearing on phone aspect */
  .mid-cta__bg img {
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }
  /*
   * cta-pattern.png is an opaque desktop plate (hard mid seam when cropped).
   * Mobile Figma 5842:41802 — translucent S tiles over gradient in the lower half.
   */
  .mid-cta__pattern {
    top: 42%;
    opacity: 1;
    background-image: url("../images/cta-pattern-tile.svg");
    background-repeat: repeat;
    background-size: 56px 72px;
    background-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
  }
  .mid-cta__title {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px; /* Figma Mobile/Display 1 −3 @ 32 */
    flex: 0 0 auto;
  }
  .mid-cta__aside {
    /* Figma 5842:41951 — text → button gap 36 */
    gap: 36px;
    flex: 0 0 auto;
    width: 100%;
  }
  .mid-cta__text {
    /* Figma 5842:41952 — Mobile/Subtitle 18/20 */
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.36px;
  }
  /* Figma 5842:41953 — full-width split button 326×48 */
  .mid-cta .btn--primary-dark {
    max-width: none;
    width: 100%;
    gap: 0;
  }
  .mid-cta .btn--primary-dark .btn__label {
    flex: 1 1 auto;
  }
  .mid-cta .btn--primary-dark .btn__icon {
    flex: 0 0 auto;
  }
}
/* ---------- Problems ---------- */
.problems {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-64);
  padding: 0 var(--content-pad);
}

.problems__intro {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  max-width: 1010px;
  margin-bottom: 0;
}

.problems__copy {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  max-width: 800px;
}

.problems__heading {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
  color: var(--text-text-primary);
}

.problems__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}

.problems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 1024px) {
  .problems__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.problem-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  min-height: 196px;
  background: var(--surface-basic-secondary);
  border-radius: var(--corner-radius-md);
}
@media (max-width: 1023px) {
  .problem-card {
    flex-direction: column;
    gap: 8px;
    padding: 0;
    min-height: 0;
    background: transparent;
    border-radius: 0;
  }
}

.problem-card__problem {
  flex: 0 0 192px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 1023px) {
  .problem-card__problem {
    flex-basis: auto;
    width: 100%;
    padding: 16px;
    background: var(--surface-basic-secondary);
    border-radius: var(--corner-radius-md);
  }
}
.problem-card__problem p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
}

.problem-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  align-self: stretch;
}
@media (max-width: 1023px) {
  .problem-card__arrow {
    display: none;
  }
}

.problem-card__arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: var(--corner-radius-full);
  background: var(--surface-basic-primary-inverted);
}
.problem-card__arrow-btn img {
  width: 24px;
  height: 24px;
}

.problem-card__solution {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
@media (max-width: 1023px) {
  .problem-card__solution {
    width: 100%;
    padding: 16px;
    background: var(--surface-basic-secondary);
    border-radius: var(--corner-radius-md);
  }
}
.problem-card__solution p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
}

.problems__photos {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1023px) {
  .problems__photos {
    grid-template-columns: 1fr;
  }
}

.problems__photo {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}
.problems__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.problems__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.problems__photo--mobile {
  display: none;
}
@media (max-width: 1023px) {
  .problems__photo {
    display: none;
    height: 320px;
  }
  .problems__photo--mobile {
    display: block;
  }
}

@media (max-width: 1023px) {
  .problems {
    gap: 24px;
  }
  .problems__intro {
    gap: var(--spacing-24);
    max-width: none;
  }
  .problems__copy {
    gap: 16px;
    max-width: none;
  }
  .problems__grid {
    gap: 24px;
  }
  .problems__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
  }
  .problems__text {
    font-size: 18px;
    line-height: 20px;
  }
}
/* ---------- Why ---------- */
.why {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-64);
  padding: 0 var(--content-pad);
}
@media (max-width: 1023px) {
  .why {
    gap: 32px;
  }
}

.why__intro {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  width: 100%;
  max-width: 1010px;
  margin-bottom: 0;
  padding-right: 128px;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .why__intro {
    padding-right: 0;
  }
}

.why__copy {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  max-width: 800px;
}
@media (max-width: 1023px) {
  .why__copy {
    gap: 24px;
    max-width: none;
  }
}

.why__heading {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .why__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
  }
}

.why__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .why__text {
    font-size: 18px;
    line-height: 20px;
  }
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}
@media (min-width: 1024px) {
  .why__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .why__col {
    /* Figma 5794:38246 — cols stretch; tall cards fill remainder */
    align-self: stretch;
    min-height: 540px; /* 368 + 12 + 160 */
  }
  .why__col > .why-card--photo:first-child {
    flex: 0 0 368px;
    height: 368px;
  }
  .why__col > .why-card--photo:last-child,
  .why__col > .why-card--calendar:first-child {
    flex: 1 1 auto;
    min-height: 368px;
    height: auto;
  }
}

.why-card {
  border-radius: 16px;
  overflow: hidden;
}

.why-card--photo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 368px;
  height: 368px;
  padding: 16px;
  /* Figma mobile 5842:42009 / 42046 — fixed 368, inset 8 */
}
@media (max-width: 1023px) {
  .why-card--photo {
    padding: 8px;
    height: 368px;
    min-height: 368px;
    aspect-ratio: auto;
  }
}

.why-card__bg,
.why-card--photo > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
}

.why-card--photo > picture img,
.why-card__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
}

/* Individuelle Reinigungspläne — cover without vertical stretch/crop bias */
.why__col:first-child .why-card--photo .why-card__bg,
.why__col:first-child .why-card--photo > picture img {
  object-fit: cover;
  object-position: center 40%;
}

/* Figma mobile 5842:42046 — gewerbe fill framed toward top */
@media (max-width: 1023px) {
  .why__col:nth-child(2) .why-card--photo .why-card__bg,
  .why__col:nth-child(2) .why-card--photo > picture img {
    object-position: center 20%;
  }
}

.why-card__panel {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding: 20px;
  background: var(--surface-basic-primary, #fff);
  border-radius: var(--corner-radius-md);
  border: 0;
  box-shadow: none;
  /* Figma mobile 5552:37032 — panel px 16 / py 20 */
}
@media (max-width: 1023px) {
  .why-card__panel {
    padding: var(--spacing-20) var(--spacing-16);
  }
}
.why-card__panel > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
@media (max-width: 1023px) {
  .why-card__panel > div {
    gap: var(--spacing-12);
  }
}
.why-card__panel h3 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-primary);
  /* Figma mobile — size/md 18 / lh 20 */
}
@media (max-width: 1023px) {
  .why-card__panel h3 {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.02em;
  }
}
.why-card__panel p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
  /* Figma mobile Body Regular — tracking 0 */
}
@media (max-width: 1023px) {
  .why-card__panel p {
    letter-spacing: 0;
  }
}
.why-card__panel {
  /* Figma 5794:38257 / 38295 — 24×24 fill icons */
}
.why-card__panel > img {
  width: 24px;
  height: 24px;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  object-fit: contain;
}

.why-card--icon {
  display: flex;
  gap: 12px;
  align-items: stretch;
  height: 160px;
  background: var(--surface-basic-secondary);
  /* Figma mobile 5842:42017 / 42062 — leaf & shield 200 */
}
@media (max-width: 1023px) {
  .why-card--icon {
    height: 200px;
    gap: 12px;
  }
}
.why-card--icon h3 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-primary);
  /* Figma mobile 5842:42015 — size/md 18 / lh 20 */
}
@media (max-width: 1023px) {
  .why-card--icon h3 {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.02em;
  }
}
.why-card--icon p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .why-card--icon p {
    letter-spacing: 0;
  }
}

/* Figma 5279:15099 — location card gap 8 between pin slot and copy (desktop) */
.why__col:nth-child(2) > .why-card--icon:first-child,
.why-card--icon-pin {
  gap: 8px;
}
@media (max-width: 1023px) {
  .why__col:nth-child(2) > .why-card--icon:first-child,
  .why-card--icon-pin {
    /* Figma mobile 5842:42037 — gap 12, height 220 */
    gap: 12px;
    height: 220px;
  }
}

/* Figma 5794:38264 / 38285 / 38312 — 103×160 SVG frames, clipped to card */
.why-card__icon {
  flex: 0 0 103px;
  width: 103px;
  height: 160px;
  position: relative;
  overflow: hidden;
  align-self: stretch;
  flex-shrink: 0;
}
.why-card__icon picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.why-card__icon img {
  position: absolute;
  inset: 0;
  width: 103px;
  height: 160px;
  max-width: none;
  display: block;
}
.why-card__icon {
  /* Figma 5842:42018/42038/42063 — slot PNGs already include glyph offsets */
}
@media (max-width: 1023px) {
  .why-card__icon {
    height: auto;
    align-self: stretch;
  }
  .why-card__icon picture,
  .why-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

.why-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 24px 24px 24px 0;
  /* Figma mobile 5842:42033 — title at y24, gap 12, text width 219 in 243 */
}
@media (max-width: 1023px) {
  .why-card__body {
    gap: 12px;
    padding: 24px 24px 24px 0;
    justify-content: flex-start;
  }
}

.why-card--calendar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 368px;
  height: 368px;
  background: #c1e6ff;
  overflow: hidden;
  border-radius: 16px;
}
@media (min-width: 1024px) {
  .why-card--calendar {
    height: auto;
  }
}

.why-card__calendar-bg,
.why-card--calendar > picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  pointer-events: none;
}

.why-card--calendar > picture img,
.why-card__calendar-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  opacity: 1;
}

.why-card__calendar-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  /* Figma mobile 5552:37074 — px 16 / py 24 */
}
@media (max-width: 1023px) {
  .why-card__calendar-copy {
    padding: var(--spacing-24) var(--spacing-16);
  }
}
.why-card__calendar-copy h3 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .why-card__calendar-copy h3 {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.02em;
  }
}
.why-card__calendar-copy p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .why-card__calendar-copy p {
    letter-spacing: 0;
  }
}

.why-card__calendar {
  position: relative;
  z-index: 1;
  flex: 1 0 0;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  /* Figma 5279:15120 — 448×248 overlay, widget already centered in the SVG */
}
.why-card__calendar img {
  position: absolute;
  top: 8px;
  left: 0;
  width: 448px;
  max-width: none;
  height: 248px;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: top left;
  box-shadow: none;
  filter: none;
}
.why-card__calendar {
  /* Mobile: same Calendar.svg, ~10% smaller, centered on bottom edge */
}
@media (max-width: 1023px) {
  .why-card__calendar img {
    top: auto;
    bottom: 0;
    left: 50%;
    width: 403px; /* 448 * 0.9 */
    height: 223px; /* 248 * 0.9 */
    transform: translateX(-50%);
    object-fit: contain;
    object-position: bottom center;
  }
}

/* ---------- Quality ---------- */
.quality {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 0 var(--content-pad);
  align-items: start;
}
@media (min-width: 1024px) {
  .quality {
    grid-template-columns: 656fr 680fr;
    gap: 40px;
  }
}
@media (max-width: 1023px) {
  .quality {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

.quality__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* Figma 5279:6803 — 656px col with pr 128 → content ~528 */
  width: 100%;
  max-width: 656px;
  padding-right: 0;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .quality__left {
    padding-right: 128px;
  }
}
@media (max-width: 1023px) {
  .quality__left {
    display: contents;
    max-width: none;
    padding-right: 0;
  }
}

.quality__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1023px) {
  .quality__copy {
    order: 1;
  }
}

.quality__heading {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .quality__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
  }
}

.quality__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .quality__text {
    font-size: 18px;
    line-height: 20px;
  }
}

.quality__cta {
  width: fit-content;
}
@media (max-width: 1023px) {
  .quality__cta {
    order: 4;
    width: 100%;
  }
  .quality__cta .btn__label {
    flex: 1;
  }
}

.quality__right {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 604px;
}
@media (max-width: 1023px) {
  .quality__right {
    order: 3;
    gap: 24px;
    max-width: none;
  }
}

.quality__item {
  display: flex;
  flex-direction: column;
  /* Figma 5321:5231 — logo → copy gap 36 (not h3→p) */
  gap: 36px;
  width: 100%;
  max-width: 604px;
}
@media (max-width: 1023px) {
  .quality__item {
    /* Figma 5649:19291 — logo → copy gap 16 */
    gap: 16px;
  }
}
@media (max-width: 1023px) {
  .quality__item {
    max-width: none;
  }
}

.quality__item-copy {
  display: flex;
  flex-direction: column;
  /* Title → body: tight, not another 36px flex gap */
  gap: 8px;
}
.quality__item-copy h3 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .quality__item-copy h3 {
    font-weight: 600;
    font-size: var(--size-md, 18px);
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}
.quality__item-copy p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .quality__item-copy p {
    font-size: var(--size-md, 18px);
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}

.quality__logo {
  display: block;
  height: 56px;
  margin: 0;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

/* Figma 5552:37107 — Qualitätsverbund 167.44×56 */
.quality__logo--qvgd {
  width: 167.443px;
  max-width: 167.443px;
}

/* Figma 5552:37113 — Die Gebäudedienstleister / Innung 199.73×56 */
.quality__logo--ldg {
  width: 199.733px;
  max-width: 199.733px;
}

/* Optional crop frame (same slot size as Figma logo node) */
.quality__logo-frame {
  width: 199.733px;
  height: 56px;
  margin: 0;
  flex-shrink: 0;
  overflow: hidden;
}
.quality__logo-frame .quality__logo {
  width: 199.733px;
  max-width: none;
  height: 56px;
}

/* ---------- Tickets ---------- */
.tickets {
  padding: 0 var(--content-pad);
}

.tickets__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1010px;
  margin-bottom: 128px;
}
@media (max-width: 1023px) {
  .tickets__intro {
    /* Figma 5842:42111 — intro → steps 32 */
    margin-bottom: 32px;
    gap: 24px;
  }
}

.tickets__copy-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
}

.tickets__heading {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .tickets__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
  }
}

.tickets__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .tickets__text {
    font-size: 18px;
    line-height: 20px;
  }
}

.tickets__steps {
  display: flex;
  flex-direction: column;
  /* Figma 5321:5253 / 5537:16866 — spacing/160 between steps */
  gap: 160px;
}
@media (max-width: 1023px) {
  .tickets__steps {
    /* Figma 5842:42118 — 64px between ticket steps */
    gap: 64px;
  }
}

.tickets__step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-areas: "rail copy" "rail mock";
  column-gap: 64px;
  row-gap: 16px;
  align-items: start;
}
@media (min-width: 1024px) {
  .tickets__step {
    grid-template-columns: 56px minmax(0, 1fr) 677px;
    grid-template-areas: "rail copy mock";
    row-gap: 0;
  }
}
@media (max-width: 1023px) {
  .tickets__step {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
  }
}

.tickets__rail {
  grid-area: rail;
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100%;
  padding-top: 0;
}
.tickets__rail::after {
  content: "";
  position: absolute;
  top: 56px;
  bottom: -160px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: #dedde2;
  transition: background-color 0.5s ease;
}

/* Blue connector only while the next step is also active/done */
.tickets__step:has(+ .tickets__step--active) .tickets__rail::after,
.tickets__step:has(+ .tickets__step--done) .tickets__rail::after,
.tickets__step:has(+ .tickets__step.is-inview) .tickets__rail::after {
  background: #91c4e5;
}

.tickets__step--active:has(+ .tickets__step--pending) .tickets__rail::after,
.tickets__step--done:has(+ .tickets__step--pending) .tickets__rail::after {
  background: #dedde2;
}

.tickets__step:last-child .tickets__rail::after {
  display: none;
}

.tickets__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--corner-radius-full);
  border: 1px solid #dedde2;
  padding: 8px;
  z-index: 1;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.5s ease;
}
.tickets__dot > span {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: var(--corner-radius-full);
  border: 1px solid #dedde2;
  box-sizing: border-box;
  background: radial-gradient(circle at center, #dedde2 0 12px, transparent 12.5px);
  transition: border-color 0.5s ease, background 0.5s ease;
}

.tickets__step--pending .tickets__dot {
  border-color: #dedde2;
}
.tickets__step--pending .tickets__dot > span {
  border-color: #dedde2;
  background: radial-gradient(circle at center, #dedde2 0 12px, transparent 12.5px);
}
.tickets__step--pending .tickets__label {
  color: #6b7078;
  transition: color 0.5s ease;
}
.tickets__step--pending .tickets__copy h3 {
  color: #6b7078;
  transition: color 0.5s ease;
}
.tickets__step--pending .tickets__copy p:last-child {
  color: #6b7078;
  transition: color 0.5s ease;
}

.tickets__step--active .tickets__dot {
  border-color: #91c4e5;
}
.tickets__step--active .tickets__dot > span {
  border-color: #b6dbf3;
  background: radial-gradient(circle at center, #c1e6ff 0 12px, transparent 12.5px);
}
.tickets__step--active .tickets__label {
  color: var(--text-text-primary);
  transition: color 0.5s ease;
}
.tickets__step--active .tickets__copy h3 {
  color: var(--text-text-primary);
  transition: color 0.5s ease;
}
.tickets__step--active .tickets__copy p:last-child {
  color: var(--text-text-secondary);
  transition: color 0.5s ease;
}

.tickets__step--done .tickets__dot {
  border-color: #dedde2;
}
.tickets__step--done .tickets__dot > span {
  border-color: #dedde2;
  background: radial-gradient(circle at center, #dedde2 0 12px, transparent 12.5px);
}
.tickets__step--done .tickets__label {
  color: #6b7078;
}
.tickets__step--done .tickets__copy h3 {
  color: #6b7078;
}
.tickets__step--done .tickets__copy p:last-child {
  color: #6b7078;
}

.tickets__label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: max-content;
  align-self: flex-start;
  padding: 12px 8px;
  border-radius: 4px;
  background: var(--surface-basic-secondary);
  font-size: var(--size-sm);
  line-height: 20px;
  font-weight: var(--font-weight-medium);
  color: var(--text-text-primary);
}

.tickets__copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-right: 72px;
  padding-top: 6px;
}
@media (max-width: 1023px) {
  .tickets__copy {
    padding-right: 0;
  }
}
.tickets__copy h3 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-2xl);
  line-height: 36px;
  letter-spacing: -0.02em;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .tickets__copy h3 {
    font-size: 22px;
    line-height: 28px;
  }
}
.tickets__copy p:last-child {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary);
}

.tickets__mock {
  grid-area: mock;
  border-radius: 16px;
  overflow: hidden;
  background: #c1e6ff;
  width: 100%;
  max-width: 677px;
  height: 348px;
  justify-self: end;
  transition: background-color 0.45s ease;
}
@media (max-width: 1023px) {
  .tickets__mock {
    height: auto;
    aspect-ratio: 677/348;
    max-width: none;
    justify-self: stretch;
  }
}
.tickets__mock img {
  width: 100%;
  height: 100%;
  /* Assets are authored at 677×348 — fill frame, no letterbox crop */
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.tickets__mock--pending {
  background: #f6f8fa;
}
.tickets__mock--active {
  background: #c1e6ff;
}
.tickets__mock--done {
  background: #f6f8fa;
}

/* ---------- Blog preview ---------- */
.blog-preview {
  padding: 0 var(--content-pad);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 64px;
  /* B1 — keep absolutely positioned next arrow from widening the document */
  overflow-x: clip;
}
@media (min-width: 900px) {
  .blog-preview {
    /* Figma 5279:10165 — items-end on section */
    align-items: flex-end;
  }
}
@media (max-width: 1023px) {
  .blog-preview {
    padding: 0;
    align-items: stretch;
  }
}

.blog-preview__intro {
  padding: 0;
  padding-right: 128px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .blog-preview__intro {
    padding: 0 var(--content-pad);
    padding-right: var(--content-pad);
  }
}

.blog-preview__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: var(--tracking-display);
  max-width: 1010px;
}
@media (min-width: 900px) {
  .blog-preview__heading {
    font-size: 56px;
    line-height: 62px;
    white-space: nowrap;
  }
}

.blog-preview__carousel {
  position: relative;
  width: 100%;
}

.blog-preview__viewport {
  overflow: hidden;
  padding-left: 0;
}
@media (max-width: 899px) {
  .blog-preview__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-left: var(--content-pad);
    padding-right: var(--content-pad);
  }
  .blog-preview__viewport::-webkit-scrollbar {
    display: none;
  }
}

.blog-preview__track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s ease;
}
@media (max-width: 899px) {
  .blog-preview__track {
    transition: none;
    width: max-content;
    padding-right: var(--content-pad);
  }
}

.blog-card {
  flex: 0 0 358px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-card[hidden] {
  display: none !important;
}
@media (min-width: 900px) {
  .blog-card {
    flex: 0 0 451px;
  }
  .blog-card:nth-child(2) {
    flex-basis: 450px;
  }
  .blog-card:nth-child(4) {
    flex-basis: 433px;
  }
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}
.blog-card:hover .blog-card__link {
  color: #2c385e;
}
.blog-card:hover .blog-card__body h3 {
  color: #2c385e;
}

.blog-card__media {
  position: relative;
  aspect-ratio: 433/240;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  color: #fff;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.45s ease;
}
.blog-card__media .badge {
  position: absolute;
  top: 14px;
  left: 17px;
  z-index: 2;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-right: 40px;
}
.blog-card__body h3 {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: var(--font-size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #0d1016;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: #3f4349;
  font-size: 14px;
  line-height: 20px;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-card__read img {
  width: 24px;
  height: 24px;
}

.blog-card__link {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  line-height: 20px;
  color: #0d1016;
  text-decoration: none;
  width: fit-content;
  /* M7 — 44px touch target */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  box-sizing: border-box;
}

.blog-preview__prev,
.blog-preview__next {
  position: absolute;
  top: calc(50% + 7px);
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #0d1016;
  cursor: pointer;
  z-index: 2;
}
@media (min-width: 900px) {
  .blog-preview__prev,
  .blog-preview__next {
    display: flex;
  }
}
.blog-preview__prev[hidden],
.blog-preview__next[hidden] {
  display: none !important;
}
.blog-preview__prev img,
.blog-preview__next img {
  width: 24px;
  height: 24px;
}

.blog-preview__prev {
  /* Mirror of next — clamp inside section (B1/H4) */
  left: max(31px, 50% - 648px);
}

.blog-preview__next {
  /* Figma 5402:7524 — prefer design anchor, clamp so it never escapes the section (B1) */
  left: min(50% + 648px, 100% - 31px);
}

/* ---------- Process ---------- */
.process {
  padding: 0 12px;
}
@media (max-width: 1023px) {
  .process {
    /* Home dark panel = true full-bleed (no side gutter) */
    padding: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}

/* Designer 5802:39450 — company / services process: inset card (keep 12px sides) */
.process.process--company {
  padding: 0 12px;
}
@media (max-width: 1023px) {
  .process.process--company {
    /* Keep equal 12px inset — do not full-bleed the light card */
    padding: 0 12px;
  }
}

.process__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 128px;
  padding: 128px 48px;
  /* Figma 5279:7140 artboard height */
  height: 754px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 24px;
  background: var(--surface-basic-primary-inverted, #0d1016);
  color: #fff;
  overflow: hidden;
}
@media (max-width: 1023px) {
  .process__inner {
    gap: 64px;
    padding: 64px 16px;
    border-radius: 0;
    /* NEVER use negative margins here — width:100% + margin:-12px leaves a 24px right gap */
    margin: 0;
    width: 100%;
    max-width: none;
    /* Figma 5842:42072 baseline 604; designer 5802:41001 — don’t clip step copy */
    min-height: 604px;
    height: auto;
  }
}
.process__inner {
  /* Soft edge fades — Figma 5279:10114 / 5279:10110 (243×368). Desktop only. */
}
.process__inner::before, .process__inner::after {
  content: "";
  position: absolute;
  top: 341px;
  width: 243px;
  height: 368px;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .process__inner::before, .process__inner::after {
    display: none;
  }
}
.process__inner::before {
  left: 0;
  background: linear-gradient(90deg, #0d1016 0%, rgba(13, 16, 22, 0) 100%);
}
.process__inner::after {
  right: 0;
  background: linear-gradient(270deg, #0d1016 0%, rgba(13, 16, 22, 0) 100%);
}

.process__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1046px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.process__intro .badge--glass {
  width: fit-content;
  max-width: max-content;
  white-space: nowrap;
  /* Figma mobile 5552:37095 — badge frame 120×36 */
}
@media (max-width: 1023px) {
  .process__intro .badge--glass {
    width: 120px;
    max-width: 120px;
    justify-content: center;
  }
}

.process__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process__heading {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
  color: #fff;
}
@media (max-width: 1023px) {
  .process__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
  }
}

.process__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #d7d6db;
}
@media (max-width: 1023px) {
  .process__text {
    font-family: var(--font-family-title);
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.02em; /* -0.36px @ 18 */
  }
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 64px;
  overflow-x: auto;
  /* H11 — never clip step copy; grow with content instead of fixed height */
  overflow-y: visible;
  min-height: 0;
  scroll-snap-type: x mandatory;
  /* Figma “Starter position” — first step inset so side fades read */
  scroll-padding-inline: 228px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
  width: calc(100% + 96px);
  margin-left: -48px;
  margin-right: -48px;
  /* Starter: ~228px before first marker (Figma 5794:38567 → Frame 1) */
  padding-left: 228px;
  padding-right: max(228px, 100% - 512px);
  padding-bottom: 8px;
  cursor: grab;
  touch-action: pan-x;
}
.process__steps.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.process__steps::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1023px) {
  .process__steps {
    gap: 48px;
    /* Keep track inside the panel — negative full-bleed was causing page-level right gap */
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    scroll-padding-inline: 0;
    padding-left: 0;
    padding-right: 24px;
    padding-bottom: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
    box-sizing: border-box;
  }
}

.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 512px;
  max-width: 512px;
  padding-right: 64px;
  scroll-snap-align: start;
  transition: color 0.45s ease;
}
@media (max-width: 1023px) {
  .process__step {
    flex: 0 0 min(280px, 78vw);
    max-width: min(280px, 78vw);
    padding-right: 24px;
  }
}
.process__step h3 {
  margin: 48px 0 16px;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-2xl);
  line-height: 36px;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.45s ease;
}
.process__step p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #d7d6db;
  transition: color 0.45s ease;
}
.process__step--todo h3,
.process__step--todo p {
  color: #6b7078;
}
@media (max-width: 1023px) {
  .process__step {
    flex-basis: 300px;
    max-width: 300px;
    padding-right: 0;
  }
  .process__step h3 {
    margin: 48px 0 16px;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.02em; /* -0.48px @ 24 — Figma Mobile/H1 */
  }
  .process__step {
    /* Figma Mobile/Body Regular: tracking 0 */
  }
  .process__step p {
    letter-spacing: 0;
  }
}

.process__marker {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Designer 5802:40993 / 5802:40999 — keep circles round in scrub track */
  aspect-ratio: 1;
}

.process__ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  aspect-ratio: 1;
  border: 1px solid #91c4e5;
  border-radius: 9999px;
  padding: 8px;
  background: #0d1016;
  box-sizing: border-box;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.process__ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #b6dbf3;
  border-radius: 9999px;
  pointer-events: none;
  transition: border-color 0.35s ease;
}
.process__ring .process__dot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 9999px;
  background: var(--surface-basic-brand, #c1e6ff);
  opacity: 1;
  transition: background-color 0.35s ease, opacity 0.35s ease;
}
.process__ring .process__dot img {
  display: block;
  width: 12px;
  height: 16px;
}
.process__ring--empty {
  border-color: rgba(255, 255, 255, 0.2);
}
.process__ring--empty::before {
  border-color: rgba(255, 255, 255, 0.2);
}
.process__ring--empty .process__dot {
  background: rgba(255, 255, 255, 0.2);
}
.process__ring--empty .process__dot img {
  opacity: 0;
}

.process__step--active .process__ring {
  box-shadow: none;
}

.process__step--done .process__ring,
.process__step--active .process__ring {
  border-color: #91c4e5;
}
.process__step--done .process__ring::before,
.process__step--active .process__ring::before {
  border-color: #b6dbf3;
}
.process__step--done .process__ring .process__dot,
.process__step--active .process__ring .process__dot {
  background: var(--surface-basic-brand, #c1e6ff);
}
.process__step--done .process__ring .process__dot img,
.process__step--active .process__ring .process__dot img {
  opacity: 1;
}

.process__dot {
  flex-shrink: 0;
}

.process__line {
  display: block;
  position: absolute;
  top: 27px;
  left: 56px;
  /* Span step width + larger inter-step gap (64 desktop / 48 mobile) */
  width: calc(100% + 44px);
  height: 2px;
  z-index: 0;
  transition: background-color 0.35s ease;
}
@media (max-width: 1023px) {
  .process__line {
    width: 292px;
  }
}
.process__line--active {
  background: #91c4e5;
}
.process__line--muted {
  background: rgba(255, 255, 255, 0.2);
}

/* Company / light process — one card on Company + all Services (Figma 5321:5243 / 5607:18298) */
.process--company .process__inner {
  height: auto;
  min-height: 804px;
  padding: 128px 48px;
  border-radius: 24px;
  margin: 0;
  background: transparent;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .process--company .process__inner {
    min-height: 620px;
    padding: 64px 16px;
    border-radius: 16px;
    margin: 0;
  }
}
.process--company .process__inner::before, .process--company .process__inner::after {
  /* Soft edge mask over the scrub track — same on every light process page */
  top: auto;
  bottom: 0;
  width: 243px;
  height: 280px;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .process--company .process__inner::before, .process--company .process__inner::after {
    display: none;
  }
}
.process--company .process__inner::before {
  /* Left: process-bg left edge ≈ #8ab9ed */
  background: linear-gradient(90deg, #8ab9ed 0%, rgba(138, 185, 237, 0.7) 22%, rgba(138, 185, 237, 0.35) 48%, rgba(138, 185, 237, 0.1) 75%, rgba(138, 185, 237, 0) 100%);
}
.process--company .process__inner::after {
  /* Right edge of process-bg.jpg ≈ #d4eff8 */
  background: linear-gradient(270deg, #d4eff8 0%, rgba(212, 239, 248, 0.85) 18%, rgba(212, 239, 248, 0.35) 55%, rgba(212, 239, 248, 0) 100%);
}
.process--company .process__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1023px) {
  .process--company .process__bg {
    border-radius: 16px;
  }
}
.process--company {
  /* Figma 5321:5247 — soft brand chip on light process panel (not dark glass) */
}
.process--company .badge--glass,
.process--company .badge--soft {
  color: var(--text-text-primary);
  background: var(--surface-basic-brand);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.process--company .process__heading {
  color: var(--text-text-primary);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
}
@media (max-width: 1023px) {
  .process--company .process__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}
.process--company .process__step h3 {
  color: var(--text-text-primary);
  margin: 48px 0 16px;
}
.process--company .process__step p {
  color: var(--text-text-secondary);
}
.process--company .process__step--todo h3,
.process--company .process__step--todo p {
  color: var(--text-text-disabled);
}
.process--company .process__ring {
  background: transparent;
  border-color: var(--surface-basic-primary-inverted, #0d1016);
}
.process--company .process__ring::before {
  border-color: var(--surface-basic-primary-inverted, #0d1016);
}
.process--company .process__ring .process__dot {
  background: transparent;
}
.process--company .process__ring .process__dot img {
  width: 24px;
  height: 24px;
}
.process--company .process__ring--empty {
  border-color: rgba(44, 56, 94, 0.12);
}
.process--company .process__ring--empty::before {
  border-color: rgba(44, 56, 94, 0.12);
}
.process--company .process__ring--empty .process__dot {
  background: rgba(44, 56, 94, 0.12);
}
.process--company .process__ring--empty .process__dot img {
  opacity: 0;
}
.process--company .process__step--done .process__ring,
.process--company .process__step--active .process__ring {
  border-color: var(--surface-basic-primary-inverted, #0d1016);
}
.process--company .process__step--done .process__ring::before,
.process--company .process__step--active .process__ring::before {
  border-color: var(--surface-basic-primary-inverted, #0d1016);
}
.process--company .process__step--done .process__ring .process__dot,
.process--company .process__step--active .process__ring .process__dot {
  background: transparent;
}
.process--company .process__step--done .process__ring .process__dot img,
.process--company .process__step--active .process__ring .process__dot img {
  opacity: 1;
}
.process--company .process__line--active {
  background: var(--surface-basic-primary-inverted, #0d1016);
}
.process--company .process__line--muted {
  background: rgba(44, 56, 94, 0.12);
}
@media (max-width: 1023px) {
  .process--company {
    /* Same inset card on Company + Services (no full-bleed exception) */
  }
  .process--company .process__inner {
    gap: 64px;
    padding: 64px 16px;
    min-height: 620px;
    height: auto;
    border-radius: 16px;
    margin: 0;
    overflow: hidden;
  }
  .process--company .process__steps {
    display: flex;
    flex-direction: row;
    gap: 32px;
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    scroll-padding-inline: 16px;
    padding-left: 16px;
    /* Peek next step like Figma scrub track */
    padding-right: max(16px, 100% - 268px);
  }
  .process--company .process__step {
    flex: 0 0 300px;
    flex-basis: 300px;
    max-width: 300px;
    min-width: 300px;
    padding-right: 0;
    overflow: visible;
  }
  .process--company .process__step h3 {
    margin: 48px 0 16px;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.48px;
  }
  .process--company .process__step p {
    letter-spacing: 0;
  }
  .process--company .process__line {
    width: calc(100% + 32px);
    top: 27px;
    left: 56px;
  }
}

/* ---------- About ---------- */
.about {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  /* Designer 5802:39450 — no white crescent between panel and dark CTA */
  gap: 0;
}

.about__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #f6f8fa;
  /* Same rounding as .dark-cta (desktop + mobile) */
  border-radius: 24px;
  overflow: hidden;
  min-height: 928px;
}
@media (min-width: 900px) {
  .about__panel {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 722px;
  }
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 16px;
  justify-content: flex-start;
  min-height: 636px;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .about__copy {
    padding: 160px 64px 160px 48px;
    justify-content: center;
    min-height: 0;
  }
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 590px;
}

.about__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: var(--tracking-display);
}
@media (min-width: 900px) {
  .about__heading {
    font-size: 56px;
    line-height: 62px;
  }
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__text p {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #3f4349;
}

.about__media {
  min-height: 280px;
}
@media (min-width: 900px) {
  .about__media {
    min-height: 722px;
    height: 722px;
  }
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about__copy .btn {
  align-self: flex-start;
}
@media (max-width: 899px) {
  .about__copy .btn {
    width: 100%;
    align-self: stretch;
  }
  .about__copy .btn .btn__label {
    flex: 1;
  }
}

.dark-cta {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 500px;
  padding: 64px 16px;
  border-radius: 24px;
  background: #0d1016;
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
@media (max-width: 899px) {
  .dark-cta {
    /* Figma 5552:37567 / home 5842:42248 — py 64, h 500 */
    min-height: 500px;
  }
}
@media (min-width: 900px) {
  .dark-cta {
    /* Figma 5328:7133 — h 353, px 48, py 36, items-center */
    align-items: center;
    height: 353px;
    min-height: 353px;
    padding: 36px 48px;
  }
}

.dark-cta__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  width: 100%;
}
@media (min-width: 900px) {
  .dark-cta__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
  }
}

.dark-cta::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 159px;
  height: 205px;
  background: url("../images/dark-cta-deco.svg") center/contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 900px) {
  .dark-cta::after {
    /* Figma 5537:15607 — left 1054, top -139.5, 345×444 in 1416-wide card */
    right: -17px;
    top: -139.5px;
    width: 345px;
    height: 444px;
  }
}

.dark-cta__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.06em;
  max-width: 654px;
}
@media (min-width: 900px) {
  .dark-cta__title {
    font-size: 56px;
    line-height: 62px;
  }
}

.dark-cta__aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 654px;
}
@media (min-width: 900px) {
  .dark-cta__aside {
    gap: 32px;
  }
}
.dark-cta__aside p {
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #d7d6db;
}
@media (max-width: 899px) {
  .dark-cta__aside p {
    /* Figma 5842:42253 — 80px body ≈ 18/20 × 4 */
    font-size: 18px;
    line-height: 20px;
  }
}
@media (max-width: 899px) {
  .dark-cta__aside {
    /* Figma 5842:42252 — copy → actions 20 */
    gap: 20px;
  }
}

@media (max-width: 899px) {
  .dark-cta__lead {
    font-family: var(--font-family-title);
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}
.dark-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* Designer 5802:40433 — buttons must not inherit link underlines/visited colors */
}
.dark-cta__actions .btn,
.dark-cta__actions .btn:link,
.dark-cta__actions .btn:visited,
.dark-cta__actions .btn:hover,
.dark-cta__actions .btn:active,
.dark-cta__actions .btn:focus {
  text-decoration: none;
}
.dark-cta__actions .btn--ghost:link,
.dark-cta__actions .btn--ghost:visited,
.dark-cta__actions .btn--ghost:hover,
.dark-cta__actions .btn--ghost:active {
  color: #fff;
}
@media (max-width: 899px) {
  .dark-cta__actions {
    /* Figma 5552:37572 — stacked buttons y0/y60 → gap 12 */
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .dark-cta__actions .btn {
    width: 100%;
  }
  .dark-cta__actions .btn--primary {
    width: 100%;
  }
  .dark-cta__actions .btn--primary .btn__label {
    flex: 1;
  }
  .dark-cta__actions .btn--ghost {
    justify-content: flex-start;
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 900px) {
  .faq {
    gap: 64px;
  }
}

.faq__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--content-pad);
  padding-right: 128px;
  margin-bottom: 0;
  max-width: none;
}
@media (max-width: 1023px) {
  .faq__intro {
    padding: 0 var(--content-pad);
  }
}

.faq__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
}

.faq__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: var(--tracking-display);
}
@media (min-width: 900px) {
  .faq__heading {
    font-size: 56px;
    line-height: 62px;
  }
}

.faq__text {
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #3f4349;
}

.faq__list {
  width: 100%;
  max-width: 908px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (max-width: 1023px) {
  .faq__list {
    padding: 0 var(--content-pad);
  }
}

/* Designer 5802:41009 — FAQ column + CTA share the same 16px inset on mobile */
@media (max-width: 1023px) {
  .faq {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
  }
  .faq .faq__intro,
  .faq .faq__list {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
  .faq .faq__list > .btn {
    align-self: flex-start;
  }
}

.faq__item {
  width: 100%;
  background: #f6f8fa;
  border-radius: 12px;
  padding: 36px 16px;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .faq__item {
    padding: 36px 32px;
  }
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 90px;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #0d1016;
}
@media (max-width: 899px) {
  .faq__item summary {
    gap: 16px;
  }
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary > span:first-child {
  flex: 1;
  min-width: 0;
}
.faq__item {
  /* Smooth answer open/close via grid 0fr→1fr — driven by .is-open only */
}
.faq__item .faq__answer {
  display: grid !important; /* override UA details { display:none } lag */
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.18s ease;
}
.faq__item .faq__answer-inner {
  overflow: hidden;
  min-height: 0;
}
.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}
.faq__item {
  /* Keep answer in layout while closing so height can animate */
}
.faq__item:not([open]) .faq__answer {
  display: grid !important;
}
.faq__item {
  /* Open layout: Q+A column | toggle */
}
.faq__item.is-open {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 90px;
  row-gap: 0;
  align-items: start;
}
@media (max-width: 899px) {
  .faq__item.is-open {
    /* display:contents on <summary> is buggy in details+grid — use flex */
    display: flex;
    flex-direction: column;
    column-gap: 0;
    row-gap: 0;
  }
}
.faq__item.is-open summary {
  display: contents;
}
@media (max-width: 899px) {
  .faq__item.is-open summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    /* Figma 5842:42298 — open question row 48 */
    min-height: 48px;
    width: 100%;
  }
}
.faq__item.is-open > span:first-child,
.faq__item.is-open summary > span:first-child {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.faq__item.is-open .faq__toggle {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}
@media (max-width: 899px) {
  .faq__item.is-open .faq__toggle {
    flex: 0 0 62px;
  }
}
.faq__item.is-open .faq__answer {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
@media (max-width: 899px) {
  .faq__item.is-open .faq__answer {
    /* Full width under Q+toggle (Figma answer 326px) */
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }
}
.faq__item .faq__answer-inner p,
.faq__item p {
  margin: 16px 0 0;
  font-size: var(--font-size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #3f4349;
  max-width: none;
  padding-right: 0;
}
@media (max-width: 899px) {
  .faq__item .faq__answer-inner p,
  .faq__item p {
    margin-top: 32px;
  }
}

.faq__toggle {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 48px;
  border-radius: 999px;
  background: #0d1016;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.faq__toggle img {
  position: absolute;
  width: 24px;
  height: 24px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.faq__icon-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq__icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq__item summary:hover .faq__toggle {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(13, 16, 22, 0.14);
}

.faq__item summary:active .faq__toggle {
  transform: scale(0.98);
}

.faq__item.is-open .faq__toggle {
  background: #91c4e5;
  backdrop-filter: blur(12px);
}

.faq__item.is-open .faq__icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq__item.is-open .faq__icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

/* FAQ CTA — subtle hover */
.faq__list > .btn {
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.faq__list > .btn:hover {
  transform: translateY(-1px);
  opacity: 1;
  box-shadow: 0 6px 16px rgba(13, 16, 22, 0.12);
}
.faq__list > .btn:active {
  transform: translateY(0);
}
.faq__list > .btn .btn__icon img {
  transition: transform 0.2s ease;
}
.faq__list > .btn:hover .btn__icon img {
  transform: translateX(2px);
}

/* ---------- Footer (full-bleed bg; content capped at 1440) ---------- */
.site-footer {
  position: relative;
  display: block;
  width: 100%;
  padding: 48px 0 0;
  /* Clip decorative watermark spill without a white strip under the footer */
  overflow: hidden;
  background: #eaf4fb;
  min-height: auto;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .site-footer {
    height: 1077px;
    min-height: 1077px;
  }
}

.site-footer__frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.site-footer__bg img {
  position: absolute;
  /* Figma: w 129.93% h 115.78% left -14.96% top 0.02% */
  width: 129.93%;
  height: 115.78%;
  left: -14.96%;
  top: 0.02%;
  max-width: none;
  object-fit: cover;
}

.site-footer__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin: 0;
  width: 100%;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 280px;
  min-width: 0;
}

.site-footer__tagline {
  margin: 0;
  max-width: 867px;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: var(--tracking-display);
  color: #0d1016;
}
@media (min-width: 900px) {
  .site-footer__tagline {
    font-size: 56px;
    line-height: 62px;
  }
}

.site-footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__newsletter-title {
  margin: 0;
  font-weight: 600;
  font-size: var(--font-size-lg);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #0d1016;
}

.site-footer__form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.site-footer__form input {
  width: min(320px, 100%);
  height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(44, 56, 94, 0.12);
  border-radius: 999px;
  font: inherit;
  font-size: var(--font-size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #3f4349;
  background: #fff;
  box-sizing: border-box;
}
.site-footer__form .btn--dark {
  flex: 0 0 auto;
}

.site-footer__trust {
  display: flex;
  align-items: center;
  gap: 64px;
  height: 56px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}
.site-footer__trust img {
  height: 56px;
  width: auto;
  max-width: min(180px, 42vw);
  object-fit: contain;
}
.site-footer__trust img:first-child {
  aspect-ratio: 601/201;
  width: auto;
}
.site-footer__trust img:last-child {
  aspect-ratio: 428/120;
  height: 56px;
  object-position: bottom;
}

.site-footer__cols {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 64px;
  margin: 0;
  width: 100%;
}
.site-footer__cols > div {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.site-footer__cols p:not(.site-footer__label),
.site-footer__cols a,
.site-footer__cols li {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 20px;
  font-weight: var(--font-weight-medium);
  color: #0d1016;
}
.site-footer__cols a {
  text-decoration: none;
  /* M7 — denser footer link hit area */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  box-sizing: border-box;
}
.site-footer__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__contact-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer__label {
  margin: 0;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 20px;
  color: #3f4349;
  text-transform: uppercase;
}

/* Figma: zero-height rule between cols and legal row (parent gap 36 handles spacing) */
.site-footer__rule {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid rgba(44, 56, 94, 0.12);
  flex-shrink: 0;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0;
  color: #3f4349;
  font-size: var(--font-size-sm);
  line-height: 20px;
  width: 100%;
  box-sizing: border-box;
}
.site-footer__bottom p {
  margin: 0;
  letter-spacing: -0.32px;
}
.site-footer__bottom a {
  color: #0d1016;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: opacity 0.15s ease, text-decoration-color 0.15s ease;
}
.site-footer__bottom a:hover {
  opacity: 0.72;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 4px;
  box-sizing: border-box;
}

.site-footer__watermark {
  position: relative;
  z-index: 0;
  pointer-events: none;
  width: 1376px;
  max-width: 100%;
  height: 435px;
  margin: 0 auto;
  margin-top: auto;
  line-height: 0;
  mix-blend-mode: soft-light;
  flex-shrink: 0;
}
.site-footer__watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}
.site-footer__watermark {
  /* Desktop fixed-height footer: pin watermark inside the box so it can’t
     extend document scroll below the footer (~57px white strip). */
}
@media (min-width: 900px) {
  .site-footer__watermark {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    margin: 0;
  }
}

/* ---------- Page shell ---------- */
.home-page {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 0;
  /* Figma Home: 128px between major sections after hero+clients */
}
.home-page > .services,
.home-page > .for-whom,
.home-page > .mid-cta,
.home-page > .problems,
.home-page > .why,
.home-page > .process,
.home-page > .quality,
.home-page > .tickets,
.home-page > .about,
.home-page > .blog-preview,
.home-page > .faq {
  margin-top: 128px;
}
@media (max-width: 1023px) {
  .home-page {
    padding-bottom: 0;
    /* Figma 5842:41298 — 48px between every major mobile section */
  }
  .home-page > .services,
  .home-page > .for-whom,
  .home-page > .mid-cta,
  .home-page > .problems,
  .home-page > .why,
  .home-page > .process,
  .home-page > .quality,
  .home-page > .tickets,
  .home-page > .about,
  .home-page > .blog-preview,
  .home-page > .faq {
    margin-top: 48px;
  }
}

/*
 * Footer sits outside .site-frame (sibling). Figma CTA→Footer gap is 12px
 * (desktop company/contact/services wrappers; mobile 5552:37717 y480−468).
 * Home is FAQ→Footer at 128 / 64 (5269:5848).
 */
.site-frame + .site-footer {
  margin-top: 12px;
}

.site-frame:has(.home-page) + .site-footer {
  margin-top: 128px;
}
@media (max-width: 1023px) {
  .site-frame:has(.home-page) + .site-footer {
    /* Figma 5842:41298 — FAQ → Footer 48px */
    margin-top: 48px;
  }
}

.section-placeholder {
  padding: 80px var(--content-pad);
  border-top: 1px dashed #ddd;
  color: #888;
  font-size: 14px;
}

/* ---------- Mobile polish ---------- */
@media (max-width: 1023px) {
  .services__intro,
  .faq__intro {
    gap: 12px;
    padding-right: var(--content-pad);
  }
  .services__intro .badge,
  .faq__intro .badge {
    margin-bottom: 0;
  }
  .blog-preview__intro {
    gap: 24px;
    padding-right: var(--content-pad);
  }
  .blog-preview__intro .badge {
    margin-bottom: 0;
  }
  .problems__intro {
    margin-bottom: 0;
    gap: var(--spacing-24);
  }
  .why__intro {
    margin-bottom: 0;
    gap: var(--spacing-24);
  }
  .for-whom__intro {
    margin-bottom: 0;
    gap: var(--spacing-12);
  }
  .services__intro .badge {
    margin-bottom: 0;
  }
  .services__text {
    /* Figma 5842:41322 — body 140px ≈ 18/20 */
    font-size: 18px;
    line-height: 20px;
  }
  .faq__text {
    font-size: 18px;
    line-height: 20px;
  }
  .services__heading,
  .faq__heading,
  .tickets__heading,
  .about__heading,
  .process__heading,
  .quality__heading,
  .blog-preview__heading {
    font-size: 32px;
    line-height: 36px;
  }
  .dark-cta__actions {
    flex-direction: column;
  }
  .dark-cta__actions .btn {
    width: 100%;
  }
  .dark-cta__actions .btn--primary {
    width: 100%;
  }
  .dark-cta__actions .btn--primary .btn__label {
    flex: 1;
  }
  .dark-cta__actions .btn--ghost {
    justify-content: center;
  }
  .why-card--photo {
    height: 368px;
  }
  /* Figma mobile 5552:37073 — fixed 368 calendar card */
  .why-card--calendar {
    height: 368px;
    min-height: 0;
  }
  .about__media {
    min-height: 280px;
  }
  .faq__list {
    align-items: stretch;
  }
  .faq__list > .btn {
    width: 100%;
  }
  .faq__list > .btn .btn__label {
    flex: 1;
  }
  .faq__toggle {
    flex: 0 0 62px;
    width: 62px;
    height: 48px;
  }
  .blog-preview {
    gap: 32px;
    padding: 0;
  }
  .blog-preview__intro {
    margin-bottom: 0;
  }
  .blog-card {
    flex: 0 0 min(358px, 100vw - 32px);
  }
  .blog-card__body {
    padding-right: 0;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    height: 400px;
    min-height: 400px;
  }
  .quality {
    gap: 32px;
  }
  .faq__item summary {
    /* Figma 5842:42281 — question ~18/20, row min 60 → closed item ≈132 */
    font-size: 18px;
    line-height: 20px;
    min-height: 60px;
  }
  .faq__copy {
    gap: 24px;
  }
  .faq__text {
    /* Figma 5842:42277 — body 60px tall ≈ 18/20 × 3 lines */
    font-size: 18px;
    line-height: 20px;
  }
  .site-footer {
    padding-top: 32px;
  }
  .site-footer__frame {
    gap: 32px;
  }
  .site-footer__top {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 0;
  }
  .site-footer__tagline {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 0;
  }
  .site-footer__trust {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    height: auto;
    order: -1;
  }
  .site-footer__trust img {
    height: 40px;
    max-width: min(140px, 40vw);
  }
  .site-footer__brand {
    order: 0;
    width: 100%;
  }
  .site-footer__newsletter-title {
    font-size: 20px;
  }
  .site-footer__form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .site-footer__form input {
    width: 100%;
  }
  .site-footer__form .btn {
    width: 100%;
    justify-content: center;
  }
  .site-footer__cols {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 0;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-footer__legal {
    flex-wrap: wrap;
    gap: 12px 16px;
  }
  .site-footer__watermark {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 390/140;
    mix-blend-mode: soft-light;
  }
  .site-footer__watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
  .blog-preview__prev,
  .blog-preview__next {
    display: none;
  }
  .tickets__step {
    column-gap: 16px;
    row-gap: 16px;
  }
  .tickets__dot {
    width: 40px;
    height: 40px;
    padding: 6px;
  }
  .tickets__dot > span {
    width: 28px;
    height: 28px;
    background: radial-gradient(circle at center, #c1e6ff 0 8px, transparent 8.5px);
  }
  .tickets__step--done .tickets__dot > span {
    background: radial-gradient(circle at center, #dedde2 0 8px, transparent 8.5px);
  }
  .tickets__rail::after {
    top: 40px;
    bottom: -48px;
  }
  .tickets__mock {
    justify-self: stretch;
    max-width: none;
  }
  .tickets__copy {
    padding-right: 0;
  }
  .tickets__steps {
    /* Figma 5842:42118 — 64px between steps */
    gap: 64px;
  }
}
/* ---------- Company page (Über uns) ---------- */
.company-page {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 0;
}
.company-page > .zahlen,
.company-page > .company-story,
.company-page > .clients,
.company-page > .werte,
.company-page > .company-process,
.company-page > .process,
.company-page > .mid-cta,
.company-page > .quality,
.company-page > .tickets,
.company-page > .company-quote,
.company-page > .company-cta,
.company-page > .quote-cta {
  margin-top: 128px;
}
.company-page {
  /* Figma 5321:5254 / 5552:37445 — badge→copy flex gap 24 */
}
.company-page .tickets__intro {
  gap: 24px;
}
.company-page {
  /* Tickets share the page content column (--content-pad) */
}
.company-page .tickets {
  padding: 0 var(--content-pad);
}
.company-page {
  /* Figma 5321:5178 — title 24 + gap 36 + logos 64 = 124 */
}
.company-page .clients {
  min-height: 124px;
  padding: 0 var(--content-pad);
  gap: 36px;
}
@media (max-width: 1023px) {
  .company-page .clients {
    /* Figma 5552:37371 — mobile clients 188 */
    min-height: 188px;
    padding: var(--spacing-48) var(--content-pad) 0;
  }
}
@media (max-width: 1023px) {
  .company-page {
    padding-bottom: 0;
    /* Figma 5552:37307 — root gap 48 between sections */
  }
  .company-page > .zahlen,
  .company-page > .company-story,
  .company-page > .clients,
  .company-page > .werte,
  .company-page > .company-process,
  .company-page > .process,
  .company-page > .mid-cta,
  .company-page > .quality,
  .company-page > .tickets,
  .company-page > .company-quote,
  .company-page > .quote-cta {
    margin-top: 48px;
  }
  .company-page {
    /* Figma 5552:37565 — quote → CTA gap 12 */
  }
  .company-page > .company-cta {
    margin-top: 12px;
  }
  .company-page .tickets__intro {
    gap: 24px;
    /* Figma 5552:37443 — intro → steps 32 */
    margin-bottom: 32px;
  }
  .company-page .tickets__steps {
    gap: 64px;
  }
  .company-page .tickets__step {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
  }
  .company-page .tickets__rail::after {
    top: 56px;
    bottom: -64px;
  }
}

.hero--company {
  /* Figma 5321:5112 — pb 36 */
  padding-bottom: 36px;
}
.hero--company .hero__content {
  max-width: 800px;
}
.hero--company .hero__bottom {
  justify-content: flex-start;
}
.hero--company {
  /* Figma 5321:5112 — media h 129.5% left 0 */
}
.hero--company .hero__media img {
  width: 100%;
  height: 129.5%;
  left: 0;
  top: -0.06%;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 1023px) {
  .hero--company {
    /* Figma 5552:37308 — mobile hero 390×834 */
    min-height: 834px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 36px;
    /* Figma 5552:37308 — crop onto the two women (right side) */
  }
  .hero--company .hero__media img {
    width: 296.53%;
    height: 100%;
    left: -159.71%;
    top: 0;
    object-fit: cover;
    object-position: center center;
  }
  .hero--company .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero--company .hero__actions .btn {
    width: 100%;
  }
  .hero--company .hero__actions .btn--primary {
    width: 100%;
  }
  .hero--company .hero__actions .btn--primary .btn__label {
    flex: 1;
  }
  .hero--company .hero__actions .btn--ghost {
    justify-content: flex-start;
  }
  .hero--company .hero__title {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
  .hero--company .hero__lead {
    font-family: var(--font-family-title);
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}

.zahlen {
  padding: 0 var(--content-pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .zahlen {
    /* Figma 5552:37319 — heading → grid gap 24 */
    gap: 24px;
  }
}

.zahlen__heading {
  margin: 0;
  max-width: 800px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .zahlen__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.zahlen__grid {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
@media (max-width: 1023px) {
  .zahlen__grid {
    flex-direction: column;
  }
}

.zahlen__stack {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zahlen__row {
  display: flex;
  gap: 8px;
  flex: 1 1 0;
  min-height: 0;
}
.zahlen__row .zahlen-card {
  /* Figma 5321:5134 — each small card 142 tall */
  min-height: 142px;
}
@media (max-width: 1023px) {
  .zahlen__row .zahlen-card {
    /* Figma 5552:37330 — mobile small cards 96 tall */
    height: 96px;
    min-height: 96px;
    padding: 16px;
  }
}

.zahlen-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--corner-radius-md);
  background: var(--surface-basic-secondary);
  overflow: hidden;
  box-sizing: border-box;
}
.zahlen-card--featured {
  flex: 1 1 0;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
  /* Figma 5321:5126 — matches 2×142 + 8 gap stack */
  height: 292px;
  min-height: 292px;
  background: transparent;
}
@media (max-width: 1023px) {
  .zahlen-card--featured {
    /* Figma 5552:37322 — mobile featured 190 tall, pad 24 */
    height: 190px;
    min-height: 190px;
    padding: 24px;
  }
}

.zahlen-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--corner-radius-md);
  pointer-events: none;
}

.zahlen-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
}

.zahlen-card__label {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xs);
  line-height: 20px;
  text-transform: uppercase;
  color: var(--text-text-secondary);
  width: 100%;
}
@media (max-width: 1023px) {
  .zahlen-card__label {
    /* Figma 5552:37332 — Mobile/Body Medium uppercase 12/16 */
    font-size: var(--size-xxs);
    line-height: 16px;
  }
}

.zahlen-card__value {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
  width: 100%;
}
.zahlen-card__value--xl {
  /* Figma 5321:5129 */
  font-size: 96px;
  line-height: 96px;
  letter-spacing: -5.76px;
}
@media (max-width: 1023px) {
  .zahlen-card__value {
    /* Figma 5552:37333 — small card values 32/36 */
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
  .zahlen-card__value--xl {
    /* Figma 5552:37325 — featured 7+ stays 96 on mobile */
    font-size: 96px;
    line-height: 96px;
    letter-spacing: -5.76px;
  }
}

.zahlen-card__mark {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 112px;
  height: 142px;
  object-fit: contain;
  align-self: flex-start;
}
@media (max-width: 1023px) {
  .zahlen-card__mark {
    /* Figma 5552:37326 — watermark stays 112×142 on mobile */
    width: 112px;
    height: 142px;
  }
}

.company-story {
  padding: 0 var(--content-pad);
  width: 100%;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.company-story__row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}
@media (max-width: 1023px) {
  .company-story__row {
    flex-direction: column;
    /* Figma 5552:37347 — copy stack → image 32 */
    gap: 32px;
  }
}

.company-story__left {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-right: 64px;
}
@media (max-width: 1023px) {
  .company-story__left {
    gap: 32px;
    padding-right: 0;
  }
}

.company-story__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.company-story__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .company-story__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.company-story__text {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.32px;
  color: var(--text-text-secondary);
}

.company-story__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  width: 100%;
  background: #fff;
}
@media (max-width: 1023px) {
  .company-story__checks {
    grid-template-columns: 1fr;
    /* Figma 5552:37355 — check rows gap 32 */
    gap: 32px;
  }
}
.company-story__checks li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.company-story__checks img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.company-story__checks span {
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.32px;
  color: var(--text-text-primary);
}

.company-story__media {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
}
.company-story__media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--corner-radius-md);
}
@media (max-width: 1023px) {
  .company-story__media img {
    /* Figma 5552:37368 — image 358×280 */
    height: 280px;
    min-height: 280px;
  }
}

.werte {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  /* Figma 5321:5181 — intro x32, list x728 */
  justify-content: flex-start;
  padding: 80px var(--content-pad) 0;
  width: 100%;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .werte {
    /* Figma 5552:37374 — intro → list gap 32 */
    flex-direction: column;
    gap: 32px;
    padding-top: 0;
  }
}

.werte__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 656px;
  max-width: 100%;
  /* Figma container 656 with copy 592 → pr 64 */
  padding-right: 64px;
  padding-left: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  /* Designer 5802:39365 — pin intro while values list scrolls / highlights */
}
@media (min-width: 1024px) {
  .werte__intro {
    position: sticky;
    top: 96px;
    align-self: flex-start;
  }
}
@media (max-width: 1023px) {
  .werte__intro {
    width: 100%;
    padding-right: 0;
  }
}

.werte__copy-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.werte__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .werte__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.werte__lead {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .werte__lead {
    /* Figma 5552:37380 — Mobile/Subtitle 18/20 */
    font-family: var(--font-family-title);
    font-size: var(--size-md, 18px);
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}

.werte__list {
  list-style: none;
  margin: 0;
  padding: 56px 64px 104px 0;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (max-width: 1023px) {
  .werte__list {
    /* Figma 5552:37381 — mobile value cards gap 48 */
    padding: 0;
    gap: 48px;
  }
}

.werte__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.werte__item .werte__title,
.werte__item .werte__text {
  transition: color 0.45s ease;
}
.werte__item {
  /* Figma 5321:5188 — active value full contrast */
}
.werte__item.is-active .werte__title {
  color: var(--text-text-primary);
}
.werte__item.is-active .werte__text {
  color: var(--text-text-secondary);
}
.werte__item {
  /* Figma 5552:37391 / 5552:37397 — inactive muted */
}
.werte__item:not(.is-active) .werte__title,
.werte__item:not(.is-active) .werte__text {
  color: var(--text-text-disabled, #6b7078);
}

.werte__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: var(--corner-radius-sm);
  background: var(--surface-basic-secondary);
}
.werte__icon img {
  width: 24px;
  height: 24px;
}

.werte__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.werte__title {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: inherit;
}

.werte__text {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.32px;
  color: inherit;
}

.badge--glass-dark {
  color: var(--text-text-primary);
}

.company-process {
  padding: 0 12px;
  /* Figma 5321:5247 — soft brand chip on light process panel */
}
.company-process .badge--glass,
.company-process .badge--soft {
  color: var(--text-text-primary);
  background: var(--surface-basic-brand);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.company-process__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 128px;
  padding: 160px 48px;
  border-radius: 24px;
  overflow: hidden;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .company-process__panel {
    gap: 64px;
    padding: 64px 16px;
  }
}

.company-process__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  pointer-events: none;
}

.company-process__intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1046px;
}

.company-process__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .company-process__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.company-process__steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  /* Figma 5321:5250 Our Process — horizontal inset 36; 3 cols fit panel */
  padding: 0 36px;
  display: flex;
  gap: 36px;
  width: 100%;
  box-sizing: border-box;
  /* Figma 5552:37436 — stay horizontal on mobile (scroll), not stacked */
}
@media (max-width: 1023px) {
  .company-process__steps {
    gap: 32px;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .company-process__steps::-webkit-scrollbar {
    display: none;
  }
}

.company-process__step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .company-process__step {
    flex: 0 0 300px;
    max-width: 300px;
    scroll-snap-align: start;
  }
}
.company-process__step h3 {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.64px;
}
@media (max-width: 1023px) {
  .company-process__step h3 {
    /* Figma Mobile/H1 */
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.48px;
  }
}
.company-process__step p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.32px;
  color: var(--text-text-secondary);
}
.company-process__step--todo h3,
.company-process__step--todo p {
  color: var(--text-text-disabled);
}

.company-process__marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 56px;
  height: 56px;
  /* Figma 5321:5250 — rings → copy gap 48 */
  margin-bottom: 48px;
}

.company-process__ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--surface-basic-primary-inverted, #0d1016);
  border-radius: 9999px;
  background: transparent;
  box-sizing: border-box;
}
.company-process__ring > img {
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid var(--surface-basic-primary-inverted, #0d1016);
  border-radius: 9999px;
  padding: 8px;
  box-sizing: border-box;
  object-fit: contain;
  background: transparent;
}
.company-process__ring > .company-process__dot {
  width: 40px;
  height: 40px;
  border: 1px solid var(--surface-basic-primary-inverted, #0d1016);
  border-radius: 9999px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.company-process__ring > .company-process__dot::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: var(--surface-basic-primary-inverted, #0d1016);
}

.company-process__step--todo .company-process__ring {
  border-color: rgba(44, 56, 94, 0.12);
}
.company-process__step--todo .company-process__ring > .company-process__dot {
  border-color: rgba(44, 56, 94, 0.12);
  background: transparent;
}
.company-process__step--todo .company-process__ring > .company-process__dot::after {
  background: rgba(44, 56, 94, 0.12);
}

.company-process__dot {
  display: block;
}

.company-process__line {
  display: block;
  position: absolute;
  top: 27px;
  left: 56px;
  /* Figma: connector = stepWidth + gap - nextRing (512+36-56 = 492) */
  width: calc(100% + 36px - 56px);
  height: 2px;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .company-process__line {
    /* 300 + 32 - 56 = 276 */
    width: calc(100% + 32px - 56px);
  }
}
.company-process__line--solid {
  background: var(--surface-basic-primary-inverted, #0d1016);
}
.company-process__line--muted {
  background: rgba(44, 56, 94, 0.12);
}

/* Mobile-only founder quote (5649:20342) — absent on desktop Company frame */
.company-quote {
  /* Figma 5649:13619 — between tickets and CTA */
  display: block;
  padding: 0 12px;
}

.company-quote__card {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 64px 48px;
  border-radius: 24px;
  background: var(--surface-basic-secondary, #f6f8fa);
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 1023px) {
  .company-quote__card {
    padding: 64px 16px;
  }
}

.company-quote__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 908px;
  padding: 36px 0;
  box-sizing: border-box;
}

.company-quote__pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  /* Figma 5649:13619 — 460×432 mask group on the right */
  width: min(460px, 42%);
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/company/quote-pattern.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  opacity: 1;
}

.company-quote__text {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-2xl, 32px);
  line-height: 36px;
  letter-spacing: -0.64px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .company-quote__text {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.48px;
  }
}

.company-quote__author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.company-quote__avatar {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}

.company-quote__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.company-quote__name {
  font-style: normal;
  font-weight: 600;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-primary);
}

.company-quote__role {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-text-secondary);
}

.company-cta {
  padding: 0 12px;
}
.company-cta .dark-cta {
  margin: 0;
}
@media (max-width: 899px) {
  .company-cta .dark-cta__row {
    /* Figma 5552:37568 — title → aside gap 12 */
    gap: 12px;
  }
}
@media (max-width: 899px) {
  .company-cta .dark-cta {
    /* Figma 5552:37567 — py 64, px 16, h ~504 */
    min-height: 504px;
    padding: 64px 16px;
    align-items: center;
  }
  .company-cta .dark-cta__title {
    letter-spacing: -0.96px;
  }
}

/* ---------- Contact page ---------- */
.contact-page {
  background: #fff;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  /* Figma 5396:7672 — hero→form→einsatz are one block with ~8px gaps */
}
.contact-page > .lead-form {
  margin-top: 8px;
}
.contact-page > .einsatz {
  margin-top: 8px;
}
.contact-page > .gruende,
.contact-page > .contact-faq,
.contact-page > .company-cta {
  margin-top: 128px;
}
@media (max-width: 1023px) {
  .contact-page {
    padding-bottom: 0;
  }
  .contact-page > .lead-form,
  .contact-page > .einsatz {
    margin-top: 8px;
  }
  .contact-page > .gruende,
  .contact-page > .contact-faq,
  .contact-page > .company-cta {
    margin-top: 48px;
  }
}

.contact-hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  box-sizing: border-box;
  /* Tighter than Figma so form peeks above the fold on ~14" */
  padding-top: 98px;
  padding-bottom: 28px;
  padding-inline: var(--content-pad);
  background: var(--surface-basic-secondary, #f6f8fa);
  border-radius: 0 0 36px 36px;
}
.contact-hero > .site-header {
  border: 0.5px solid rgba(44, 56, 94, 0.12);
  border-bottom-width: 1px;
}
@media (max-width: 1023px) {
  .contact-hero > .site-header {
    /* Figma mobile contact header is clean white pill */
    border: 0;
  }
}
@media (max-width: 1023px) {
  .contact-hero {
    /* Figma 5552:37579 — keep mobile proportions, slightly less air */
    gap: 40px;
    min-height: 0;
    padding-top: 108px;
    padding-bottom: 28px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.contact-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  /* Override global .badge align-self:flex-start — Figma centers Kontakt badge */
}
.contact-hero__copy .badge {
  align-self: center;
}

.contact-hero__title {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .contact-hero__title {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.contact-hero__lead {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .contact-hero__lead {
    /* Figma 5552:37585 — Mobile/Subtitle, text-primary */
    font-family: var(--font-family-title);
    font-size: var(--size-md, 18px);
    line-height: 20px;
    letter-spacing: -0.36px;
    color: var(--text-text-primary);
  }
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 12px;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .lead-form {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1023px) {
  .lead-form {
    padding: 0 var(--content-pad);
  }
}
.lead-form [hidden] {
  display: none !important;
}

.lead-form__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  min-height: 842px;
  padding: 64px 48px;
  border-radius: var(--corner-radius-md);
  background: var(--surface-basic-secondary, #f6f8fa);
  box-sizing: border-box;
  /* Designer 5802:40976 — allow select/calendar popovers to escape panel */
  overflow: visible;
  /* Figma 5552:37587 — py 40 / px 16, gap 32, items-end (no stretch) */
}
@media (max-width: 1023px) {
  .lead-form__panel {
    min-height: 0;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 40px 16px;
    gap: 32px;
  }
}
.lead-form__panel > .lead-form__wizard,
.lead-form__panel > .lead-form__success {
  width: 100%;
  align-items: stretch;
}

.lead-form__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  min-width: 0;
}

.lead-form__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1023px) {
  .lead-form__intro {
    /* Figma 5552:37589 — heading → text gap 8 */
    gap: 8px;
  }
}

.lead-form__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 42px;
  line-height: 48px;
  letter-spacing: -0.84px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .lead-form__heading {
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.48px;
  }
}

.lead-form__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .lead-form__text {
    font-size: var(--size-md, 18px);
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}

/* Figma Frame2147223935 — 3 rails, overlap -58px; active = 2 dots */
.lead-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  isolation: isolate;
  width: 100%;
}

.lead-steps__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.lead-steps__item:not(:last-child) {
  margin-right: -58px;
}
.lead-steps__item--start {
  flex: 0 0 208px;
  z-index: 3;
}
@media (max-width: 1023px) {
  .lead-steps__item--start {
    flex-basis: 127px;
  }
}
.lead-steps__item:nth-child(2) {
  z-index: 2;
}
.lead-steps__item--end {
  z-index: 1;
}

.lead-steps__labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.lead-steps__label {
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-disabled, #6b7078);
  width: 100px;
}
.lead-steps__label--center {
  text-align: center;
}

.lead-steps__item.is-active .lead-steps__label {
  color: var(--text-text-primary);
}

.lead-steps__item--end .lead-steps__label:last-child {
  width: auto;
  text-align: right;
  white-space: nowrap;
}

.lead-steps__bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 12px;
  padding: 2px;
  border-radius: 9999px;
  background: var(--surface-basic-tertiary, #dedde2);
  box-sizing: border-box;
}
.lead-steps__bar::before, .lead-steps__bar::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #fff;
  flex-shrink: 0;
}
.lead-steps__bar {
  /* Pending (not start): single end thumb */
}
.lead-steps__bar::before {
  display: none;
}

/* First rail always shows both end thumbs (Figma 5392:5790) */
.lead-steps__item--start .lead-steps__bar {
  justify-content: space-between;
}
.lead-steps__item--start .lead-steps__bar::before {
  display: block;
}

/* Done: full brand fill + both thumbs */
.lead-steps__item.is-done .lead-steps__bar {
  justify-content: space-between;
  background: var(--blue-700, #1988d6);
}
.lead-steps__item.is-done .lead-steps__bar::before {
  display: block;
}
.lead-steps__item.is-done .lead-steps__bar::after {
  margin-left: 0;
}

/* Active = label only; bar stays pending until step advances (Figma) */
.lead-steps__item.is-active:not(.is-done) .lead-steps__bar {
  background: var(--surface-basic-tertiary, #dedde2);
}

.lead-steps__item.is-done .lead-steps__label,
.lead-steps__label.is-active,
.lead-steps__item.is-active .lead-steps__label {
  color: var(--text-text-primary);
}

.lead-steps__label.is-muted {
  color: var(--text-text-disabled, #6b7078);
}

.lead-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.lead-step-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.lead-step-panel.is-active {
  display: flex;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field__label {
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xs);
  line-height: 20px;
  color: var(--text-input-default, #3f4349);
}
.field__label abbr {
  color: #e7000b;
  text-decoration: none;
}

.field__optional {
  color: var(--text-text-disabled, #6b7078);
  font-weight: var(--font-weight-regular, 400);
}

.field__hint {
  margin: 0;
  font-size: var(--size-xs);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

.field__control {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgba(44, 56, 94, 0.12);
  box-sizing: border-box;
  font: inherit;
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
  text-align: left;
  cursor: pointer;
}
.field__control select,
.field__control input,
.field__control textarea {
  appearance: none;
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
  outline: none;
}
.field__control input::placeholder,
.field__control textarea::placeholder {
  color: var(--text-text-secondary, #3f4349);
}
.field__control {
  /* Designer 5802:40976 — chevron at trailing edge of input, not beside label */
}
.field__control [data-select-value],
.field__control [data-date-value] {
  flex: 1 1 auto;
  min-width: 0;
}
.field__control > img {
  flex-shrink: 0;
  margin-left: auto;
  pointer-events: none;
}
.field__control[data-placeholder=true] span,
.field__control [data-placeholder=true] {
  color: var(--text-text-secondary, #3f4349);
}

.field__control--textarea {
  align-items: flex-start;
  min-height: 96px;
  border-radius: 16px;
  cursor: text;
}
.field__control--textarea textarea {
  resize: vertical;
  min-height: 72px;
}

.field-select {
  position: relative;
}

.field-select.is-open .field__control img {
  transform: rotate(180deg);
}

.field-select__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(44, 56, 94, 0.12);
  box-shadow: 0 12px 32px rgba(13, 16, 22, 0.12);
  max-height: 280px;
  overflow: auto;
}
.field-select__menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
  cursor: pointer;
}
.field-select__menu li:hover, .field-select__menu li:focus-visible, .field-select__menu li.is-active {
  background: var(--surface-basic-secondary, #f6f8fa);
  outline: none;
}
.field-select__menu li[aria-selected=true] {
  background: var(--surface-basic-secondary, #f6f8fa);
}
.field-select__menu li[aria-selected=true]::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("../images/icon-check-blue.svg") center/contain no-repeat;
}

.field-date {
  position: relative;
}

/* Designer 5802:40445 — keep open calendar above following sections (einsatz z-index) */
.field-date.is-open {
  z-index: 40;
}

.field-date__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: min(100%, 320px);
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(44, 56, 94, 0.12);
  box-shadow: 0 12px 32px rgba(13, 16, 22, 0.12);
}

.field-date__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.field-date__month {
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
}

.field-date__nav {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9999px;
  background: var(--surface-basic-secondary, #f6f8fa);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-text-primary);
}

.field-date__weekdays,
.field-date__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.field-date__weekdays {
  margin-bottom: 4px;
}
.field-date__weekdays span {
  font-size: 12px;
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

.field-date__day {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  font: inherit;
  font-size: var(--size-xs);
  line-height: 1;
  color: var(--text-text-primary);
  cursor: pointer;
}
.field-date__day.is-empty {
  visibility: hidden;
  pointer-events: none;
}
.field-date__day:hover {
  background: var(--surface-basic-secondary, #f6f8fa);
}
.field-date__day.is-today {
  box-shadow: inset 0 0 0 1px rgba(44, 56, 94, 0.24);
}
.field-date__day.is-selected {
  background: var(--surface-button-primary, #c1e6ff);
  font-weight: var(--font-weight-medium);
}
.field-date__day.is-disabled, .field-date__day:disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: not-allowed;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  cursor: pointer;
}
.field-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.field-check__box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1.5px solid rgba(44, 56, 94, 0.24);
  background: #fff;
  box-sizing: border-box;
}

.field-check input:checked + .field-check__box {
  background: var(--surface-button-primary, #c1e6ff);
  border-color: var(--surface-button-primary, #c1e6ff);
  background-image: url("../images/icon-check-blue.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.field-check__text {
  font-size: var(--size-xs);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}
.field-check__text a {
  color: var(--text-text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.field-check__text abbr {
  color: #e7000b;
  text-decoration: none;
}

.lead-form__back {
  height: 48px;
  padding: 12px 20px;
}

.lead-form__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.lead-form__back {
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.lead-form__back .btn__label,
.lead-form__back .btn__icon {
  padding: var(--spacing-12) var(--spacing-20);
}
.lead-form__back .btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-form__back img {
  width: 16px;
  height: 16px;
}

.lead-form__wizard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  min-height: 100%;
  flex: 1;
}
@media (max-width: 1023px) {
  .lead-form__wizard {
    min-height: 0;
    flex: 0 1 auto;
    justify-content: flex-start;
  }
}

.lead-form__success {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  min-height: 100%;
  flex: 1;
}
@media (max-width: 1023px) {
  .lead-form__success {
    min-height: 0;
    flex: 0 1 auto;
    justify-content: flex-start;
  }
}

.lead-form__success-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 520px;
}

.lead-form__success-check {
  display: inline-flex;
  width: 64px;
  height: 64px;
}
.lead-form__success-check img {
  width: 64px;
  height: 64px;
  display: block;
}

.lead-form__panel:has([data-lead-success]:not([hidden])) .lead-form__wizard {
  display: none;
}

.lead-aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 842px;
}
@media (max-width: 1023px) {
  .lead-aside {
    min-height: 0;
  }
}

.lead-aside__media {
  /* Figma 5396:7695 — image 704×550 */
  flex: 0 0 550px;
  height: 550px;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
}
.lead-aside__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1023px) {
  .lead-aside__media {
    /* Figma 5552:37615 — 358×280 */
    flex: 0 0 auto;
    height: auto;
    min-height: 280px;
    aspect-ratio: 358/280;
  }
}

.lead-aside__card {
  /* Figma 5396:7698 — p 32, h ~284 */
  flex: 0 0 auto;
  padding: 32px;
  border-radius: var(--corner-radius-md);
  background: var(--surface-basic-secondary, #f6f8fa);
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .lead-aside__card {
    /* Figma 5552:37618 — py 40, px 16 */
    padding: 40px 16px;
  }
}

.lead-aside__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.lead-aside__grid .badge {
  margin-bottom: 16px;
  width: fit-content;
}
.lead-aside__grid p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.32px;
  color: var(--text-text-secondary, #3f4349);
}
.lead-aside__grid p a {
  color: var(--text-link-default, #0d1016);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 1023px) {
  .lead-aside__grid {
    /* Figma 5552:37619 — contact rows gap 36 */
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.contact-mid-cta {
  padding: 0 12px;
}

.einsatz {
  padding: 0 12px;
}

.einsatz__card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 353px;
  padding: 0 48px;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .einsatz__card {
    min-height: 0;
    align-items: stretch;
    padding: 64px 16px 16px;
  }
}

.einsatz__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.einsatz__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 353px;
}
@media (min-width: 1024px) {
  .einsatz__row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1023px) {
  .einsatz__row {
    min-height: 0;
    align-items: start;
  }
}

.einsatz__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.einsatz__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .einsatz__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.einsatz__text {
  margin: 0;
  font-size: var(--size-lg);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .einsatz__text {
    font-size: var(--size-md, 18px);
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}

.einsatz__map {
  position: relative;
  height: 353px;
  min-width: 0;
  overflow: hidden;
}
@media (max-width: 1023px) {
  .einsatz__map {
    height: 399px;
    width: 100%;
  }
}

.einsatz__map-shape {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 169px;
  height: 216px;
  transform: translate(-50%, -50%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .einsatz__map-shape {
    width: 111px;
    height: 142px;
  }
}

.einsatz__ring {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
}
.einsatz__ring--1 {
  left: 169px;
  top: 18px;
  width: 317px;
  height: 317px;
}
.einsatz__ring--2 {
  left: 132px;
  top: -19px;
  width: 391px;
  height: 391px;
}
.einsatz__ring--3 {
  left: 92px;
  top: -59px;
  width: 471px;
  height: 471px;
}
.einsatz__ring--4 {
  left: 54px;
  top: -97px;
  width: 547px;
  height: 547px;
}
@media (max-width: 1023px) {
  .einsatz__ring--1 {
    left: 74.56px;
    top: 95.56px;
    width: 208.285px;
    height: 208.285px;
  }
  .einsatz__ring--2 {
    left: 50.25px;
    top: 71.25px;
    width: 256.907px;
    height: 256.907px;
  }
  .einsatz__ring--3 {
    left: 23.97px;
    top: 44.97px;
    width: 309.471px;
    height: 309.471px;
  }
  .einsatz__ring--4 {
    left: -1px;
    top: 20px;
    width: 359.407px;
    height: 359.407px;
  }
}

.einsatz__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--corner-radius-sm, 8px);
  /* Figma 5396:7718 — solid white chips + soft shadow */
  background: #fff;
  box-shadow: 0 4px 16px rgba(13, 16, 22, 0.08);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
  white-space: nowrap;
}
.einsatz__chip--buros {
  left: 209px;
  top: 25px;
}
.einsatz__chip--wohn {
  left: 412px;
  top: 99px;
}
.einsatz__chip--bau {
  left: 444px;
  top: 242px;
}
.einsatz__chip--gewerbe {
  left: 40px;
  top: 149px;
}
.einsatz__chip--gemein {
  left: 125px;
  top: 274px;
}
@media (max-width: 1023px) {
  .einsatz__chip {
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 10px;
    line-height: 13px;
    box-shadow: 0 2px 10px rgba(13, 16, 22, 0.08);
  }
  .einsatz__chip--buros {
    left: 121px;
    top: 42px;
  }
  .einsatz__chip--wohn {
    left: 196px;
    top: 125px;
  }
  .einsatz__chip--bau {
    left: 181px;
    top: 299px;
  }
  .einsatz__chip--gewerbe {
    left: 4px;
    top: 113px;
  }
  .einsatz__chip--gemein {
    left: 13px;
    top: 249px;
  }
}

.gruende {
  /* Same outer inset as .einsatz (12px) so card column matches */
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .gruende {
    padding: 0 var(--content-pad);
  }
}

.gruende__heading {
  margin: 0;
  /* Match .einsatz__card horizontal pad → same edge as “Unser Einsatzgebiet” */
  padding: 0 48px;
  max-width: 896px;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .gruende__heading {
    padding: 0;
    max-width: 800px;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.gruende__grid {
  display: flex;
  gap: 8px;
  align-items: stretch;
  /* Same width band as .einsatz__card (section already has 12px) */
  width: 100%;
}
@media (max-width: 1023px) {
  .gruende__grid {
    flex-direction: column;
  }
}

.gruende__stack {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gruende__row {
  display: flex;
  gap: 8px;
}
@media (max-width: 1023px) {
  .gruende__row {
    /* Figma 5552:37673 — two stats side-by-side */
    flex-direction: row;
  }
}

.gruende-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  padding-right: 48px;
  border-radius: var(--corner-radius-md);
  background: var(--surface-basic-secondary, #f6f8fa);
  box-sizing: border-box;
  overflow: hidden;
  min-height: 194px;
}
.gruende-card--featured {
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  min-height: 302px;
  /* Match .einsatz__copy left edge (card pad 48) */
  padding: 48px;
  padding-right: 24px;
  background: transparent;
  /* <picture> was in flex flow and ate gap:64 → text shifted right */
}
.gruende-card--featured > picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.gruende-card--featured > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gruende-card--featured .gruende-card__body {
  position: relative;
  z-index: 1;
}
.gruende-card--featured .gruende-card__mark {
  position: relative;
  z-index: 1;
  margin-left: 64px;
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 1023px) {
  .gruende-card--featured {
    gap: 12px;
    min-height: 264px;
    padding: 24px;
  }
  .gruende-card--featured .gruende-card__mark {
    margin-left: 12px;
  }
}
.gruende-card--wide {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 100px;
  padding: 0;
  padding-right: 24px;
}

.gruende-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gruende-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.gruende-card__label {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xs);
  line-height: 20px;
  text-transform: uppercase;
  color: var(--text-text-secondary);
}
@media (max-width: 1023px) {
  .gruende-card__label {
    /* Figma 5552:37667 — 12/16 */
    font-size: 12px;
    line-height: 16px;
  }
}

.gruende-card__note {
  margin: 12px 0 0;
  font-size: var(--size-xs);
  line-height: 20px;
  color: var(--text-text-secondary);
}

.gruende-card__value {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 96px;
  line-height: 96px;
  letter-spacing: -5.76px;
  color: var(--text-text-primary);
}
.gruende-card__value--md {
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
}

.gruende-card__mark {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 142px;
  object-fit: contain;
  flex-shrink: 0;
}

.gruende-card__check {
  flex-shrink: 0;
  width: 103px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gruende-card__check img {
  width: 56px;
  height: 56px;
  display: block;
}

.contact-faq {
  display: flex;
  flex-direction: column;
  gap: 64px;
  /* Designer 5802:40976 — shared content column for intro + list */
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}
.contact-faq .faq__intro,
.contact-faq .contact-faq__intro {
  padding: 0;
  max-width: 908px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.contact-faq .faq__list {
  max-width: 908px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  gap: 16px;
}
.contact-faq .faq__item {
  background: var(--surface-basic-secondary, #f6f8fa);
  border-radius: var(--corner-radius-md);
  padding: 36px 32px;
  /* Desktop open: toggle top-aligned with question (Figma 5396:7795) */
}
.contact-faq .faq__item[open] {
  column-gap: 90px;
  row-gap: 16px;
}
.contact-faq .faq__item[open] .faq__toggle {
  grid-row: 1;
  align-self: start;
  background: var(--surface-basic-brand-dark, #91c4e5);
  backdrop-filter: blur(12px);
}
.contact-faq .faq__item[open] p {
  grid-column: 1;
  margin: 0;
}
.contact-faq .faq__toggle {
  flex: 0 0 62px;
  width: 62px;
  height: 48px;
}
@media (max-width: 1023px) {
  .contact-faq {
    gap: 32px;
  }
  .contact-faq .faq__intro {
    padding: 0 var(--content-pad);
    padding-right: var(--content-pad);
  }
  .contact-faq .faq__list {
    padding: 0 var(--content-pad);
  }
  .contact-faq .faq__item {
    padding: 36px 16px;
  }
  .contact-faq .faq__item summary {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.36px;
    font-weight: 600;
    gap: 16px;
  }
  .contact-faq .faq__item {
    /* Figma 5552:37709 — flex-col gap 32; Q+toggle row then full-width answer */
  }
  .contact-faq .faq__item[open] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: unset;
    grid-template-rows: unset;
    column-gap: unset;
    row-gap: unset;
    gap: 32px;
  }
  .contact-faq .faq__item[open] summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }
  .contact-faq .faq__item[open] summary > span:first-child {
    display: block;
    min-height: 0;
    align-self: auto;
  }
  .contact-faq .faq__item[open] .faq__toggle {
    grid-column: auto;
    grid-row: auto;
    align-self: flex-start;
    flex: 0 0 62px;
  }
  .contact-faq .faq__item[open] p {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    width: 100%;
  }
}

/* ---------- Blog page — Figma 5408:6675 / mobile 5552:37729 ---------- */
.blog-page {
  background: #fff;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.blog-page > .blog-featured {
  margin-top: 0;
}
@media (max-width: 1023px) {
  .blog-page > .blog-featured {
    /* Figma mobile 5552:37729 — page gap 48 after hero */
    margin-top: 48px;
  }
}
.blog-page {
  /* Figma: featured ends → index; mobile outer stack gap 40 (5552:37736) */
}
.blog-page > .blog-index {
  margin-top: 0;
}
@media (max-width: 1023px) {
  .blog-page > .blog-index {
    margin-top: 40px;
  }
}
.blog-page {
  /* Figma root gap: desktop 80 (5408:6675), mobile 48 (5552:37729) */
}
.blog-page > .company-cta {
  margin-top: 80px;
}
@media (max-width: 1023px) {
  .blog-page {
    padding-bottom: 0;
  }
  .blog-page > .company-cta {
    margin-top: 48px;
  }
}
.blog-page .company-cta {
  padding: 0 12px;
}
.blog-page .company-cta .dark-cta {
  margin: 0;
}
.blog-page {
  /* Mobile Blog Card title: size/md 18/20 (5552:37738) */
}
@media (max-width: 1023px) {
  .blog-page .blog-card__body h3,
  .blog-page .blog-featured__title {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.36px;
  }
  .blog-page .blog-card__meta,
  .blog-page .blog-card__read {
    font-weight: var(--font-weight-medium);
  }
}

.blog-hero {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  box-sizing: border-box;
  padding-top: 134px;
  padding-bottom: 64px;
  padding-inline: var(--content-pad);
  background: var(--surface-basic-secondary, #f6f8fa);
  border-radius: 0 0 36px 36px;
}
.blog-hero > .site-header {
  border: 0.5px solid rgba(44, 56, 94, 0.12);
  border-bottom-width: 1px;
}
@media (max-width: 1023px) {
  .blog-hero > .site-header {
    border: 0;
  }
}
.blog-hero {
  /* Figma mobile 5552:37730 — h300, bottom pad 36 */
}
@media (max-width: 1023px) {
  .blog-hero {
    gap: 64px;
    padding-top: 132px;
    padding-bottom: 36px;
  }
}

.blog-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  /* Override global .badge align-self:flex-start — Figma centers Blog badge */
}
.blog-hero__copy .badge {
  align-self: center;
}

.blog-hero__title {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .blog-hero__title {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 20px var(--content-pad) 48px;
  box-sizing: border-box;
}
.blog-featured[hidden] {
  display: none !important;
}
@media (min-width: 1024px) {
  .blog-featured {
    grid-template-columns: minmax(0, 1fr) 451px;
    align-items: stretch;
  }
}
.blog-featured {
  /* Figma mobile 5552:37737 — 3 stacked Blog Cards, gap 24 */
}
@media (max-width: 1023px) {
  .blog-featured {
    padding: 0 var(--content-pad);
    gap: 24px;
  }
}

.blog-featured__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.blog-featured__main[hidden] {
  display: none !important;
}
@media (min-width: 1024px) {
  .blog-featured__main {
    align-self: stretch;
    justify-content: center;
  }
}
.blog-featured__main {
  /* Mobile: same card rhythm as side cards (gap 16) */
}
@media (max-width: 1023px) {
  .blog-featured__main {
    gap: 16px;
  }
}

.blog-featured__media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  color: #fff;
}
.blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 1024px) {
  .blog-featured__media {
    min-height: 280px;
  }
  .blog-featured__media img {
    position: absolute;
    inset: 0;
  }
}
.blog-featured__media {
  /* Mobile Blog Card media: aspect 433/240 */
}
@media (max-width: 1023px) {
  .blog-featured__media {
    flex: none;
    aspect-ratio: 433/240;
  }
}

.blog-featured__cat {
  display: none;
  position: absolute;
  top: 14px;
  left: 17px;
  z-index: 2;
}
@media (max-width: 1023px) {
  .blog-featured__cat {
    display: inline-flex;
  }
}

.blog-featured__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Figma 5408:6691 — copy group → link gap 16 */
  gap: 16px;
  width: 100%;
  flex-shrink: 0;
  /* Mobile Blog Card body: gap 12, pr 40 */
}
@media (max-width: 1023px) {
  .blog-featured__body {
    gap: 12px;
    padding-right: 40px;
  }
}

.blog-featured__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Figma 5408:6692 — title / badge / meta gap 12 */
  gap: 12px;
  width: 100%;
}
.blog-featured__copy .blog-card__meta {
  margin: 0;
  width: 100%;
}
.blog-featured__copy .badge {
  margin: 0;
}
.blog-featured__copy {
  /* Mobile: title→meta gap 8 (no Blog badge) */
}
@media (max-width: 1023px) {
  .blog-featured__copy {
    gap: 8px;
  }
  .blog-featured__copy .blog-featured__title {
    font-weight: 600;
  }
}

.blog-featured__tag {
  /* Desktop Figma 5408:6694 — Blog badge under title */
}
@media (max-width: 1023px) {
  .blog-featured__tag {
    display: none;
  }
}

.blog-featured__title {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 42px;
  line-height: 48px;
  letter-spacing: -0.84px;
  color: var(--text-text-primary);
  width: 100%;
}

.blog-featured__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.blog-featured__side .blog-card {
  flex: 0 0 auto;
  width: 100%;
}

.blog-index {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 24px var(--content-pad) 0;
  box-sizing: border-box;
  /* Mobile 5552:37736 — categories / list / pagination gap 40 */
}
@media (max-width: 1023px) {
  .blog-index {
    gap: 40px;
    padding: 0 var(--content-pad);
  }
}

.blog-categories {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  /* Figma 5408:6706 — h216, p48 */
  min-height: 216px;
  padding: 48px;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  box-sizing: border-box;
  /* Figma mobile 5552:37741 — h288, py48 px16 */
}
@media (max-width: 1023px) {
  .blog-categories {
    min-height: 288px;
    padding: 48px 16px;
    align-items: stretch;
  }
}

.blog-categories__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Figma 5408:6706 — cropped tall asset (h≈258%, top≈-58%) */
  object-position: center 42%;
  pointer-events: none;
  border-radius: inherit;
}

.blog-categories__heading {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  text-align: center;
  font-weight: var(--font-weight-medium);
  font-size: 42px;
  line-height: 48px;
  letter-spacing: -0.84px;
  color: var(--text-text-primary);
  /* Mobile still Display 2 (5552:37743) — long DE wraps to 2 lines */
}
@media (max-width: 1023px) {
  .blog-categories__heading {
    font-size: 42px;
    line-height: 48px;
    letter-spacing: -0.84px;
  }
}

.blog-categories__controls {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  /* Figma 5408:6709 — gap 12 between segments + search */
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Mobile 5552:37742 — stack segments → search, gap 24 */
}
@media (max-width: 1023px) {
  .blog-categories__controls {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 24px;
  }
}

.blog-segments {
  display: flex;
  align-items: center;
  gap: 0;
  /* Figma 5408:6710 — fixed 774×48, shrink-0 */
  flex: 0 0 auto;
  width: 774px;
  max-width: 100%;
  height: 48px;
  padding: 4px;
  border-radius: 9999px;
  background: #fff;
  box-sizing: border-box;
  overflow-x: auto;
  scrollbar-width: none;
}
.blog-segments::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1023px) {
  .blog-segments {
    /* Mobile 5552:37745 — shrink-to-content, horizontal scroll */
    width: max-content;
    max-width: 100%;
  }
}

.blog-segments__btn {
  flex: 1 1 0;
  min-width: max-content;
  height: 40px;
  padding: 0 24px;
  border: 0;
  border-radius: 9999px;
  font-weight: var(--font-weight-regular);
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.32px;
  /* Figma text/text-tetriaty */
  color: #3f4349;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}
.blog-segments__btn.is-active {
  background: #0d1016;
  color: #fff;
}
@media (max-width: 1023px) {
  .blog-segments__btn {
    flex: 0 0 auto;
  }
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  width: 320px;
  max-width: 100%;
  height: 48px;
  padding: 12px 16px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgba(44, 56, 94, 0.12);
  box-sizing: border-box;
}
.blog-search img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.blog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.32px;
  color: #3f4349;
  outline: none;
}
.blog-search input::placeholder {
  color: #3f4349;
  opacity: 1;
}
@media (max-width: 1023px) {
  .blog-search {
    width: 100%;
    flex: 0 0 auto;
  }
}

.blog-index__list {
  display: flex;
  flex-direction: column;
  /* Figma 5408:6712 — label→grid 16; mobile 5552:37748 — 24 */
  gap: 16px;
}
@media (max-width: 1023px) {
  .blog-index__list {
    gap: 24px;
  }
}

.blog-index__label {
  margin: 0;
  /* Figma 5408:6713 — Body Medium ~20/24 */
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-primary);
}

.blog-index__grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Figma mobile cards gap 16; desktop rows 40 / cols 12 */
  gap: 16px;
}
@media (min-width: 768px) {
  .blog-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 12px;
  }
}
@media (min-width: 1024px) {
  .blog-index__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 40px;
  }
}
.blog-index__grid .blog-card {
  flex: none;
  width: 100%;
  max-width: none;
}
.blog-index__grid .blog-card__body {
  padding-right: 0;
}

.blog-pagination[hidden] {
  display: none !important;
}
.blog-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  /* Figma 5408:6731 — centered cluster */
  /* Mobile 5552:37759 — justify-between across content width;
     list→pagination outer gap 48 (index gap 40 + 8) */
}
@media (max-width: 1023px) {
  .blog-pagination {
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
    gap: 0;
  }
}

.blog-pagination__page,
.blog-pagination__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 0;
  border-radius: 9999px;
  color: var(--text-text-primary);
  font-family: inherit;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 24px;
  letter-spacing: 0;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
}

.blog-pagination__page {
  /* Figma: inactive pages are transparent 48×48 hit targets */
  width: 48px;
  background: transparent;
}
.blog-pagination__page.is-active {
  background: #0d1016;
  color: #fff;
}

.blog-pagination__arrow {
  /* Figma icon button ~61.75×48, gray/50 */
  width: 62px;
  background: #f6f8fa;
  backdrop-filter: blur(12px);
}
.blog-pagination__arrow img {
  width: 24px;
  height: 24px;
}

/* Blog CTA aside — Figma 5537:15660 gap 32 + pr 40 */
.blog-page .dark-cta__aside {
  gap: 32px;
}
@media (min-width: 900px) {
  .blog-page .dark-cta__aside {
    padding-right: 40px;
  }
}

@media (min-width: 900px) {
  .blog-page .dark-cta__row {
    gap: 64px;
  }
}

/* ---------- Blog article — Figma 5408:6947 / mobile 5552:37772 ---------- */
.article-page > .article-cover {
  margin-top: -136px;
  position: relative;
  z-index: 1;
}
.article-page > .article-layout {
  margin-top: 48px;
}
.article-page > .article-related {
  margin-top: 80px;
}
.article-page > .company-cta {
  margin-top: 80px;
}
@media (max-width: 1023px) {
  .article-page > .article-cover {
    margin-top: -88px;
  }
  .article-page > .article-layout {
    margin-top: 36px;
  }
  .article-page > .article-related,
  .article-page > .company-cta {
    margin-top: 40px;
  }
}

.article-hero {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  box-sizing: border-box;
  padding-top: 134px;
  padding-bottom: 160px;
  padding-inline: var(--content-pad);
  background: var(--surface-basic-secondary, #f6f8fa);
  border-radius: 0 0 36px 36px;
}
.article-hero > .site-header {
  border: 0.5px solid rgba(44, 56, 94, 0.12);
  border-bottom-width: 1px;
}
@media (max-width: 1023px) {
  .article-hero > .site-header {
    border: 0;
  }
}
@media (max-width: 1023px) {
  .article-hero {
    gap: 64px;
    padding-top: 132px;
    padding-bottom: 128px;
  }
}

.article-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.article-hero__copy .badge {
  align-self: center;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.article-hero__date,
.article-hero__read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

.article-hero__read img {
  width: 24px;
  height: 24px;
}

.article-hero__title {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .article-hero__title {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.article-hero__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.article-hero__avatar {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}

.article-hero__author-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-hero__author-name {
  margin: 0;
  font-weight: 600;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .article-hero__author-name {
    font-size: var(--size-md, 18px);
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}

.article-hero__author-role {
  margin: 0;
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

.article-cover {
  display: flex;
  justify-content: center;
  padding: 24px var(--content-pad) 0;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .article-cover {
    padding: 0 var(--content-pad);
  }
}

.article-cover__media {
  position: relative;
  width: 100%;
  max-width: 774px;
}
@media (max-width: 1023px) {
  .article-cover__media {
    max-width: none;
  }
}

.article-cover__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 774/436;
  object-fit: cover;
  border-radius: var(--corner-radius-md, 12px);
  display: block;
}
@media (max-width: 1023px) {
  .article-cover__media img {
    aspect-ratio: 358/198;
  }
}

.article-cover__badge {
  display: none;
  position: absolute;
  top: 14px;
  left: 17px;
}
@media (max-width: 1023px) {
  .article-cover__badge {
    display: inline-flex;
  }
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 0 var(--content-pad);
  box-sizing: border-box;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(240px, 1fr) 774px;
    justify-content: start;
    column-gap: 24px;
    padding-left: 36px;
    padding-right: 334px;
  }
}
.article-layout {
  /* ~14" / laptop — Figma 334px right pad collapses TOC; keep readable sidebar */
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .article-layout {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    padding-left: var(--content-pad);
    padding-right: var(--content-pad);
  }
}
@media (max-width: 1023px) {
  .article-layout {
    gap: 0;
  }
}
.article-layout--simple {
  display: block;
  max-width: 774px;
  margin: 0 auto;
  padding: 0 var(--content-pad) 64px;
}
@media (min-width: 1024px) {
  .article-layout--simple {
    padding-left: var(--content-pad);
    padding-right: var(--content-pad);
  }
}

.article-toc {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(44, 56, 94, 0.12);
  border-radius: var(--corner-radius-sm, 8px);
  background: #fff;
  position: sticky;
  top: 24px;
  align-self: start;
  /* Figma 5802:40433 — sticky, viewport-tall; blue scrollbar only when overflowing */
  max-height: calc(100vh - 48px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #559ed3 transparent;
  order: -1;
  margin-bottom: 24px;
}
.article-toc::-webkit-scrollbar {
  width: 4px;
}
.article-toc::-webkit-scrollbar-track {
  background: transparent;
}
.article-toc::-webkit-scrollbar-thumb {
  background: #559ed3;
  border-radius: 4px;
}
@media (max-width: 1023px) {
  .article-toc {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
    width: 100%;
    margin-bottom: 32px;
    scrollbar-width: none;
  }
  .article-toc::-webkit-scrollbar {
    display: none;
  }
}
@media (min-width: 1024px) {
  .article-toc {
    order: 0;
    margin-bottom: 0;
  }
}

.article-toc__head {
  display: flex;
  flex-direction: column;
}

.article-toc__title {
  margin: 0;
  padding: 12px 16px;
  background: #f6f8fa;
  font-weight: 600;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-primary);
}

.article-toc__intro {
  margin: 0;
  padding: 12px 16px;
  font-size: var(--size-sm, 16px);
  line-height: 20px;
  letter-spacing: -0.32px;
  color: var(--text-text-secondary, #3f4349);
}

.article-toc__nav {
  display: flex;
  gap: 0;
  padding: 0 12px;
  align-items: stretch;
}

.article-toc__list {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.article-toc__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: var(--corner-radius-xs, 4px);
  text-decoration: none;
  color: var(--text-text-primary);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm, 16px);
  line-height: 20px;
}
.article-toc__link > span:not(.article-toc__dot) {
  flex: 1;
  min-width: 0;
}
.article-toc__link:hover, .article-toc__link.is-active {
  background: #f6f8fa;
}

/* Figma 5802:40433 — blue square/dot on the LEFT of the active section */
.article-toc__dot {
  order: -1;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #559ed3;
  flex-shrink: 0;
}

/* Decorative track removed — blue stripe is the native scrollbar when TOC overflows */
.article-toc__track,
.article-toc__thumb {
  display: none;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
  color: var(--text-text-primary, #0d1016);
  font-size: var(--size-sm, 16px);
  line-height: 28px;
  letter-spacing: -0.32px;
}
.article-content h2 {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.64px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .article-content h2 {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.48px;
  }
}
@media (max-width: 1023px) {
  .article-content h2#fazit {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.64px;
  }
}
.article-content a:not(.btn) {
  color: var(--text-text-primary, #0d1016);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content p {
  margin: 0;
}

.article-content__figure {
  margin: 0;
}
.article-content__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 774/400;
  object-fit: cover;
  border-radius: var(--corner-radius-md, 12px);
  display: block;
}

.article-content__block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--text-text-primary, #0d1016);
  /* Designer 5802:40433 — TOC jumps land below sticky header */
  scroll-margin-top: 88px;
}

.article-content__num {
  margin: 0;
  padding: 0;
  list-style: decimal;
  list-style-position: outside;
  padding-left: 30px;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-primary);
}
.article-content__num li {
  padding-left: 0;
}
.article-content__num li::marker {
  font-weight: var(--font-weight-medium);
}

.article-content__note {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: var(--size-sm, 16px);
  line-height: 28px;
  letter-spacing: -0.32px;
  color: var(--text-text-primary, #0d1016);
}

.article-content__note-title {
  margin: 0;
  font-weight: var(--font-weight-regular);
  color: var(--text-text-primary);
}

.article-content__note ul {
  margin: 0;
  padding: 0 0 0 24px;
  list-style: disc;
}

.article-content__note li {
  margin: 0;
  padding: 0;
  line-height: 28px;
}

.article-content__quote {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid rgba(44, 56, 94, 0.2);
  border-bottom: 1px solid rgba(44, 56, 94, 0.2);
}
.article-content__quote > p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.64px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .article-content__quote > p {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.48px;
  }
}
.article-content__quote .article-hero__author {
  justify-content: flex-start;
}

.article-faq {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 0;
  width: 100%;
  scroll-margin-top: 88px;
}
@media (max-width: 1023px) {
  .article-faq {
    gap: 24px;
  }
  .article-faq .faq__item summary {
    font-weight: 600;
    font-size: var(--size-md, 18px);
    line-height: 20px;
    letter-spacing: -0.36px;
  }
}
.article-faq .faq__list {
  width: 100%;
}
.article-faq .btn {
  align-self: flex-start;
}
@media (max-width: 1023px) {
  .article-faq .btn {
    width: 100%;
  }
}

.article-faq__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.article-faq__intro .badge {
  align-self: flex-start;
}

.article-faq__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
  max-width: 800px;
}
@media (max-width: 1023px) {
  .article-faq__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
    max-width: none;
  }
}

/* Beat `.article-content h2` mobile 24/28 override (FAQ lives inside article) */
.article-content h2.article-faq__heading {
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
}
@media (max-width: 1023px) {
  .article-content h2.article-faq__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.article-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0;
  width: 100%;
}
@media (max-width: 1023px) {
  .article-pager {
    flex-direction: column;
  }
}

.article-pager__btn {
  display: inline-flex;
  align-items: stretch;
  width: 344px;
  max-width: 100%;
  padding: 0;
  gap: 0;
  overflow: hidden;
  text-decoration: none;
}
.article-pager__btn:link, .article-pager__btn:visited, .article-pager__btn:hover, .article-pager__btn:active, .article-pager__btn:focus {
  text-decoration: none;
  color: var(--text-text-primary, #0d1016);
}
@media (max-width: 1023px) {
  .article-pager__btn {
    width: 100%;
  }
}
.article-pager__btn .btn__label {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}
.article-pager__btn .btn__icon {
  flex-shrink: 0;
}

.article-pager__dir {
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm, 16px);
  line-height: 24px;
  color: var(--text-text-primary);
  white-space: nowrap;
}

.article-pager__title {
  font-weight: var(--font-weight-regular);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 162px;
}

.article-related {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .article-related {
    gap: 24px;
  }
}

.article-related__heading {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .article-related__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.article-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 1024px) {
  .article-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .article-related__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .article-related__grid .blog-card {
    flex: 0 0 358px;
    max-width: 358px;
    scroll-snap-align: start;
  }
}

/* ---------- Services Regular — Figma 5607:17969 / mobile 5701:46591 ---------- */
.service-page {
  background: #fff;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.service-page > .clients,
.service-page > .svc-why,
.service-page > .svc-testimonials,
.service-page > .svc-related,
.service-page > .svc-spaces,
.service-page > .svc-packages,
.service-page > .svc-process,
.service-page > .company-process,
.service-page > .process,
.service-page > .svc-services-grid,
.service-page > .svc-faq,
.service-page > .contact-faq,
.service-page > .company-cta {
  margin-top: 128px;
}
.service-page > .clients {
  margin-top: 0;
}
@media (max-width: 1023px) {
  .service-page {
    padding-bottom: 0;
    /* Figma mobile service frames: 48px between major sections */
  }
  .service-page > .clients,
  .service-page > .svc-why,
  .service-page > .svc-testimonials,
  .service-page > .svc-related,
  .service-page > .svc-spaces,
  .service-page > .svc-packages,
  .service-page > .svc-process,
  .service-page > .company-process,
  .service-page > .process,
  .service-page > .svc-services-grid,
  .service-page > .svc-faq,
  .service-page > .contact-faq,
  .service-page > .company-cta {
    margin-top: 48px;
  }
  .service-page > .clients {
    margin-top: 0;
  }
  .service-page {
    /* Unterhalt carousel sits 64px under its text block (Figma 5703:48579) */
  }
  .service-page > .svc-spaces.svc-spaces--unterhalt {
    margin-top: 64px;
  }
}
.service-page .company-cta {
  padding: 0 12px;
}
.service-page .company-cta .dark-cta {
  margin: 0;
}

.hero--service {
  /* Reuses Home .hero geometry (834 / rounded bottom) */
}
@media (max-width: 1023px) {
  .hero--service .hero__trust {
    display: none;
  }
}
@media (max-width: 1023px) {
  .hero--service .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero--service .hero__actions .btn {
    width: 100%;
  }
}
.hero--service {
  /* Figma 5701:46592 — service hero crop (w 320.77%, left -133.68%) */
}
@media (max-width: 1023px) {
  .hero--service .hero__media img {
    width: 320.77%;
    height: 100%;
    left: -133.68%;
    top: 0;
    object-position: center center;
  }
}

.svc-section__lead {
  margin: 0;
  max-width: 800px;
  font-size: var(--size-sm);
  line-height: 24px;
  color: var(--text-text-secondary, #3f4349);
}

.svc-why {
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}

.svc-why__heading {
  margin: 0 0 24px;
  max-width: 800px;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .svc-why__heading {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.svc-why--regular {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
@media (max-width: 1023px) {
  .svc-why--regular {
    gap: 24px;
  }
}
.svc-why--regular .svc-why__heading {
  margin: 0;
  text-align: center;
  width: 100%;
}

.svc-why__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  /* Figma 5607:18311 — 2:1:1 bento (684 | 338 | 338) */
}
@media (min-width: 1024px) {
  .svc-why__stack {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: stretch;
  }
}

/* Designer 5802:39488 — points panel + calendar are separate cards (not nested) */
.svc-why__mid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
}
@media (min-width: 1024px) {
  .svc-why__mid {
    height: 100%;
  }
}

.svc-why__membership {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px 16px;
  border-radius: var(--corner-radius-md, 12px);
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .svc-why__membership {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    min-height: 0;
    padding: 24px;
  }
}

.svc-why__membership-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.svc-why__membership-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .svc-why__membership-body {
    gap: 0;
    align-self: stretch;
  }
}

.svc-why__membership-copy {
  display: flex;
  flex-direction: column;
  gap: 31px;
}

.svc-why__membership-titles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-why__membership-titles h3 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xl, 24px);
  line-height: 28px;
  letter-spacing: -0.48px;
  color: var(--text-text-primary);
}
@media (min-width: 1024px) {
  .svc-why__membership-titles h3 {
    font-size: var(--size-2xl, 32px);
    line-height: 36px;
    letter-spacing: -0.64px;
  }
}
.svc-why__membership-titles > p {
  margin: 0;
  font-size: var(--size-sm, 16px);
  line-height: 20px;
  letter-spacing: -0.32px;
  color: var(--text-text-secondary, #3f4349);
}

.svc-why__membership-kicker {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xxs, 12px);
  line-height: 16px;
  text-transform: uppercase;
  color: var(--text-text-secondary, #3f4349);
}
@media (min-width: 1024px) {
  .svc-why__membership-kicker {
    font-size: var(--size-xs, 14px);
    line-height: 20px;
  }
}

.svc-why__membership-logo {
  width: min(291px, 80%);
  height: auto;
  display: block;
}

.svc-why__membership-mark {
  display: none;
}
@media (min-width: 1024px) {
  .svc-why__membership-mark {
    position: relative;
    z-index: 1;
    display: block;
    flex-shrink: 0;
    width: 112px;
    height: 142px;
    object-fit: contain;
    opacity: 0.35;
    pointer-events: none;
  }
}

.svc-why__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--corner-radius-lg, 16px);
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .svc-why__panel {
    flex: 0 0 auto;
    min-height: 0;
  }
}

.svc-why__calendar {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 206px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  pointer-events: none;
  border-radius: var(--corner-radius-lg, 16px);
  background: linear-gradient(180deg, #e8f4fc 0%, #f6f8fa 55%, #fff 100%);
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .svc-why__calendar {
    min-height: 0;
  }
}
.svc-why__calendar picture,
.svc-why__calendar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.svc-why__panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  pointer-events: none;
}

.svc-why__points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
  padding: 24px 16px;
  list-style: none;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .svc-why__points {
    padding: 24px;
  }
}

.svc-why__point {
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-why__point p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

.svc-why__stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 1024px) {
  .svc-why__stats {
    height: 100%;
    min-height: 0;
  }
}

.svc-why__stat {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 142px;
  border-radius: var(--corner-radius-md, 12px);
  background: var(--surface-basic-secondary, #f6f8fa);
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .svc-why__stat {
    flex: 1;
    min-height: 0;
  }
}

.svc-why__stat-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 24px 16px;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .svc-why__stat-copy {
    padding: 24px;
  }
}

.svc-why__stat-label {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xxs, 12px);
  line-height: 16px;
  text-transform: uppercase;
  color: var(--text-text-secondary, #3f4349);
}
@media (min-width: 1024px) {
  .svc-why__stat-label {
    font-size: var(--size-xs, 14px);
    line-height: 20px;
  }
}

.svc-why__stat-value {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.96px;
  color: var(--text-text-primary);
}
@media (min-width: 1024px) {
  .svc-why__stat-value {
    font-size: 56px;
    line-height: 62px;
    letter-spacing: -3.36px;
  }
}
@media (min-width: 1024px) {
  .svc-why__stat-value--text {
    font-size: var(--size-3xl, 42px);
    line-height: 48px;
    letter-spacing: -0.84px;
  }
}

.svc-why__stat-icon {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 97px;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}

.svc-why__cta {
  align-self: center;
  width: min(100%, 344px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.svc-why__cta:hover {
  transform: translateY(-2px);
}
.svc-why__cta:active {
  transform: translateY(0);
  opacity: 0.92;
}

.svc-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  padding: 24px;
  border-radius: var(--corner-radius-sm, 8px);
  background: #fff;
  box-sizing: border-box;
}
.svc-why__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.svc-testimonials,
.svc-related,
.svc-spaces,
.svc-packages,
.svc-services-grid {
  padding: 0;
  box-sizing: border-box;
}

.svc-testimonials {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.svc-testimonials__intro,
.svc-related__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--content-pad);
  max-width: calc(1046px + var(--content-pad));
  box-sizing: border-box;
}
.svc-testimonials__intro > .badge,
.svc-related__intro > .badge {
  align-self: flex-start;
}
.svc-testimonials__intro > h2,
.svc-related__intro > h2 {
  margin: 0;
  max-width: 800px;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
.svc-testimonials__intro > .svc-section__lead,
.svc-related__intro > .svc-section__lead {
  margin: 0;
  max-width: 800px;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
}
@media (max-width: 1023px) {
  .svc-testimonials__intro,
  .svc-related__intro {
    gap: 12px;
  }
  .svc-testimonials__intro > h2,
  .svc-related__intro > h2 {
    font-size: 32px;
    line-height: 36px;
  }
}

.svc-testimonials__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.svc-testimonials__track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-left: max(32px, (100% - 908px) / 2);
  transition: transform 0.45s ease;
  will-change: transform;
}

.svc-testimonials__card {
  flex: 0 0 908px;
  max-width: min(908px, 100vw - 32px);
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  border-radius: var(--corner-radius-md);
  background: var(--surface-basic-secondary, #f6f8fa);
  overflow: hidden;
  box-sizing: border-box;
}
.svc-testimonials__card:not(.is-active) {
  opacity: 0.5;
}
@media (max-width: 1023px) {
  .svc-testimonials__card {
    flex-basis: min(908px, 100vw - 32px);
    flex-direction: column;
  }
}

.svc-testimonials__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 64px 40px 40px;
  min-width: 0;
  box-sizing: border-box;
}
.svc-testimonials__body > p {
  margin: 0;
  font-weight: 600;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .svc-testimonials__body {
    padding: 24px 16px;
  }
}

.svc-testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-testimonials__author img {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}
.svc-testimonials__author strong {
  display: block;
  font-weight: 600;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
}
.svc-testimonials__author span {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

.svc-testimonials__media {
  flex: 0 0 292px;
  width: 292px;
  min-height: 400px;
}
.svc-testimonials__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1023px) {
  .svc-testimonials__media {
    flex: none;
    width: 100%;
    min-height: 220px;
  }
}

.svc-testimonials__next {
  position: absolute;
  top: 50%;
  right: max(32px, (100% - 908px) / 2 - 30px);
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 48px;
  padding: 0;
  border-radius: 9999px;
  background: #0d1016;
  border: 0;
  cursor: pointer;
}
.svc-testimonials__next img {
  width: 24px;
  height: 24px;
}
.svc-testimonials__next[hidden] {
  display: none;
}
@media (max-width: 1023px) {
  .svc-testimonials__next {
    right: 16px;
  }
}

.svc-testimonials__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.svc-testimonials__bar {
  position: relative;
  width: 96px;
  height: 6px;
  border-radius: 4px;
  background: #dedde2;
  overflow: hidden;
}
.svc-testimonials__bar i {
  display: block;
  width: 38px;
  height: 100%;
  border-radius: 4px;
  background: #0d1016;
}

.svc-testimonials__dot {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: #dedde2;
}

.svc-related {
  padding: 0 var(--content-pad);
  display: flex;
  flex-direction: column;
  gap: 64px;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .svc-related {
    gap: 40px;
  }
}

.svc-related__intro {
  padding: 0;
  max-width: 1010px;
}

.svc-related__row {
  display: grid;
  gap: 32px;
  margin-top: 0;
  align-items: center;
}
@media (min-width: 1024px) {
  .svc-related__row {
    grid-template-columns: minmax(0, 1fr) 568px;
    gap: 128px;
  }
}

.svc-related__main {
  display: flex;
  gap: 128px;
  align-items: flex-end;
  min-width: 0;
}
@media (max-width: 1023px) {
  .svc-related__main {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}

.svc-related__tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 330px;
  flex-shrink: 0;
}

.svc-related__tab {
  /* Match Büroreinigung tabs / Figma 5607:18040 + nav Leistungen pill */
  width: 100%;
  padding: 24px;
  border-radius: var(--corner-radius-sm, 8px);
  text-align: left;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-secondary, #3f4349);
  background: transparent;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.svc-related__tab:hover:not(.is-active), .svc-related__tab:focus-visible, .svc-related__tab.is-active {
  outline: none;
  color: var(--text-text-primary);
  background: linear-gradient(90deg, #9bc1ee 0%, #d4eff8 100%);
  box-shadow: 0 2px 8px rgba(15, 40, 96, 0.08);
}

.svc-related__desc {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

.svc-related__media {
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  min-height: 280px;
}
.svc-related__media picture,
.svc-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 1024px) {
  .svc-related__media {
    height: 400px;
    min-height: 400px;
  }
}

.svc-spaces,
.svc-packages,
.svc-services-grid {
  padding: 0;
  box-sizing: border-box;
}

.svc-spaces {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.svc-spaces__mid-heading {
  margin: 0;
  padding: 0 var(--content-pad);
  text-align: center;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.64px;
  color: var(--text-text-primary);
}
@media (min-width: 1024px) {
  .svc-spaces__mid-heading {
    font-size: var(--size-display, 56px);
    line-height: var(--line-height-display, 62px);
    letter-spacing: var(--tracking-display, -3.36px);
  }
}

.svc-spaces--unterhalt {
  padding-top: 64px;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .svc-spaces--unterhalt {
    /* Avoid double gap with .service-page > .svc-spaces margin */
    padding-top: 0;
  }
}
.svc-spaces--unterhalt .for-whom__caption p {
  display: none;
}

.svc-spaces__intro,
.svc-services-grid__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--content-pad);
  max-width: calc(1046px + var(--content-pad));
  box-sizing: border-box;
}
.svc-spaces__intro > .badge,
.svc-services-grid__intro > .badge {
  align-self: flex-start;
}
.svc-spaces__intro > h2,
.svc-services-grid__intro > h2 {
  margin: 0;
  max-width: 800px;
  font-weight: var(--font-weight-medium);
  font-size: 56px;
  line-height: 62px;
  letter-spacing: -3.36px;
  color: var(--text-text-primary);
}
.svc-spaces__intro > .svc-section__lead,
.svc-services-grid__intro > .svc-section__lead {
  margin: 0;
  max-width: 800px;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
}
@media (max-width: 1023px) {
  .svc-spaces__intro > h2,
  .svc-services-grid__intro > h2 {
    font-size: 32px;
    line-height: 36px;
  }
}

.svc-spaces__carousel {
  position: relative;
  width: 100%;
}
.svc-spaces__carousel .for-whom__dots {
  margin-top: 0;
}
.svc-spaces__carousel .for-whom__next {
  /* Align near active card edge like Figma */
  right: max(16px, (100% - 908px) / 2 - 30px);
}
.svc-spaces__carousel .for-whom__prev {
  left: max(16px, (100% - 908px) / 2 - 30px);
}

.svc-services-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 0 var(--content-pad);
}
@media (max-width: 1023px) {
  .svc-services-grid {
    gap: 40px;
  }
}

.svc-services-grid__intro {
  padding: 0;
  max-width: 1046px;
}

.svc-services-grid__row {
  display: grid;
  gap: 12px;
  margin-top: 0;
}
@media (min-width: 768px) {
  .svc-services-grid__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.svc-services-grid__row .service-card {
  width: 100%;
  text-decoration: none;
}
.svc-services-grid__row .service-card__desc {
  display: none;
}

.svc-spaces__carousel,
.svc-spaces__card {
  /* legacy placeholders removed */
}

.svc-packages {
  min-height: 0;
}

/* ---------- Services Glas — Figma 5681:24458 ---------- */
.service-page--glas > .glas-marquee,
.service-page--glas > .clients {
  margin-top: 0;
}
.service-page--glas > .glas-intro,
.service-page--glas > .glas-block,
.service-page--glas > .glas-why,
.service-page--glas > .svc-why,
.service-page--glas > .svc-process,
.service-page--glas > .company-process,
.service-page--glas > .process,
.service-page--glas > .svc-faq,
.service-page--glas > .contact-faq,
.service-page--glas > .faq,
.service-page--glas > .company-cta {
  margin-top: 128px;
}
@media (max-width: 1023px) {
  .service-page--glas {
    /* Figma mobile: 48px between intro / blocks / mid sections */
  }
  .service-page--glas > .glas-intro,
  .service-page--glas > .glas-block,
  .service-page--glas > .glas-why,
  .service-page--glas > .svc-why,
  .service-page--glas > .svc-process,
  .service-page--glas > .company-process,
  .service-page--glas > .process,
  .service-page--glas > .svc-faq,
  .service-page--glas > .contact-faq,
  .service-page--glas > .faq,
  .service-page--glas > .company-cta {
    margin-top: 48px;
  }
}

.glas-marquee {
  padding: 48px var(--content-pad) 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.glas-marquee__text {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 24px;
  color: var(--text-text-secondary, #3f4349);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.glas-intro {
  display: grid;
  gap: 12px;
  padding: 0 var(--content-pad);
  align-items: stretch;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .glas-intro {
    grid-template-columns: minmax(0, 1fr) 568px;
  }
}
@media (max-width: 1023px) {
  .glas-intro {
    /* Figma 5701:48223 — 12px between stack + media */
    gap: 12px;
  }
}

.glas-intro__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.glas-intro__problem {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 40px 24px 24px;
  border-radius: var(--corner-radius-md);
  background: var(--surface-basic-secondary, #f6f8fa);
  box-sizing: border-box;
}
.glas-intro__problem h2 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display, 56px);
  line-height: var(--line-height-display, 62px);
  letter-spacing: var(--tracking-display, -3.36px);
  color: var(--text-text-primary);
}
.glas-intro__problem p {
  margin: 0;
  font-size: var(--size-sm);
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary, #3f4349);
}
.glas-intro__problem .badge {
  align-self: flex-start;
}
@media (max-width: 1023px) {
  .glas-intro__problem {
    padding: 16px;
  }
  .glas-intro__problem h2 {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.glas-intro__solution {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  min-height: 220px;
  /* Match Problem left padding so badge/text share the same left edge */
  padding: 24px 40px 24px 24px;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  box-sizing: border-box;
  background: var(--surface-basic-brand, #c1e6ff);
}
@media (max-width: 1023px) {
  .glas-intro__solution {
    padding: 24px 16px;
  }
}

.glas-intro__solution-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.glas-intro__solution-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  width: 100%;
}
.glas-intro__solution-body .badge {
  align-self: flex-start;
  background: var(--surface-basic-primary, #fff);
}
.glas-intro__solution-body p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
  text-align: left;
}
.glas-intro__solution-body .glas-intro__logo {
  margin-top: 0;
  align-self: flex-start;
}
.glas-intro__solution-body .glas-intro__kicker {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-text-secondary, #3f4349);
}

.glas-intro__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.glas-intro__kicker {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-text-secondary, #3f4349);
}

.glas-intro__logo {
  display: block;
  width: 202px;
  height: 64px;
  object-fit: contain;
  object-position: left bottom;
}

/* Regular cleaning solution card — Figma 5607:17989 / mobile 5701:48229 */
@media (min-width: 1024px) {
  .service-page--regular .glas-intro__problem {
    flex: 1;
  }
}
.service-page--regular .glas-intro__logo {
  width: 291px;
  height: 92px;
}
@media (max-width: 1023px) {
  .service-page--regular .glas-intro__logo {
    width: 202px;
    height: 64px;
  }
}
.service-page--regular .glas-intro__solution {
  min-height: 280px;
}
@media (max-width: 1023px) {
  .service-page--regular .glas-intro__solution {
    padding: 24px 16px;
  }
}
@media (max-width: 1023px) {
  .service-page--regular .glas-intro__solution-body {
    justify-content: space-between;
    gap: 32px;
  }
}

.glas-intro__mark {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  width: 112px;
  height: 142px;
  object-fit: contain;
  opacity: 0.35;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .glas-intro__mark {
    display: none;
  }
}

.glas-intro__media {
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  min-height: 280px;
}
@media (min-width: 1024px) {
  .glas-intro__media {
    height: 601px;
  }
}
.glas-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glas-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}
.glas-block > .badge {
  align-self: flex-start;
}
.glas-block > h2 {
  margin: 0;
  max-width: 800px;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display, 56px);
  line-height: var(--line-height-display, 62px);
  letter-spacing: var(--tracking-display, -3.36px);
  color: var(--text-text-primary);
}
.glas-block > .svc-section__lead,
.glas-block > p {
  margin: 0;
  max-width: 800px;
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}
.glas-block {
  /* Desktop CTAs left-aligned (Figma), not stretched by column flex */
}
.glas-block > .btn,
.glas-block > .btn--primary-dark {
  align-self: flex-start;
  width: auto;
  max-width: none;
}
@media (max-width: 1023px) {
  .glas-block > h2 {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.glas-block__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 28px;
}
.glas-block__body > .btn,
.glas-block__body > .btn--primary-dark {
  align-self: flex-start;
  width: auto;
  max-width: none;
}
@media (max-width: 1023px) {
  .glas-block__body {
    /* Figma mobile: tighter stack under h2, full-width CTAs */
    margin-top: 24px;
    gap: 32px;
  }
  .glas-block__body > .btn,
  .glas-block__body > .btn--primary-dark {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Industriereinigung 5607:18090 — hero + cards/brand stack */
.glas-block[data-node-id="5607:18090"] > .glas-block__body {
  margin-top: 12px; /* + parent gap 12 → 24px under h2 */
  gap: 24px;
}

.glas-block__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.glas-block__row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .glas-block__row {
    flex-direction: row;
    /* Figma 5607:18095 — cards ↔ brand gap 12 */
    gap: 12px;
  }
}
.glas-block__row > .glas-block__cols--cards {
  flex: 1 1 0;
  min-width: 0;
}

.glas-block__cols {
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .glas-block__cols {
    grid-template-columns: minmax(0, 1fr) 568px;
    gap: 128px;
  }
}
.glas-block__cols {
  /* Industriereinigung 5607:18090 — two equal text cards */
}
.glas-block__cols--cards {
  gap: 8px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .glas-block__cols--cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
.glas-block__cols--cards .glas-block__col {
  gap: 20px;
  padding: 24px;
  border-radius: var(--corner-radius-md, 12px);
  background: var(--surface-basic-secondary, #f6f8fa);
  box-sizing: border-box;
  height: 100%;
}
.glas-block__cols--cards .glas-block__icon {
  background: var(--surface-basic-primary, #fff);
}
.glas-block__cols--cards .glas-block__col p {
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  letter-spacing: 0;
}
.glas-block__cols {
  /* Unterhaltsreinigung 5607:18053 — two equal text cols, gap 72 */
}
.glas-block__cols--pair {
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .glas-block__cols--pair {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}
.glas-block__cols--pair .glas-block__col p {
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm, 16px);
  line-height: 20px;
  letter-spacing: 0;
  color: var(--text-text-primary, #0d1016);
}
.glas-block__cols--with-photos {
  gap: 40px 16px;
}
@media (min-width: 1024px) {
  .glas-block__cols--with-photos {
    gap: 40px 128px;
  }
}
.glas-block__cols--with-photos .glas-block__col {
  gap: 24px;
}
.glas-block__cols--with-photos .glas-block__col p {
  font-family: var(--font-family-body);
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary, #3f4349);
}
@media (max-width: 1023px) {
  .glas-block__cols--with-photos .glas-block__col p {
    font-size: var(--size-sm, 16px);
    line-height: 20px;
    letter-spacing: 0;
  }
}

.glas-block__col-media {
  margin: 0;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  height: 280px;
}
@media (min-width: 1024px) {
  .glas-block__col-media {
    height: 452px;
  }
}
@media (min-width: 1024px) {
  .glas-block__col-media--mobile {
    display: none;
  }
}
.glas-block__col-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glas-block__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.glas-block__col p {
  margin: 0;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary, #3f4349);
}
@media (max-width: 1023px) {
  .glas-block__col p {
    /* Figma mobile body ~16/20 (e.g. 5703:48316) */
    font-size: var(--size-sm, 16px);
    line-height: 20px;
    letter-spacing: 0;
  }
}

.glas-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  min-width: 72px;
  padding: 24px;
  box-sizing: border-box;
  border-radius: var(--corner-radius-sm, 8px);
  background: var(--surface-basic-secondary, #f6f8fa);
}
.glas-block__icon img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.glas-block__gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.glas-block__tabs {
  display: none;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .glas-block__tabs {
    display: flex;
    flex: 1 1 0;
  }
}

.glas-block__tab {
  appearance: none;
  border: 0;
  margin: 0;
  width: 100%;
  /* Figma 5607:18040 — 24px pad, radius sm 8 (not nav pill) */
  padding: 24px;
  border-radius: var(--corner-radius-sm, 8px);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-tetriaty, #3f4349);
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  /* Same gradient tokens as Leistungen dropdown; shape from Figma tab frame */
}
.glas-block__tab:hover:not(.is-active), .glas-block__tab:focus-visible, .glas-block__tab.is-active {
  outline: none;
  color: var(--text-text-primary);
  background: linear-gradient(90deg, #9bc1ee 0%, #d4eff8 100%);
  box-shadow: 0 2px 8px rgba(15, 40, 96, 0.08);
}

.glas-block__gallery-media {
  display: block;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  height: 280px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .glas-block__gallery-media {
    width: 568px;
    height: 400px;
  }
}
.glas-block__gallery-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.glas-block__gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1024px) {
  .glas-block__gallery {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 240px;
  }
}
.glas-block__photos {
  display: grid;
  gap: 12px;
}
@media (min-width: 1024px) {
  .glas-block__photos {
    grid-template-columns: minmax(0, 1fr) 568px;
  }
}
.glas-block__photos figure {
  margin: 0;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  height: 452px;
}
@media (max-width: 1023px) {
  .glas-block__photos figure {
    height: 240px;
  }
}
.glas-block__photos figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.glas-block__photos--fenster {
  display: none;
}
@media (min-width: 1024px) {
  .glas-block__photos--fenster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 568px;
    gap: 12px;
  }
}
.glas-block__photos--stack {
  grid-template-columns: 1fr;
  gap: 32px 16px;
}
@media (min-width: 1024px) {
  .glas-block__photos--stack {
    display: none;
  }
}
.glas-block__photos--stack figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: auto;
  overflow: visible;
  border-radius: 0;
}
.glas-block__photos--stack figcaption {
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-md, 18px);
  line-height: 20px;
  letter-spacing: -0.36px;
  color: var(--text-text-primary);
}
.glas-block__photos--stack {
  /* Beat `.glas-block__photos figure img { height:100% }` — Figma 358×280 */
}
.glas-block__photos--stack figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: var(--corner-radius-md);
}

.glas-block__pair {
  display: grid;
  /* Figma 3006:26221 — wider gap between the two text/photo columns */
  gap: 40px 24px;
}
@media (min-width: 1024px) {
  .glas-block__pair {
    grid-template-columns: minmax(0, 1fr) 568px;
    gap: 64px 128px;
  }
}

.glas-block__pair-item {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}
.glas-block__pair-item figure {
  margin: 0;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  height: 452px;
}
@media (max-width: 1023px) {
  .glas-block__pair-item figure {
    height: 280px;
  }
}
.glas-block__pair-item figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.glas-block__pair-item p {
  margin: 0;
  font-family: var(--font-family-title);
  font-size: var(--size-md, 18px);
  line-height: 20px;
  letter-spacing: -0.36px;
  color: var(--text-text-secondary, #3f4349);
}
@media (max-width: 1023px) {
  .glas-block__pair-item p {
    /* Figma praxis mobile body 16/20 */
    font-family: var(--font-family-body);
    font-size: var(--size-sm, 16px);
    line-height: 20px;
    letter-spacing: 0;
  }
}

.glas-block__lead {
  margin: 0;
  max-width: 800px;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary, #3f4349);
}
@media (max-width: 1023px) {
  .glas-block__lead {
    /* Figma 5703:48569 — mobile lead 16/20 */
    font-size: var(--size-sm, 16px);
    line-height: 20px;
    letter-spacing: 0;
  }
}

.glas-block__hero-media {
  margin: 0;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  height: 400px;
}
@media (max-width: 1023px) {
  .glas-block__hero-media {
    height: 280px;
  }
}
.glas-block__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}
.glas-block__hero-media {
  /* Figma 5607:18096 — width-fill crop, lower half of source */
}
.glas-block__hero-media[data-crop=industrie] img {
  object-position: 50% 45%;
}
.glas-block__hero-media {
  /*
   * Fassade — Figma 5681:24542 (1376×400). Source is already landscape
   * (~1024×445); cover fills the box without stretch (never fill).
   */
}
.glas-block__hero-media[data-crop=fassade] img {
  object-fit: cover;
  object-position: center;
}

.glas-block__points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glas-block__point {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .glas-block__point {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
}
.glas-block__point p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm, 16px);
  line-height: 20px;
  letter-spacing: 0;
  color: var(--text-text-primary, #0d1016);
}

.glas-block__split {
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .glas-block__split {
    grid-template-columns: minmax(0, 1fr) 568px;
    gap: 64px;
    align-items: start;
  }
}

.glas-block__split-copy {
  margin: 0;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-primary);
}

.glas-block--split-aside {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) {
  .glas-block--split-aside {
    grid-template-columns: minmax(0, 1fr) 568px;
    gap: 64px;
    /* Designer 5802:39501 — stretch so CTA can pin to brand bottom */
    align-items: stretch;
  }
  .glas-block--split-aside .glas-block__main {
    height: 100%;
  }
  .glas-block--split-aside .glas-block__main > .btn {
    margin-top: auto;
  }
}

.glas-block__main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  min-width: 0;
}
.glas-block__main > .btn,
.glas-block__main > .btn--primary-dark {
  align-self: flex-start;
  width: auto;
  max-width: none;
}

.glas-block__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.glas-block__copy h2 {
  margin: 0;
  max-width: 800px;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display, 56px);
  line-height: var(--line-height-display, 62px);
  letter-spacing: var(--tracking-display, -3.36px);
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .glas-block__copy h2 {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}
.glas-block__copy p {
  margin: 0;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary, #3f4349);
}

.glas-block__main > .badge {
  margin-bottom: -54px;
}

.glas-block__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.glas-block__aside-media {
  margin: 0;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  height: 460px;
}
@media (max-width: 1023px) {
  .glas-block__aside-media {
    height: 280px;
  }
}
.glas-block__aside-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glas-block__brand {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 140px;
  padding: 24px;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  box-sizing: border-box;
  background: var(--surface-basic-brand, #c1e6ff);
  /* Industriereinigung — stretches beside text cards */
}
.glas-block__brand--tall {
  min-height: 280px;
  padding: 24px;
}
@media (min-width: 1024px) {
  .glas-block__brand--tall {
    width: 568px;
    flex-shrink: 0;
    min-height: 0;
    align-self: stretch;
  }
}

.glas-block__brand-bg {
  position: absolute;
  left: 0;
  /* Figma 5681:24567 — crop blue field (top ~-100%, height ~200%) */
  top: -100%;
  width: 100%;
  height: 200%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.glas-block__brand-logo {
  position: relative;
  z-index: 1;
  width: 291px;
  max-width: 70%;
  height: auto;
  object-fit: contain;
}

.glas-block__brand-mark {
  position: absolute;
  right: -12px;
  bottom: -24px;
  z-index: 1;
  width: 112px;
  height: 142px;
  object-fit: contain;
  opacity: 0.35;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .glas-block--graffiti {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 568px;
    gap: 64px;
    align-items: stretch;
  }
}

.glas-graffiti__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}
.glas-graffiti__copy > .badge {
  margin-bottom: -20px;
}
.glas-graffiti__copy > h2 {
  margin: 0;
  max-width: 744px;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display, 56px);
  line-height: var(--line-height-display, 62px);
  letter-spacing: var(--tracking-display, -3.36px);
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .glas-graffiti__copy > h2 {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.96px;
  }
}

.glas-graffiti__lead {
  margin: 0;
  max-width: 656px;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--text-text-secondary, #3f4349);
}

.glas-graffiti__points {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 656px;
}
@media (min-width: 1024px) {
  .glas-graffiti__points {
    grid-template-columns: 1fr 1fr;
  }
}

.glas-graffiti__point {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.glas-graffiti__point p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
}

.glas-compare {
  --pos: 38.4%;
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 100%;
  aspect-ratio: 568/598;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  background: var(--surface-basic-secondary, #f6f8fa);
  container-type: inline-size;
}
@media (max-width: 1023px) {
  .glas-compare {
    min-height: 0;
    height: auto;
    margin-top: 24px;
  }
}

/* Dirty (before) — full frame under the mask */
.glas-compare__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/*
 * Clean (after) — left panel mask.
 * Figma split ≈ 38.4%. After image is full-frame (same crop as base),
 * clipped by the mask so before/after stay aligned.
 */
.glas-compare__reveal {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pos);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  border-radius: var(--corner-radius-md) 0 0 var(--corner-radius-md);
}
.glas-compare__reveal img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100cqw;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.glas-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 8px;
  margin-left: -4px;
  background: #fff;
  pointer-events: none;
  z-index: 2;
}

.glas-compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 5px rgba(193, 230, 255, 0.35);
}
.glas-compare__knob img {
  width: 100%;
  height: 100%;
  display: block;
}

.glas-compare__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.glas-why {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .glas-why {
    gap: 24px;
  }
}

.glas-why__heading {
  margin: 0;
  text-align: center;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display, 56px);
  line-height: var(--line-height-display, 62px);
  letter-spacing: var(--tracking-display, -3.36px);
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .glas-why__heading {
    font-size: 32px;
    line-height: 36px;
  }
}

.glas-why__row {
  display: grid;
  gap: 8px;
  width: 100%;
}
@media (min-width: 1024px) {
  .glas-why__row {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.glas-why__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 271px;
  padding: 24px 16px;
  border-radius: var(--corner-radius-md);
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .glas-why__feature {
    min-height: 476px;
    padding: 24px;
  }
}

.glas-why__feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.glas-why__feature-title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 454px;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-3xl, 42px);
  line-height: 48px;
  letter-spacing: -0.84px;
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .glas-why__feature-title {
    font-size: 28px;
    line-height: 32px;
  }
}

.glas-why__feature-logo {
  position: relative;
  z-index: 1;
  width: min(291px, 70%);
  height: auto;
  display: block;
}

.glas-why__feature-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  width: 112px;
  height: 142px;
  object-fit: contain;
  opacity: 0.35;
  pointer-events: none;
}

.glas-why__aside {
  display: grid;
  gap: 8px;
}
@media (min-width: 1024px) {
  .glas-why__aside {
    grid-template-columns: 1fr 1fr;
    min-height: 476px;
  }
}

.glas-why__photo {
  position: relative;
  border-radius: var(--corner-radius-lg, 16px);
  overflow: hidden;
  min-height: 476px;
}
@media (min-width: 1024px) {
  .glas-why__photo {
    min-height: 320px;
    flex: 1;
  }
}
.glas-why__photo > img,
.glas-why__photo > picture,
.glas-why__photo > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep lower callout area + feet in frame (was cropping bottom) */
  object-position: center 30%;
}
.glas-why__photo > picture {
  display: block;
}

.glas-why__callout {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--corner-radius-md);
  background: #fff;
  box-sizing: border-box;
}
.glas-why__callout img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.glas-why__callout p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-sm);
  line-height: 20px;
  color: var(--text-text-primary);
}

.glas-why__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.glas-why__card {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  border-radius: var(--corner-radius-md);
  background: var(--surface-basic-secondary, #f6f8fa);
  overflow: hidden;
  box-sizing: border-box;
}
.glas-why__card p {
  flex: 1;
  margin: 0;
  padding: 24px;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  color: var(--text-text-primary);
}

.glas-why__card-icon {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.glas-why__card-icon img {
  width: 72px;
  height: auto;
  max-height: 90%;
  object-fit: contain;
}

.glas-why__cta {
  align-self: flex-start;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.glas-why__cta:hover {
  transform: translateY(-2px);
}
.glas-why__cta:active {
  transform: translateY(0);
  opacity: 0.92;
}

/* ---------- Services Hausmeister — Figma 5681:25519 ---------- */
.service-page--hausmeister > .clients,
.service-page--facility > .clients {
  margin-top: 0;
}
.service-page--hausmeister > .glas-intro,
.service-page--hausmeister > .glas-block,
.service-page--hausmeister > .glas-why,
.service-page--hausmeister > .svc-related,
.service-page--hausmeister > .fm-audience,
.service-page--hausmeister > .svc-faq,
.service-page--hausmeister > .contact-faq,
.service-page--hausmeister > .faq,
.service-page--hausmeister > .company-cta,
.service-page--facility > .glas-intro,
.service-page--facility > .glas-block,
.service-page--facility > .glas-why,
.service-page--facility > .svc-related,
.service-page--facility > .fm-audience,
.service-page--facility > .svc-faq,
.service-page--facility > .contact-faq,
.service-page--facility > .faq,
.service-page--facility > .company-cta {
  margin-top: 128px;
}
@media (max-width: 1023px) {
  .service-page--hausmeister > .glas-intro,
  .service-page--hausmeister > .glas-block,
  .service-page--hausmeister > .glas-why,
  .service-page--hausmeister > .svc-related,
  .service-page--hausmeister > .fm-audience,
  .service-page--hausmeister > .svc-faq,
  .service-page--hausmeister > .contact-faq,
  .service-page--hausmeister > .faq,
  .service-page--hausmeister > .company-cta,
  .service-page--facility > .glas-intro,
  .service-page--facility > .glas-block,
  .service-page--facility > .glas-why,
  .service-page--facility > .svc-related,
  .service-page--facility > .fm-audience,
  .service-page--facility > .svc-faq,
  .service-page--facility > .contact-faq,
  .service-page--facility > .faq,
  .service-page--facility > .company-cta {
    margin-top: 48px;
  }
}

/* ---------- Facility scope / audience / warum — Figma 5681:24899 ---------- */
@media (min-width: 1024px) {
  .service-page--facility .glas-intro__media {
    height: 670px;
  }
}

.svc-related--facility .svc-related__tabs {
  max-width: 280px;
  gap: 10px;
  justify-content: flex-start;
  min-height: 0;
}
.svc-related--facility {
  /* Tab active/hover inherited from .svc-related__tab (= Büroreinigung / Figma) */
}
.svc-related--facility .svc-related__tab {
  padding: 16px 20px;
}
.svc-related--facility {
  /* Tabs + desc side-by-side so copy doesn't collapse on ~14" laptops */
}
.svc-related--facility .svc-related__main {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(200px, 1fr);
  gap: 32px;
  align-items: end;
  min-width: 0;
}
.svc-related--facility .svc-related__desc {
  flex: none;
  min-width: 0;
}
.svc-related--facility .svc-related__row {
  display: none;
}
@media (min-width: 1024px) {
  .svc-related--facility .svc-related__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 40px;
    align-items: end;
  }
}

.fm-scope-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
@media (min-width: 1024px) {
  .fm-scope-stack {
    display: none;
  }
}

.fm-scope-stack__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fm-scope-stack__item h3 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-md, 18px);
  line-height: 20px;
  letter-spacing: -0.36px;
  color: var(--text-text-primary);
}
.fm-scope-stack__item p {
  margin: 0;
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}
.fm-scope-stack__item figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
}
.fm-scope-stack__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-note {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 64px;
  padding: 24px 40px 24px 24px;
  border-radius: var(--corner-radius-md, 12px);
  background: var(--surface-basic-secondary, #f6f8fa);
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .fm-note {
    margin-top: 32px;
    padding: 20px;
    flex-direction: column;
  }
}
.fm-note p {
  margin: 0;
  flex: 1;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-secondary, #3f4349);
}

.fm-note__icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--corner-radius-sm, 8px);
  background: #fff;
  box-sizing: border-box;
}
.fm-note__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.fm-audience {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .fm-audience {
    gap: 24px;
  }
}

.fm-audience__intro {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fm-audience__intro h2 {
  margin: 0;
  font-family: var(--font-family-title);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-display, 56px);
  line-height: var(--line-height-display, 62px);
  letter-spacing: var(--tracking-display, -3.36px);
  color: var(--text-text-primary);
}
@media (max-width: 1023px) {
  .fm-audience__intro h2 {
    font-size: 32px;
    line-height: 36px;
  }
}
.fm-audience__intro p {
  margin: 0;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-secondary, #3f4349);
}

.fm-audience__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 427px;
  padding: 24px;
  border-radius: var(--corner-radius-lg, 16px);
  overflow: hidden;
  box-sizing: border-box;
}

.fm-audience__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.fm-audience__logo {
  position: relative;
  z-index: 1;
  width: 202px;
  height: auto;
  display: block;
}

.fm-audience__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  max-width: none;
  padding: 24px 40px 24px 24px;
  border-radius: var(--corner-radius-md, 12px);
  background: var(--surface-basic-secondary, #f6f8fa);
  box-sizing: border-box;
}
.fm-audience__panel p {
  margin: 0;
  font-size: var(--size-lg, 20px);
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--text-text-secondary, #3f4349);
}

.fm-audience__panel-lead {
  font-weight: var(--font-weight-medium) !important;
  font-size: var(--size-sm, 16px) !important;
  line-height: 20px !important;
  letter-spacing: 0 !important;
  color: var(--text-text-primary) !important;
}

@media (min-width: 1024px) {
  .glas-why__row--facility {
    grid-template-columns: minmax(0, 1fr) minmax(0, 338px) minmax(0, 338px);
    gap: 8px;
    align-items: stretch;
  }
}

.glas-why__aside--facility {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
@media (min-width: 1024px) {
  .glas-why__aside--facility {
    grid-template-columns: none;
    min-height: 528px;
  }
}
.glas-why__aside--facility {
  /* Figma 5681:25231 — single composite card image (icon + title + calendars) */
}
.glas-why__aside--facility > .glas-why__card {
  flex: 0 0 auto;
}
@media (min-width: 1024px) {
  .glas-why__aside--facility > .glas-why__card {
    min-height: 170px;
  }
}
.glas-why__aside--facility .glas-why__photo--calendar {
  flex: 1 1 auto;
  min-height: 280px;
  padding: 0;
  justify-content: stretch;
  gap: 0;
  background: var(--surface-basic-brand, #c1e6ff);
}
@media (min-width: 1024px) {
  .glas-why__aside--facility .glas-why__photo--calendar {
    flex: 1 1 349px;
    min-height: 349px;
    max-height: 349px;
  }
}
.glas-why__aside--facility .glas-why__photo--calendar > img,
.glas-why__aside--facility .glas-why__photo--calendar > picture,
.glas-why__aside--facility .glas-why__photo--calendar > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}
.glas-why__aside--facility .glas-why__photo--calendar > picture {
  display: block;
}

@media (min-width: 1024px) {
  .glas-why--facility .glas-why__feature {
    min-height: 100%;
    height: 100%;
  }
}
@media (min-width: 1024px) {
  .glas-why--facility .glas-why__stack {
    min-height: 100%;
    height: 100%;
  }
}
.glas-why--facility .glas-why__stack .glas-why__card {
  flex: 1 1 0;
  min-height: 0;
}
.glas-why--facility .glas-why__card strong {
  display: block;
  text-transform: uppercase;
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  letter-spacing: 0;
  color: var(--text-text-secondary, #3f4349);
  font-weight: var(--font-weight-medium);
  margin-bottom: 12px;
}
.glas-why--facility .glas-why__card p {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.glas-why--facility .glas-why__cta.btn--dark,
.glas-why--facility .glas-why__cta {
  align-self: flex-start;
}

.hero__trust--pair {
  display: flex;
  gap: 64px;
  align-items: center;
}
.hero__trust--pair img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* ---------- Services Hausmeister — Warum / mid — Figma 5681:25519 ---------- */
@media (min-width: 1024px) {
  .service-page--hausmeister .glas-block__cols--hm {
    /* B1 — fluid tracks instead of fixed 680+568(+gap) overflowing <1440 viewports */
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 128px);
    align-items: start;
    width: 100%;
    max-width: 100%;
  }
}
.service-page--hausmeister .glas-block__cols--hm .glas-block__col p {
  font-family: var(--font-family-title);
  font-size: var(--size-md, 18px);
  line-height: 20px;
  letter-spacing: -0.36px;
  color: var(--text-text-secondary, #3f4349);
}
@media (min-width: 1024px) {
  .service-page--hausmeister .glas-intro__media {
    height: 630px;
  }
}
@media (min-width: 1024px) {
  .service-page--hausmeister .glas-why--hausmeister .glas-why__feature {
    min-height: 440px;
  }
}
@media (min-width: 1024px) {
  .service-page--hausmeister .glas-why--hausmeister .glas-why__aside {
    min-height: 440px;
  }
}
.service-page--hausmeister .glas-why--hausmeister .glas-why__card strong {
  display: block;
  text-transform: uppercase;
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  letter-spacing: 0;
  color: var(--text-text-secondary, #3f4349);
  font-weight: var(--font-weight-medium);
  margin-bottom: 12px;
}
.service-page--hausmeister .glas-why--hausmeister .glas-why__card p {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.glas-why__stack--ticket {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
@media (min-width: 1024px) {
  .glas-why__stack--ticket {
    height: 100%;
  }
}
.glas-why__stack--ticket .glas-why__card {
  flex: 0 0 auto;
  min-height: 141px;
}
.glas-why__stack--ticket .glas-why__photo--ticket {
  flex: 1 1 auto;
}

.glas-why__photo--ticket {
  /* Figma 5681:25851 — head + fixed-ratio ticket UI at bottom; blue field fills the rest */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-height: 280px;
  padding: 24px 0 0;
  border-radius: var(--corner-radius-lg, 16px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(193, 230, 255, 0.55) 0%, rgba(246, 248, 250, 0.9) 48%, #fff 100%);
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .glas-why__photo--ticket {
    min-height: 0;
  }
}
.glas-why__photo--ticket > img:not(.glas-why__ticket-visual):not(.glas-why__ticket-bg) {
  display: none;
}
.glas-why__photo--ticket .glas-why__ticket-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
}
.glas-why__photo--ticket > picture:has(.glas-why__ticket-visual) {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  display: block;
}
.glas-why__photo--ticket .glas-why__ticket-visual {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 338/163;
  margin-top: auto;
  flex: 0 0 auto;
  min-height: 0;
  object-fit: cover;
  object-position: top left;
  border-radius: 0;
}

.glas-why__ticket-head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
}
.glas-why__ticket-head p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  font-size: var(--size-xs, 14px);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

.glas-why__ticket-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--corner-radius-sm, 8px);
  background: #fff;
  box-sizing: border-box;
}
.glas-why__ticket-icon img {
  position: static;
  width: 24px;
  height: 24px;
  display: block;
}

.svc-faq {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 0;
  box-sizing: border-box;
}
.svc-faq .faq__intro,
.svc-faq .contact-faq__intro {
  padding: 0 var(--content-pad);
  max-width: calc(1046px + var(--content-pad));
}
.svc-faq .faq__list,
.svc-faq .contact-faq__list {
  width: min(908px, 100%);
  margin: 0 auto;
  padding: 0 var(--content-pad);
  box-sizing: border-box;
}
.svc-faq .faq__more {
  margin-top: 0;
}

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 12px;
  background: #0d1016;
  color: #fff;
  box-shadow: 0 12px 40px rgba(13, 16, 22, 0.28);
  box-sizing: border-box;
}
.cookie-bar[hidden] {
  display: none !important;
}
.cookie-bar__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 720px) {
  .cookie-bar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}
.cookie-bar__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.cookie-bar__text a {
  color: #9ec9ef;
  text-decoration: underline;
  text-underline-offset: 2px;
  /* M7 — cookie Datenschutz link */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  box-sizing: border-box;
}
.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-bar__btn {
  white-space: nowrap;
}
.cookie-bar {
  /* Primary DS button needs .btn__label for pill background; keep visible if markup is plain. */
}
.cookie-bar .btn--primary {
  color: var(--text-text-primary, #0d1016);
}
.cookie-bar .btn--primary:not(:has(.btn__label)) {
  padding: var(--spacing-12, 12px) var(--spacing-20, 20px);
  background: var(--surface-button-primary, #c1e6ff);
  height: 48px;
}

.lead-form__error {
  margin: 0 0 8px;
  color: #b42318;
  font-size: 14px;
}

.lead-form__summary {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fef3f2;
  color: #b42318;
  font-size: 14px;
  line-height: 20px;
}
.lead-form__summary[hidden] {
  display: none !important;
}

.lead-form__field-error {
  margin: 6px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 18px;
}

.field__control[aria-invalid=true],
.field-select.is-open .field__control[aria-invalid=true],
button.field__control[aria-invalid=true] {
  box-shadow: inset 0 0 0 1.5px #b42318;
}

.lead-form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 404 page (B2) ---------- */
.error-404 .article-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
}
.error-404 .article-hero__lead {
  margin: 0;
  font-size: var(--font-size-lg, 18px);
  line-height: 24px;
  color: var(--text-text-secondary, #3f4349);
}
.error-404 .error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.error-404__links h2 {
  margin: 0 0 16px;
  font-size: var(--font-size-lg, 18px);
  line-height: 24px;
}
.error-404__links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.error-404__links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- N9: required-fields hint ---------- */
.lead-form__required-hint {
  margin: 0 0 16px;
  font-size: var(--font-size-sm, 14px);
  line-height: 20px;
  color: var(--text-text-secondary, #3f4349);
}

/* ---------- N2: back-to-top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #0d1016;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 16, 22, 0.2);
}
.back-to-top[hidden] {
  display: none !important;
}
.back-to-top:hover {
  background: #1a1e26;
}
.back-to-top:focus-visible {
  outline: 2px solid #2c385e;
  outline-offset: 3px;
}
.back-to-top img {
  width: 20px;
  height: 20px;
}

/*# sourceMappingURL=main.css.map */
