/* ==========================================================================
   haller.id 2027 – Erlebnis-Ebene
   Scroll-Erlebnis, Parallax, Intro, Seitenübergang, Cursor, Startseiten-Kapitel
   Baut auf haller_id_27.css auf (Variablen, Farben, Futura PT).
   Bewegung nur mit html.hx-bewegt (JavaScript aktiv, keine reduzierte Bewegung).
   Copyright haller.id GmbH, Schweiz
   ========================================================================== */

/* ---------- Grundlagen ---------- */
:root {
  --hx-ease-film: cubic-bezier(.76, 0, .24, 1);
  --hx-ease-weich: cubic-bezier(.16, 1, .3, 1);
  --hx-nacht-tief: #0D0D0C;
  --hx-creme-text: #F6F2E8;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html.hx-bewegt { scroll-behavior: auto; }

.ist-akzent { color: var(--hx-akzent-text); }
[data-ton="dunkel"] .ist-akzent, .hx-ehero .ist-akzent { color: var(--hx-gold); }
[data-ton="gold"] .ist-akzent { color: transparent; -webkit-text-stroke: 2px #1E1E1C; }

/* Label im Kamera-Stil */
.hx-elabel { display: inline-flex; align-items: center; gap: .7em; margin: 0; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; line-height: 1.2; color: var(--hx-text-2); }
.hx-elabel::before { content: ""; width: 28px; height: 1px; background: var(--hx-gold); flex: none; }
[data-ton="dunkel"] .hx-elabel { color: rgba(246, 242, 232, .72); }
[data-ton="gold"] .hx-elabel { color: #2F2F2F; }
[data-ton="gold"] .hx-elabel::before { background: #1E1E1C; }

.hx-rec-punkt { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--hx-rot); box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); animation: hx-rec 1.6s ease-in-out infinite; flex: none; }
@keyframes hx-rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Wörter-Reveal (Überschriften mit data-hx-split) */
.hx-sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hx-sw-in { display: inline-block; will-change: transform; }
html.hx-bewegt [data-hx-split].ist-geteilt .hx-sw-in { transform: translate3d(0, 108%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.05s var(--hx-ease-weich); transition-delay: calc(var(--w, 0) * 45ms); }
html.hx-bewegt [data-hx-split].ist-geteilt.ist-sichtbar .hx-sw-in { transform: none; }

/* Pfeil-Link */
.hx-pfeillink { display: inline-flex; align-items: center; gap: .5em; font-family: var(--hx-f-ui); font-size: .98rem; padding-bottom: 3px; background: linear-gradient(var(--hx-gold), var(--hx-gold)) left bottom / 0 2px no-repeat; transition: background-size .45s var(--hx-ease-weich), color .3s; }
.hx-pfeillink::after { content: "→"; transition: transform .45s var(--hx-ease-weich); }
.hx-pfeillink:hover { background-size: 100% 2px; }
.hx-pfeillink:hover::after { transform: translateX(4px); }

/* ---------- Seitenfortschritt ---------- */
.hx-fortschritt { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 260; pointer-events: none; }
.hx-fortschritt span { display: block; height: 100%; background: var(--hx-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Intro (einmal pro Sitzung) ---------- */
.hx-intro { display: none; }
html.hx-intro-an .hx-intro { position: fixed; inset: 0; z-index: 420; display: grid; place-items: center; background: var(--hx-nacht-tief); color: var(--hx-creme-text); clip-path: inset(0 0 0 0); animation: hx-intro-weg 1s var(--hx-ease-film) 3.2s forwards; }
html.hx-intro-an.hx-intro-fertig .hx-intro { animation: hx-intro-weg 1s var(--hx-ease-film) forwards; }
@keyframes hx-intro-weg { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.hx-intro-in { width: min(440px, 72vw); display: grid; gap: 1.4rem; justify-items: start; }
.hx-intro-logo { width: 100%; height: auto; opacity: 0; transform: translateY(24px); animation: hx-intro-rein 1s var(--hx-ease-weich) .15s forwards; }
.hx-intro-wort { font-family: var(--hx-f-titel); font-size: clamp(3rem, 10vw, 6rem); letter-spacing: -.03em; }
.hx-intro-wort span { color: var(--hx-gold); }
.hx-intro-linie { width: 100%; height: 2px; background: rgba(246, 242, 232, .14); overflow: hidden; }
.hx-intro-linie i { display: block; height: 100%; background: var(--hx-gold); transform-origin: 0 50%; transform: scaleX(0); animation: hx-intro-linie 1.5s var(--hx-ease-film) .2s forwards; }
.hx-intro-zahl { position: fixed; right: var(--hx-rand); bottom: clamp(20px, 4vw, 48px); font-family: var(--hx-f-titel); font-size: clamp(4rem, 14vw, 12rem); line-height: .8; letter-spacing: -.04em; color: var(--hx-gold); font-variant-numeric: tabular-nums; }
@keyframes hx-intro-rein { to { opacity: 1; transform: none; } }
@keyframes hx-intro-linie { to { transform: scaleX(1); } }
html.hx-intro-an body { overflow: hidden; }
html.hx-intro-an.hx-intro-fertig body { overflow: visible; }

/* ---------- Seitenübergang (Goldvorhang) ---------- */
.hx-vorhang { position: fixed; inset: 0; z-index: 410; display: grid; place-items: center; background: var(--hx-gold); color: #1E1E1C; transform: translate3d(0, 101%, 0); pointer-events: none; visibility: hidden; }
.hx-vorhang-logo { font-family: var(--hx-f-titel); font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -.03em; opacity: 0; transition: opacity .3s .2s; }
.hx-vorhang-logo i { font-style: normal; color: #FFFDF8; }
html.hx-geht .hx-vorhang { visibility: visible; transform: none; transition: transform .6s var(--hx-ease-film); }
html.hx-geht .hx-vorhang-logo { opacity: 1; }
html.hx-wechsel-an .hx-vorhang { visibility: visible; transform: none; animation: hx-vorhang-raus .8s var(--hx-ease-film) .08s forwards; }
html.hx-wechsel-an .hx-vorhang-logo { opacity: 1; transition: none; }
@keyframes hx-vorhang-raus { to { transform: translate3d(0, -101%, 0); visibility: hidden; } }

/* ---------- Eigener Cursor (nur feiner Zeiger) ---------- */
.hx-cursor { display: none; }
html.hx-cursor-an .hx-cursor { display: block; position: fixed; left: 0; top: 0; z-index: 430; pointer-events: none; }
html.hx-cursor-an body, html.hx-cursor-an a, html.hx-cursor-an button, html.hx-cursor-an summary, html.hx-cursor-an label { cursor: none; }
html.hx-cursor-an input, html.hx-cursor-an textarea, html.hx-cursor-an select { cursor: auto; }
.hx-cursor-punkt { position: fixed; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--hx-gold); transition: opacity .25s, width .3s, height .3s, left .3s, top .3s; }
.hx-cursor-ring { position: fixed; left: -21px; top: -21px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(244, 189, 49, .75); display: grid; place-items: center; transition: width .45s var(--hx-ease-weich), height .45s var(--hx-ease-weich), left .45s var(--hx-ease-weich), top .45s var(--hx-ease-weich), background-color .35s, border-color .35s, opacity .3s; }
.hx-cursor-text { font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: #1E1E1C; opacity: 0; transition: opacity .25s; white-space: nowrap; }
html.hx-cursor-link .hx-cursor-ring { left: -32px; top: -32px; width: 64px; height: 64px; background: rgba(244, 189, 49, .14); }
html.hx-cursor-link .hx-cursor-punkt { opacity: 0; }
html.hx-cursor-label .hx-cursor-ring { left: -50px; top: -50px; width: 100px; height: 100px; background: var(--hx-gold); border-color: var(--hx-gold); }
html.hx-cursor-label .hx-cursor-text { opacity: 1; }
html.hx-cursor-label .hx-cursor-punkt { opacity: 0; }
html.hx-cursor-text-feld .hx-cursor { opacity: 0; }
html.hx-cursor-weg .hx-cursor-ring, html.hx-cursor-weg .hx-cursor-punkt { opacity: 0; }

/* ---------- Kopf: verschwindet beim Runterscrollen ---------- */
.hx-kopf { transition: transform .55s var(--hx-ease-weich), background-color .4s, border-color .4s, box-shadow .4s; }
html.hx-bewegt .hx-kopf.ist-versteckt { transform: translate3d(0, -110%, 0); }
body.hx-mobil-offen .hx-kopf { transform: none !important; }

/* Adresse */
.hx-adresse .hx-liste-check + .hx-text, .hx-adresse .hx-liste-check + p { margin-top: 1.4rem; }
.hx-adresse .hx-ctas { margin-top: 1.8rem; }

/* Sucher-Logo im Kopf */
.hx-sucher.ist-logo { background: #FFFDF8; padding: clamp(24px, 6%, 56px); }
.hx-sucher.ist-logo > .hx-media { background: transparent; }
.hx-sucher.ist-logo > .hx-media img { object-fit: contain; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hx-ehero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--hx-nacht-tief); color: var(--hx-creme-text); padding-top: calc(var(--hx-kopf-h) + 40px); }
.hx-ehero-media { position: absolute; inset: -4% 0; z-index: -2; will-change: transform; }
.hx-ehero-media > .hx-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.hx-ehero-media video, .hx-ehero-media img { width: 100%; height: 100%; object-fit: cover; }
.hx-ehero-media .hx-ph { background: radial-gradient(80% 70% at 70% 30%, #2a2618, #0d0d0c 70%); }
.hx-ehero-schleier { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 100%, rgba(244, 189, 49, .2), transparent 70%),
    linear-gradient(180deg, rgba(13, 13, 12, .6) 0%, rgba(13, 13, 12, .08) 32%, rgba(13, 13, 12, .3) 62%, rgba(13, 13, 12, .94) 100%); }
.hx-ehero-sucher { position: absolute; inset: calc(var(--hx-kopf-h) + 18px) var(--hx-rand) 74px; z-index: 0; pointer-events: none; }
.hx-ehero-sucher .hx-ecke { width: 44px; height: 44px; border-color: rgba(246, 242, 232, .5); }
.hx-ehero-rec { position: absolute; top: 18px; left: 22px; display: inline-flex; align-items: center; gap: .6em; font-family: var(--hx-f-cond); letter-spacing: .2em; font-size: .8rem; color: rgba(246, 242, 232, .85); font-variant-numeric: tabular-nums; }
.hx-ehero-format { position: absolute; top: 18px; right: 22px; font-family: var(--hx-f-cond); letter-spacing: .2em; font-size: .8rem; color: rgba(246, 242, 232, .55); }
.hx-ehero-fokus { position: absolute; left: 50%; top: 40%; width: 70px; height: 70px; transform: translate(-50%, -50%); border: 1px solid rgba(246, 242, 232, .3); }
.hx-ehero-fokus::before, .hx-ehero-fokus::after { content: ""; position: absolute; background: rgba(246, 242, 232, .3); }
.hx-ehero-fokus::before { left: 50%; top: -16px; bottom: -16px; width: 1px; }
.hx-ehero-fokus::after { top: 50%; left: -16px; right: -16px; height: 1px; }
.hx-ehero-in { position: relative; z-index: 1; padding-bottom: clamp(120px, 16vh, 170px); will-change: transform, opacity; }
.hx-ehero .hx-elabel { color: rgba(246, 242, 232, .78); }
.hx-ehero-titel { margin: 1.4rem 0 0; font-size: clamp(3.1rem, .9rem + 8.6vw, 11rem); line-height: .88; letter-spacing: -.04em; color: var(--hx-creme-text); -webkit-hyphens: manual; hyphens: manual; }
.hx-ehero-titel .hx-zeile { display: block; }
.hx-ehero-titel .hx-wechsel { color: var(--hx-gold); min-height: .9em; }
html.hx-bewegt .hx-ehero-titel .hx-wechsel { animation: hx-zeile-rein 1.2s var(--hx-ease-weich) .45s both; }
html.hx-bewegt.hx-intro-an:not(.hx-intro-fertig) .hx-ehero-titel .hx-wechsel { animation-play-state: paused; }
@keyframes hx-zeile-rein { from { clip-path: inset(0 0 100% 0); transform: translateY(40px); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
.hx-ehero-fuss { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.6rem 3rem; margin-top: clamp(1.8rem, 3.4vw, 2.8rem); }
.hx-ehero-lead { max-width: 46ch; margin: 0; font-size: clamp(1.02rem, .9rem + .4vw, 1.24rem); line-height: 1.55; color: rgba(246, 242, 232, .84); }
.hx-ehero .hx-btn-linie { border-color: rgba(246, 242, 232, .7); color: var(--hx-creme-text); }
.hx-ehero .hx-btn-linie:hover { background: var(--hx-creme-text); color: #1E1E1C; }
.hx-ehero-leiste { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 16px 26px; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; color: rgba(246, 242, 232, .68); }
.hx-ehero-ort { display: inline-flex; align-items: center; gap: .55em; }
.hx-ehero-uhr { font-variant-numeric: tabular-nums; }
.hx-ehero-scroll { display: inline-flex; align-items: center; gap: .9em; color: var(--hx-creme-text); }
.hx-ehero-scroll-linie { position: relative; width: 56px; height: 1px; background: rgba(246, 242, 232, .3); overflow: hidden; }
.hx-ehero-scroll-linie::after { content: ""; position: absolute; inset: 0; background: var(--hx-gold); transform: translateX(-100%); animation: hx-scrolllinie 2.2s var(--hx-ease-film) infinite; }
@keyframes hx-scrolllinie { 60% { transform: translateX(0); } 100% { transform: translateX(101%); } }

/* Unterseiten-Hero: Bild bewegt sich leicht */
.hx-hero .hx-media.hx-par, .hx-split-media .hx-media.hx-par { will-change: transform; }

/* ==========================================================================
   SHOWREEL
   ========================================================================== */
.hx-showreel { position: relative; background: var(--hx-nacht-tief); color: var(--hx-creme-text); --p: 1; }
.hx-showreel-buehne { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; }
html.hx-bewegt .hx-showreel { height: 250vh; --p: 0; }
html.hx-bewegt .hx-showreel-buehne { position: sticky; top: 0; }
.hx-showreel { --ix: calc((1 - var(--p)) * 28vw); --iy: calc((1 - var(--p)) * 27vh); --rad: calc((1 - var(--p)) * 26px); }
.hx-showreel-rahmen { position: absolute; inset: 0; clip-path: inset(var(--iy) var(--ix) round var(--rad)); will-change: clip-path; background: #000; }
.hx-showreel-rahmen > .hx-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; transform: scale(calc(1.18 - var(--p) * .18)); }
.hx-showreel-rahmen video, .hx-showreel-rahmen img { width: 100%; height: 100%; object-fit: cover; }
.hx-showreel-rahmen .hx-ecke { width: 36px; height: 36px; border-color: var(--hx-gold); transition: none; }
.hx-showreel-rahmen .hx-ecke-ol { left: calc(var(--ix) + 16px); top: calc(var(--iy) + 16px); }
.hx-showreel-rahmen .hx-ecke-or { right: calc(var(--ix) + 16px); left: auto; top: calc(var(--iy) + 16px); }
.hx-showreel-rahmen .hx-ecke-ul { left: calc(var(--ix) + 16px); bottom: calc(var(--iy) + 16px); top: auto; }
.hx-showreel-rahmen .hx-ecke-ur { right: calc(var(--ix) + 16px); bottom: calc(var(--iy) + 16px); left: auto; top: auto; }
.hx-showreel-tc { position: absolute; left: calc(var(--ix) + 26px); top: calc(var(--iy) + 24px); z-index: 3; display: inline-flex; align-items: center; gap: .55em; padding: .35em .7em; border-radius: 6px; background: rgba(10, 10, 9, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--hx-f-cond); letter-spacing: .16em; font-size: .78rem; font-variant-numeric: tabular-nums; }
.hx-showreel-ton { position: absolute; right: calc(var(--ix) + 22px); bottom: calc(var(--iy) + 22px); z-index: 3; display: inline-flex; align-items: center; gap: .6em; padding: .7em 1.1em; border-radius: 999px; background: rgba(10, 10, 9, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(246, 242, 232, .25); color: var(--hx-creme-text); font-family: var(--hx-f-ui); font-size: .9rem; transition: background .3s, color .3s; }
.hx-showreel-ton:hover { background: var(--hx-gold); color: #1E1E1C; }
.hx-showreel-ton .hx-ton-an { display: none; }
.hx-showreel-ton[aria-pressed="true"] .hx-ton-an { display: inline-flex; }
.hx-showreel-ton[aria-pressed="true"] .hx-ton-aus { display: none; }
.hx-showreel-ton-i { display: inline-flex; }
.hx-showreel-wort { position: absolute; top: 50%; z-index: 2; margin: 0; font-family: var(--hx-f-titel); font-size: clamp(3rem, 10.5vw, 13rem); line-height: .8; letter-spacing: -.045em; color: var(--hx-creme-text); transform: translateY(-50%); white-space: nowrap; pointer-events: none; opacity: calc(1 - var(--p) * 1.6); }
.hx-showreel-wort-l { right: calc(100% - var(--ix) + 1.6vw); }
.hx-showreel-wort-r { left: calc(100% - var(--ix) + 1.6vw); color: var(--hx-gold); }
.hx-showreel-text { position: absolute; left: var(--hx-rand); right: var(--hx-rand); bottom: clamp(28px, 6vh, 64px); z-index: 3; max-width: 760px; opacity: calc((var(--p) - .72) * 3.6); transform: translateY(calc((1 - var(--p)) * 40px)); pointer-events: none; }
.hx-showreel-titel { font-size: clamp(2rem, 1.2rem + 3vw, 4.4rem); line-height: .95; color: var(--hx-creme-text); text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.hx-showreel-text p { margin: .9rem 0 0; max-width: 52ch; color: rgba(246, 242, 232, .86); text-shadow: 0 1px 18px rgba(0, 0, 0, .5); }
.hx-showreel-text::before { content: ""; position: absolute; inset: -40% -20% -30% -30%; z-index: -1; background: radial-gradient(60% 60% at 30% 70%, rgba(10, 10, 9, .6), transparent 70%); }

/* ==========================================================================
   MANIFEST
   ========================================================================== */
.hx-manifest { padding-block: clamp(110px, 15vw, 220px) !important; }
.hx-manifest-text { margin: 1.6rem 0 0; font-family: var(--hx-f-titel); font-size: clamp(1.9rem, .9rem + 3.7vw, 4.8rem); line-height: 1.07; letter-spacing: -.022em; color: var(--hx-text); max-width: 26ch; text-wrap: pretty; }
.hx-mw { transition: opacity .35s linear, background-size .6s var(--hx-ease-weich); }
html.hx-bewegt .hx-mw { opacity: .13; }
html.hx-bewegt .hx-mw.ist-an { opacity: 1; }
.hx-mw.ist-akzent { background: linear-gradient(var(--hx-gold), var(--hx-gold)) left 88% / 100% .14em no-repeat; }
html.hx-bewegt .hx-mw.ist-akzent { background-size: 0 .14em; }
html.hx-bewegt .hx-mw.ist-akzent.ist-an { background-size: 100% .14em; }
.hx-manifest-fuss { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; margin-top: clamp(2.6rem, 5vw, 4.4rem); padding-top: 2rem; border-top: 1px solid var(--hx-linie); }
.hx-manifest-fuss .hx-signatur { margin: 0; }
.hx-manifest .hx-zahlen { margin: 0; }

/* ==========================================================================
   LEISTUNGEN (horizontal)
   ========================================================================== */
.hx-leist { padding: 0 !important; position: relative; }
.hx-leist-pin { position: relative; }
.hx-leist-spur { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); padding: clamp(110px, 14vh, 150px) var(--hx-rand) clamp(80px, 11vh, 120px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--hx-rand); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hx-leist-spur::-webkit-scrollbar { display: none; }
html.hx-bewegt .hx-leist.ist-gepinnt { height: var(--hx-leist-h, 400vh); }
html.hx-bewegt .hx-leist.ist-gepinnt .hx-leist-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
html.hx-bewegt .hx-leist.ist-gepinnt .hx-leist-spur { overflow: visible; scroll-snap-type: none; will-change: transform; padding-top: clamp(90px, 12vh, 130px); padding-bottom: clamp(70px, 10vh, 110px); }
.hx-leist-intro { flex: 0 0 min(460px, 84vw); scroll-snap-align: start; padding-right: clamp(0px, 3vw, 40px); }
.hx-leist-titel { margin: 1.2rem 0 0; font-size: clamp(2.6rem, 1.2rem + 4.6vw, 6.6rem); line-height: .9; letter-spacing: -.04em; }
.hx-leist-lead { margin: 1.4rem 0 0; color: var(--hx-text-2); max-width: 38ch; }
.hx-leist-hinweis { display: inline-flex; align-items: center; gap: .6em; margin: 2rem 0 0; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--hx-text-2); }
.hx-leist-hinweis svg { color: var(--hx-gold); animation: hx-schubs 1.8s var(--hx-ease-weich) infinite; }
@keyframes hx-schubs { 50% { transform: translateX(6px); } }
.hx-leist-panel { flex: 0 0 clamp(270px, 29vw, 440px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1.3rem; }
.hx-leist-panel:nth-of-type(odd) { transform: translateY(5vh); }
.hx-leist-media { position: relative; display: block; height: min(54vh, 560px); min-height: 320px; border-radius: var(--hx-r); overflow: hidden; background: var(--hx-flaeche-2); isolation: isolate; }
.hx-leist-media-in { position: absolute; inset: -10% -2%; will-change: transform; }
.hx-leist-media-in > .hx-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; transition: transform 1.2s var(--hx-ease-weich); }
.hx-leist-media:hover .hx-media { transform: scale(1.06); }
.hx-leist-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 9, .55)); pointer-events: none; }
.hx-leist-nr { position: absolute; left: 18px; top: 16px; z-index: 2; font-family: var(--hx-f-cond); letter-spacing: .2em; font-size: .82rem; color: var(--hx-creme-text); padding: .3em .65em; border-radius: 6px; background: rgba(10, 10, 9, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hx-leist-text h3 { font-size: clamp(1.7rem, 1rem + 1.7vw, 2.7rem); line-height: 1; letter-spacing: -.02em; }
.hx-leist-text h3 a { background: linear-gradient(var(--hx-gold), var(--hx-gold)) left 92% / 0 .1em no-repeat; transition: background-size .5s var(--hx-ease-weich); }
.hx-leist-text h3 a:hover { background-size: 100% .1em; }
.hx-leist-claim { margin: .55rem 0 0; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .15em; font-size: .82rem; color: var(--hx-akzent-text); }
.hx-leist-beschr { margin: .8rem 0 0; color: var(--hx-text-2); font-size: .98rem; }
.hx-leist-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1rem; }
.hx-leist-fortschritt { display: none; }
html.hx-bewegt .hx-leist.ist-gepinnt .hx-leist-fortschritt { display: block; position: absolute; left: var(--hx-rand); right: var(--hx-rand); bottom: clamp(24px, 4vh, 40px); height: 2px; background: var(--hx-linie); }
.hx-leist-fortschritt span { display: block; height: 100%; background: var(--hx-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   REFERENZEN & PROJEKTE
   ========================================================================== */
.hx-refpro { overflow: hidden; }
.hx-refpro-zeile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.hx-refpro-zeile + .hx-refpro-zeile { margin-top: clamp(80px, 9vw, 140px); }
.hx-refpro-zeile.ist-umgekehrt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hx-refpro-zeile.ist-umgekehrt .hx-refpro-text { order: 2; }
.hx-refpro-text .hx-h2 { margin: 1.1rem 0 0; font-size: clamp(2.2rem, 1.2rem + 3vw, 4.4rem); line-height: .95; letter-spacing: -.03em; }
.hx-refpro-text .hx-text { margin-top: 1.3rem; color: var(--hx-text-2); max-width: 44ch; }
.hx-refpro-text .hx-ctas { margin-top: 1.8rem; }
.hx-refpro .hx-vlauf { height: clamp(520px, 74vh, 760px); }
.hx-refpro .hx-vlauf-reels { height: clamp(620px, 92vh, 980px); }

.hx-projliste { position: relative; margin-top: clamp(100px, 11vw, 170px); }
.hx-projliste-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 3rem; margin-bottom: clamp(28px, 3.6vw, 48px); }
.hx-projliste-kopf .hx-h2 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 5.2rem); line-height: .92; letter-spacing: -.035em; }
.hx-projliste-kopf .hx-intro { max-width: 42ch; margin: 0; }
.hx-projliste-reihen { border-top: 1px solid var(--hx-linie-stark); }
.hx-projreihe { position: relative; isolation: isolate; width: 100%; display: grid; grid-template-columns: 3.6rem minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .9fr) 2.6rem; align-items: center; gap: 1.2rem; padding: clamp(1.1rem, 1.6vw, 1.7rem) .6rem; border-bottom: 1px solid var(--hx-linie-stark); text-align: left; color: var(--hx-text); transition: padding .6s var(--hx-ease-weich), color .35s; }
.hx-projreihe::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hx-gold); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--hx-ease-weich); }
.hx-projreihe:hover, .hx-projreihe:focus-visible { padding-left: 1.6rem; padding-right: 1.2rem; color: #1E1E1C; }
.hx-projreihe:hover::before, .hx-projreihe:focus-visible::before { transform: scaleY(1); }
.hx-projreihe-nr { font-family: var(--hx-f-cond); letter-spacing: .18em; font-size: .82rem; color: var(--hx-text-2); }
.hx-projreihe-media { display: none; }
.hx-projreihe-titel { font-family: var(--hx-f-titel); font-size: clamp(1.4rem, .9rem + 1.7vw, 2.7rem); line-height: 1.02; letter-spacing: -.02em; }
.hx-projreihe-kunde, .hx-projreihe-kat { font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--hx-text-2); }
.hx-projreihe:hover .hx-projreihe-nr, .hx-projreihe:hover .hx-projreihe-kunde, .hx-projreihe:hover .hx-projreihe-kat { color: #2F2F2F; }
.hx-projreihe-pfeil { justify-self: end; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--hx-linie-stark); transition: transform .5s var(--hx-ease-weich), background .3s, border-color .3s; }
.hx-projreihe:hover .hx-projreihe-pfeil { transform: rotate(45deg); background: #1E1E1C; border-color: #1E1E1C; color: var(--hx-gold); }
.hx-projvorschau { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(260px, 25vw, 400px); aspect-ratio: 4 / 3; border-radius: var(--hx-r); overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.8); transition: opacity .35s ease, scale .5s var(--hx-ease-weich); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.hx-projvorschau.ist-an { opacity: 1; scale: 1.25; }
.hx-projvorschau .hx-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.hx-projliste .hx-ctas { margin-top: 2.2rem; }

.hx-playlist { margin-top: clamp(100px, 11vw, 170px); }
.hx-playlist-kopf { margin-bottom: clamp(28px, 3.6vw, 48px); }
.hx-playlist-kopf .hx-h2 { font-size: clamp(2.2rem, 1.2rem + 3vw, 4.4rem); line-height: .95; }
.hx-playlist-kopf .hx-intro { margin-top: 1rem; }
.hx-playlist-raster { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.hx-playlist-player { position: sticky; top: calc(var(--hx-kopf-h) + 24px); background: var(--hx-nacht-tief); }
.hx-playlist-player video { width: 100%; max-height: 76vh; border-radius: calc(var(--hx-r) - 6px); background: #000; }
.hx-playlist-liste { display: grid; gap: .7rem; max-height: 78vh; overflow: auto; padding-right: 6px; }
.hx-playlist-eintrag { width: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 1rem; padding: .7rem; border-radius: 14px; border: 1px solid var(--hx-linie); text-align: left; transition: border-color .3s, background .3s, transform .4s var(--hx-ease-weich); }
.hx-playlist-eintrag:hover { transform: translateX(4px); border-color: var(--hx-linie-stark); }
.hx-playlist-eintrag.ist-aktiv { border-color: var(--hx-gold); background: rgba(244, 189, 49, .1); }
.hx-playlist-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.hx-playlist-thumb.ist-hoch { aspect-ratio: 9 / 16; width: 58px; justify-self: center; }
.hx-playlist-thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hx-playlist-info strong { display: block; font-family: var(--hx-f-ui); font-size: 1.02rem; }
.hx-playlist-info span { display: block; margin-top: .2rem; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--hx-text-2); }

/* ==========================================================================
   MENSCHEN (Team-Kapitel)
   ========================================================================== */
.hx-menschen { overflow: hidden; padding-block: clamp(110px, 13vw, 200px) !important; }
.hx-menschen-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.hx-menschen-collage { position: relative; aspect-ratio: 1 / 1.1; }
.hx-menschen-c { position: absolute; margin: 0; border-radius: var(--hx-r); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85); will-change: transform; }
.hx-menschen-c .hx-media { border-radius: 0; }
.hx-menschen-c img { transition: transform 1.4s var(--hx-ease-weich), filter 1s; filter: saturate(.9); }
.hx-menschen-c:hover img { transform: scale(1.05); filter: none; }
.hx-menschen-c1 { left: 0; top: 7%; width: 60%; z-index: 2; }
.hx-menschen-c2 { right: 0; top: 0; width: 44%; z-index: 1; }
.hx-menschen-c3 { right: 5%; bottom: 0; width: 52%; z-index: 3; }
.hx-menschen-c figcaption { position: absolute; left: 14px; bottom: 12px; padding: .35em .7em; border-radius: 6px; background: rgba(10, 10, 9, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: var(--hx-creme-text); }
.hx-menschen-kreis { position: absolute; left: 47%; top: 44%; z-index: 4; width: clamp(90px, 9vw, 140px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(244, 189, 49, .7); pointer-events: none; }
.hx-menschen-kreis::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--hx-gold); }
html.hx-bewegt .hx-menschen-kreis { animation: hx-kreisen 14s linear infinite; }
@keyframes hx-kreisen { to { rotate: 360deg; } }
.hx-menschen-titel { margin: 1.2rem 0 0; font-size: clamp(2.7rem, 1.2rem + 4.8vw, 7rem); line-height: .9; letter-spacing: -.04em; }
.hx-menschen-lead { margin: 1.8rem 0 0; font-size: clamp(1.12rem, .95rem + .6vw, 1.45rem); line-height: 1.5; max-width: 40ch; color: var(--hx-text); }
.hx-menschen-text2 { margin: 1.1rem 0 0; color: var(--hx-text-2); max-width: 52ch; }
.hx-menschen .hx-signatur { margin-top: 1.8rem; }

.hx-menschen-werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(90px, 10vw, 150px); border-top: 1px solid var(--hx-linie); }
.hx-wert { position: relative; padding: 2.2rem 1.6rem 2.4rem; border-right: 1px solid var(--hx-linie); }
.hx-wert:first-child { padding-left: 0; }
.hx-wert:last-child { border-right: 0; padding-right: 0; }
.hx-wert::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--hx-gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--hx-ease-weich); }
.hx-wert:hover::before { transform: scaleX(1); }
.hx-wert-nr { display: block; font-family: var(--hx-f-cond); letter-spacing: .2em; font-size: .8rem; color: var(--hx-akzent-text); }
.hx-wert-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-top: 1.2rem; border-radius: 50%; background: var(--hx-gold); color: #1E1E1C; transition: transform .6s var(--hx-ease-weich); }
.hx-wert:hover .hx-wert-icon { transform: rotate(-8deg) scale(1.06); }
.hx-wert-icon img { width: 34px; height: 34px; object-fit: contain; }
.hx-wert h3 { margin: 1.3rem 0 .6rem; font-size: clamp(1.15rem, 1rem + .4vw, 1.4rem); line-height: 1.15; }
.hx-wert p { margin: 0; color: var(--hx-text-2); font-size: .97rem; }

.hx-kulissen { position: relative; margin-top: clamp(100px, 11vw, 170px); }
.hx-kulissen-spur { display: flex; align-items: flex-start; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding-inline: var(--hx-rand); will-change: transform; }
.hx-kulisse { flex: none; margin: 0; width: clamp(240px, 27vw, 430px); border-radius: var(--hx-r); overflow: hidden; }
.hx-kulisse:nth-child(3n+2) { width: clamp(180px, 18vw, 290px); margin-top: 7vh; }
.hx-kulisse .hx-media { border-radius: 0; }
.hx-kulisse figcaption { padding: .6rem 0 0; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--hx-text-2); }
.hx-kulissen-label { position: absolute; left: 0; right: 0; top: 50%; z-index: 2; margin: 0; transform: translateY(-50%); text-align: center; font-family: var(--hx-f-titel); font-size: clamp(3rem, 11vw, 13rem); line-height: .8; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 242, 232, .7); white-space: nowrap; pointer-events: none; mix-blend-mode: difference; }

.hx-menschen-team { margin-top: clamp(110px, 12vw, 180px); }
.hx-menschen-team-kopf { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.2rem 4rem; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.hx-menschen-team-kopf .hx-elabel { grid-column: 1 / -1; }
.hx-menschen-team-kopf .hx-h2 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 5.2rem); line-height: .92; letter-spacing: -.035em; }
.hx-menschen-team-kopf .hx-intro { margin: 0; }
.hx-menschen-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); align-items: start; }
.hx-menschen-spalte { display: grid; gap: clamp(16px, 2vw, 30px); will-change: transform; }
.hx-menschen-spalte:nth-child(2) { margin-top: clamp(70px, 10vw, 170px); }
.hx-menschen-spalte:nth-child(3) { margin-top: clamp(30px, 5vw, 80px); }
.hx-mensch { position: relative; isolation: isolate; display: block; border-radius: var(--hx-r); overflow: hidden; background: #1B1B19; color: var(--hx-creme-text); }
.hx-mensch-bild { position: relative; }
.hx-mensch-bild .hx-media { border-radius: 0; }
.hx-mensch-bild img { filter: grayscale(.85) contrast(1.04); transform: scale(1.02); transition: filter 1s ease, transform 1.4s var(--hx-ease-weich); }
.hx-mensch:hover .hx-mensch-bild img, .hx-mensch:focus-within .hx-mensch-bild img { filter: none; transform: scale(1.07); }
.hx-mensch-nr { position: absolute; left: 16px; top: 14px; z-index: 2; font-family: var(--hx-f-cond); letter-spacing: .2em; font-size: .78rem; color: var(--hx-gold); }
.hx-mensch-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 4rem 1.4rem 1.35rem; background: linear-gradient(180deg, transparent, rgba(10, 10, 9, .9) 52%); }
.hx-mensch h3 { margin: 0; font-size: clamp(1.35rem, 1rem + .9vw, 1.9rem); line-height: 1.05; color: var(--hx-creme-text); }
.hx-mensch-rolle { margin: .35rem 0 0; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; line-height: 1.35; color: var(--hx-gold); }
.hx-mensch-antrieb { margin: 0; max-height: 0; opacity: 0; overflow: hidden; color: rgba(246, 242, 232, .86); font-size: .95rem; line-height: 1.5; transition: max-height .7s var(--hx-ease-weich), opacity .5s, margin .5s; }
.hx-mensch:hover .hx-mensch-antrieb, .hx-mensch:focus-within .hx-mensch-antrieb { max-height: 9em; opacity: 1; margin-top: .75rem; }
@media (hover: none) { .hx-mensch-antrieb { max-height: none; opacity: 1; margin-top: .7rem; } }
.hx-mensch-mail { display: inline-flex; align-items: center; gap: .45em; margin-top: .8rem; font-size: .88rem; color: var(--hx-creme-text); border-bottom: 1px solid rgba(244, 189, 49, .65); padding-bottom: 2px; }
a.hx-mensch-mail:hover { color: var(--hx-gold); }
.hx-mensch.ist-offen { background: var(--hx-gold); color: #1E1E1C; }
.hx-mensch.ist-offen .hx-mensch-bild img { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .55; }
.hx-mensch.ist-offen .hx-mensch-info { background: linear-gradient(180deg, transparent, rgba(244, 189, 49, .96) 50%); }
.hx-mensch.ist-offen h3, .hx-mensch.ist-offen .hx-mensch-rolle, .hx-mensch.ist-offen .hx-mensch-antrieb, .hx-mensch.ist-offen .hx-mensch-mail, .hx-mensch.ist-offen .hx-mensch-nr { color: #1E1E1C; }
.hx-mensch.ist-offen .hx-mensch-mail { border-color: #1E1E1C; }
.hx-mensch.ist-offen::after { content: "→"; position: absolute; right: 16px; top: 12px; z-index: 3; font-family: var(--hx-f-titel); font-size: 1.6rem; transition: transform .5s var(--hx-ease-weich); }
.hx-mensch.ist-offen:hover::after { transform: translateX(5px); }
.hx-menschen-netzwerk { display: flex; align-items: center; gap: 1.1rem; margin: clamp(2.6rem, 4vw, 3.6rem) 0 0; max-width: 72ch; color: var(--hx-text-2); }
.hx-menschen-netzwerk-punkte { display: inline-flex; flex: none; }
.hx-menschen-netzwerk-punkte i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--hx-bg); background: var(--hx-gold); }
.hx-menschen-netzwerk-punkte i + i { margin-left: -10px; background: #6a7e8e; }
.hx-menschen-netzwerk-punkte i + i + i { background: #FFFDF8; }
.hx-menschen-team .hx-ctas { margin-top: 2rem; }

/* ==========================================================================
   KUNDENLOGOS (Laufband)
   ========================================================================== */
.hx-elogos { overflow: hidden; padding-block: clamp(90px, 10vw, 150px) !important; }
.hx-elogos-kopf { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(32px, 4vw, 58px); }
.hx-elogos-kopf .hx-h2 { max-width: 24ch; font-size: clamp(2rem, 1.1rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -.025em; -webkit-hyphens: manual; hyphens: manual; }
.hx-elogos-kopf .hx-intro { max-width: 62ch; margin-inline: auto; }
.hx-elogos-band { display: flex; overflow: hidden; padding-block: .7rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.hx-elogos-band + .hx-elogos-band { margin-top: .4rem; }
.hx-elogos-spur { display: flex; flex: none; align-items: center; gap: clamp(14px, 1.6vw, 22px); padding-right: clamp(14px, 1.6vw, 22px); margin: 0; list-style: none; animation: hx-elauf 60s linear infinite; }
.hx-elogos-band.ist-rueckwaerts .hx-elogos-spur { animation-direction: reverse; animation-duration: 68s; }
.hx-elogos-band:hover .hx-elogos-spur { animation-play-state: paused; }
@keyframes hx-elauf { to { transform: translate3d(-100%, 0, 0); } }
.hx-elogos .hx-logo-kachel { flex: none; display: grid; place-items: center; width: clamp(150px, 14vw, 220px); height: clamp(86px, 8vw, 120px); padding: 14px 24px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); transition: transform .5s var(--hx-ease-weich); }
.hx-elogos .hx-logo-kachel:hover { transform: translateY(-5px); }
.hx-elogos .hx-logo-kachel a { display: grid; place-items: center; width: 100%; height: 100%; }
.hx-elogos .hx-logo-kachel img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) !important; opacity: .72; transition: filter .45s, opacity .45s; }
.hx-elogos .hx-logo-kachel:hover img { filter: none !important; opacity: 1; }
.hx-elogos .hx-logo-name { font-family: var(--hx-f-ui); color: #6a7e8e; font-size: .9rem; text-align: center; }

/* ==========================================================================
   KUNDENSTIMMEN (Bühne)
   ========================================================================== */
.hx-buehne-sektion { overflow: hidden; padding-block: clamp(100px, 12vw, 180px) !important; }
.hx-buehne { position: relative; margin-top: clamp(30px, 4vw, 56px); }
.hx-buehne-zeichen { position: absolute; left: -.04em; top: -.1em; font-family: var(--hx-f-titel); font-size: clamp(9rem, 22vw, 21rem); line-height: 1; color: var(--hx-gold); pointer-events: none; user-select: none; }
.hx-buehne-zitate { display: grid; }
.hx-buehne-zitat { grid-area: 1 / 1; margin: 0; padding-left: clamp(0px, 9vw, 150px); padding-top: clamp(50px, 7vw, 110px); }
html.hx-js .hx-buehne-zitat { opacity: 0; visibility: hidden; transform: translate3d(0, 26px, 0); transition: opacity .7s ease, transform 1s var(--hx-ease-weich), visibility 0s linear .7s; }
html.hx-js .hx-buehne-zitat.ist-aktiv { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.hx-buehne-zitat blockquote { margin: 0; }
.hx-buehne-zitat blockquote p { margin: 0; font-family: var(--hx-f-demi); font-size: clamp(1.45rem, .95rem + 2vw, 3rem); line-height: 1.22; letter-spacing: -.012em; max-width: 32ch; color: var(--hx-text); }
.hx-buehne-zitat figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-top: 2rem; }
.hx-buehne-zitat figcaption strong { font-family: var(--hx-f-ui); font-size: 1.05rem; }
.hx-buehne-zitat figcaption span { font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--hx-text-2); }
.hx-buehne-steuerung { display: flex; align-items: center; gap: 1rem; margin-top: clamp(2rem, 3.6vw, 3rem); padding-left: clamp(0px, 9vw, 150px); }
.hx-buehne-zahl { font-family: var(--hx-f-cond); letter-spacing: .18em; font-size: .86rem; font-variant-numeric: tabular-nums; color: var(--hx-text-2); }
.hx-buehne-zahl span { color: var(--hx-text); }
.hx-buehne-balken { flex: 1; max-width: 280px; height: 2px; background: var(--hx-linie); overflow: hidden; }
.hx-buehne-balken span { display: block; height: 100%; background: var(--hx-gold); transform-origin: 0 50%; transform: scaleX(0); }
.hx-buehne-balken.ist-laeuft span { animation: hx-balken var(--hx-buehne-dauer, 8s) linear forwards; }
@keyframes hx-balken { to { transform: scaleX(1); } }

/* ==========================================================================
   PRODUKTE gestapelt
   ========================================================================== */
.hx-produkte.ist-stapel .hx-produkte-raster { display: block; }
.hx-produkte.ist-stapel .hx-produkt-karte { position: sticky; top: calc(var(--hx-kopf-h) + 28px + var(--i, 0) * 16px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: min(68vh, 560px); margin: 0 0 4vh; border-radius: 26px; overflow: hidden; background: var(--hx-flaeche); border: 1px solid var(--hx-linie); box-shadow: 0 -24px 60px -36px rgba(0, 0, 0, .5); transform-origin: 50% 0; }
.hx-produkte.ist-stapel .hx-produkt-bild { position: relative; display: block; min-height: 100%; }
.hx-produkte.ist-stapel .hx-produkt-bild .hx-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.hx-produkte.ist-stapel .hx-produkt-text { display: flex; flex-direction: column; justify-content: center; gap: .7rem; padding: clamp(28px, 4vw, 64px); }
.hx-produkte.ist-stapel .hx-produkt-text strong { font-family: var(--hx-f-titel); font-size: clamp(2rem, 1.2rem + 2.6vw, 3.8rem); line-height: .95; letter-spacing: -.03em; }
.hx-produkte.ist-stapel .hx-produkt-text em { font-style: normal; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .14em; font-size: .86rem; color: var(--hx-akzent-text); }
.hx-produkte.ist-stapel .hx-produkt-text > span:last-child { color: var(--hx-text-2); max-width: 44ch; }
.hx-produkte.ist-stapel .hx-karte-pfeil { position: absolute; right: 22px; top: 22px; }

/* ==========================================================================
   GROSSER ABSCHLUSS
   ========================================================================== */
.hx-ecta { overflow: hidden; padding-block: clamp(110px, 14vw, 220px) !important; }
.hx-ecta-titel { margin: 1.2rem 0 0; max-width: 14ch; font-size: clamp(3rem, 1rem + 7.8vw, 10.5rem); line-height: .88; letter-spacing: -.045em; color: var(--hx-text); }
.hx-ecta-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 4rem; margin-top: clamp(2.4rem, 4.4vw, 4.4rem); }
.hx-ecta-text { margin: 0; max-width: 42ch; font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); color: var(--hx-text-2); }
.hx-ecta-kreis { display: grid; place-content: center; justify-items: center; gap: .55rem; width: clamp(150px, 14vw, 210px); aspect-ratio: 1; border-radius: 50%; background: #1E1E1C; color: #FFFDF8; text-align: center; padding: 1.2rem; font-family: var(--hx-f-ui); font-size: clamp(.95rem, .9rem + .2vw, 1.08rem); line-height: 1.2; transition: background-color .35s, color .35s; will-change: transform; }
.hx-ecta-kreis svg { color: var(--hx-gold); transition: transform .5s var(--hx-ease-weich); }
.hx-ecta-kreis:hover { background: #0D0D0C; }
.hx-ecta-kreis:hover svg { transform: rotate(45deg); }
[data-ton="dunkel"] .hx-ecta-kreis { background: var(--hx-gold); color: #1E1E1C; }
[data-ton="dunkel"] .hx-ecta-kreis svg { color: #1E1E1C; }
.hx-ecta .hx-ctas { margin: 0; }

/* ==========================================================================
   FUSS mit Vorhang-Effekt
   ========================================================================== */
.hx-efuss { position: relative; overflow: hidden; padding-top: clamp(90px, 11vw, 170px); background: var(--hx-nacht-tief); }
html.hx-bewegt.hx-vorhang-fuss .hx-main { position: relative; z-index: 2; background: var(--hx-bg); margin-bottom: var(--hx-fuss-h, 0px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); }
html.hx-bewegt.hx-vorhang-fuss .hx-efuss { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; }
.hx-efuss-oben { padding-bottom: clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--hx-linie); }
.hx-efuss-gross { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 1.4rem; font-family: var(--hx-f-titel); font-size: clamp(2.6rem, 1rem + 6.6vw, 8.8rem); line-height: .9; letter-spacing: -.04em; color: var(--hx-creme-text); }
.hx-efuss-gross svg { flex: none; width: clamp(40px, 5vw, 92px); height: auto; color: var(--hx-gold); transition: transform .6s var(--hx-ease-weich); }
.hx-efuss-gross:hover svg { transform: rotate(45deg); }
.hx-efuss-gross span { max-width: 14ch; }
.hx-efuss-kontakt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2.6rem; margin-top: clamp(1.8rem, 3vw, 2.8rem); }
.hx-efuss-mail { font-family: var(--hx-f-titel); font-size: clamp(1.5rem, 1rem + 2vw, 2.9rem); letter-spacing: -.02em; color: var(--hx-creme-text); background: linear-gradient(var(--hx-gold), var(--hx-gold)) left bottom / 0 3px no-repeat; transition: background-size .5s var(--hx-ease-weich), color .3s; padding-bottom: 4px; }
.hx-efuss-mail:hover { background-size: 100% 3px; color: var(--hx-gold); }
.hx-efuss-tel { display: inline-flex; align-items: center; gap: .55em; font-family: var(--hx-f-ui); font-size: 1.1rem; color: var(--hx-creme-text); }
.hx-efuss-tel:hover { color: var(--hx-gold); }
.hx-efuss-adresse { font-style: normal; color: var(--hx-text-2); font-size: .98rem; }
.hx-efuss-raster { padding-block: clamp(50px, 6vw, 84px); }
.hx-efuss-uhr { margin: 1.4rem 0 0; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--hx-text-2); }
.hx-efuss-uhr strong { color: var(--hx-gold); font-variant-numeric: tabular-nums; letter-spacing: .1em; font-weight: 400; margin-left: .4em; }
.hx-efuss-logo { padding: 0 var(--hx-rand); overflow: hidden; }
.hx-efuss-logo-in { max-width: 1180px; margin: 0 auto; will-change: transform; }
.hx-efuss-logo .hx-logo { display: block; }
.hx-efuss-logo .hx-logo img { width: 100%; height: auto; }
.hx-efuss-logo .hx-logo-text { display: block; font-size: clamp(5rem, 22vw, 24rem); line-height: .8; text-align: center; color: var(--hx-creme-text); }
.hx-efuss .hx-fuss-unten { align-items: center; }
.hx-efuss-hoch { display: inline-flex; align-items: center; gap: .45em; font-family: var(--hx-f-cond); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--hx-text-2); }
.hx-efuss-hoch:hover { color: var(--hx-gold); }
.hx-efuss-hoch svg { transform: rotate(180deg); }

/* Magnetische Knöpfe */
.hx-magnetisch .hx-btn, [data-hx-magnet] { will-change: transform; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hx-menschen-werte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-wert:nth-child(2) { border-right: 0; padding-right: 0; }
  .hx-wert:nth-child(3) { padding-left: 0; }
  .hx-wert:nth-child(n+3) { border-top: 1px solid var(--hx-linie); }
  .hx-projreihe { grid-template-columns: 3rem minmax(0, 1.6fr) minmax(0, 1fr) 2.4rem; }
  .hx-projreihe-kat { display: none; }
}
@media (max-width: 900px) {
  .hx-ehero-sucher { inset: calc(var(--hx-kopf-h) + 10px) 14px 64px; }
  .hx-ehero-format, .hx-ehero-fokus { display: none; }
  .hx-ehero-leiste { padding-block: 14px 20px; font-size: .7rem; }
  .hx-ehero-uhr { display: none; }
  html.hx-bewegt .hx-showreel { height: 190vh; }
  .hx-showreel { --ix: calc((1 - var(--p)) * 7vw); --iy: calc((1 - var(--p)) * 30vh); }
  .hx-showreel-wort { display: none; }
  .hx-showreel-tc { display: none; }
  .hx-refpro-zeile, .hx-refpro-zeile.ist-umgekehrt { grid-template-columns: minmax(0, 1fr); }
  .hx-refpro-zeile.ist-umgekehrt .hx-refpro-text { order: 0; }
  .hx-refpro .hx-vlauf { height: 460px; }
  .hx-refpro .hx-vlauf-reels { height: 560px; }
  .hx-projreihe { grid-template-columns: 76px minmax(0, 1fr) 2.2rem; gap: .9rem; padding: .9rem 0; }
  .hx-projreihe:hover, .hx-projreihe:focus-visible { padding-left: .6rem; padding-right: .4rem; }
  .hx-projreihe-nr, .hx-projreihe-kat { display: none; }
  .hx-projreihe-media { display: block; grid-row: 1 / span 2; border-radius: 10px; overflow: hidden; }
  .hx-projreihe-media .hx-media { border-radius: 0; }
  .hx-projreihe-titel { grid-column: 2; font-size: 1.25rem; }
  .hx-projreihe-kunde { grid-column: 2; grid-row: 2; font-size: .72rem; }
  .hx-projreihe-pfeil { grid-column: 3; grid-row: 1 / span 2; width: 2.2rem; height: 2.2rem; }
  .hx-projvorschau { display: none; }
  .hx-playlist-raster { grid-template-columns: minmax(0, 1fr); }
  .hx-playlist-player { position: relative; top: 0; }
  .hx-playlist-liste { max-height: none; overflow: visible; }
  .hx-menschen-intro { grid-template-columns: minmax(0, 1fr); }
  .hx-menschen-collage { max-width: 560px; }
  .hx-menschen-team-kopf { grid-template-columns: minmax(0, 1fr); }
  .hx-menschen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-menschen-spalte { display: contents; }
  .hx-menschen-spalte .hx-mensch { order: var(--i, 0); }
  .hx-menschen-spalte:nth-child(n) { margin-top: 0; }
  .hx-menschen-raster > .hx-menschen-spalte > .hx-mensch:nth-child(n) { margin-top: 0; }
  .hx-produkte.ist-stapel .hx-produkt-karte { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hx-produkte.ist-stapel .hx-produkt-bild { min-height: 220px; }
  .hx-leist-panel:nth-of-type(odd) { transform: none; }
  .hx-leist-panel { flex-basis: min(78vw, 360px); }
  .hx-leist-media { height: 52vh; min-height: 300px; }
  .hx-efuss-gross { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .hx-elogos, .hx-buehne-sektion { padding-block: 72px !important; }
  .hx-manifest { padding-block: 90px !important; }
  .hx-ehero-titel { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .hx-ehero-fuss .hx-ctas { width: 100%; }
  .hx-menschen-werte { grid-template-columns: minmax(0, 1fr); }
  .hx-wert, .hx-wert:nth-child(n) { padding: 1.6rem 0; border-right: 0; border-top: 1px solid var(--hx-linie); }
  .hx-wert:first-child { border-top: 0; }
  .hx-menschen-raster { gap: 12px; }
  .hx-mensch-info { padding: 3rem .9rem .9rem; }
  .hx-mensch h3 { font-size: 1.12rem; }
  .hx-mensch-rolle { font-size: .66rem; }
  .hx-mensch-antrieb { display: none; }
  .hx-mensch-mail span { display: none; }
  .hx-buehne-zitat, .hx-buehne-steuerung { padding-left: 0; }
  .hx-buehne-zeichen { font-size: 8rem; top: -.45em; opacity: .35; }
  .hx-ecta-kreis { width: 140px; }
  .hx-kulisse { width: 62vw; }
  .hx-kulisse:nth-child(3n+2) { width: 44vw; }
}

/* Reduzierte Bewegung: alles ruhig und vollständig sichtbar */
@media (prefers-reduced-motion: reduce) {
  .hx-elogos-spur, .hx-rec-punkt, .hx-menschen-kreis, .hx-ehero-scroll-linie::after, .hx-leist-hinweis svg { animation: none !important; }
  .hx-intro, .hx-vorhang, .hx-cursor { display: none !important; }
}

/* Druck */
@media print {
  .hx-intro, .hx-vorhang, .hx-cursor, .hx-fortschritt, .hx-grain, .hx-showreel, .hx-kulissen { display: none !important; }
  .hx-leist-spur { flex-wrap: wrap; overflow: visible; }
  .hx-mw { opacity: 1 !important; }
  .hx-efuss { position: static !important; }
}
