/* ═══════════════════════════════════════════════════════════════
   beyshouse — Landingpage
   Farben, Schriften & Abstände zentral hier oben anpassen.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Markenfarben (aus den beyshouse-Assets gesampelt) ── */
  --red:       #DA281C;   /* Markenrot */
  --red-deep:  #750508;   /* dunkles Rot für Verläufe/Schatten */
  --black:     #0A0A0A;
  --white:     #FFFFFF;
  --off-white: #F6F4EF;   /* heller Sektionshintergrund */
  --grey:      #8A8A85;

  /* ── Typografie ── */
  --font-display: "Archivo", "Arial Black", sans-serif;      /* fette Headlines */
  --font-serif:   "Editorial New", Georgia, serif;           /* Akzent-Serif */
  --font-body:    "Archivo", "Helvetica Neue", sans-serif;   /* Fließtext */

  /* ── Motion ── */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 76px;
}

/* ── Archivo Variable (lokal, self-hosted; Achsen: wght 100–900, wdth 62–125) ── */
@font-face { font-family: "Archivo"; src: url("../landing-assets/fonts/archivo-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../landing-assets/fonts/archivo-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

/* ── Editorial New (lokal, aus G:\beyshouse\fonts) ── */
@font-face { font-family: "Editorial New"; src: url("../landing-assets/fonts/EditorialNew-Ultralight.ttf") format("truetype"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Editorial New"; src: url("../landing-assets/fonts/EditorialNew-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Editorial New"; src: url("../landing-assets/fonts/EditorialNew-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Editorial New"; src: url("../landing-assets/fonts/EditorialNew-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Editorial New"; src: url("../landing-assets/fonts/EditorialNew-Ultrabold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

/* ═══════════════ RESET / BASE ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: clip; /* "hidden" würde position:sticky brechen */
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--font-serif); font-weight: 200; font-style: italic; letter-spacing: 0.01em; }
::selection { background: var(--red); color: var(--white); }

/* ═══════════════ PRELOADER ═══════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s var(--ease-soft);
}
.preloader__badge { width: clamp(90px, 18vw, 150px); animation: spin 6s linear infinite; }
.preloader.is-done { transform: translateY(-101%); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════ HEADER ═══════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.header.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header__logo-img { height: clamp(20px, 3.4vw, 26px); width: auto; }
.header__logo-img--black { display: none; }
.header__cta { flex-shrink: 0; }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem;
  border-radius: 8px;
  padding: 0.9em 1.9em;
  min-height: 44px;
  position: relative; overflow: hidden;
  transition: color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), transform 0.25s var(--ease-out);
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--white);
  transform: translateY(101%);
  transition: transform 0.28s var(--ease-out);
  border-radius: inherit;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(0.96); }

.btn--pill, .btn--solid { background: var(--red); color: var(--white); }
.btn--pill:hover, .btn--pill:focus-visible,
.btn--solid:hover, .btn--solid:focus-visible { color: var(--black); }

.btn--outline { border: 1.5px solid var(--white); color: var(--white); background: transparent; }
.btn--outline:hover, .btn--outline:focus-visible { color: var(--black); border-color: var(--white); }

.btn--big { font-size: 0.85rem; padding: 1.1em 2.2em; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--red-deep);
}
.hero__media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.25) 34%, rgba(10,10,10,0) 60%),
    linear-gradient(to bottom, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0) 26%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: 0 clamp(18px, 5vw, 64px) clamp(90px, 14vh, 140px);
  max-width: 1100px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 120%;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 9.5vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero__title-serif {
  font-family: var(--font-serif);
  font-weight: 200; font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.92em;
}
.hero__sub {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.85);
}
.hero__cta { margin-top: 2rem; }
.hero__scroll {
  position: absolute; z-index: 2;
  right: clamp(18px, 4vw, 48px); bottom: clamp(24px, 5vh, 48px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll-line { width: 1.5px; height: 48px; background: rgba(255,255,255,0.65); overflow: hidden; position: relative; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%; background: var(--white);
  animation: scrollLine 1.8s var(--ease-soft) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }
.hero__scroll-label {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.3em;
  writing-mode: vertical-rl; color: rgba(255,255,255,0.65);
}
.hero__badge {
  position: absolute; z-index: 2;
  left: clamp(18px, 4vw, 48px); bottom: clamp(24px, 5vh, 48px);
  width: clamp(64px, 8vw, 96px);
  opacity: 0.95;
}

/* ═══════════════ MARQUEE ═══════════════ */
.marquee { overflow: hidden; padding: 1.05em 0; position: relative; z-index: 3; }
.marquee--red { background: var(--red); color: var(--white); transform: rotate(-1.5deg) scale(1.06); }
.marquee--black { background: var(--black); color: var(--white); }
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee__inner {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 115%;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 3vw, 1.9rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-right: 0.5em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════════ SECTION BASICS ═══════════════ */
.eyebrow {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.32em;
  font-size: 0.7rem; color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--red); }
.section-title {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 120%;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6.5vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.section-title em { text-transform: none; font-size: 0.95em; }
.section-title--dark { color: var(--black); }
.section-head { margin-bottom: clamp(3rem, 7vw, 5.5rem); }

/* ═══════════════ PRINCIPLES ═══════════════ */
.principles {
  position: relative;
  background: var(--black);
  padding: clamp(90px, 14vw, 170px) clamp(18px, 5vw, 64px);
  overflow: hidden;
}
.principles__bg-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(ellipse 60% 42% at 82% 12%, rgba(218,40,28,0.14), transparent 70%),
    radial-gradient(ellipse 50% 38% at 8% 78%, rgba(218,40,28,0.10), transparent 70%);
}
.principle {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: clamp(1.8rem, 4vw, 3rem) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  max-width: 1100px;
}
.principle:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.14); }
.principle::before {
  content: attr(data-num);
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.75rem; letter-spacing: 0.25em;
  color: var(--red);
}
.principle__word {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 122%;
  text-transform: uppercase;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 0.95;
  transition: color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.principle .dot { color: var(--red); }
.principle:hover .principle__word { color: var(--red); transform: translateX(0.06em); }
.principle__text { max-width: 34rem; color: rgba(255,255,255,0.78); font-size: clamp(0.95rem, 1.5vw, 1.05rem); }
.principles__badge {
  position: absolute;
  right: clamp(18px, 6vw, 80px); top: clamp(80px, 12vw, 150px);
  width: clamp(80px, 11vw, 140px);
  opacity: 0.9;
}
/* Mobile: Badge würde mit der Headline kollidieren */
@media (max-width: 700px) {
  .principles__badge { display: none; }
}

/* ═══════════════ SERVICES ═══════════════ */
.services {
  background: var(--off-white);
  color: var(--black);
  padding: clamp(90px, 14vw, 170px) clamp(18px, 5vw, 64px);
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1200px;
  border-top: 1.5px solid var(--black);
}
.service {
  border-bottom: 1.5px solid var(--black);
  padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(0.2rem, 1.5vw, 1.4rem);
  position: relative; overflow: hidden;
  transition: color 0.4s var(--ease-out);
  isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.service:hover { color: var(--white); }
.service:hover::before { transform: translateY(0); }
.service__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.72rem; letter-spacing: 0.28em; color: var(--red);
  transition: color 0.4s var(--ease-out);
}
.service:hover .service__num { color: rgba(255,255,255,0.85); }
.service__title {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 115%;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  margin: 0.5rem 0 0.7rem;
  line-height: 1.05;
}
.service__text { max-width: 40rem; font-size: 0.97rem; opacity: 0.85; }

/* ═══════════════ ABOUT ═══════════════ */
.about {
  background: var(--red);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
}
.about__media { position: relative; overflow: hidden; min-height: 320px; }
.about__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  will-change: transform;
  scale: 1.15;
}
.about__content { padding: clamp(60px, 9vw, 120px) clamp(18px, 5vw, 64px); max-width: 720px; }
.about__scribble { width: clamp(120px, 18vw, 190px); color: var(--white); margin: 0.8rem 0 0.4rem; }
.about__scribble path { stroke-dasharray: 900; stroke-dashoffset: 900; }
.about__content.in-view .about__scribble path { animation: draw 1.6s var(--ease-soft) 0.35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.about__text p { margin-top: 1.1rem; color: rgba(255,255,255,0.94); font-size: clamp(0.97rem, 1.5vw, 1.06rem); }
.about__facts { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.68rem;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 6px;
  padding: 0.55em 1.2em;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact {
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding: clamp(90px, 14vw, 180px) clamp(18px, 5vw, 64px);
}
.contact__bg { position: absolute; inset: -14% 0; z-index: 0; opacity: 0.55; will-change: transform; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 1200px; margin: 0 auto;
  align-items: center;
}
.contact__portrait {
  max-width: 420px;
  transform: rotate(-2.5deg);
}
.contact__portrait img { width: 100%; filter: grayscale(1) contrast(1.05); box-shadow: 0 30px 80px rgba(0,0,0,0.55); }
.contact__title {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 122%;
  text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.95;
}
.contact__title em { text-transform: none; color: var(--red); font-size: 0.95em;
  /* Serif auf Rot – bewusst als Kontrastmoment */
  -webkit-text-stroke: 0; }
.contact__sub { margin-top: 1.4rem; max-width: 30rem; color: rgba(255,255,255,0.82); }
.contact__actions { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.contact__actions .btn { width: 100%; max-width: 420px; }

/* ═══════════════ FOOTER ═══════════════ */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.12); padding: clamp(40px, 7vw, 70px) clamp(18px, 5vw, 64px) clamp(28px, 4vw, 40px); }
.footer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; }
.footer__logo { height: clamp(20px, 3vw, 26px); }
.footer__badge { width: clamp(54px, 7vw, 80px); opacity: 0.9; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  color: rgba(255,255,255,0.6); font-size: 0.82rem;
}
.footer__claim { font-family: var(--font-serif); font-style: italic; font-weight: 200; font-size: 1rem; color: rgba(255,255,255,0.85); }
.footer__nav { display: flex; gap: 1.4rem; }
.footer__nav a { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700; transition: color 0.3s; }
.footer__nav a:hover { color: var(--red); }

/* ═══════════════ V2: PANEL-STACKING (Sections überlagern sich) ═══════════════
   JS wickelt jedes .panel in ein .panel-wrap; das Padding erzeugt den
   "Dwell", in dem die nächste Section über die gepinnte gleitet. */
.stack { position: relative; }
.panel { position: sticky; top: 0; overflow: hidden; }
.panel-wrap { position: relative; }
.panel-spacer { height: 30vh; }
.panel--hero { background: var(--red-deep); }
.panel--black { background: var(--black); }
.panel--light { background: var(--off-white); }
.panel--red { background: var(--red); }
.panel--contact { background: var(--black); }
.panel:not(.panel--hero) { box-shadow: 0 -30px 70px rgba(0, 0, 0, 0.4); }

/* ═══════════════ V2: HEADER / BURGER ═══════════════ */
.header__right { display: flex; align-items: center; gap: 12px; }
.burger {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--black);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.burger:hover { transform: scale(1.08); }
.burger:active { transform: scale(0.94); }
.burger__line { width: 20px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.25s; }
.burger.is-open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; }
.burger.is-open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open .header__cta { opacity: 0; pointer-events: none; }
.header__cta { transition: opacity 0.3s; }

/* ═══════════════ V2: NAV OVERLAY ═══════════════ */
.nav-overlay {
  position: fixed; inset: 0; z-index: 95;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s 0.9s;
}
body.menu-open .nav-overlay { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.nav-overlay__bg {
  position: absolute; inset: 0; background: var(--red);
  transform: translateY(-101%);
  transition: transform 0.75s var(--ease-soft);
}
body.menu-open .nav-overlay__bg { transform: translateY(0); }
.nav-overlay__list {
  position: relative; list-style: none;
  padding: calc(var(--header-h) + 4vh) clamp(20px, 6vw, 90px) 0;
}
.nav-overlay__item { overflow: hidden; }
.nav-overlay__item a {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 120%;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 7.5vw, 5rem);
  line-height: 1.12;
  color: var(--white);
  transform: translateY(120%);
  /* Delay-Liste: [transform, color] – der Öffnungs-Stagger darf den
     Hover (color) nicht verzögern */
  transition: transform 0.65s var(--ease-out), color 0.1s ease-out;
}
.nav-overlay__item a:hover { color: var(--black); }
.nav-overlay__num {
  font-size: clamp(0.7rem, 1.4vw, 0.9rem);
  font-weight: 800; letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.75);
}
body.menu-open .nav-overlay__item:nth-child(1) a { transform: none; transition-delay: 0.28s, 0s; }
body.menu-open .nav-overlay__item:nth-child(2) a { transform: none; transition-delay: 0.35s, 0s; }
body.menu-open .nav-overlay__item:nth-child(3) a { transform: none; transition-delay: 0.42s, 0s; }
body.menu-open .nav-overlay__item:nth-child(4) a { transform: none; transition-delay: 0.49s, 0s; }
body.menu-open .nav-overlay__item:nth-child(5) a { transform: none; transition-delay: 0.56s, 0s; }
.nav-overlay__footer {
  position: absolute; left: 0; right: 0; bottom: max(3.5vh, env(safe-area-inset-bottom));
  padding: 0 clamp(20px, 6vw, 90px);
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem;
  color: var(--white);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out) 0s, transform 0.5s var(--ease-out) 0s;
}
body.menu-open .nav-overlay__footer { opacity: 1; transform: none; transition-delay: 0.6s; }
.nav-overlay__socials { display: flex; gap: 1.6rem; }
.nav-overlay__footer a { transition: color 0.1s; }
.nav-overlay__footer a:hover { color: var(--black); }
.nav-overlay__badge {
  position: absolute; right: clamp(20px, 7vw, 100px); top: 34vh;
  width: clamp(70px, 10vw, 130px); opacity: 0.9;
}
@media (max-width: 700px) { .nav-overlay__badge { display: none; } }

/* ═══════════════ V2: MOTION — FADE-UP (wiederholt sich beim Hochscrollen) ═══════════════ */
.fade-up { opacity: 0; transform: translateY(44px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.in-view .fade-up, .fade-up.in-view { opacity: 1; transform: none; }
.fade-up--d2 { transition-delay: 0.12s; }
.fade-up--d3 { transition-delay: 0.24s; }
.fade-up--d4 { transition-delay: 0.36s; }

/* ═══════════════ V2: BAR-REVEAL (Balken-Sweep wie landonorris) ═══════════════ */
.bar-reveal { position: relative; display: block; overflow: hidden; --bar: var(--red); --bd: 0s; }
.bar-reveal--d2 { --bd: 0.14s; }
.bar-reveal--d3 { --bd: 0.28s; }
.bar-reveal--white { --bar: var(--white); }
.bar-reveal .txt { display: inline-block; opacity: 0; transform: translateY(24%); }
.bar-reveal::after {
  content: ""; position: absolute; inset: 0 -0.06em;
  background: var(--bar);
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}
.in-view .bar-reveal::after {
  animation: barSweep 1.05s var(--ease-soft) var(--bd) forwards;
}
.in-view .bar-reveal .txt {
  animation: barTxtIn 0.01s linear calc(0.5s + var(--bd)) forwards;
}
@keyframes barSweep {
  0%   { transform: scaleX(0); transform-origin: 0 50%; }
  46%  { transform: scaleX(1); transform-origin: 0 50%; }
  54%  { transform: scaleX(1); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
@keyframes barTxtIn { to { opacity: 1; transform: none; } }

/* ═══════════════ V2: WIPE (diagonaler Bild-Reveal, beidseitig animiert) ═══════════════ */
.wipe > img { clip-path: polygon(0 0, 0 0, 0 0, 0 100%); transition: clip-path 1.15s var(--ease-soft); }
.wipe.in-view > img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.wipe--left > img { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
.wipe--left.in-view > img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

/* ═══════════════ V2: BITMAP-OVERLAY (Hero) + PIXEL-TRAIL (global) ═══════════════ */
.bitmap-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill='%230A0A0A'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%230A0A0A'/%3E%3C/svg%3E");
  background-size: 3px 3px;
  opacity: 0.22;
}
.pixel-trail {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  mix-blend-mode: difference;
}
.about__media { position: relative; }

/* ═══════════════ V2: SERVICES — Gradient-Hintergrund + Cursor-Preview ═══════════════ */
.services { position: relative; }
.services__gradient {
  position: absolute; inset: 0; pointer-events: none;
  /* --gx/--gy folgen der Maus (geeast in js/main.js), Idle-Drift inklusive */
  --gx: 50%; --gy: 35%;
  background:
    radial-gradient(48% 42% at var(--gx) var(--gy), rgba(218, 40, 28, 0.82), rgba(218, 40, 28, 0) 68%),
    radial-gradient(62% 56% at calc(var(--gx) + 22%) calc(var(--gy) + 30%), rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0) 70%),
    radial-gradient(36% 32% at calc(100% - var(--gx)) calc(90% - var(--gy) / 2), rgba(117, 5, 8, 0.55), transparent 70%);
  /* Bitmap-Dithering: Gradient nur durch Pixelraster sichtbar */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill='black'/%3E%3Crect x='1' y='1' width='1' height='1' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 4px 4px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill='black'/%3E%3Crect x='1' y='1' width='1' height='1' fill='black'/%3E%3C/svg%3E");
  mask-size: 4px 4px;
}
.section-head, .services__grid { position: relative; }
.services__preview {
  position: absolute; z-index: 4; top: 0; left: 0;
  width: clamp(200px, 24vw, 340px); aspect-ratio: 3 / 2; object-fit: cover;
  opacity: 0; pointer-events: none;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
  transition: opacity 0.35s var(--ease-out);
  will-change: transform;
}
.services__grid.preview-on .services__preview { opacity: 1; }
@media (hover: none) { .services__preview { display: none; } }
.service { background: transparent; }

/* ═══════════════ V2: REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel { position: static; }
  .panel-spacer { display: none; }
  .fade-up, .bar-reveal .txt { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .bar-reveal::after { display: none !important; }
  .wipe > img { clip-path: none !important; transition: none !important; }
  .marquee__track, .preloader__badge, .hero__scroll-line::after, .services__gradient { animation: none !important; }
  .badge-spin { transform: none !important; }
  .about__scribble path { stroke-dashoffset: 0 !important; animation: none !important; }
  [data-parallax] { transform: none !important; }
  .pixel-trail, .services__preview { display: none !important; }
  .bitmap-overlay { display: none !important; }
  .nav-overlay__bg, .nav-overlay__item a, .nav-overlay__footer { transition: none !important; }
}

/* ═══════════════ V2: FEINTUNING ═══════════════ */
/* Hero-Reveals warten auf den Preloader */
.hero .bar-reveal { --bd: 0.55s; }
.hero .bar-reveal--d2 { --bd: 0.72s; }
.hero .fade-up--d3 { transition-delay: 0.85s; }
.hero .fade-up--d4 { transition-delay: 1s; }
/* Services-Karten leicht gestaffelt */
.services__grid .service:nth-child(2) { transition-delay: 0.1s; }
.services__grid .service:nth-child(3) { transition-delay: 0.2s; }
.services__grid .service:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════ V2: DESKTOP-LAYOUTS (aus V1 übernommen) ═══════════════ */
@media (min-width: 768px) {
  .contact__actions { flex-direction: row; flex-wrap: wrap; }
  .contact__actions .btn { width: auto; }
}
@media (min-width: 960px) {
  .about { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .about__media { min-height: 100%; }
  .contact__inner { grid-template-columns: 0.8fr 1.2fr; }
  .services__grid { grid-template-columns: 1fr 1fr; border-left: 1.5px solid var(--black); }
  .service { border-right: 1.5px solid var(--black); }
}

/* ═══════════════ ABSCHLUSS-CTA unter DOMINATE ═══════════════ */
.principles__cta {
  max-width: 1100px;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(1.8rem, 4vw, 3rem);
}
.principles__cta-title {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 118%;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 4.6vw, 3.2rem);
  line-height: 1.05;
}
.principles__cta-title em { text-transform: none; }
.principles__cta-text { margin: 1rem 0 1.6rem; max-width: 32rem; color: rgba(255,255,255,0.8); }
