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

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

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

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

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

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

  --container: 1220px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --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(--c-bg);
  color: var(--c-text);
  font-family: var(--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(--c-text); }

/* ---------- Scrollbar — beige track, terracotta gradient pill ---------- */
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--c-accent) var(--c-bg-deep);
}
/* WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-track {
  background: var(--c-bg-deep);
}
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  /* 3px inset border (same colour as track) makes the thumb read as a floating pill */
  border: 3px solid var(--c-bg-deep);
  background: linear-gradient(180deg, var(--c-accent-warm), var(--c-accent));
  transition: background 200ms ease;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent-deep));
}
::-webkit-scrollbar-corner { background: var(--c-bg-deep); }

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
   ============================================================ */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.atmosphere__wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

/* Cursor-following aurora — appears only on fine pointers (set via JS) */
.atmosphere__cursor {
  position: absolute;
  top: 0; left: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(217, 119, 87, 0.18) 0%,
    rgba(232, 157, 111, 0.08) 38%,
    transparent 70%);
  filter: blur(46px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  will-change: transform;
}
.atmosphere__cursor.is-active { opacity: 1; }
.atmosphere__wash--1 {
  top: -200px; left: -100px;
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, var(--c-accent) 0%, transparent 60%);
  opacity: 0.16;
}
.atmosphere__wash--2 {
  top: 25vh; right: -200px;
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, var(--c-accent-warm) 0%, transparent 65%);
  opacity: 0.14;
}
.atmosphere__wash--3 {
  top: 65vh; left: -150px;
  width: 750px; height: 500px;
  background: radial-gradient(ellipse at center, var(--c-blue) 0%, transparent 70%);
  opacity: 0.06;
}
.atmosphere__wash--4 {
  bottom: -200px; right: 5%;
  width: 700px; height: 550px;
  background: radial-gradient(ellipse at center, var(--c-accent) 0%, transparent 70%);
  opacity: 0.10;
}
.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 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

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

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

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

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

/* GRADIENT ACCENT — no italic (fixes glyph clipping), with safe padding */
.display__accent {
  background: linear-gradient(
    100deg,
    var(--c-accent-deep) 0%,
    var(--c-accent) 35%,
    var(--c-accent-warm) 70%,
    var(--c-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;
}
.display--hero .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 */
.chapter {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 28px;
}
.chapter__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 42px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-text);
}
.chapter__num::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-left: 8px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.chapter__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--c-muted);
}
.chapter--accent .chapter__label { color: var(--c-accent-deep); }

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

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

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

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

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

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

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

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

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

/* ============================================================
   GLASS SURFACES
   ============================================================ */
.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);
}
.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
   ============================================================ */
.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;
}
.site-header.is-scrolled {
  background: rgba(243, 238, 224, 0.72);
  border-bottom-color: var(--c-border);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
/* When the mobile menu is open, the header must read as part of the same
   opaque panel — otherwise the top strip stays transparent and the hero
   bleeds through behind the logo / close button. */
body.nav-open .site-header {
  background: #F3EEE0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 640px) { .site-header__inner { height: 72px; } }

.logo { display: inline-flex; align-items: center; }
.logo__img {
  height: 40px; width: auto; display: block;
  transition: opacity 220ms ease;
}
.logo:hover .logo__img { opacity: 0.82; }
.site-footer__brand .logo__img { height: 34px; }

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

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

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

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 14px;
  /* Keep the 24×14 visual, but expand the hit area to ~54×44 for reliable
     tapping on touch screens (bars stay centered via content-box padding). */
  box-sizing: content-box;
  padding: 15px 12px;
  margin: -15px -12px;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle__bar {
  display: block;
  height: 1px;
  background: var(--c-text);
  transition: transform 240ms ease, opacity 240ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .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. */
.nav--mobile {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: auto;
  /* Use the dynamic viewport unit so the panel never hides behind the mobile
     browser's collapsing toolbar; fall back to vh where dvh is unsupported. */
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 32px;
  /* Fully opaque so page content can never bleed through — backdrop-filter
     blur is unreliable on mobile (esp. iOS Safari + scrollable overflow),
     which left the menu see-through. A solid fill cannot fail. */
  background: #F3EEE0;
  border-top: 1px solid var(--c-border);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 0s linear 300ms;
}
@media (min-width: 640px) { .nav--mobile { top: 72px; height: calc(100vh - 72px); height: calc(100dvh - 72px); } }

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

/* Large, tappable link rows with a divider + arrow */
.nav--mobile .nav__link {
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--c-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 */
.nav--mobile .nav__link::after {
  content: "→";
  position: static;
  left: auto; right: auto; bottom: auto;
  width: auto; height: auto;
  background: none;
  transform: none;
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 14px;
  opacity: 0.55;
}
.nav--mobile .nav__link:hover::after { transform: none; }

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

/* CTA: full-width, anchored after the links */
.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);
}
.nav--mobile.is-open .nav__mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 280ms;
}

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

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

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

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

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

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

.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;
}
.trust-line__text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.02em;
}
.trust-line__text strong { color: var(--c-text); font-weight: 500; }

/* ---- Hero proof: "zuletzt gebaut" project chips ---- */
.hero__proof {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 23, 29, 0.15);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  max-width: 620px;
}
.hero__proof-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-muted-soft);
  white-space: nowrap;
}
.hero__proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px 9px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(20, 23, 29, 0.10);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), background 0.28s var(--ease-out);
}
.proof-chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(217, 119, 87, 0.45);
  box-shadow: 0 14px 28px -14px rgba(20, 23, 29, 0.32);
}
.proof-chip__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.proof-chip__dot--orange { background: var(--c-accent); box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.14); }
.proof-chip__dot--blue   { background: var(--c-blue);   box-shadow: 0 0 0 4px rgba(61, 111, 236, 0.14); }
.proof-chip__body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.proof-chip__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.proof-chip__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}
.proof-chip__arrow {
  color: var(--c-muted-soft);
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-out), color 0.28s var(--ease-out);
}
.proof-chip:hover .proof-chip__arrow {
  color: var(--c-accent-deep);
  transform: translate(2px, -2px);
}
@media (max-width: 1023px) {
  .hero__proof { margin-top: 40px; }
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  margin: 0 auto;
}
.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;
}
.hero-visual__glass {
  position: relative;
  z-index: 1;
  border-radius: var(--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);
}
.hero-visual__glass svg { width: 100%; height: 100%; display: block; }

/* Scanning sheen that sweeps across the live card */
.hero-visual__sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(112deg,
    transparent 36%,
    rgba(255, 255, 255, 0.55) 47%,
    rgba(255, 255, 255, 0) 60%);
  transform: translateX(-130%);
  mix-blend-mode: screen;
}

/* Floating UI fragments around the card — glass pills */
.hv-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 32px -18px rgba(20, 23, 29, 0.4);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--c-text);
  white-space: nowrap;
}
.hv-float .mdot { width: 7px; height: 7px; }
.hv-float--alert { top: -3%; right: 3%; }
.hv-float--tag   { bottom: 9%; left: -8%; border-radius: 13px; }
.hv-float__arrow { color: var(--c-accent); }

/* Push the visual to the right + give it more presence on large screens */
@media (min-width: 1024px) {
  .hero-visual--desktop {
    max-width: 560px;
    margin-left: auto;
    margin-right: 0;
  }
}

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

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

/* The mobile live-process flow card */
.mflow {
  position: relative;
  z-index: 1;
  border-radius: var(--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;
}

.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(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.mflow__live { display: inline-flex; align-items: center; gap: 8px; }

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

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

.mflow__inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.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;
}
.mchip__ico {
  width: 22px; height: 22px;
  color: var(--c-text);
  display: grid;
  place-items: center;
}
.mchip__ico svg { width: 100%; height: 100%; display: block; }
.mchip__txt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

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

.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);
}
.mflow__logic-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
}
.mflow__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}
.mflow__chips span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--c-text);
  background: rgba(217, 119, 87, 0.09);
  border: 1px solid rgba(217, 119, 87, 0.20);
  padding: 5px 11px;
  border-radius: 999px;
}

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

@media (prefers-reduced-motion: reduce) {
  .mflow__pipe { animation: none; }
  .mdot--live, .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
   .section .container reveals independently via IntersectionObserver,
   creating a natural cascade tied to scroll position — not an
   artificial choreography.
   ============================================================ */
.js .section .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 .section .container > *.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

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

.card {
  position: relative;
  padding: 28px 28px 32px;
  border-radius: var(--radius-md);
  transition: transform 400ms var(--ease-out), box-shadow 400ms ease, border-color 400ms ease;
}
.card.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) { .card { padding: 30px 30px 34px; } }
.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-muted);
}
.card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 32px 0 0;
  color: var(--c-text);
  letter-spacing: -0.015em;
}
.card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 12px 0 0;
}
.card__rule {
  margin-top: 28px;
  height: 1px;
  background: linear-gradient(to right, var(--c-accent), rgba(217, 119, 87, 0.2), transparent);
}

/* ---------- Flip card (3D click-to-reveal) ---------- */
.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(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 1024px) { .card--flip { min-height: 260px; } }

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

.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);
}
.card--flip.is-flipped .card__inner {
  transform: rotateY(180deg);
}

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

.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;
}
.card--flip:hover .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);
}

.card__face--back {
  background: linear-gradient(
    135deg,
    var(--c-accent-deep) 0%,
    var(--c-accent) 55%,
    var(--c-accent-warm) 100%
  );
  border: 1px solid var(--c-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 */
.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;
}

.card__body-back {
  font-family: var(--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) { .card__body-back { font-size: 20px; } }

/* Flip-hint affordances */
.card__flip-hint {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 320ms ease, transform 320ms ease;
  position: relative;
  z-index: 1;
}
.card--flip:hover .card__face--front .card__flip-hint,
.card--flip:focus-visible .card__face--front .card__flip-hint {
  opacity: 1;
  transform: translateX(0);
}
.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);
}
.card__flip-hint--back svg {
  transform: rotate(180deg);
}

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

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

/* Service cards */
.service-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 400ms var(--ease-out), box-shadow 400ms ease, border-color 400ms ease;
}
.service-card.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);
}
.service-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;
}
.service-card:hover::before { opacity: 1; }

.service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.service-card__kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--c-muted);
  margin: 0;
}
.service-card__title {
  font-family: var(--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(--c-text);
}
.service-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 18px 0 0;
  max-width: 420px;
  position: relative;
}

/* ============================================================
   CTA ROW — shared between hero, cases, and other sections
   ============================================================ */
.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
   ============================================================ */
.case-study {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) {
  .case-study {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
@media (min-width: 1280px) {
  .case-study { gap: 104px; }
}

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

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

.case-study__content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

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

.case-study__title {
  font-family: var(--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(--c-text);
}

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

.case-study__features {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(20, 23, 29, 0.10);
  max-width: 520px;
}
.case-study__features li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 12px 14px 6px;
  border-bottom: 1px solid rgba(20, 23, 29, 0.08);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  line-height: 1.55;
  color: var(--c-muted);
  border-radius: 8px;
  transition: color 0.32s var(--ease-out), padding-left 0.32s var(--ease-out), background 0.32s var(--ease-out);
}
.case-study__features li::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--c-accent);
  margin-top: 5px;
  flex-shrink: 0;
  transition: background 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}
.case-study__features li:hover {
  color: var(--c-text);
  padding-left: 14px;
  background: rgba(217, 119, 87, 0.05);
}
.case-study__features li:hover::before {
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.14);
}

.case-study__cta {
  margin-top: 36px;
}

.case-study__visual {
  position: relative;
  z-index: 1;
}

/* La Trattoria + BestandsPilot — unified case image wrapper */
.case-image {
  position: relative;
  margin: 0;
  padding: 0;
  transition: transform 500ms var(--ease-out);
  will-change: transform;
}
/* Skeleton placeholder — a soft tinted frame so the space reads as a
   considered element while the photo decodes, instead of empty white.
   Only shown when JS can swap it out on load (no-JS keeps it clean). */
.case-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(243, 238, 224, 0.65)),
    #F3EEE0;
  box-shadow: inset 0 0 0 1px rgba(20, 23, 29, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}
html.js .case-image:not(.is-loaded)::before {
  opacity: 1;
}
/* Gentle shimmer sweep across the skeleton while loading */
.case-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  background-size: 220% 100%;
}
html.js .case-image:not(.is-loaded)::after {
  opacity: 1;
  animation: case-image-shimmer 1.5s ease-in-out infinite;
}
@keyframes case-image-shimmer {
  from { background-position: 130% 0; }
  to   { background-position: -130% 0; }
}
.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(--ease-out);
}
.case-image__photo {
  position: relative;
  z-index: 3;
  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(--ease-out), opacity 600ms ease;
  will-change: transform;
}
/* Fade + settle the photo in once it has actually decoded */
html.js .case-image__photo {
  opacity: 0;
  transform: scale(1.012);
}
html.js .case-image.is-loaded .case-image__photo {
  opacity: 1;
  transform: none;
}

/* Subtle floating hover — keeps the "schwebend" feeling alive in the browser */
.case-study:hover .case-image {
  transform: translateY(-6px);
}
.case-study:hover .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);
}
.case-study:hover .case-image__halo {
  opacity: 1.15;
  transform: scale(1.06);
}

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


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

/* Vertical connecting dashed line through center (desktop only) */
@media (min-width: 1024px) {
  .process-spreads::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;
  }
}

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

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

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

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

.process-spread__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.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));
}

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

/* Massive gradient number — typographic anchor in content */
.process-spread__num {
  font-family: var(--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(--c-accent-deep) 0%,
    var(--c-accent) 50%,
    var(--c-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));
}

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

.process-spread__title {
  font-family: var(--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(--c-text);
}

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

.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;
}
.process-spread__details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: var(--c-muted);
}
.process-spread__details li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ============================================================
   PHASE SLIDER — Vorgehen as an interactive, animated stage
   ============================================================ */
.phase-slider { position: relative; z-index: 1; }

/* ---------- Stepper / navigator ---------- */
.phase-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding-top: 6px;
}
.phase-nav__track {
  position: absolute;
  top: 28px;
  left: 10%; right: 10%;
  height: 2px;
  background: rgba(20, 23, 29, 0.12);
  border-radius: 2px;
  z-index: 0;
  transform: translateY(-1px);
}
.phase-nav__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--c-accent-deep), var(--c-accent-warm));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(217, 119, 87, 0.45);
  transition: width 0.5s var(--ease-out);
}
.phase-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 0 2px;
  text-align: center;
  color: inherit;
}
.phase-step__node {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-bg);
  border: 1.5px solid rgba(20, 23, 29, 0.16);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.phase-step__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-muted);
  transition: color 0.4s var(--ease-out);
}
.phase-step__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-muted-soft);
  transition: color 0.4s var(--ease-out);
}
/* Done (past) steps — filled, calm */
.phase-step.is-done .phase-step__node {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.phase-step.is-done .phase-step__num { color: #fff; }
.phase-step.is-done .phase-step__label { color: var(--c-muted); }
/* Active step — accent ring, lifted, glowing */
.phase-step.is-active .phase-step__node {
  background: linear-gradient(150deg, var(--c-accent-deep), var(--c-accent));
  border-color: var(--c-accent);
  transform: scale(1.14);
  box-shadow: 0 0 0 5px rgba(217, 119, 87, 0.16), 0 12px 26px -10px rgba(217, 119, 87, 0.6);
}
.phase-step.is-active .phase-step__num { color: #fff; }
.phase-step.is-active .phase-step__label { color: var(--c-accent-deep); }
.phase-step:hover .phase-step__node { border-color: var(--c-accent); transform: scale(1.07); }
.phase-step.is-active:hover .phase-step__node { transform: scale(1.14); }
.phase-step:focus-visible { outline: none; }
.phase-step:focus-visible .phase-step__node { box-shadow: 0 0 0 4px rgba(61, 111, 236, 0.35); }

/* ---------- Stage: stacked slides ---------- */
.phase-stage {
  list-style: none;
  padding: 0;
  margin-top: 48px;
  display: grid;
  position: relative;
}
@media (min-width: 1024px) { .phase-stage { margin-top: 64px; } }

.phase-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
@media (min-width: 1024px) {
  .phase-slide {
    grid-template-columns: 1.04fr 0.96fr;
    gap: clamp(56px, 6vw, 96px);
  }
}
.phase-slide.is-active {
  position: relative;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Visual → elevated glass canvas */
.phase-slide .process-spread__visual {
  position: relative;
  padding: clamp(18px, 2.6vw, 38px);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.66), rgba(251, 247, 234, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 44px 90px -45px rgba(20, 23, 29, 0.32);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  overflow: hidden;
}
.phase-slide .process-spread__visual::before {
  content: "";
  position: absolute;
  inset: -18% -10% auto -10%;
  height: 75%;
  background: radial-gradient(ellipse at 32% 0%, rgba(217, 119, 87, 0.26), transparent 70%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}
.phase-slide .process-spread__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.5) 48%, transparent 60%);
  transform: translateX(-140%);
  mix-blend-mode: screen;
}
.phase-slide .process-spread__visual svg {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

/* ---------- Entrance choreography (retriggers on every activation) ---------- */
@keyframes phase-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phase-pop  { from { opacity: 0; transform: translateY(22px) scale(0.965); } to { opacity: 1; transform: none; } }
@keyframes phase-sheen { from { transform: translateX(-140%); } to { transform: translateX(140%); } }
@keyframes phase-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (prefers-reduced-motion: no-preference) {
  .phase-slide.is-active .process-spread__visual { animation: phase-pop 0.85s var(--ease-out) both; }
  .phase-slide.is-active .process-spread__visual::after { animation: phase-sheen 1.5s var(--ease-out) 0.55s; }
  .phase-slide.is-active .process-spread__visual svg { animation: phase-float 7.5s ease-in-out 1.1s infinite; }
  .phase-slide.is-active .process-spread__num    { animation: phase-rise 0.7s var(--ease-out) both 0.05s; }
  .phase-slide.is-active .process-spread__phase  { animation: phase-rise 0.7s var(--ease-out) both 0.13s; }
  .phase-slide.is-active .process-spread__title  { animation: phase-rise 0.7s var(--ease-out) both 0.19s; }
  .phase-slide.is-active .process-spread__lead   { animation: phase-rise 0.7s var(--ease-out) both 0.27s; }
  .phase-slide.is-active .process-spread__details{ animation: phase-rise 0.7s var(--ease-out) both 0.35s; }
}

/* ---------- Controls ---------- */
.phase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: clamp(38px, 5vw, 60px);
}
.phase-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(20, 23, 29, 0.14);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: var(--c-text);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.phase-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 119, 87, 0.5);
  color: var(--c-accent-deep);
  box-shadow: 0 12px 24px -12px rgba(20, 23, 29, 0.3);
}
.phase-arrow:active { transform: translateY(0); }
.phase-arrow:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(61, 111, 236, 0.35); }
.phase-playbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 4px;
}
.phase-play {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(20, 23, 29, 0.16);
  display: grid;
  place-items: center;
  color: var(--c-text);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.phase-play:hover { border-color: var(--c-accent); color: var(--c-accent-deep); }
.phase-play:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(61, 111, 236, 0.35); }
.phase-play__icon { position: relative; width: 11px; height: 11px; }
/* Pause glyph (while playing) */
.phase-play.is-playing .phase-play__icon::before,
.phase-play.is-playing .phase-play__icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px; height: 11px;
  background: currentColor;
  border-radius: 1px;
}
.phase-play.is-playing .phase-play__icon::before { left: 1px; }
.phase-play.is-playing .phase-play__icon::after { right: 1px; }
/* Play glyph (while paused) */
.phase-play:not(.is-playing) .phase-play__icon::before {
  content: "";
  position: absolute;
  left: 2px; top: 0;
  border-left: 10px solid currentColor;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
}
.phase-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  min-width: 58px;
  text-align: center;
}
.phase-counter b { color: var(--c-accent-deep); font-weight: 500; }
.phase-counter__sep { margin: 0 5px; opacity: 0.45; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .phase-nav { gap: 4px; }
  .phase-nav__track { top: 22px; left: 14%; right: 14%; }
  .phase-step__node { width: 38px; height: 38px; }
  .phase-step__num { font-size: 13px; }
  .phase-step__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .phase-slide { transition: none; }
  .phase-nav__fill { transition: none; }
  .phase-slide .process-spread__visual::after { display: none; }
}

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

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

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

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

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

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.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(--font-body);
  color: var(--c-text);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(20, 23, 29, 0.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.12);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-muted) 50%),
    linear-gradient(135deg, var(--c-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;
}

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

.form-success { text-align: center; padding: 40px 20px; }
.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);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
}
.form-success p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 12px auto 0;
  max-width: 420px;
}

/* ============================================================
   CONVERSATIONAL MULTI-STEP FORM (qf)
   ============================================================ */
.qf { position: relative; overflow: hidden; }
.qf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qf legend { padding: 0; display: block; }

/* ---- Progress header ---- */
.qf__head { margin-bottom: 28px; }
.qf__steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.qf__dot {
  flex: 1;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(20, 23, 29, 0.14);
  background: rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-muted-soft);
  transition: all 0.35s var(--ease-out);
}
.qf__dot span { transform: translateY(0.5px); }
.qf__dot.is-done {
  background: rgba(217, 119, 87, 0.12);
  border-color: rgba(217, 119, 87, 0.4);
  color: var(--c-accent-deep);
}
.qf__dot.is-active {
  background: linear-gradient(150deg, var(--c-accent-deep), var(--c-accent));
  border-color: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(217, 119, 87, 0.6);
  flex: 1.5;
}
.qf__dot:not(.is-active):not(.is-done):hover { border-color: var(--c-accent); color: var(--c-accent-deep); }
.qf__dot:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(61, 111, 236, 0.35); }
.qf__progress {
  height: 3px;
  border-radius: 3px;
  background: rgba(20, 23, 29, 0.10);
  overflow: hidden;
}
.qf__progress-fill {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-accent-deep), var(--c-accent-warm));
  box-shadow: 0 0 12px rgba(217, 119, 87, 0.5);
  transition: width 0.5s var(--ease-out);
}
.qf__count {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.qf__count b { color: var(--c-accent-deep); font-weight: 500; }
.qf__count-sep { margin: 0 4px; opacity: 0.45; }
.qf__count-dot { margin: 0 7px; opacity: 0.4; }

/* ---- Step viewport (height-morphing crossfade) ---- */
.qf__viewport { position: relative; overflow: hidden; transition: height 0.45s var(--ease-out); }
.qf__step {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-out);
}
.qf__step.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 1;
}
.qf__step.is-leaving { transform: translateX(-26px); }

.qf__q {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--c-text);
}
.qf__hint {
  margin: 9px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--c-muted);
  max-width: 42ch;
}

/* ---- Topic option cards ---- */
.qf__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.qopt--wide { grid-column: span 2; }
.qopt { display: block; cursor: pointer; }
.qopt input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.qopt__box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(20, 23, 29, 0.12);
  transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out),
              background 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
  height: 100%;
}
.qopt:hover .qopt__box {
  transform: translateY(-2px);
  border-color: rgba(217, 119, 87, 0.4);
  box-shadow: 0 14px 28px -16px rgba(20, 23, 29, 0.3);
}
.qopt__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(20, 23, 29, 0.05);
  color: var(--c-muted);
  transition: background 0.28s var(--ease-out), color 0.28s var(--ease-out), transform 0.4s var(--ease-out);
}
.qopt__icon svg { width: 22px; height: 22px; }
.qopt__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qopt__text b {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.qopt__text small {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--c-muted);
}
.qopt__check {
  flex-shrink: 0;
  margin-left: auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 23, 29, 0.2);
  display: grid;
  place-items: center;
  color: #fff;
  transition: all 0.3s var(--ease-out);
}
.qopt__check svg { width: 14px; height: 14px; opacity: 0; transform: scale(0.5); transition: all 0.3s var(--ease-out); }
/* Selected state */
.qopt input:checked + .qopt__box {
  border-color: var(--c-accent);
  background: linear-gradient(150deg, rgba(217, 119, 87, 0.12), rgba(232, 157, 111, 0.06));
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.14), 0 16px 30px -16px rgba(217, 119, 87, 0.4);
}
.qopt input:checked + .qopt__box .qopt__icon {
  background: linear-gradient(150deg, var(--c-accent-deep), var(--c-accent));
  color: #fff;
  transform: rotate(-4deg) scale(1.04);
}
.qopt input:checked + .qopt__box .qopt__check {
  border-color: var(--c-accent);
  background: var(--c-accent);
}
.qopt input:checked + .qopt__box .qopt__check svg { opacity: 1; transform: scale(1); }
.qopt input:focus-visible + .qopt__box { box-shadow: 0 0 0 4px rgba(61, 111, 236, 0.35); }

/* ---- Textarea step ---- */
.qf__textwrap { position: relative; margin-top: 22px; }
.qf__textwrap textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 23, 29, 0.16);
  border-radius: 14px;
  padding: 16px 16px 30px;
  font-size: 15px;
  line-height: 1.55;
  font-family: var(--font-body);
  color: var(--c-text);
  resize: vertical;
  min-height: 150px;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.qf__textwrap textarea::placeholder { color: rgba(20, 23, 29, 0.38); }
.qf__textwrap textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.12);
}
.qf__charcount {
  position: absolute;
  right: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--c-muted-soft);
  pointer-events: none;
}
.qf__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qchip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--c-muted);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px dashed rgba(20, 23, 29, 0.22);
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.25s var(--ease-out);
}
.qchip::before { content: "+ "; color: var(--c-accent); }
.qchip:hover {
  border-style: solid;
  border-color: var(--c-accent);
  color: var(--c-accent-deep);
  transform: translateY(-1px);
}

/* ---- Floating-label contact grid ---- */
.qf__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.ffield { position: relative; }
.ffield input {
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 23, 29, 0.16);
  border-radius: 12px;
  padding: 23px 14px 9px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--c-text);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.ffield input:focus { outline: none; border-color: var(--c-accent); background: #fff; box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.12); }
.ffield__label {
  position: absolute;
  left: 15px; top: 15px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--c-muted);
  pointer-events: none;
  transform-origin: left center;
  transition: all 0.2s var(--ease-out);
}
.ffield input:focus + .ffield__label,
.ffield input:not(:placeholder-shown) + .ffield__label {
  top: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
}
.ffield__line {
  position: absolute;
  left: 12px; right: 12px; bottom: 7px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out);
}
.ffield input:focus ~ .ffield__line { transform: scaleX(1); }
.ffield.is-invalid input { border-color: #B8402E; box-shadow: 0 0 0 4px rgba(184, 64, 46, 0.1); }

/* ---- Recap + consent (step 4) ---- */
.qf__recap {
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(20, 23, 29, 0.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.32);
}
.qf__recap > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(20, 23, 29, 0.07);
}
.qf__recap > div:last-child { border-bottom: 0; }
.qf__recap dt {
  flex-shrink: 0;
  width: 84px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-muted);
}
.qf__recap dd {
  margin: 0;
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.45;
  word-break: break-word;
}
.qf__recap dd.is-empty { color: var(--c-muted-soft); font-style: italic; }

.qf__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  margin-top: 20px;
  cursor: pointer;
}
.qf__consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qf__consent-box {
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(20, 23, 29, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  margin-top: 1px;
  transition: all 0.25s var(--ease-out);
}
.qf__consent-box svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.5); transition: all 0.25s var(--ease-out); }
.qf__consent input:checked + .qf__consent-box {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.qf__consent input:checked + .qf__consent-box svg { opacity: 1; transform: scale(1); }
.qf__consent input:focus-visible + .qf__consent-box { box-shadow: 0 0 0 4px rgba(61, 111, 236, 0.35); }
.qf__consent-text { font-size: 13px; line-height: 1.55; color: var(--c-muted); }
.qf__consent-text a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }
.qf__consent.is-invalid .qf__consent-box { border-color: #B8402E; box-shadow: 0 0 0 4px rgba(184, 64, 46, 0.1); }

/* ---- Navigation ---- */
.qf__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.qf__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-muted);
  padding: 10px 6px;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.qf__back:hover { color: var(--c-text); transform: translateX(-2px); }
.qf__back:disabled { opacity: 0; pointer-events: none; }
.qf__next, .qf__submit { margin-left: auto; }
/* .btn sets display:inline-flex, which overrides the UA [hidden] rule —
   restore it so the step navigation can actually hide Weiter / Absenden. */
.btn[hidden] { display: none !important; }
.qf__submit { animation: qf-submit-in 0.4s var(--ease-out) both; }
@keyframes qf-submit-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.qf__submit.is-sending { pointer-events: none; opacity: 0.85; }

/* ---- Submit error ---- */
.qf__error {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(184, 90, 56, 0.08);
  border: 1px solid rgba(184, 90, 56, 0.30);
  color: var(--c-accent-deep);
  font-size: 14px;
  line-height: 1.5;
}
.qf__error[hidden] { display: none; }
.qf__error a { color: var(--c-accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* shake for invalid */
@keyframes qf-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
.qf-shake { animation: qf-shake 0.4s ease; }

/* ---- Success ---- */
.qf__success { position: relative; padding: 48px 20px 40px; }
.form-success__icon svg #qf-check-path,
.form-success__icon svg path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}
.qf__success.is-shown .form-success__icon svg path { animation: qf-draw 0.6s var(--ease-out) 0.25s forwards; }
@keyframes qf-draw { to { stroke-dashoffset: 0; } }
.qf__success .form-success__icon {
  width: 60px; height: 60px;
  animation: qf-pop 0.5s var(--ease-out) both;
}
@keyframes qf-pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qf__restart {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-accent-deep);
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 87, 0.4);
  transition: all 0.25s var(--ease-out);
}
.qf__restart:hover { background: rgba(217, 119, 87, 0.1); transform: translateY(-1px); }

/* confetti burst */
.qf__confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.qf__confetti i {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 8px; height: 8px;
  border-radius: 2px;
  opacity: 0;
}
.qf__success.is-shown .qf__confetti i { animation: qf-confetti 1.1s var(--ease-out) forwards; }
.qf__confetti i:nth-child(1)  { background: var(--c-accent);      transform: rotate(20deg);  --tx: -160px; --ty: -90px;  animation-delay: 0.2s; }
.qf__confetti i:nth-child(2)  { background: var(--c-accent-warm); transform: rotate(-15deg); --tx: 150px;  --ty: -70px;  animation-delay: 0.24s; }
.qf__confetti i:nth-child(3)  { background: var(--c-lime);        transform: rotate(40deg);  --tx: -120px; --ty: -130px; animation-delay: 0.28s; border-radius:50%; }
.qf__confetti i:nth-child(4)  { background: var(--c-accent-deep); transform: rotate(10deg);  --tx: 120px;  --ty: -120px; animation-delay: 0.22s; }
.qf__confetti i:nth-child(5)  { background: var(--c-blue);        transform: rotate(-30deg); --tx: -200px; --ty: -40px;  animation-delay: 0.3s; border-radius:50%; }
.qf__confetti i:nth-child(6)  { background: var(--c-accent);      transform: rotate(25deg);  --tx: 200px;  --ty: -30px;  animation-delay: 0.26s; }
.qf__confetti i:nth-child(7)  { background: var(--c-accent-warm); transform: rotate(-20deg); --tx: -70px;  --ty: -150px; animation-delay: 0.34s; }
.qf__confetti i:nth-child(8)  { background: var(--c-accent);      transform: rotate(15deg);  --tx: 70px;   --ty: -150px; animation-delay: 0.32s; border-radius:50%; }
.qf__confetti i:nth-child(9)  { background: var(--c-lime);        transform: rotate(-40deg); --tx: -240px; --ty: 10px;   animation-delay: 0.36s; }
.qf__confetti i:nth-child(10) { background: var(--c-accent-deep); transform: rotate(30deg);  --tx: 240px;  --ty: 20px;   animation-delay: 0.38s; }
.qf__confetti i:nth-child(11) { background: var(--c-accent);      transform: rotate(-10deg); --tx: -30px;  --ty: -170px; animation-delay: 0.4s; border-radius:50%; }
.qf__confetti i:nth-child(12) { background: var(--c-accent-warm); transform: rotate(20deg);  --tx: 30px;   --ty: -170px; animation-delay: 0.42s; }
@keyframes qf-confetti {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.4); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx), calc(var(--ty) + 220px)) rotate(260deg) scale(1); }
}

@media (max-width: 560px) {
  .qf__options { grid-template-columns: 1fr; }
  .qopt--wide { grid-column: span 1; }
  .qf__grid { grid-template-columns: 1fr; }
  .qf__dot.is-active { flex: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  .qf__viewport, .qf__step, .qf__progress-fill { transition: none; }
  .qf__confetti i { display: none; }
  .qf__success.is-shown .form-success__icon svg path { animation: none; stroke-dashoffset: 0; }
}

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

.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(--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) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(
    to right,
    var(--c-accent-deep),
    var(--c-accent) 55%,
    var(--c-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 */
  .scroll-progress { height: 2px; opacity: 0.85; }
}

/* ---------- Carousel dots (injected by JS; mobile only) ---------- */
.carousel-dots {
  display: none;
}
.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;
}
.carousel-dot.is-active {
  background: var(--c-accent);
  width: 22px;
  border-radius: 4px;
}

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

  /* --- Service cards → horizontal snap carousel --- */
  .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;
  }
  .card-grid--2::-webkit-scrollbar { display: none; }

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

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

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

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

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

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

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

  /* --- Contact form --- */
  .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. */
  .grid-12,
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .grid-12 > *,
  .hero__copy,
  .hero__visual,
  .span-5, .span-6, .span-7 {
    grid-column: auto;
  }

  .process-spreads {
    padding-left: 30px;
    gap: 56px;
  }
  /* The journey line on the left */
  .process-spreads::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 */
  .process-spread {
    gap: 24px;
  }
  .process-spread__content { order: 1; }
  .process-spread__visual  { order: 2; }

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

  /* Number sits inline as the station anchor */
  .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 */
  .process-spread__visual {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 10px 30px -16px rgba(20, 23, 29, 0.18);
  }
  .process-spread__visual svg { max-width: 420px; }
}

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

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

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

/* ---------- Hero visual: staged build-in + ambient life ---------- */
@keyframes hv-pop  { from { opacity: 0; transform: scale(0.9); }  to { opacity: 1; transform: scale(1); } }
@keyframes hv-fade { from { opacity: 0; }                         to { opacity: 1; } }
@keyframes hv-row  { from { opacity: 0; transform: translateX(-7px); } to { opacity: 1; transform: translateX(0); } }
@keyframes hv-bob  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes hv-sheen { 0% { transform: translateX(-130%); } 16% { transform: translateX(135%); } 100% { transform: translateX(135%); } }
@keyframes hv-hot  { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes hv-float-in { from { opacity: 0; transform: translateY(12px) scale(0.92); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  /* Build the diagram up, element by element, on first load */
  html.js .hv-pop,
  html.js .hv-fade,
  html.js .hv-row { opacity: 0; }

  html.js .hv-pop {
    transform-box: fill-box;
    transform-origin: center;
    animation: hv-pop 600ms var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }
  html.js .hv-fade {
    animation: hv-fade 600ms var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }
  html.js .hv-row {
    transform-box: fill-box;
    transform-origin: left center;
    animation: hv-row 540ms var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }

  /* Continuous life once the build settles */
  .hero-visual--desktop .hero-visual__glass {
    animation: hv-bob 7s ease-in-out 2.3s infinite;
  }
  html.js .hero-visual__sheen { animation: hv-sheen 7.5s ease-in-out 2.6s infinite; }
  html.js .hv-hot { animation: hv-hot 3s ease-in-out 2.8s infinite; }

  /* Floating fragments: enter after the build, then drift gently */
  html.js .hv-float { opacity: 0; }
  html.js .hv-float--alert { animation: hv-float-in 700ms var(--ease-out) 1.35s both, hv-bob 6s ease-in-out 2.6s infinite; }
  html.js .hv-float--tag   { animation: hv-float-in 700ms var(--ease-out) 1.95s both, hv-bob 6.8s ease-in-out 3.1s 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;
  }
  .display__accent { animation: none; }
}
