/* ================================================================
   ZEITGEIST STUDIOS — Custom Styles für Divi 5 Child Theme
   ================================================================
   Editorial Tech Design — Bricolage Grotesque + IBM Plex.

   design_neu_2 (2026-05-22):
   - Mobile hero variant (.zs-mflow) — vertical process flow
   - Scroll progress bar (.zs-scroll-progress)
   - Carousel dots for service-cards (mobile horizontal scroll)
   - Mobile nav redesigned as full overlay (toggle via .is-open class)
   ================================================================ */


/* ============================================================
   DIVI INTEGRATION OVERRIDES (TOP)
   ============================================================ */

body.zs-theme #main-header,
body.zs-theme #top-header,
body.zs-theme #main-footer,
body.zs-theme #et-main-area > #main-content + #footer-bottom,
body.zs-theme .et_pb_section_video_bg {
  display: none !important;
}

body.zs-theme {
  background: var(--zs-bg) !important;
  color: var(--zs-text);
  font-family: var(--zs-font-body);
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  overflow-x: hidden;
}
body.zs-theme #page-container { background: transparent !important; padding-top: 0 !important; }
html { background: var(--zs-bg) !important; }

body.zs-theme #et-boc,
body.zs-theme #page-container,
body.zs-theme #et-main-area,
body.zs-theme #main-content,
body.zs-theme .et_pb_section,
body.zs-theme .et_pb_row,
body.zs-theme .et_pb_column,
body.zs-theme .et_pb_code,
body.zs-theme .et_pb_code_inner {
  line-height: inherit;
}

body.zs-theme .et_pb_section {
  background-color: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.zs-theme .et_pb_row {
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.zs-theme .et_pb_column { padding: 0 !important; margin: 0 !important; }
body.zs-theme .et_pb_code,
body.zs-theme .et_pb_code .et_pb_code_inner { padding: 0; margin: 0; }

body.zs-theme .et_pb_section:has(.zs-section) > .et_pb_row,
body.zs-theme .et_pb_section:has(.zs-hero) > .et_pb_row,
body.zs-theme .et_pb_section:has(.zs-site-footer) > .et_pb_row {
  width: 100% !important;
  max-width: 100% !important;
}

body.zs-theme h1, body.zs-theme h2, body.zs-theme h3,
body.zs-theme h4, body.zs-theme h5, body.zs-theme h6 {
  font-family: var(--zs-font-display);
  color: var(--zs-text);
  font-weight: 500;
  line-height: 1.05;
}

body.zs-theme p {
  font-family: var(--zs-font-body);
  color: inherit;
  /* NICHT: line-height: inherit — das erbt den COMPUTED PX-Wert eines parents
     (z.B. Divi's 26px), nicht den unitless Faktor. Stattdessen erbt p
     stillschweigend den unitless Faktor von body, weil hier keine eigene
     line-height gesetzt ist. */
}

body.zs-theme ul, body.zs-theme ol { list-style: none; }

body.zs-theme .zs-nav li::before,
body.zs-theme .zs-nav li::marker,
body.zs-theme .zs-site-footer__nav li::before,
body.zs-theme .zs-site-footer__nav li::marker {
  display: none !important;
  content: none !important;
}

/* ============================================================
   ZEITGEIST STUDIOS — Warm Studio · Editorial Tech (LIGHT)
   ============================================================ */

:root {
  /* — Base palette — */
  --zs-bg:        #F3EEE0;
  --zs-bg-deep:   #ECE5D2;
  --zs-surface:   #FBF7EA;
  --zs-surface-2: #FFFFFF;
  --zs-text:      #14171D;
  --zs-muted:     #6E7280;
  --zs-muted-soft:#9A9DA5;

  /* — Editorial accent: terracotta — */
  --zs-accent:        #D97757;
  --zs-accent-deep:   #B85A38;
  --zs-accent-soft:   #F4C7AF;
  --zs-accent-warm:   #E89D6F;

  /* — Secondary accents — */
  --zs-blue:    #3D6FEC;
  --zs-violet:  #7C4DEF;
  --zs-lime:    #4F7A1F;

  --zs-border:        rgba(20, 23, 29, 0.10);
  --zs-border-strong: rgba(20, 23, 29, 0.20);

  /* — Type — */
  --zs-font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --zs-font-body:    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --zs-font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --zs-container: 1220px;
  --zs-radius-lg: 22px;
  --zs-radius-md: 16px;
  --zs-radius-sm: 10px;
  --zs-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--zs-bg);
  color: var(--zs-text);
  font-family: var(--zs-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "kern";
  overflow-x: hidden;
}

::selection { background: rgba(217, 119, 87, 0.25); color: var(--zs-text); }

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }

main { position: relative; z-index: 1; }

/* ============================================================
   ATMOSPHERIC BACKGROUND
   ============================================================ */
.zs-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.zs-atmosphere__wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.zs-atmosphere__wash--1 {
  top: -200px; left: -100px;
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, var(--zs-accent) 0%, transparent 60%);
  opacity: 0.16;
}
.zs-atmosphere__wash--2 {
  top: 25vh; right: -200px;
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, var(--zs-accent-warm) 0%, transparent 65%);
  opacity: 0.14;
}
.zs-atmosphere__wash--3 {
  top: 65vh; left: -150px;
  width: 750px; height: 500px;
  background: radial-gradient(ellipse at center, var(--zs-blue) 0%, transparent 70%);
  opacity: 0.06;
}
.zs-atmosphere__wash--4 {
  bottom: -200px; right: 5%;
  width: 700px; height: 550px;
  background: radial-gradient(ellipse at center, var(--zs-accent) 0%, transparent 70%);
  opacity: 0.10;
}
.zs-atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(rgba(20, 23, 29, 0.045) 1px, transparent 1px),
    radial-gradient(rgba(20, 23, 29, 0.030) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

/* ---------- Layout ---------- */
.zs-container {
  width: 100%;
  max-width: var(--zs-container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .zs-container { padding: 0 32px; } }
@media (min-width: 1024px) { .zs-container { padding: 0 48px; } }

.zs-section {
  padding: 88px 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .zs-section { padding: 128px 0; } }

.zs-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
}
@media (min-width: 1024px) { .zs-grid-12.zs-gap-lg { gap: 64px; } }
.zs-span-5, .zs-span-6, .zs-span-7 { grid-column: span 12; }
@media (min-width: 1024px) {
  .zs-span-5 { grid-column: span 5; }
  .zs-span-6 { grid-column: span 6; }
  .zs-span-7 { grid-column: span 7; }
}
.zs-section__head--end { align-items: end; }
.zs-section__intro { padding-top: 8px; }

.zs-spacer-top    { margin-top: 24px; }
.zs-spacer-top-sm { margin-top: 16px; }
.zs-spacer-top-lg { margin-top: 40px; }
.zs-spacer-top-xl { margin-top: 56px; }
@media (min-width: 1024px) { .zs-spacer-top-xl { margin-top: 72px; } }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.zs-display {
  font-family: var(--zs-font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--zs-text);
  margin: 0;
}
.zs-display--hero {
  font-size: clamp(44px, 8.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.zs-display--lg {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
}

/* GRADIENT ACCENT — no italic (fixes glyph clipping), with safe padding */
.zs-display__accent {
  background: linear-gradient(
    100deg,
    var(--zs-accent-deep) 0%,
    var(--zs-accent) 35%,
    var(--zs-accent-warm) 70%,
    var(--zs-accent) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 500;
  padding-right: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: zs-gradient-shift 14s ease-in-out infinite;
}
.zs-display--hero .zs-display__accent {
  filter: drop-shadow(0 6px 20px rgba(217, 119, 87, 0.20));
}

@keyframes zs-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Editorial chapter eyebrow */
.zs-chapter {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 28px;
}
.zs-chapter__num {
  font-family: var(--zs-font-display);
  font-size: clamp(34px, 3.6vw, 42px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--zs-text);
}
.zs-chapter__num::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--zs-accent);
  margin-left: 8px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.zs-chapter__label {
  font-family: var(--zs-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--zs-muted);
}
.zs-chapter--accent .zs-chapter__label { color: var(--zs-accent-deep); }

/* Small eyebrow */
.zs-eyebrow {
  font-family: var(--zs-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--zs-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

/* Big section watermark numerals */
.zs-section__watermark {
  position: absolute;
  font-family: var(--zs-font-display);
  font-size: clamp(180px, 24vw, 340px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--zs-text);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  top: 40px;
  left: -4%;
}
.zs-section__watermark--right { left: auto; right: -4%; }
@media (max-width: 1023px) {
  .zs-section__watermark { font-size: 200px; opacity: 0.035; top: 32px; }
}

.zs-lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--zs-muted);
  max-width: 620px;
  margin: 32px 0 0;
}
.zs-body-lg {
  font-size: 17px;
  line-height: 1.7;
  color: var(--zs-muted);
  max-width: 580px;
  margin: 0;
}
.zs-body-md {
  font-size: 16px;
  line-height: 1.7;
  color: var(--zs-muted);
  margin: 0;
  max-width: 560px;
}

.zs-accent-orange      { color: var(--zs-accent); font-weight: 500; }
.zs-accent-orange-bold { color: var(--zs-accent); font-weight: 600; }

/* ============================================================
   BUTTONS
   ============================================================ */
.zs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--zs-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1;
  transition: all 280ms var(--zs-ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.zs-btn--sm { padding: 10px 18px; font-size: 11.5px; }
.zs-btn__arrow { transition: transform 280ms var(--zs-ease-out); }
.zs-btn:hover .zs-btn__arrow { transform: translateX(3px); }

.zs-btn--primary {
  background: var(--zs-text);
  color: var(--zs-bg);
  box-shadow: 0 4px 16px -4px rgba(20, 23, 29, 0.25);
}
.zs-btn--primary:hover {
  background: #000;
  box-shadow: 0 8px 24px -6px rgba(20, 23, 29, 0.35);
  transform: translateY(-1px);
}

.zs-btn--accent {
  background: linear-gradient(135deg, var(--zs-accent-deep) 0%, var(--zs-accent) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px -6px rgba(217, 119, 87, 0.55);
}
.zs-btn--accent:hover {
  box-shadow: 0 10px 28px -6px rgba(217, 119, 87, 0.7);
  transform: translateY(-1px);
}

.zs-btn--ghost {
  background: rgba(255, 255, 255, 0.4);
  color: var(--zs-text);
  border-color: rgba(20, 23, 29, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.zs-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(20, 23, 29, 0.5);
}

/* ============================================================
   STATUS DOTS
   ============================================================ */
.zs-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.zs-dot--lime   { background: var(--zs-lime); animation: zs-pulse 2.4s ease-in-out infinite; }
.zs-dot--orange { background: var(--zs-accent); box-shadow: 0 0 12px rgba(217, 119, 87, 0.6); animation: zs-pulse 2.4s ease-in-out infinite; }
.zs-dot--blue   { background: var(--zs-blue); }

/* ============================================================
   GLASS SURFACES
   ============================================================ */
.zs-glass {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 1px 1px rgba(20, 23, 29, 0.04),
    0 10px 30px -12px rgba(20, 23, 29, 0.12);
}
.zs-glass--strong {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 1px 1px rgba(20, 23, 29, 0.04),
    0 24px 48px -20px rgba(20, 23, 29, 0.18);
}

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.zs-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 280ms ease, border-color 280ms ease, backdrop-filter 280ms ease;
}
.zs-site-header.is-scrolled {
  background: rgba(243, 238, 224, 0.72);
  border-bottom-color: var(--zs-border);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.zs-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 640px) { .zs-site-header__inner { height: 72px; } }

.zs-logo { display: inline-flex; align-items: center; gap: 12px; }
.zs-logo__mark { position: relative; width: 24px; height: 24px; display: inline-block; }
.zs-logo__mark-frame {
  position: absolute; inset: 0;
  border: 1px solid rgba(20, 23, 29, 0.45);
  border-radius: 6px;
}
.zs-logo__mark-fill {
  position: absolute;
  left: 4px; top: 4px; right: 10px; bottom: 10px;
  background: rgba(20, 23, 29, 0.85);
  border-radius: 2px;
  transition: background-color 220ms ease;
}
.zs-logo:hover .zs-logo__mark-fill { background: var(--zs-accent); }
.zs-logo__mark-dot {
  position: absolute;
  right: 4px; bottom: 4px;
  width: 6px; height: 6px;
  background: var(--zs-accent);
  border-radius: 50%;
}
.zs-logo__wordmark {
  font-family: var(--zs-font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.zs-logo__wordmark-light { color: var(--zs-muted); }

.zs-nav--desktop { display: none; align-items: center; gap: 36px; }
@media (min-width: 768px) { .zs-nav--desktop { display: flex; } }

.zs-nav__link {
  font-family: var(--zs-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zs-muted);
  transition: color 200ms ease;
  position: relative;
}
.zs-nav__link:hover { color: var(--zs-text); }
.zs-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--zs-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--zs-ease-out);
}
.zs-nav__link:hover::after { transform: scaleX(1); }

.zs-nav__cta { display: none; }
@media (min-width: 768px) { .zs-nav__cta { display: inline-flex; } }

.zs-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 14px;
}
@media (min-width: 768px) { .zs-nav-toggle { display: none; } }
.zs-nav-toggle__bar {
  display: block;
  height: 1px;
  background: var(--zs-text);
  transition: transform 240ms ease, opacity 240ms ease;
}
.zs-nav-toggle[aria-expanded="true"] .zs-nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.zs-nav-toggle[aria-expanded="true"] .zs-nav-toggle__bar:nth-child(2) { opacity: 0; }
.zs-nav-toggle[aria-expanded="true"] .zs-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu — full overlay below the header ----------
   State is driven by the .is-open class (not the [hidden] attribute,
   which CSS display would override). Closed by default via visibility. */
.zs-nav--mobile {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 32px;
  background: rgba(243, 238, 224, 0.98);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid var(--zs-border);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 0s linear 300ms;
}
@media (min-width: 640px) { .zs-nav--mobile { top: 72px; } }

.zs-nav--mobile.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease, visibility 0s;
}

/* Large, tappable link rows with a divider + arrow */
.zs-nav--mobile .zs-nav__link {
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--zs-text);
  padding: 20px 4px;
  border-bottom: 1px solid rgba(20, 23, 29, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 400ms ease,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1),
    color 200ms ease;
}
/* Override the desktop underline pseudo → becomes a right-side arrow */
.zs-nav--mobile .zs-nav__link::after {
  content: "→";
  position: static;
  left: auto; right: auto; bottom: auto;
  width: auto; height: auto;
  background: none;
  transform: none;
  color: var(--zs-accent);
  font-family: var(--zs-font-mono);
  font-size: 14px;
  opacity: 0.55;
}
.zs-nav--mobile .zs-nav__link:hover::after { transform: none; }

/* Staggered entrance once open */
.zs-nav--mobile.is-open .zs-nav__link { opacity: 1; transform: translateY(0); }
.zs-nav--mobile.is-open .zs-nav__link:nth-child(1) { transition-delay: 60ms; }
.zs-nav--mobile.is-open .zs-nav__link:nth-child(2) { transition-delay: 110ms; }
.zs-nav--mobile.is-open .zs-nav__link:nth-child(3) { transition-delay: 160ms; }
.zs-nav--mobile.is-open .zs-nav__link:nth-child(4) { transition-delay: 210ms; }

/* CTA: full-width, anchored after the links */
.zs-nav__mobile-cta {
  align-self: stretch;
  justify-content: center;
  width: 100%;
  margin-top: 28px;
  padding-top: 16px;
  padding-bottom: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 400ms ease,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.zs-nav--mobile.is-open .zs-nav__mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 280ms;
}

/* A quiet studio caption pinned to the bottom of the overlay */
.zs-nav--mobile__foot {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--zs-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--zs-muted);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 500ms ease;
}
.zs-nav--mobile.is-open .zs-nav--mobile__foot { opacity: 0.8; transition-delay: 360ms; }

@media (min-width: 768px) { .zs-nav--mobile { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .zs-nav--mobile,
  .zs-nav--mobile .zs-nav__link,
  .zs-nav__mobile-cta,
  .zs-nav--mobile__foot {
    transition: opacity 160ms ease !important;
    transform: none !important;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.zs-hero { padding: 64px 0 80px; }
@media (min-width: 1024px) { .zs-hero { padding: 128px 0 144px; } }

.zs-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .zs-hero__grid { gap: 72px; } }
.zs-hero__copy   { grid-column: span 12; }
.zs-hero__visual { grid-column: span 12; }
@media (min-width: 1024px) {
  .zs-hero__copy   { grid-column: span 7; }
  .zs-hero__visual { grid-column: span 5; }
}

.zs-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.zs-trust-line {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(20, 23, 29, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
}
.zs-trust-line__text {
  font-family: var(--zs-font-mono);
  font-size: 12px;
  color: var(--zs-muted);
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.02em;
}
.zs-trust-line__text strong { color: var(--zs-text); font-weight: 500; }

/* Hero visual */
.zs-hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  margin: 0 auto;
}
.zs-hero-visual__halo {
  position: absolute;
  inset: -8%;
  border-radius: 40%;
  background: radial-gradient(
    ellipse at 30% 40%,
    rgba(217, 119, 87, 0.35) 0%,
    rgba(232, 157, 111, 0.18) 30%,
    transparent 65%
  );
  filter: blur(40px);
  z-index: 0;
}
.zs-hero-visual__glass {
  position: relative;
  z-index: 1;
  border-radius: var(--zs-radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 30px 60px -25px rgba(20, 23, 29, 0.20);
}
.zs-hero-visual__glass svg { width: 100%; height: 100%; display: block; }

.zs-hero-visual__caption {
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--zs-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--zs-muted);
  margin: 0;
}

/* ---------- Hero visual variants: desktop SVG vs mobile flow ---------- */
.zs-hero-visual--mobile { display: none; }
@media (max-width: 767px) {
  .zs-hero-visual--desktop { display: none; }
  .zs-hero-visual--mobile {
    display: block;
    position: relative;
    aspect-ratio: auto;
    max-width: 440px;
    margin: 0 auto;
  }
}

/* The mobile live-process flow card */
.zs-mflow {
  position: relative;
  z-index: 1;
  border-radius: var(--zs-radius-lg);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 30px 60px -28px rgba(20, 23, 29, 0.22);
  padding: 16px 16px 18px;
}

.zs-mflow__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(20, 23, 29, 0.08);
  border-radius: 10px;
  padding: 10px 13px;
  font-family: var(--zs-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--zs-muted);
}
.zs-mflow__live { display: inline-flex; align-items: center; gap: 8px; }

.zs-mdot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.zs-mdot--live { background: var(--zs-lime); animation: zs-pulse 2.4s ease-in-out infinite; }
.zs-mdot--accent { background: var(--zs-accent); animation: zs-pulse 2.4s ease-in-out infinite; }

.zs-mflow__step {
  display: block;
  font-family: var(--zs-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--zs-muted);
  margin: 18px 2px 10px;
}

.zs-mflow__inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.zs-mchip {
  background: #fff;
  border: 1px solid rgba(20, 23, 29, 0.10);
  border-radius: 12px;
  padding: 13px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.zs-mchip__ico {
  width: 22px; height: 22px;
  color: var(--zs-text);
  display: grid;
  place-items: center;
}
.zs-mchip__ico svg { width: 100%; height: 100%; display: block; }
.zs-mchip__txt {
  font-family: var(--zs-font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--zs-text);
}

/* Animated connecting pipe (flowing dashes downward) */
.zs-mflow__pipe {
  width: 2px;
  height: 26px;
  margin: 9px auto;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--zs-accent) 0 50%, transparent 50% 100%);
  background-size: 100% 8px;
  animation: mflow-flow 0.9s linear infinite;
  position: relative;
}
.zs-mflow__pipe::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--zs-accent);
}
@keyframes mflow-flow { to { background-position: 0 8px; } }

.zs-mflow__logic {
  background: linear-gradient(180deg, #FFFFFF, #FAF6EC);
  border: 1px solid rgba(217, 119, 87, 0.45);
  border-radius: 14px;
  padding: 14px 14px 15px;
  box-shadow: 0 10px 24px -18px rgba(217, 119, 87, 0.5);
}
.zs-mflow__logic-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--zs-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zs-accent-deep);
}
.zs-mflow__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}
.zs-mflow__chips span {
  font-family: var(--zs-font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--zs-text);
  background: rgba(217, 119, 87, 0.09);
  border: 1px solid rgba(217, 119, 87, 0.20);
  padding: 5px 11px;
  border-radius: 999px;
}

.zs-mflow__result {
  background: linear-gradient(180deg, #FFFFFF, #FAF6EC);
  border: 1px solid rgba(20, 23, 29, 0.14);
  border-radius: 14px;
  padding: 13px 14px 14px;
}
.zs-mflow__result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--zs-font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--zs-lime);
  margin-bottom: 11px;
}
.zs-mflow__result-bar span:last-child { color: var(--zs-muted); }
.zs-mflow__rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.zs-mflow__rows > div {
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 10px;
  align-items: baseline;
}
.zs-mflow__rows dt {
  font-family: var(--zs-font-mono);
  font-size: 9.5px;
  color: var(--zs-muted);
  margin: 0;
}
.zs-mflow__rows dd {
  font-size: 12px;
  font-weight: 500;
  color: var(--zs-text);
  margin: 0;
}
.zs-mflow__hot { color: var(--zs-accent-deep) !important; font-weight: 700 !important; }

@media (prefers-reduced-motion: reduce) {
  .zs-mflow__pipe { animation: none; }
  .zs-mdot--live, .zs-mdot--accent { animation: none; }
}

/* ============================================================
   SCROLL REVEAL — Apple-style fade-up on scroll
   No visible dividers between sections. Content emerges from
   whitespace as it enters the viewport. Each direct child of
   .zs-section .zs-container reveals independently via IntersectionObserver,
   creating a natural cascade tied to scroll position — not an
   artificial choreography.
   ============================================================ */
.js .zs-section .zs-container > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js .zs-section .zs-container > *.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .zs-section .zs-container > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   CARDS (problem section)
   ============================================================ */
.zs-card-grid {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .zs-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .zs-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1024px) {
  .zs-card-grid--2, .zs-card-grid--3 { gap: 20px; }
}

.zs-card {
  position: relative;
  padding: 28px 28px 32px;
  border-radius: var(--zs-radius-md);
  transition: transform 400ms var(--zs-ease-out), box-shadow 400ms ease, border-color 400ms ease;
}
.zs-card.zs-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 119, 87, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 1px 1px rgba(20, 23, 29, 0.04),
    0 24px 48px -16px rgba(20, 23, 29, 0.18);
}
@media (min-width: 640px) { .zs-card { padding: 30px 30px 34px; } }
.zs-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--zs-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--zs-muted);
}
.zs-card__title {
  font-family: var(--zs-font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 32px 0 0;
  color: var(--zs-text);
  letter-spacing: -0.015em;
}
.zs-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--zs-muted);
  margin: 12px 0 0;
}
.zs-card__rule {
  margin-top: 28px;
  height: 1px;
  background: linear-gradient(to right, var(--zs-accent), rgba(217, 119, 87, 0.2), transparent);
}

/* ---------- Flip card (3D click-to-reveal) ---------- */
.zs-card--flip {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  perspective: 1400px;
  cursor: pointer;
  min-height: 240px;
  transition: transform 400ms var(--zs-ease-out);
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 1024px) { .zs-card--flip { min-height: 260px; } }

.zs-card--flip:hover { transform: translateY(-3px); }
.zs-card--flip:focus-visible {
  outline: none;
}
.zs-card--flip:focus-visible .zs-card__face {
  box-shadow:
    0 0 0 2px var(--zs-bg),
    0 0 0 4px var(--zs-accent);
}

.zs-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}
.zs-card--flip.is-flipped .zs-card__inner {
  transform: rotateY(180deg);
}

.zs-card__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 28px 28px 28px;
  border-radius: var(--zs-radius-md);
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
@media (min-width: 640px) { .zs-card__face { padding: 30px 30px 30px; } }

.zs-card__face--front {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 1px 1px rgba(20, 23, 29, 0.04),
    0 10px 30px -12px rgba(20, 23, 29, 0.12);
  transition: border-color 320ms ease, box-shadow 320ms ease;
}
.zs-card--flip:hover .zs-card__face--front {
  border-color: rgba(217, 119, 87, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 1px 1px rgba(20, 23, 29, 0.04),
    0 24px 48px -16px rgba(20, 23, 29, 0.18);
}

.zs-card__face--back {
  background: linear-gradient(
    135deg,
    var(--zs-accent-deep) 0%,
    var(--zs-accent) 55%,
    var(--zs-accent-warm) 100%
  );
  border: 1px solid var(--zs-accent-deep);
  transform: rotateY(180deg);
  justify-content: space-between;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.20) inset,
    0 1px 1px rgba(20, 23, 29, 0.04),
    0 16px 40px -14px rgba(184, 90, 56, 0.45);
}
/* Decorative inner glow on back */
.zs-card__face--back::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.zs-card__body-back {
  font-family: var(--zs-font-display);
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .zs-card__body-back { font-size: 20px; } }

/* Flip-hint affordances */
.zs-card__flip-hint {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--zs-font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--zs-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 320ms ease, transform 320ms ease;
  position: relative;
  z-index: 1;
}
.zs-card--flip:hover .zs-card__face--front .zs-card__flip-hint,
.zs-card--flip:focus-visible .zs-card__face--front .zs-card__flip-hint {
  opacity: 1;
  transform: translateX(0);
}
.zs-card__flip-hint--back {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.85;
  transform: none;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.zs-card__flip-hint--back svg {
  transform: rotate(180deg);
}

/* Inside the flip card, .zs-card__meta + .zs-card__title + .zs-card__rule reuse their base styles.
   .zs-card__title's default top margin still works inside the front face. */
.zs-card--flip .zs-card__title { margin: 28px 0 0; }
.zs-card--flip .zs-card__rule { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  .zs-card__inner { transition: none; }
  .zs-card--flip { transition: none; }
  .zs-card--flip:hover { transform: none; }
}

/* Service cards */
.zs-svc-card {
  position: relative;
  padding: 32px;
  border-radius: var(--zs-radius-md);
  overflow: hidden;
  transition: transform 400ms var(--zs-ease-out), box-shadow 400ms ease, border-color 400ms ease;
}
.zs-svc-card.zs-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 119, 87, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 1px 1px rgba(20, 23, 29, 0.04),
    0 24px 48px -16px rgba(20, 23, 29, 0.18);
}
.zs-svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(217, 119, 87, 0.10), transparent 50%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.zs-svc-card:hover::before { opacity: 1; }

.zs-svc-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.zs-svc-card__kicker {
  font-family: var(--zs-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--zs-muted);
  margin: 0;
}
.zs-svc-card__title {
  font-family: var(--zs-font-display);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 32px 0 0;
  max-width: 340px;
  color: var(--zs-text);
}
.zs-svc-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--zs-muted);
  margin: 18px 0 0;
  max-width: 420px;
  position: relative;
}

/* ============================================================
   CTA ROW — shared between hero, cases, and other sections
   ============================================================ */
.zs-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }


/* ============================================================
   CASE STUDY — Software + Web case studies in Arbeiten section
   Alternating layout: visual one side, content other
   ============================================================ */
.zs-case {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) {
  .zs-case {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
@media (min-width: 1280px) {
  .zs-case { gap: 104px; }
}

.zs-case + .zs-case {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid rgba(20, 23, 29, 0.08);
}
@media (min-width: 1024px) {
  .zs-case + .zs-case {
    margin-top: 128px;
    padding-top: 128px;
  }
}

/* Reverse layout on desktop: visual flips to opposite side */
.zs-case__visual { order: 1; }
.zs-case__content { order: 2; }
@media (min-width: 1024px) {
  .zs-case:not(.zs-case--reverse) .zs-case__visual { order: 2; }
  .zs-case:not(.zs-case--reverse) .zs-case__content { order: 1; }
  .zs-case--reverse .zs-case__visual { order: 1; }
  .zs-case--reverse .zs-case__content { order: 2; }
}

.zs-case__content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.zs-case__discipline {
  font-family: var(--zs-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--zs-accent-deep);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.zs-case__discipline::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--zs-accent);
}

.zs-case__title {
  font-family: var(--zs-font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 22px 0 0;
  color: var(--zs-text);
}

.zs-case__body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--zs-text);
  margin: 28px 0 0;
  max-width: 520px;
}

.zs-case__features {
  list-style: none;
  padding: 28px 0 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(20, 23, 29, 0.10);
  max-width: 520px;
}
.zs-case__features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--zs-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: var(--zs-muted);
}
.zs-case__features li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--zs-accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.zs-case__cta {
  margin-top: 36px;
}

.zs-case__visual {
  position: relative;
  z-index: 1;
}

/* La Trattoria + BestandsPilot — unified case image wrapper */
.zs-case-image {
  position: relative;
  margin: 0;
  padding: 0;
  transition: transform 500ms var(--zs-ease-out);
  will-change: transform;
}
.zs-case-image__halo {
  position: absolute;
  inset: -28px;
  border-radius: 40px;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(217, 119, 87, 0.32) 0%,
    rgba(232, 157, 111, 0.16) 35%,
    transparent 72%
  );
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
  transition: opacity 500ms ease, transform 700ms var(--zs-ease-out);
}
.zs-case-image__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(20, 23, 29, 0.04),
    0 12px 24px -10px rgba(20, 23, 29, 0.10),
    0 32px 48px -20px rgba(20, 23, 29, 0.18);
  transition: box-shadow 500ms ease, transform 500ms var(--zs-ease-out);
  will-change: transform;
}

/* Subtle floating hover — keeps the "schwebend" feeling alive in the browser */
.zs-case:hover .zs-case-image {
  transform: translateY(-6px);
}
.zs-case:hover .zs-case-image__photo {
  box-shadow:
    0 1px 2px rgba(20, 23, 29, 0.04),
    0 18px 36px -12px rgba(20, 23, 29, 0.14),
    0 48px 72px -24px rgba(20, 23, 29, 0.22);
}
.zs-case:hover .zs-case-image__halo {
  opacity: 1.15;
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .zs-case-image,
  .zs-case-image__photo,
  .zs-case-image__halo {
    transition: none;
  }
  .zs-case:hover .zs-case-image,
  .zs-case:hover .zs-case-image__halo {
    transform: none;
  }
}


/* ============================================================
   PROCESS SPREADS — Vorgehen as editorial story
   Five phases as alternating spreads with custom visualizations
   ============================================================ */
.zs-process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 72px;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .zs-process { gap: 120px; } }
@media (min-width: 1280px) { .zs-process { gap: 140px; } }

/* Vertical connecting dashed line through center (desktop only) */
@media (min-width: 1024px) {
  .zs-process::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 80px;
    bottom: 80px;
    width: 1px;
    background-image: linear-gradient(
      to bottom,
      transparent,
      rgba(217, 119, 87, 0.35) 8%,
      rgba(217, 119, 87, 0.35) 92%,
      transparent
    );
    transform: translateX(-0.5px);
    z-index: 0;
  }
}

.zs-process-spread {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .zs-process-spread {
    grid-template-columns: 1fr 1fr;
    gap: 88px;
  }
}
@media (min-width: 1280px) {
  .zs-process-spread { gap: 120px; }
}

/* Station dot on the connecting line — like a subway map */
@media (min-width: 1024px) {
  .zs-process-spread::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--zs-bg);
    border: 1.5px solid var(--zs-accent);
    z-index: 2;
    box-shadow: 0 0 0 6px var(--zs-bg), 0 0 0 7px rgba(217, 119, 87, 0.15);
  }
}

/* Alternating layout: odd → visual left / content right ; even → swapped */
.zs-process-spread__visual { order: 1; }
.zs-process-spread__content { order: 2; }

@media (min-width: 1024px) {
  .zs-process-spread:nth-child(even) .zs-process-spread__visual { order: 2; }
  .zs-process-spread:nth-child(even) .zs-process-spread__content { order: 1; }
}

.zs-process-spread__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zs-process-spread__visual svg {
  width: 100%;
  height: auto;
  max-width: 520px;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(20, 23, 29, 0.08));
}

.zs-process-spread__content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

/* Massive gradient number — typographic anchor in content */
.zs-process-spread__num {
  font-family: var(--zs-font-display);
  font-size: clamp(72px, 9.5vw, 132px);
  line-height: 0.82;
  font-weight: 500;
  letter-spacing: -0.05em;
  background: linear-gradient(
    135deg,
    var(--zs-accent-deep) 0%,
    var(--zs-accent) 50%,
    var(--zs-accent-warm) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
  padding-right: 0.05em;
  user-select: none;
  filter: drop-shadow(0 6px 20px rgba(217, 119, 87, 0.22));
}

.zs-process-spread__phase {
  font-family: var(--zs-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--zs-accent-deep);
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.zs-process-spread__phase::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--zs-accent);
}

.zs-process-spread__title {
  font-family: var(--zs-font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 14px 0 0;
  color: var(--zs-text);
}

.zs-process-spread__lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--zs-text);
  margin: 22px 0 0;
  max-width: 460px;
}

.zs-process-spread__details {
  list-style: none;
  padding: 26px 0 0;
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(20, 23, 29, 0.10);
  max-width: 460px;
}
.zs-process-spread__details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--zs-font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: var(--zs-muted);
}
.zs-process-spread__details li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--zs-accent);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.zs-contact-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zs-contact-meta li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--zs-font-mono);
  font-size: 12px;
  color: var(--zs-muted);
}

.zs-form-panel {
  border-radius: var(--zs-radius-md);
  padding: 28px;
  position: relative;
}
@media (min-width: 640px)  { .zs-form-panel { padding: 36px; } }
@media (min-width: 1024px) { .zs-form-panel { padding: 44px; } }

.zs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 640px) { .zs-form-grid { gap: 20px; } }

.zs-field { display: block; }
.zs-field--half { grid-column: span 2; }
@media (min-width: 640px) { .zs-field--half { grid-column: span 1; } }
.zs-field--full { grid-column: span 2; }

.zs-field__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--zs-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--zs-muted);
  margin-bottom: 8px;
}
.zs-field__req { color: var(--zs-accent); }

.zs-field input[type="text"],
.zs-field input[type="email"],
.zs-field input[type="tel"],
.zs-field select,
.zs-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(20, 23, 29, 0.18);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14.5px;
  font-family: var(--zs-font-body);
  color: var(--zs-text);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.zs-field textarea { resize: vertical; min-height: 130px; }
.zs-field input::placeholder,
.zs-field textarea::placeholder { color: rgba(20, 23, 29, 0.4); }
.zs-field input:focus,
.zs-field select:focus,
.zs-field textarea:focus {
  outline: none;
  border-color: var(--zs-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.12);
}

.zs-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--zs-muted) 50%),
    linear-gradient(135deg, var(--zs-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
  cursor: pointer;
}

.zs-field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.zs-field--check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--zs-accent);
  cursor: pointer;
}
.zs-field--check span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--zs-muted);
}
.zs-field--check a { color: var(--zs-text); text-decoration: underline; text-underline-offset: 3px; }

.zs-form-success { text-align: center; padding: 40px 20px; }
.zs-form-success__icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(217, 119, 87, 0.15);
  border: 1px solid rgba(217, 119, 87, 0.5);
}
.zs-form-success h3 {
  font-family: var(--zs-font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
}
.zs-form-success p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--zs-muted);
  margin: 12px auto 0;
  max-width: 420px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.zs-site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--zs-border);
  margin-top: 40px;
  padding: 56px 0;
}
.zs-site-footer__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) {
  .zs-site-footer__row { grid-template-columns: 1fr 1fr; align-items: start; }
}
.zs-site-footer__tag {
  margin: 16px 0 0;
  font-family: var(--zs-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--zs-muted);
}
.zs-site-footer__nav {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
@media (min-width: 640px) { .zs-site-footer__nav { justify-content: flex-end; } }
.zs-site-footer__nav a {
  font-family: var(--zs-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zs-muted);
  transition: color 200ms ease;
}
.zs-site-footer__nav a:hover { color: var(--zs-accent); }

.zs-site-footer__bottom {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(20, 23, 29, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--zs-font-mono);
  font-size: 11px;
  color: rgba(20, 23, 29, 0.5);
}

/* ============================================================
   MOBILE EXPERIENCE — creative enhancements for small screens
   Not just graceful degradation: a horizontal snap-carousel for
   services, a vertical timeline journey for the method, a scroll
   progress rail, and refined mobile rhythm.
   ============================================================ */

/* ---------- Scroll progress rail (all viewports; subtle) ---------- */
.zs-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.zs-scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(
    to right,
    var(--zs-accent-deep),
    var(--zs-accent) 55%,
    var(--zs-accent-warm)
  );
  box-shadow: 0 0 8px rgba(217, 119, 87, 0.45);
  transition: width 90ms linear;
}
@media (min-width: 1024px) {
  /* Slightly more present on mobile; whisper-thin on desktop */
  .zs-scroll-progress { height: 2px; opacity: 0.85; }
}

/* ---------- Carousel dots (injected by JS; mobile only) ---------- */
.zs-carousel-dots {
  display: none;
}
.zs-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(20, 23, 29, 0.18);
  transition: background 280ms ease, transform 280ms ease, width 280ms ease;
}
.zs-carousel-dot.is-active {
  background: var(--zs-accent);
  width: 22px;
  border-radius: 4px;
}

/* ============================================================
   PHONE — up to 767px
   ============================================================ */
@media (max-width: 767px) {

  /* --- Service cards → horizontal snap carousel --- */
  .zs-card-grid--2 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Bleed to the screen edges, then re-pad so cards align to container */
    margin-left: -24px;
    margin-right: -24px;
    padding: 4px 24px 4px;
    scroll-padding-left: 24px;
  }
  .zs-card-grid--2::-webkit-scrollbar { display: none; }

  .zs-card-grid--2 .zs-svc-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  /* Dots become visible + centered under the carousel */
  .zs-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
  }

  /* --- Flip cards: comfortable full-width tap targets --- */
  .zs-card-grid--3 {
    gap: 16px;
  }
  .zs-card--flip { min-height: 220px; }

  /* --- Hero: tighter rhythm, centered visual --- */
  .zs-hero { padding: 52px 0 64px; }
  .zs-hero__grid { gap: 40px; }
  .zs-hero-visual { max-width: 460px; margin: 0 auto; }
  .zs-display--hero { font-size: clamp(36px, 10.5vw, 52px); line-height: 1.0; }
  .zs-lead { font-size: 16.5px; margin-top: 26px; }
  .zs-hero__ctas { gap: 10px; }
  .zs-hero__ctas .zs-btn { width: 100%; justify-content: center; }

  /* --- Section rhythm + typographic punch --- */
  .zs-section { padding: 72px 0; }
  .zs-display--lg { font-size: clamp(27px, 8vw, 36px); }

  /* --- Watermark: bold off-screen bleed as a design accent --- */
  .zs-section__watermark {
    font-size: 168px;
    opacity: 0.05;
    top: 20px;
  }
  .zs-section__watermark { left: -8%; }
  .zs-section__watermark--right { left: auto; right: -8%; }

  /* --- Case studies: a touch more breathing room --- */
  .zs-case { gap: 36px; }
  .zs-case + .zs-case {
    margin-top: 64px;
    padding-top: 64px;
  }

  /* --- Contact form --- */
  .zs-form-panel { padding: 24px; }
}

/* ============================================================
   PHONE + TABLET — up to 1023px: Vorgehen vertical timeline
   Turns the stacked phases into a journey down a connecting rail.
   ============================================================ */
@media (max-width: 1023px) {
  /* CRITICAL: collapse the 12-col grids to a single column below desktop.
     Otherwise the 11 inter-column gaps (e.g. 11 × 48px) force the grid far
     wider than the viewport, pushing all content off-screen to the right.
     The spans must also reset to auto, or `span 12` would spawn 11 implicit
     columns and re-introduce the same overflow. */
  .zs-grid-12,
  .zs-hero__grid {
    grid-template-columns: 1fr;
  }
  .zs-grid-12 > *,
  .zs-hero__copy,
  .zs-hero__visual,
  .zs-span-5, .zs-span-6, .zs-span-7 {
    grid-column: auto;
  }

  .zs-process {
    padding-left: 30px;
    gap: 56px;
  }
  /* The journey line on the left */
  .zs-process::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(217, 119, 87, 0.40) 5%,
      rgba(217, 119, 87, 0.40) 95%,
      transparent 100%
    );
    z-index: 0;
  }

  /* On mobile: lead with the number/title, diagram follows */
  .zs-process-spread {
    gap: 24px;
  }
  .zs-process-spread__content { order: 1; }
  .zs-process-spread__visual  { order: 2; }

  /* Station marker per phase, sitting on the rail beside the number */
  .zs-process-spread::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--zs-bg);
    border: 2px solid var(--zs-accent);
    z-index: 2;
    box-shadow: 0 0 0 5px var(--zs-bg);
  }

  /* Number sits inline as the station anchor */
  .zs-process-spread__num {
    font-size: clamp(54px, 16vw, 84px);
    line-height: 0.85;
  }

  /* Diagram gets a subtle framed surface so it reads as an artifact */
  .zs-process-spread__visual {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--zs-radius-md);
    padding: 20px;
    box-shadow: 0 10px 30px -16px rgba(20, 23, 29, 0.18);
  }
  .zs-process-spread__visual svg { max-width: 420px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes zs-rise {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.zs-rise {
  opacity: 0;
  animation: zs-rise 800ms var(--zs-ease-out) both;
}
.zs-rise[data-delay="0"] { animation-delay: 60ms; }
.zs-rise[data-delay="1"] { animation-delay: 180ms; }
.zs-rise[data-delay="2"] { animation-delay: 320ms; }
.zs-rise[data-delay="3"] { animation-delay: 460ms; }
.zs-rise[data-delay="4"] { animation-delay: 600ms; }

@keyframes zs-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}
.zs-svg-pulse { animation: zs-pulse 2.4s ease-in-out infinite; }

@keyframes zs-dash {
  to { stroke-dashoffset: -24; }
}
.zs-svg-flow {
  stroke-dasharray: 4 6;
  animation: zs-dash 3.5s linear infinite;
}

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


/* ============================================================
   DIVI ENTRY-CONTENT SPECIFICITY BUMP
   ============================================================
   Divi sets p { padding-bottom: 1em } globally + .entry-content ul/li
   rules at spec 0,1,1. Our zs-* classes (0,1,0) lose. Re-set with
   body.zs-theme prefix (0,2,0) to win.
   ============================================================ */

body.zs-theme p { padding-bottom: 0; }
body.zs-theme dl, body.zs-theme dt, body.zs-theme dd { margin: 0; padding: 0; }

/* Process Spreads — line-height MUSS hier mit Spec 0,2,0 + !important,
   weil Divi's .entry-content p (0,1,1) sonst unsere 0.82 schlägt
   und das p auf 26px line-height fixiert (Zahlen werden geclippt). */
body.zs-theme .zs-process-spread__num {
  margin: 0;
  padding: 0 0.05em 0 0;
  line-height: 0.82 !important;
}
body.zs-theme .zs-process-spread__phase   { margin: 18px 0 0; }
body.zs-theme .zs-process-spread__title   { margin: 14px 0 0; line-height: 1.05; }
body.zs-theme .zs-process-spread__lead    { margin: 22px 0 0; line-height: 1.6; }
body.zs-theme .zs-process-spread__details {
  margin: 30px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(20, 23, 29, 0.10);
}

/* Display headings — gleiches Problem wenn als <h*> mit hero-clamp font-size */
body.zs-theme .zs-display--hero { line-height: 0.96 !important; }
body.zs-theme .zs-display--lg   { line-height: 1.1 !important; }
body.zs-theme .zs-display       { line-height: 1.05; }

/* Chapter-num (large character in section header) */
body.zs-theme .zs-chapter__num  { line-height: 0.9 !important; }

/* Case Studies */
body.zs-theme .zs-case__title    { margin: 22px 0 0; }
body.zs-theme .zs-case__body     { margin: 28px 0 0; }
body.zs-theme .zs-case__features {
  margin: 32px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(20, 23, 29, 0.10);
}
body.zs-theme .zs-case__cta { margin-top: 36px; }

/* Cards (Ausgangslage flip-cards) */
body.zs-theme .zs-card__title  { margin: 32px 0 0; }
body.zs-theme .zs-card__body   { margin: 12px 0 0; }
body.zs-theme .zs-card__rule   { margin-top: 28px; }
body.zs-theme .zs-card--flip .zs-card__title { margin: 28px 0 0; }
body.zs-theme .zs-card--flip .zs-card__rule  { margin-top: 24px; }
body.zs-theme .zs-card__body-back { margin: 0; color: #fff;}
body.zs-theme .zs-card__flip-hint { margin-top: auto; padding-top: 18px; }
body.zs-theme .zs-card__flip-hint--back {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* Service Cards */
body.zs-theme .zs-svc-card__title { margin: 32px 0 0; }
body.zs-theme .zs-svc-card__body  { margin: 18px 0 0; }

/* Chapter eyebrow + Hero spacing */
body.zs-theme .zs-chapter        { margin: 0 0 28px; }
body.zs-theme .zs-lead           { margin: 32px 0 0; }
body.zs-theme .zs-hero__ctas     { margin-top: 40px; }
body.zs-theme .zs-trust-line     {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(20, 23, 29, 0.15);
}
body.zs-theme .zs-contact-meta   { margin: 0; padding: 0; }
