/* ==========================================================================
   CM Lighting Studio — WordPress / Elementor port of site/assets/css/style.css
   Same values as the static site. Selectors sit on the Elementor wrappers via
   the classes set in Advanced → CSS Classes; .cm marks every top-level container.
   Desktop (>= 821px): 1 unit = 1 Figma px of the 1946 px frame (--u).
   ========================================================================== */

@font-face { font-family: "CM Inter"; src: url("../fonts/Inter-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "CM Inter"; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Neue Haas Grotesk Display Pro 55 Roman (client file; webfont licence to confirm) */
@font-face { font-family: "CM NHG Display"; src: url("../fonts/NeueHaasDisplay-Roman.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

@property --h1 { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --h2 { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --h3 { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --h4 { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

:root {
  --cm-bg: #F3F3F1;
  --cm-black: #000;
  --cm-dark: #292929;
  --cm-ink: #1D1D1D;
  --cm-mid: #757575;
  --cm-rule: #DBDBDB;
  --cm-white: #fff;

  --cm-f-light: "CM Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --cm-f-display: "CM NHG Display", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --u: calc(var(--vw, 100vw) / 1946);
  --cm-ease: cubic-bezier(.16, 1, .3, 1);
  --cm-ease-io: cubic-bezier(.77, 0, .18, 1);
  --cm-header-h: calc(84.24 * var(--u));
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-loading, html.is-loading body { overflow: hidden; }

body.cm-site {
  margin: 0;
  background: var(--cm-bg);
  color: var(--cm-dark);
  font-family: var(--cm-f-light);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.cm-site ::selection { background: var(--cm-dark); color: var(--cm-bg); }
body.cm-site :focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.using-pointer body.cm-site :focus-visible { outline: none; }

/* ---------- Neutralise theme / Elementor defaults inside our containers ---------- */
.cm, .cm * { box-sizing: border-box; }
.cm.e-con, .cm .e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  padding: 0; gap: 0; min-width: 0;
}
.cm .elementor-element { width: auto; max-width: none !important; }
.cm.e-con { width: 100%; }
.cm .elementor-widget .elementor-heading-title,
.cm .elementor-widget-text-editor p {
  margin: 0; padding: 0;
  font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; text-transform: none; text-wrap: inherit;
}
.cm .elementor-widget-text-editor { color: inherit; font: inherit; }
.cm a, .cm a:hover, .cm a:focus { color: inherit; text-decoration: none; }
.cm .elementor-widget-image img { display: block; max-width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.cm .elementor-widget-image a { display: block; }

/* ---------- Type ---------- */
.cm .t-h2   { font-size: calc(75 * var(--u)); line-height: calc(75 * var(--u)); letter-spacing: 0; }
.cm .t-h4   { font-size: calc(40 * var(--u)); line-height: calc(42 * var(--u)); letter-spacing: calc(2 * var(--u)); }
.cm .t-h5   { font-size: calc(28 * var(--u)); line-height: calc(30 * var(--u)); letter-spacing: calc(2 * var(--u)); }
.cm .t-h5--tight { letter-spacing: calc(.84 * var(--u)); }
.cm .t-body { font-size: min(calc(18 * var(--u)), 20px); line-height: min(calc(23 * var(--u)), 25.5px); letter-spacing: min(calc(.54 * var(--u)), .6px); color: var(--cm-mid); }
.cm .t-small{ font-size: calc(18 * var(--u)); line-height: calc(22 * var(--u)); letter-spacing: calc(.54 * var(--u)); color: var(--cm-mid); }
.cm .t-label, .cm .cta, .cm .list__title {
  font-family: var(--cm-f-display); font-weight: 500;
  font-size: calc(20 * var(--u)); line-height: calc(25 * var(--u)); letter-spacing: calc(.6 * var(--u));
}
.cm .t-h2, .cm .t-h4, .cm .t-h5, .cm .t-body, .cm .t-small, .cm .list__num { font-family: var(--cm-f-light); font-weight: 300; }
.cm .t-body strong, .cm .t-body b { font-weight: 500; }
.cm .t-label { color: var(--cm-dark); }
.cm .t-name { font-family: var(--cm-f-light); font-weight: 500; font-size: calc(26 * var(--u)); line-height: calc(32 * var(--u)); letter-spacing: calc(.78 * var(--u)); color: var(--cm-dark); }
.cm .t-body, .cm .t-small, .cm .t-h4, .cm .t-h5 { text-wrap: pretty; }
.cm .c-black { color: var(--cm-black); }
.cm .c-dark  { color: var(--cm-dark); }
.cm .c-white { color: var(--cm-white); }

/* ---------- Links: underline wipes out right, back in from left ---------- */
.cm .link { position: relative; display: inline-block; }
.cm .link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform .8s var(--cm-ease);
}
.cm .link:hover::after, .cm .link:focus-visible::after, .cm .link:focus-within::after { transform: scaleX(1); transform-origin: left center; }
.cm .cta { color: var(--cm-black); white-space: nowrap; }
.cm .cta--soft { color: var(--cm-ink); }
.cm .cta::after, .cm .header__menu::after { transform: scaleX(1); }
.cm .cta:hover::after, .cm .header__menu:hover::after { animation: cm-wipe 1s var(--cm-ease-io); }
@keyframes cm-wipe {
  0%    { transform: scaleX(1); transform-origin: right center; }
  48%   { transform: scaleX(0); transform-origin: right center; }
  52%   { transform: scaleX(0); transform-origin: left center; }
  100%  { transform: scaleX(1); transform-origin: left center; }
}

/* ---------- Dots (3 px, slow breathe) ---------- */
@keyframes cm-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ==========================================================================
   Layout — desktop
   ========================================================================== */
.cm.sec { position: relative !important; height: calc(var(--sh) * var(--u)) !important; min-height: 0 !important; display: block !important; }
.cm .cm-static { position: static !important; display: block !important; width: auto !important; height: 0 !important; }
.cm .abs { position: absolute !important; left: calc(var(--x, 0) * var(--u)) !important; top: calc(var(--y, 0) * var(--u)) !important; width: auto !important; margin: 0 !important; }
.cm .abs.has-w { width: calc(var(--w) * var(--u)) !important; }
.cm .abs.has-h { height: calc(var(--h) * var(--u)) !important; }

/* Header */
.cm.header {
  position: fixed !important; inset: 0 0 auto; z-index: 60; height: var(--cm-header-h) !important;
  display: block !important; background: var(--cm-bg);
  transition: transform .9s var(--cm-ease), opacity 1.2s ease .6s;
}
.cm.header.is-hidden { transform: translateY(-100%); }
.admin-bar .cm.header { top: 32px; }
.cm .header__logo { position: absolute !important; left: calc(41 * var(--u)); top: calc(27.6 * var(--u)); width: calc(133 * var(--u)) !important; }
.cm .header__logo img, .cm .footer__logo img { width: 100% !important; height: auto !important; }  /* Elementor forces linked SVGs to 48px */
.cm .header__menu {
  position: absolute !important; left: calc(516 * var(--u)); top: calc(31.6 * var(--u));
  font-family: var(--cm-f-display); font-weight: 500; color: var(--cm-dark); cursor: pointer;
  font-size: calc(18 * var(--u)); line-height: calc(21.36 * var(--u)); letter-spacing: calc(.18 * var(--u));
  width: var(--bw, auto) !important; white-space: nowrap; text-align: left; transition: width .9s var(--cm-ease);
}
.cm .header__menu::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform-origin: right center; }
/* the dot rides along at the end of the button */
.cm .header__menu::before {
  content: ""; position: absolute; left: calc(100% + 12 * var(--u)); top: calc(9.7 * var(--u));
  width: calc(3 * var(--u)); height: calc(3 * var(--u)); min-width: 2px; min-height: 2px; border-radius: 50%;
  background: var(--cm-dark); animation: cm-breathe 4.8s ease-in-out infinite;
}
.cm .menu-label { display: inline-block; }
.cm .header__menu .menu-label--close, .menu-open .cm .header__menu .menu-label--open { display: none; }
.menu-open .cm .header__menu .menu-label--close { display: inline-block; }

/* Sound toggle: flowing hairline wave while music plays, flat when off */
.cm .sound {
  position: absolute !important; right: calc(41 * var(--u)); top: calc(31.6 * var(--u)); cursor: pointer;
  font-family: var(--cm-f-display); font-weight: 500; color: var(--cm-dark);
  font-size: calc(18 * var(--u)); line-height: calc(21.36 * var(--u)); letter-spacing: calc(.18 * var(--u));
}
.cm .sound .elementor-heading-title { display: flex; align-items: center; gap: calc(12 * var(--u)); }
.cm .sound__wave { display: block; width: calc(26 * var(--u)); min-width: 20px; height: auto; overflow: hidden; }
.cm .sound__path { transform-box: view-box; transform-origin: 50% 50%; transform: scaleY(.08); transition: transform 1.2s var(--cm-ease); }
.cm .sound__path path { animation: cm-wave 1.8s linear infinite; animation-play-state: paused; }
.cm .sound.is-playing .sound__path { transform: scaleY(1); }
.cm .sound.is-playing .sound__path path { animation-play-state: running; }
@keyframes cm-wave { to { transform: translateX(12px); } }
.cm .sound__label { position: relative; }
.cm .sound__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .8s var(--cm-ease); }
.cm .sound:hover .sound__label::after { transform: scaleX(1); transform-origin: left; }
.cm .sound__label--on { display: none; }
.cm .sound.is-on .sound__label--on { display: inline; }
.cm .sound.is-on .sound__label--off { display: none; }

/* Media (full-bleed image / video, frame = the widget wrapper) */
.cm .media { position: absolute !important; inset: 0; width: auto !important; overflow: hidden; background: #1a1a1a; transform: none; }
.cm .media img, .cm .media video,
.cm .card__img img, .cm .s-split__img img, .cm .s-split__img video, .cm .s-kontakt__img img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; background: transparent;
}
.cm .media .elementor-wrapper, .cm .s-split__img .elementor-wrapper { position: absolute; inset: 0; aspect-ratio: auto; }
/* Parallax frames: the image carries real bleed (--pt top / --pb bottom, set by cm-site.js) */
.cm .js-plx img, .cm .js-plx video {
  top: calc(var(--pt, 0) * -100%) !important; bottom: auto !important;
  height: calc(100% + (var(--pt, 0) + var(--pb, 0)) * 100%) !important;
  will-change: transform;
}
.cm .media--hero { background: #2a2622; }

/* Hero */
.cm.s-hero { position: relative !important; display: block !important; margin-top: var(--cm-header-h) !important; height: calc(1024 * var(--u)) !important; }
.cm.s-hero::after {
  content: ""; position: absolute; left: calc(1897 * var(--u)); top: calc(854 * var(--u)); z-index: 2;
  width: calc(3 * var(--u)); height: calc(3 * var(--u)); min-width: 2px; min-height: 2px; border-radius: 50%;
  background: var(--cm-mid); animation: cm-breathe 4.8s ease-in-out infinite;
}

.cm.s-intro       { --sh: 844; }
.cm.s-inspiration { --sh: 1093; }
.cm.s-fuerwen     { --sh: 1209; }
.cm.s-ganz        { --sh: 1164.5; }
.cm.s-atmo        { --sh: 1086.5; }
.cm.s-leist       { --sh: 1224; }
.cm.s-qual        { --sh: 1088; }
.cm.s-kfoto       { --sh: 1100; }
.cm.s-kontakt     { --sh: 460; }
.cm.footer        { --sh: 609; }

/* Tinted sections (soft beige light wash from the design) */
.cm.s-tint { background: var(--cm-bg) center / 100% 100% no-repeat; }
.cm.s-ganz    { background-image: url("../img/bg-ganzheitlich.webp"); }
.cm.s-kontakt { background-image: url("../img/bg-kontakt-v2.webp"); }

/* Media sections — text pins at its design offset while the image keeps scrolling,
   then leaves together with the section (pure CSS sticky, like the reference site) */
.cm.s-media { color: var(--cm-white); padding: calc(var(--ty) * var(--u)) 0 calc(72 * var(--u)) !important; }
.cm.s-inspiration, .cm.s-atmo, .cm.s-qual { --ty: 150; }
.cm .s-media__text { position: sticky !important; top: calc(var(--ty) * var(--u)); z-index: 2; pointer-events: none; display: block !important; width: auto !important; }
.cm .s-media__text > .elementor-element { width: calc(var(--w) * var(--u)) !important; margin: calc(var(--mt, 0) * var(--u)) 0 0 calc(var(--ml) * var(--u)) !important; }
.cm .s-media__text a { pointer-events: auto; }
.cm .s-media__text .t-h4 { font-size: calc(28 * var(--u)); line-height: calc(30 * var(--u)); letter-spacing: calc(1 * var(--u)); }
.cm.s-qual .media { bottom: calc(3 * var(--u)); }
/* Inspiration: soft shade behind the white text so it reads on the pale sky (desktop) */
@media (min-width: 821px) {
  .cm.s-inspiration::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.12) 32%, rgba(0,0,0,0) 55%);
  }
}
.cm .s-qual__shade {
  position: absolute !important; z-index: 1; left: calc(-4 * var(--u)); top: calc(3 * var(--u));
  width: calc(1073 * var(--u)) !important; height: calc(1085 * var(--u)) !important; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0));
}

/* Cards slider (Für wen): 540 × 800 cards, 30 gap, viewport runs to the page edge
   so two cards show in full and the third is cut. No captions (1.0.17).
   Track shift and the nav (progress line + arrows) come from cm-site.js. */
.cm .slider { --cw: 540; --cg: 30; --ch: 800; display: block !important; }
.cm .slider__view { display: block !important; width: 100% !important; overflow: hidden; }
.cm .slider__track {
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: flex-start !important;
  gap: calc(var(--cg) * var(--u)) !important; width: max-content !important;
  transform: translate3d(calc(var(--shift, 0) * var(--u) * -1), 0, 0);
  transition: transform 1.2s var(--cm-ease);
}
.cm .slider__track { cursor: grab; user-select: none; -webkit-user-select: none; }
/* pan-y only where the pointer drag runs; on mobile the track scrolls natively, so touch must stay free (1.0.17) */
@media (min-width: 821px) { .cm .slider__track { touch-action: pan-y; } }
.cm .slider__track.is-dragging { cursor: grabbing; transition: none; }
.cm .slider__track img { -webkit-user-drag: none; pointer-events: none; }
.cm .card { position: relative !important; display: block !important; flex: 0 0 auto !important; width: calc(var(--cw) * var(--u)) !important; }
.cm .card__img { position: relative !important; width: 100% !important; margin: 0 !important; aspect-ratio: 540 / 800; overflow: hidden; background: #e7e5e1; }
.cm .slider__nav { position: absolute; left: 0; right: calc(41 * var(--u)); top: calc((var(--ch) + 42) * var(--u)); height: calc(24 * var(--u)); }
.cm .slider__bar { position: absolute; left: 0; top: 50%; width: calc(var(--cw) * var(--u)); height: 1px; background: var(--cm-rule); }
.cm .slider__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--cm-dark);
  transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform 1.2s var(--cm-ease);
}
.cm .slider__arrows { position: absolute; right: 0; top: 0; display: flex; gap: calc(28 * var(--u)); height: 100%; }
.cm .slider__arrow {
  display: flex; align-items: center; height: 100%; padding: 0 calc(4 * var(--u)); color: var(--cm-dark);
  background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; transition: opacity .6s ease;
}
.cm .slider__arrow:hover, .cm .slider__arrow:focus { background: none; color: var(--cm-dark); }
.cm .slider__arrow svg { width: calc(26 * var(--u)); height: auto; min-width: 16px; overflow: visible; display: block; transition: transform .8s var(--cm-ease); }
.cm .slider__arrow--prev svg { transform: scaleX(-1); }
.cm .slider__arrow:hover svg { transform: translate3d(4px, 0, 0); }
.cm .slider__arrow--prev:hover svg { transform: scaleX(-1) translate3d(4px, 0, 0); }
.cm .slider__arrow[disabled] { opacity: .22; pointer-events: none; }
/* Elementor editor: no script runs, so the track just sits there */
.elementor-editor-active .cm .slider__view { overflow: visible; }

/* Split image / video frames */
.cm .s-split__img, .cm .s-kontakt__img { overflow: hidden; background: #e7e5e1; }

/* Numbered lists */
.cm .list { display: block !important; }
.cm .list__item { position: relative !important; display: block !important; padding-top: calc(14 * var(--u)) !important; height: calc(var(--h) * var(--u)) !important; width: auto !important; }
.cm .list__item:first-child { padding-top: calc(21 * var(--u)) !important; }
.cm .list__item:last-child { height: auto !important; }
.cm .list__item::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--cm-rule);
  transform-origin: left center;
}
.cm .list__num {
  display: block; color: var(--cm-mid);
  font-size: calc(20 * var(--u)); line-height: calc(25 * var(--u)); letter-spacing: calc(.6 * var(--u));
}
.cm .list__num .elementor-heading-title { white-space: pre; }
.cm .list__title { color: var(--cm-black); margin-top: calc(5 * var(--u)) !important; }
.cm .list__item .t-body { margin-top: calc(14 * var(--u)) !important; width: calc(var(--bw) * var(--u)) !important; }

/* Kontakt (CM_Bottom): full-bleed photo, then heading + footer on one beige wash split in two files */
.cm .link--quiet::after { bottom: 0; }

/* Footer — logo + line, contact block, copyright + legal links */
.cm.footer { background: var(--cm-bg) url("../img/bg-footer.webp") center / 100% 100% no-repeat; }
.cm .footer__logo img { width: 100%; height: auto; }
.cm .footer__link {
  font-family: var(--cm-f-display); font-weight: 500; color: var(--cm-dark);
  font-size: calc(14 * var(--u)); line-height: calc(18 * var(--u));
}

/* ==========================================================================
   Menu overlay
   ========================================================================== */
.cm.menu {
  position: fixed !important; inset: 0; z-index: 55; background: var(--cm-bg); display: block !important;
  width: auto !important; height: auto !important;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 1.1s var(--cm-ease-io), visibility 0s linear 1.1s;
}
.menu-open .cm.menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1.1s var(--cm-ease-io), visibility 0s; }
.admin-bar .cm.menu { top: 32px; }
.cm .menu__inner { position: absolute !important; inset: var(--cm-header-h) 0 0; height: auto !important; }
.cm .menu__list { position: absolute !important; left: calc(522 * var(--u)); top: calc(160 * var(--u)); display: block !important; width: auto !important; }
/* Elementor forces heading links to inherit font + colour, so both live on the wrapper */
.cm .menu__item { overflow: hidden; font-size: calc(75 * var(--u)); line-height: calc(92 * var(--u)); letter-spacing: 0; color: var(--cm-black); transition: color .5s ease; }
.cm .menu__item a {
  display: inline-block;
  transform: translateY(105%); transition: transform 1s var(--cm-ease);
}
.cm .menu__list:hover .menu__item { color: #a9a9a6; }
.cm .menu__list .menu__item:hover, .cm .menu__list .menu__item:focus-within { color: var(--cm-black); }
.menu-open .cm .menu__item a { transform: none; }
.menu-open .cm .menu__item:nth-child(1) a { transition-delay: .35s; }
.menu-open .cm .menu__item:nth-child(2) a { transition-delay: .41s; }
.menu-open .cm .menu__item:nth-child(3) a { transition-delay: .47s; }
.menu-open .cm .menu__item:nth-child(4) a { transition-delay: .53s; }
.menu-open .cm .menu__item:nth-child(5) a { transition-delay: .59s; }
.menu-open .cm .menu__item:nth-child(6) a { transition-delay: .65s; }
.cm .menu__meta {
  position: absolute !important; left: calc(41 * var(--u)); bottom: calc(41 * var(--u)); top: auto; width: auto !important;
  display: flex !important; flex-direction: column; align-items: flex-start; gap: calc(4 * var(--u)) !important;
  font-size: calc(18 * var(--u)); line-height: calc(22 * var(--u)); letter-spacing: calc(.54 * var(--u)); color: var(--cm-mid);
  opacity: 0; transition: opacity .6s ease;
}
.menu-open .cm .menu__meta { opacity: 1; transition-delay: .7s; }
.cm .menu__meta > .elementor-element { width: auto !important; }

/* ==========================================================================
   Preloader — logo, hairline meter + count, then a light dissolve
   (markup printed by the plugin right after <body>)
   ========================================================================== */
.cm-loader { display: none; }
.is-loading .cm-loader, .cm-loader.is-done {
  display: flex; position: fixed; inset: 0; z-index: 100000;
  align-items: center; justify-content: center;
  background: var(--cm-bg);
}
.cm-loader::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 46%, rgba(255, 246, 228, .9), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 110%, rgba(196, 176, 150, .18), transparent 60%);
  transition: opacity 1.6s ease;
}
.cm-loader__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(28px, calc(44 * var(--u)), 48px); }
.cm-loader__logo { display: block; width: clamp(120px, calc(186 * var(--u)), 200px); height: auto; opacity: 0; animation: cm-fade-in 1.2s .15s var(--cm-ease) forwards; }
.cm-loader__meter { display: flex; align-items: center; gap: 14px; opacity: 0; animation: cm-fade-in 1.2s .35s var(--cm-ease) forwards; }
.cm-loader__track { position: relative; width: clamp(140px, calc(220 * var(--u)), 240px); height: 1px; background: rgba(41, 41, 41, .14); overflow: hidden; }
.cm-loader__bar { position: absolute; inset: 0; background: var(--cm-dark); transform-origin: left center; transform: scaleX(var(--p, 0)); }
.cm-loader__count {
  min-width: 3ch; text-align: right;
  font-family: var(--cm-f-display); font-weight: 500; font-size: 13px; line-height: 1; letter-spacing: .06em;
  font-variant-numeric: tabular-nums; color: var(--cm-dark);
}
@keyframes cm-fade-in { to { opacity: 1; } }
/* Enter button: replaces the meter at 100 %; that click is what lets the browser start the music */
.cm-loader__enter {
  position: absolute; left: 50%; bottom: -6px; transform: translate(-50%, 6px);
  display: flex; align-items: center; gap: 12px; padding: 6px 2px; margin: 0;
  background: none; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--cm-f-display); font-weight: 500; font-size: 15px; line-height: 1; letter-spacing: .04em; color: var(--cm-dark);
  opacity: 0; pointer-events: none; transition: opacity 1s ease, transform 1.2s var(--cm-ease);
}
.cm-loader__enter, .cm-loader__enter:hover, .cm-loader__enter:focus, .cm-loader__enter:focus-visible, .cm-loader__enter:active {
  background: transparent !important; color: var(--cm-dark) !important; border: 0 !important;
  outline: 0 !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent;
}
.cm-loader__wave { display: block; width: 24px; height: auto; overflow: hidden; }
.cm-loader__wave path { animation: cm-wave 1.8s linear infinite; }
.cm-loader__enter-label { position: relative; }
.cm-loader__enter-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(.0001); transform-origin: left; transition: transform .9s var(--cm-ease); }
.cm-loader.is-ready .cm-loader__enter-label::after { transform: scaleX(1); }
.cm-loader__meter { transition: opacity .6s ease; }
.cm-loader.is-ready .cm-loader__meter { opacity: 0 !important; animation: none; }
.cm-loader.is-ready .cm-loader__enter { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); transition-delay: .25s; }
.cm-loader.is-ready { cursor: pointer; }
.cm-loader.is-done { pointer-events: none; }
.cm-loader.is-done::before { opacity: 1; }
.cm-loader.is-done .cm-loader__inner { opacity: 0; transform: translateY(-6px); transition: opacity .7s ease, transform .9s var(--cm-ease); }
.cm-loader.is-done.is-reveal {
  -webkit-mask-image:
    radial-gradient(circle at 30% 38%, transparent calc(var(--h1) - 60%), #000 var(--h1)),
    radial-gradient(circle at 70% 64%, transparent calc(var(--h2) - 70%), #000 var(--h2)),
    radial-gradient(circle at 62% 24%, transparent calc(var(--h3) - 55%), #000 var(--h3)),
    radial-gradient(circle at 38% 80%, transparent calc(var(--h4) - 65%), #000 var(--h4));
          mask-image:
    radial-gradient(circle at 30% 38%, transparent calc(var(--h1) - 60%), #000 var(--h1)),
    radial-gradient(circle at 70% 64%, transparent calc(var(--h2) - 70%), #000 var(--h2)),
    radial-gradient(circle at 62% 24%, transparent calc(var(--h3) - 55%), #000 var(--h3)),
    radial-gradient(circle at 38% 80%, transparent calc(var(--h4) - 65%), #000 var(--h4));
  -webkit-mask-composite: source-in; mask-composite: intersect;
  --h1: 170%; --h2: 175%; --h3: 165%; --h4: 180%;
  opacity: 0;
  transition:
    --h1 2.4s cubic-bezier(.4, 0, .2, 1),
    --h2 2.6s cubic-bezier(.4, 0, .2, 1) .12s,
    --h3 2.3s cubic-bezier(.4, 0, .2, 1) .22s,
    --h4 2.7s cubic-bezier(.4, 0, .2, 1) .06s,
    opacity 1.4s ease 1.3s;
}

/* Hero settles as the light opens */
.motion .cm .media--hero video { transition: scale 2.8s var(--cm-ease); }
.is-loading .cm .media--hero video { scale: 1.06; }
.is-loading .cm.header { opacity: 0; }

/* ==========================================================================
   Scroll reveals (start states only exist once cm-site.js adds .motion)
   ========================================================================== */
.motion .cm .js-reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1.4s var(--cm-ease), transform 1.4s var(--cm-ease); transition-delay: var(--d, 0s); }
.motion .cm .js-reveal.is-in { opacity: 1; transform: none; }

.motion .cm .js-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.motion .cm .js-split .wi { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.3s var(--cm-ease); transition-delay: calc(var(--d, 0s) + var(--l, 0) * 90ms); }
.motion .cm .js-split.is-in .wi { transform: none; }

.motion .cm .img-reveal img, .motion .cm .img-reveal video { opacity: 0; scale: 1.06; transition: opacity 1.6s var(--cm-ease), scale 2.4s var(--cm-ease); }
.motion .cm .img-reveal.is-in img, .motion .cm .img-reveal.is-in video { opacity: 1; scale: 1; }

.motion .cm .js-list .list__item::before { transform: scaleX(0); transition: transform 1.6s var(--cm-ease); transition-delay: calc(var(--i) * 120ms); }
.motion .cm .js-list .list__item > * { opacity: 0; transition: opacity 1.2s ease; transition-delay: calc(var(--i) * 120ms + 350ms); }
.motion .cm .js-list.is-in .list__item::before { transform: scaleX(1); }
.motion .cm .js-list.is-in .list__item > * { opacity: 1; }

.motion .cm .slider__nav { opacity: 0; transition: opacity 1.4s ease .6s; }
.motion .cm .slider.is-in .slider__nav { opacity: 1; }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 820px) {
  :root { --cm-header-h: 52px; --cm-g: 20px; }
  .admin-bar .cm.header, .admin-bar .cm.menu { top: 46px; }

  .cm.sec { height: auto !important; }
  .cm .abs, .cm .abs.has-w, .cm .abs.has-h { position: relative !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; }

  .cm .t-h2   { font-size: 46px; line-height: 48px; }
  .cm .t-h4   { font-size: 26px; line-height: 31px; letter-spacing: .8px; }
  .cm .t-h5   { font-size: 20px; line-height: 25px; letter-spacing: .8px; }
  .cm .t-h5--tight { letter-spacing: .4px; }
  .cm .t-body { font-size: 15px; line-height: 22px; letter-spacing: .3px; }
  .cm .t-small{ font-size: 15px; line-height: 21px; letter-spacing: .3px; }
  .cm .t-label, .cm .cta, .cm .list__title { font-size: 16px; line-height: 22px; letter-spacing: .3px; }

  .cm .header__logo { left: var(--cm-g); top: 15px; width: 100px !important; }
  .cm .header__menu { left: auto; right: var(--cm-g); top: 16px; font-size: 16px; line-height: 20px; letter-spacing: .2px; }
  .cm .header__menu::before { display: none; }
  .cm .sound { right: 86px; top: 12px; padding: 8px !important; }
  .cm .sound__label { display: none !important; }
  .cm .sound__wave { width: 22px; }

  .cm.s-hero { height: 72svh !important; min-height: 420px !important; }
  .cm.s-hero::after { left: auto; right: var(--cm-g); top: auto; bottom: 28px; width: 3px; height: 3px; }

  .cm.s-intro, .cm.s-fuerwen, .cm.s-ganz, .cm.s-leist { padding: 72px var(--cm-g) 80px !important; display: flex !important; flex-direction: column; flex-wrap: nowrap !important; }
  .cm.s-intro .cta { align-self: flex-start; margin-top: 26px !important; order: 1; }
  .cm .p-intro-h1 { order: 0; }
  .cm .p-intro-h2 { order: 2; margin-top: 64px !important; }
  .cm.s-intro .t-body { order: 3; margin-top: 18px !important; }

  .cm.s-media { height: auto !important; min-height: 92svh !important; display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: flex-end; padding: 0 !important; }
  .cm .s-media__text { position: relative !important; top: auto; padding: 120px var(--cm-g) 64px !important; width: 100% !important; }
  .cm .s-media__text > .elementor-element { width: auto !important; margin-left: 0 !important; margin-top: 0 !important; }
  .cm .s-media__text .t-h4 { margin-top: 18px !important; font-size: 20px; line-height: 25px; letter-spacing: .3px; }
  .cm.s-qual .media { bottom: 0; }
  .cm .s-qual__shade { inset: 0; width: auto !important; height: auto !important; top: 0; left: 0; background: linear-gradient(0deg, rgba(0,0,0,.42), rgba(0,0,0,0) 70%); }
  .cm.s-media .media { background: #1a1a1a; }
  .cm.s-atmo .s-media__text, .cm.s-inspiration .s-media__text { background: linear-gradient(0deg, rgba(0,0,0,.22), rgba(0,0,0,0)); }

  .cm .s-fuerwen__text .t-h5, .cm .s-split__text .t-h5 { margin-top: 18px !important; }
  .cm .s-fuerwen__text .t-body, .cm .s-split__text .t-body { margin-top: 22px !important; }
  .cm .s-fuerwen__text .cta, .cm .s-split__text .cta { margin-top: 26px !important; align-self: flex-start; }
  .cm .s-fuerwen__text, .cm .s-split__text, .cm .cards, .cm .footer__links { height: auto !important; }
  .cm .s-fuerwen__text { display: flex !important; flex-direction: column; }

  .cm .slider { margin: 40px calc(-1 * var(--cm-g)) 0 !important; width: auto !important; }
  .cm .slider__view { overflow: visible; }
  .cm .cards {
    display: flex !important; gap: 12px !important; width: auto !important; padding: 0 var(--cm-g) !important; transform: none; transition: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; flex-direction: row !important; flex-wrap: nowrap !important;
  }
  .cm .cards::-webkit-scrollbar { display: none; }
  .cm .card { flex: 0 0 76% !important; width: auto !important; scroll-snap-align: start; scroll-margin-left: var(--cm-g); }
  .cm .slider__nav { position: relative; margin: 22px var(--cm-g) 0; height: 22px; right: auto; top: auto; }
  .cm .slider__bar { width: 76%; }
  .cm .slider__arrows { gap: 22px; }
  .cm .slider__arrow svg { width: 22px; }

  .cm .s-split__text { display: contents !important; }
  .cm .s-split__img { order: 4; margin-top: 40px !important; width: auto !important; aspect-ratio: var(--w) / var(--h); }
  .cm .list { order: 5; margin-top: 40px !important; }
  .cm .s-split__text .cta { order: 6; margin-top: 10px !important; }
  .cm.s-qual .media img { object-position: 22% 50%; }
  .cm .media--hero video { object-position: 70% 50%; }
  .cm .list__item, .cm .list__item:first-child { height: auto !important; padding: 16px 0 22px !important; }
  .cm .list__num { font-size: 15px; line-height: 20px; }
  .cm .list__title { margin-top: 4px !important; }
  .cm .list__item .t-body { width: auto !important; margin-top: 8px !important; }

  .cm.s-kfoto { aspect-ratio: 1 / 1; }
  .cm.s-kfoto .media img { object-position: 46% 50%; }
  .cm.s-kontakt { padding: 64px var(--cm-g) 8px !important; display: block !important; }
  .cm.s-kontakt .t-h2 { font-size: 38px; line-height: 41px; text-wrap: balance; }

  .cm.footer { padding: 48px var(--cm-g) 32px !important; display: flex !important; flex-direction: column; flex-wrap: nowrap !important; }
  .cm .footer__logo.abs { width: 120px !important; order: 0; }
  .cm .footer__sub { order: 1; margin-top: 18px !important; }
  .cm .footer__label { order: 2; margin-top: 48px !important; }
  .cm .footer__name { order: 3; margin-top: 14px !important; }
  .cm .t-name { font-size: 20px; line-height: 26px; letter-spacing: .4px; }
  .cm .footer__addr { order: 4; margin-top: 10px !important; }
  .cm .footer__links { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 24px !important; order: 5; margin-top: 48px !important; }
  .cm .footer__link { font-size: 13px; line-height: 18px; padding-top: 3px !important; }
  .cm .footer__copy { order: 6; margin-top: 14px !important; font-size: 12px; line-height: 17px; }

  .cm .menu__list { left: var(--cm-g); top: 32px; }
  .cm .menu__item { font-size: 40px; line-height: 52px; }
  .cm .menu__meta { left: var(--cm-g); bottom: 32px; font-size: 15px; line-height: 21px; gap: 4px !important; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .cm .header__menu::before, .cm.s-hero::after, .cm .sound__path path { animation: none; }
  .cm .js-plx img, .cm .js-plx video { transform: none !important; }
  .cm-loader.is-done.is-reveal { transition: opacity .6s ease; -webkit-mask-image: none; mask-image: none; }
  .cm.menu, .cm .menu__item a { transition-duration: .01s; }
}

/* ==========================================================================
   Elementor editor: everything visible, nothing animated
   ========================================================================== */
.elementor-editor-active .cm.header, .elementor-editor-active .cm.menu { position: relative !important; }
.elementor-editor-active .cm.menu { clip-path: none; visibility: visible; height: calc(760 * var(--u)) !important; }
.elementor-editor-active .cm .menu__item a { transform: none; }
.elementor-editor-active .cm .menu__meta { opacity: 1; }
.elementor-editor-active .cm.s-hero { margin-top: 0 !important; }
/* ---------- Generated by build.py: per-element positions (raw Figma px) ---------- */
.cm .p-intro-h1 { --x: 41; --y: 207; --w: 860; }
.cm .p-intro-cta { --x: 1708; --y: 258; }
.cm .p-intro-h2 { --x: 41; --y: 490; --w: 358; }
.cm .p-intro-p1 { --x: 522; --y: 490; --w: 620; }
.cm .p-intro-p2 { --x: 1248; --y: 490; --w: 620; }
.cm .p-insp-h { --ml: 41; --w: 414; }
.cm .p-insp-p { --ml: 42; --w: 503; --mt: 54; }
.cm .p-fw-h { --x: 41; --y: 198; --w: 393; }
.cm .p-fw-sub { --x: 41; --y: 402; --w: 415; }
.cm .p-fw-p { --x: 42; --y: 554; --w: 364; }
.cm .p-fw-cta { --x: 41; --y: 973; }
.cm .p-slider { --x: 522; --y: 198; --w: 1424; }
.cm .p-g-h { --x: 40; --y: 220; --w: 359; }
.cm .p-g-sub { --x: 41; --y: 420; --w: 415; }
.cm .p-g-p { --x: 40; --y: 553; --w: 359; }
.cm .p-g-cta { --x: 42; --y: 925; }
.cm .p-g-list { --x: 522; --y: 221; --w: 620; }
.cm .p-g-l1 { --h: 164; }
.cm .p-g-l1-b { --bw: 613; }
.cm .p-g-l2 { --h: 183; }
.cm .p-g-l2-b { --bw: 613; }
.cm .p-g-l3 { --h: 183; }
.cm .p-g-l3-b { --bw: 613; }
.cm .p-g-l4-b { --bw: 613; }
.cm .p-g-img { --x: 1179; --y: 220; --w: 767; --h: 731; }
.cm .p-atmo-h { --ml: 41; --w: 508; }
.cm .p-atmo-p { --ml: 42; --w: 597; --mt: 70; }
.cm .p-l-h { --x: 42; --y: 198; --w: 381; }
.cm .p-l-sub { --x: 42; --y: 361; --w: 415; }
.cm .p-l-p { --x: 41; --y: 498; --w: 359; }
.cm .p-l-cta { --x: 43; --y: 1003; }
.cm .p-l-list { --x: 522.77; --y: 187; --w: 619; }
.cm .p-l-l1 { --h: 215.5; }
.cm .p-l-l1-b { --bw: 565; }
.cm .p-l-l2 { --h: 208.1; }
.cm .p-l-l2-b { --bw: 586; }
.cm .p-l-l3 { --h: 233.4; }
.cm .p-l-l3-b { --bw: 596; }
.cm .p-l-l4-b { --bw: 575; }
.cm .p-l-v { --x: 1179; --y: 187; --w: 767; --h: 841; }
.cm .p-qual-h { --ml: 41; --w: 508; }
.cm .p-qual-p { --ml: 42; --w: 649; --mt: 70; }
.cm .p-k-h { --x: 41; --y: 202.5; --w: 1007; }
.cm .p-f-logo { --x: 42; --y: 94; --w: 133; }
.cm .p-f-sub { --x: 41; --y: 174; --w: 424; }
.cm .p-f-label { --x: 761; --y: 85; --w: 141; }
.cm .p-f-name { --x: 761; --y: 179; --w: 413; }
.cm .p-f-addr { --x: 761; --y: 228; --w: 287; }
.cm .p-f-copy { --x: 41; --y: 531; --w: 627; }
.cm .p-f-imp { --x: 1641; --y: 533; }
.cm .p-f-ds { --x: 1760; --y: 533; }
.cm .p-f-agb { --x: 1879; --y: 533; }
