/* ==========================================================================
   timon gfx — Alternative „Dark Observatory"
   Reines Schwarz als Bühne, riesige, leichte Headlines mit negativem
   Tracking, keine Karten/Boxen. Einziger Akzent: CI-Gelb #FFFF00.
   Signatur: eine Konstellation aus den Fragmenten des TIMON-Monogramms.
   ========================================================================== */

:root {
  --void: #000000;
  --white: #ffffff;
  --yellow: #ffff00;
  --grey: #9d9d9c;       /* CI-Grau – Nav, Labels */
  --mist: #bdbdbd;       /* Fließtext sekundär */
  --line: #222222;

  --font: "Barlow", "Inter", system-ui, -apple-system, sans-serif;
  /* Bebas Neue: kondensierte Grotesk, sehr nah an der Logo-Schrift */
  --font-display: "Bebas Neue", "Barlow Condensed", "Arial Narrow", sans-serif;

  --text-display: clamp(84px, 13vw, 200px);
  --text-h-lg: clamp(64px, 9vw, 140px);
  --text-h: clamp(34px, 3.8vw, 54px);
  --text-h-sm: clamp(24px, 2.4vw, 34px);
  --text-body: 18px;

  --max: 1280px;
  --gutter: clamp(18px, 3.2vw, 36px);
  --section: clamp(96px, 13vw, 180px);
  --radius: 24px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-snap: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-intro { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--void); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sr-only:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 200; background: var(--yellow); color: var(--void); padding: 10px 16px; margin: 0; border-radius: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.wrap--full { max-width: none; padding-inline: clamp(18px, 4vw, 72px); }

/* ---------- Typo ---------- */

.display, .h-lg, .h, .h-sm { font-weight: 400; margin: 0; }
.display, .h-lg, .h {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-feature-settings: "kern";
}
.display { font-size: var(--text-display); line-height: 0.86; letter-spacing: 0; }
.h-lg    { font-size: var(--text-h-lg);   line-height: 0.88; letter-spacing: 0.005em; }
.h       { font-size: var(--text-h);      line-height: 0.95; letter-spacing: 0.01em; }
.h-sm    { font-size: var(--text-h-sm);   line-height: 1.2;  letter-spacing: -0.02em; }
.display em, .h-lg em { font-style: normal; color: var(--yellow); }

.body { font-size: var(--text-body); font-weight: 300; line-height: 1.55; color: var(--mist); margin: 0; max-width: 46ch; }
.dim { color: #5c5c5b; }

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--void);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(255, 255, 0, 0.14); }

.ghost {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.ghost::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.ghost:hover { color: var(--white); }
.ghost:hover::after { transform: scaleX(1); }

/* ---------- Intro ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--void);
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.no-js .intro { display: none; }
.intro__stage { display: grid; justify-items: center; gap: 28px; }
.intro__mono { width: min(38vw, 220px); aspect-ratio: 308 / 303; overflow: visible; }
.intro__word { width: min(46vw, 260px); aspect-ratio: 310 / 48; }

.intro__mono .part {
  fill: var(--white);
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.4);
  opacity: 0;
  transition: transform 1s var(--ease-snap), opacity 0.5s;
  transition-delay: var(--delay);
}
.intro.is-in .intro__mono .part { transform: none; opacity: 1; }
.intro__word path {
  fill: var(--yellow);
  opacity: 0;
  transform: translateY(40%);
  transform-box: fill-box;
  transition: opacity 0.4s, transform 0.6s var(--ease);
  transition-delay: calc(0.9s + var(--i) * 0.07s);
}
.intro.is-in .intro__word path { opacity: 1; transform: none; }

/* ---------- Konstellation ---------- */

.constellation {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
main, .footer, .nav { position: relative; z-index: 1; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: transform 0.5s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.nav.is-scrolled::before { opacity: 1; }
.nav__bar {
  position: relative;
  max-width: none;
  margin-inline: auto;
  padding: 24px clamp(18px, 4vw, 72px);
  transition: padding 0.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mono { width: 42px; aspect-ratio: 308 / 303; fill: var(--white); overflow: visible; }
.brand__mono .part, .brand__word path { transform-box: fill-box; transform-origin: center; will-change: transform; }
.brand__word { width: 124px; aspect-ratio: 310 / 48; fill: var(--yellow); }

.nav.is-scrolled .nav__bar { padding-block: 12px; }
.nav__bar > nav { margin-left: auto; margin-right: clamp(12px, 1.6vw, 28px); }
/* vordere Partikel-Ebene: nur Hover-Punkte (Menü, Projekte) */
.constellation--front { z-index: 60; }
.nav__links { display: flex; gap: clamp(24px, 2.6vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a.is-current { color: var(--yellow); }
.nav__cta { font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: 0.04em; padding: 12px 22px 10px; }
.nav__links-cta { display: none; }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--void);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  transition: transform 0.3s var(--ease);
}
.nav__toggle span { transform: translateY(-3px); }
.nav__toggle span::before { content: ""; position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 0 var(--gutter);
    background: var(--void);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__links a {
    font-family: var(--font-display);
    font-size: clamp(52px, 15vw, 80px);
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--white);
    line-height: 1.1;
  }
  .nav__links-cta { display: block; margin-top: 16px; }
  .nav__links-cta a { color: var(--yellow); }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 0 clamp(80px, 10vh, 120px);
  position: relative;
}
.hero .display { font-size: clamp(72px, 11.5vw, 240px); }
.hero .line { white-space: nowrap; }
.hero .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.is-ready .hero .line > span { transform: none; }
.hero__foot {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: 720px;
}
.hero__actions { display: flex; align-items: center; gap: 28px; }
.hero__hint {
  position: absolute;
  right: clamp(18px, 4vw, 72px);
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  writing-mode: vertical-rl;
}
.hero__hint i {
  width: 2px;
  height: 56px;
  background: linear-gradient(var(--yellow) 50%, transparent 50%) 0 0 / 100% 200%;
  animation: hint 2s var(--ease) infinite;
}
@keyframes hint { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.hero__tip {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #4d4d4c;
  white-space: nowrap;
}
@media (hover: none), (max-width: 900px) { .hero__tip { display: none; } }
@media (max-width: 760px) {
  .hero { padding-bottom: 72px; }
  .hero__hint { display: none; }
}

/* ---------- Sections ---------- */

.section { padding-top: var(--section); }
.section__head { margin-bottom: clamp(56px, 8vw, 110px); }
.section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.split {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.split .h { max-width: 26ch; font-size: clamp(34px, 4.2vw, 64px); line-height: 0.98; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Leistungen ---------- */

.services {
  --bleed: clamp(0px, calc((100vw - 1280px) / 2), 96px); /* Bild ragt so weit links über den Rand */
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 96px);
}
.services__visual { position: relative; }
.svc-float {
  position: absolute;
  left: calc(-1 * var(--bleed)); right: 0; top: 0;
  transform: translateY(var(--svc-y, 0px));
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
.svc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.svc-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease);
}
.svc-media img.is-active { opacity: 1; transform: none; }
/* gelber Wischbalken beim Bildwechsel */
.svc-media__wipe {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateY(101%);
  pointer-events: none;
}
.svc-media.is-switching .svc-media__wipe { animation: wipe 0.9s var(--ease-snap); }
@keyframes wipe {
  0% { transform: translateY(101%); }
  45% { transform: translateY(0); }
  100% { transform: translateY(-101%); }
}
.svc-caption {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.svc-caption span:first-child { color: var(--yellow); }
.svc-caption__name { margin-left: auto; color: var(--white); }

.services__list { list-style: none; margin: 0; padding: 0 0 0 32px; position: relative; }
/* Fortschrittslinie: zeigt, wo man sich in den Leistungen befindet */
.svc-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.svc-rail i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--yellow); transition: height 0.7s var(--ease); }
.svc { position: relative; }
.svc::after {
  content: "";
  position: absolute;
  left: -37px;
  top: 56px; /* Mitte der Nummer: 44px Innenabstand + 8px + halbe Zeilenhöhe − halber Punkt */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--void);
  box-shadow: inset 0 0 0 2px #3a3a3a;
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.svc.is-active::after { background: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 255, 0, 0.15); transform: scale(1.15); }
.svc.is-active .svc__num { color: var(--yellow); }
.svc {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  opacity: 0.32;
  transition: opacity 0.5s;
  cursor: default;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc.is-active { opacity: 1; }
.svc__img { display: none; }
.svc__num { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--grey); padding-top: 8px; transition: color 0.4s; }
.svc .h { margin-bottom: 14px; }
.svc__tags { margin: 18px 0 0; font-size: 14px; color: var(--grey); letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .services__visual { display: none; }
  .svc { grid-template-columns: 1fr; gap: 10px; opacity: 1; padding: 36px 0; }
  .svc__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 10px;
  }
}

/* ---------- Arbeiten ---------- */

.work {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding-inline: 12px;
}
.work__item {
  position: relative;
  grid-column: span 4;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}
.work__item--sq   { grid-column: span 4; aspect-ratio: 1 / 1; }   /* Quadrate: drei nebeneinander */
.work__item--wide { grid-column: span 6; aspect-ratio: 3 / 2; }   /* Querformate: zwei nebeneinander */

.work__item img, .work__item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(1) contrast(1.08) brightness(0.82);
  transform: scale(1.02);
  transition: filter 0.6s var(--ease), transform 1.2s var(--ease);
}
.work__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.78));
}
.work__item:hover img, .work__item:focus-visible img,
.work__item:hover video, .work__item:focus-visible video { filter: none; transform: scale(1.07); }

.work__num {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.3s, color 0.3s;
}
.work__item:hover .work__num { background: var(--yellow); color: var(--void); }
.work__meta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.work__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 0.9;
  text-transform: uppercase;
  transition: transform 0.5s var(--ease), color 0.3s;
}
.work__item:hover .work__title { color: var(--yellow); transform: translateY(-4px); }
.work__cat {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .work { padding-inline: 8px; gap: 8px; }
  .work__meta { left: 14px; right: 14px; bottom: 12px; }
  .work__cat { white-space: normal; font-size: 11px; }
  .work__item img, .work__item video { filter: none; }
}
@media (max-width: 600px) {
  .work__item--sq, .work__item--wide { grid-column: span 12; }
}
@media (hover: none) { .work__item img, .work__item video { filter: none; } }

/* ---------- Ablauf ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 7vw, 96px); }
.step {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}
.step__glyph { height: clamp(150px, 19vw, 280px); width: auto; aspect-ratio: 90 / 120; overflow: visible; justify-self: start; }
.step__glyph text {
  font-family: var(--font-display);
  font-size: 150px;
  fill: rgba(255, 255, 0, 0);
  stroke: var(--white);
  stroke-width: 1.2;
  stroke-dasharray: 520;
  stroke-dashoffset: calc(520 * (1 - var(--p, 0)));
  transition: fill 0.7s var(--ease), stroke 0.5s;
}
/* Fertig gezeichnet: Kontur weg, nur noch Füllung → keine Kanten an den Strich-Enden */
.step__glyph text { stroke-linejoin: round; stroke-linecap: round; }
.step.is-done .step__glyph text { fill: var(--yellow); stroke: transparent; stroke-dasharray: none; }
.step__num { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.step .h { margin-bottom: 14px; }
@media (max-width: 760px) {
  .step { grid-template-columns: 84px 1fr; gap: 20px; align-items: start; }
  .step__glyph { height: 112px; }
}

/* ---------- Kontakt (invertiert: hell) ---------- */

.contact { padding-top: calc(var(--section) * 0.6); }
.contact__stage { height: clamp(240px, 40vh, 440px); }
.contact__panel {
  --ink: #0a0a0a;
  margin: 0;
  border-radius: 0;
  background: #f4f4f1;
  color: var(--ink);
  padding: clamp(56px, 8vw, 120px) 0;
  position: relative;
  z-index: 1;
}
.contact__panel ::selection { background: var(--ink); color: var(--yellow); }
.contact__panel :focus-visible { outline-color: var(--ink); }
.contact__panel .label {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact__panel .label::before { content: ""; width: 10px; height: 10px; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }
.display--contact { font-size: clamp(60px, 6.6vw, 112px); max-width: 11ch; }
.contact__intro { margin: 28px 0 0; max-width: 40ch; font-size: 19px; line-height: 1.5; color: #3d3d3c; }
.display--contact em, .contact__panel .display em { color: inherit; background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%); }
.contact__mail {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 100% 30% no-repeat;
  padding: 0 4px;
  transition: background-size 0.4s var(--ease);
}
.contact__mail:hover { background-size: 100% 100%; }
.contact .split { grid-template-columns: 6fr 6fr; }
@media (max-width: 900px) {
  .contact .split { grid-template-columns: 1fr; }
}

.form { display: grid; gap: 8px; }
.chips { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #5a5a59; margin-bottom: 14px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1.5px #c9c9c6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  user-select: none;
}
.chip span:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--yellow); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.field { display: grid; gap: 6px; padding: 14px 0 10px; border-bottom: 1.5px solid #c9c9c6; transition: border-color 0.3s; }
.field:focus-within { border-color: var(--ink); }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #5a5a59; }
.field input, .field textarea {
  background: transparent;
  border: 0;
  outline: none;
  padding: 4px 0;
  font: inherit;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  resize: vertical;
}
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.form__foot .btn { background: var(--ink); color: var(--yellow); }
.form__foot .btn:hover { box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.1); }
.form__note { font-size: 13px; color: #5a5a59; margin: 0; max-width: 30ch; }

/* ---------- Footer ---------- */

.footer { padding: clamp(64px, 8vw, 110px) 0 32px; }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.brand--footer { gap: 20px; align-self: start; }
.brand--footer .brand__mono { width: clamp(52px, 5vw, 72px); }
.brand--footer .brand__word { width: clamp(150px, 15vw, 210px); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer__bottom { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #5c5c5b; }
.footer__bottom a:hover { color: var(--white); }
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .brand--footer { grid-column: 1 / -1; }
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .hero .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero .line > span { transform: none; }
  .step__glyph path { stroke-dashoffset: 0; }
}

/* ---------- Hero: Beschriftung des Partikel-Icons ---------- */

.hero__shape {
  position: absolute;
  z-index: 1;
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.hero__shape-num { color: var(--yellow); }
.hero__shape.is-on { animation: shape-in 0.9s var(--ease) forwards; }
@keyframes shape-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 899px) { .hero__shape { display: none; } }

/* ---------- Haltung: Partikel-Bühne links ---------- */

.haltung .split { align-items: center; }
.haltung__stage, .kompetenz__stage {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
}
.haltung__text .accent { color: var(--yellow); }
.haltung__stage { max-width: 540px; } /* Motive größer */
@media (max-width: 900px) {
  .haltung__stage, .kompetenz__stage { aspect-ratio: 4 / 3; max-width: none; }
}

/* ---------- FAQ: klassisch ---------- */

.faq-layout { max-width: 1000px; }
.faq-aside { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.faq-aside .label { justify-content: center; }
.faq-aside .h-lg { margin-bottom: 22px; }
.faq-aside .body { max-width: 44ch; margin-inline: auto; }
.faq-link { color: var(--yellow); border-bottom: 1px solid rgba(255, 255, 0, 0.4); }
.faq-link:hover { border-color: var(--yellow); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 48px 1fr 44px;
  align-items: center;
  gap: 12px;
  padding: 28px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__num { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--grey); transition: color 0.3s; }
.faq-item__q {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: color 0.3s, transform 0.5s var(--ease);
}
.faq-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #3a3a3a;
  position: relative;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.5s var(--ease);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item summary:hover .faq-item__q { color: var(--yellow); transform: translateX(6px); }
.faq-item summary:hover .faq-item__num { color: var(--yellow); }
.faq-item[open] .faq-item__num { color: var(--yellow); }
.faq-item[open] .faq-item__icon { background: var(--yellow); box-shadow: none; transform: rotate(180deg); }
.faq-item[open] .faq-item__icon::before, .faq-item[open] .faq-item__icon::after { background: var(--void); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__a { padding: 0 56px 30px 60px; }
.faq-item__a p { margin: 0; color: var(--mist); font-size: 18px; line-height: 1.6; max-width: 58ch; }
.faq-item[open] .faq-item__a { animation: faq-open 0.6s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .faq-item summary { grid-template-columns: 36px 1fr 40px; }
  .faq-item__a { padding: 0 0 26px 48px; }
}

/* ---------- Projekte: Partikel beim Hover ---------- */

.work__item.is-focus .work__num { opacity: 0; }
.work__num { transition: opacity 0.3s, background-color 0.3s, color 0.3s; }

/* ---------- Kontakt: eingefärbtes Wort statt Unterstreichung ---------- */

.contact__mail { background: none !important; padding: 0 !important; font-weight: 600; }
.contact__mail::after { content: " →"; transition: margin 0.3s; }
.contact__mail:hover { color: var(--ink); }
.contact__mail:hover::after { margin-left: 6px; }


@media (max-width: 760px) {
  .hero .display { font-size: 14.2vw; }
}

/* ---------- Scroll-Aufbau: Stück für Stück ---------- */

/* Überschriften Wort für Wort */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.words .w > span {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 0.06s);
}
.words.is-in .w > span { transform: none; }

/* Bilder ziehen sich von unten auf (Clip nur am Bild – die Kachel selbst
   bleibt messbar, sonst löst die Einblend-Erkennung nie aus) */
.clip { opacity: 1 !important; transform: none !important; }
.clip img, .clip video {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.25);
  transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease), filter 0.6s var(--ease);
  transition-delay: var(--d, 0s);
}
.clip.is-in img, .clip.is-in video { clip-path: inset(0 0 0 0); transform: none; }
.work__item.clip.is-in:hover img, .work__item.clip.is-in:hover video { transform: scale(1.07); transition-delay: 0s; }
.clip .work__meta, .clip .work__num { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0s) + 0.5s); }
.clip.is-in .work__meta, .clip.is-in .work__num { opacity: 1; transform: none; }
.work__item.is-focus .work__num { opacity: 0 !important; }

/* Linien zeichnen sich */
.line-in { position: relative; border-top-color: transparent !important; }
.line-in::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.line-in.is-in::before { transform: scaleX(1); }

/* Labels gleiten von links herein */
.label.reveal { transform: translateX(-24px); }
.label.reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .words .w > span, .clip, .clip img, .clip video { transform: none !important; clip-path: none !important; }
}
.no-js .words .w > span { transform: none; }
.no-js .clip { clip-path: none; }


/* ---------- Hero: zweiter Button als weiße Kontur ---------- */

.btn--outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--white);
}
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--white), 0 0 0 6px rgba(255, 255, 255, 0.12); }

/* ---------- Kontakt: „hi." in Grau, darüber schwarze Logo-Fragmente ---------- */

.contact__panel .display .hi-word { position: relative; display: inline-block; font-style: normal; color: var(--grey); background: none; }
.hi-word canvas { position: absolute; pointer-events: none; }

/* ---------- Projekte: Kopf ---------- */

.work__head .body { margin-top: 22px; max-width: 46ch; }

/* ---------- Kontakt: „hi." nur aus Partikeln ---------- */

.contact__panel .display .hi-word { color: transparent; }

/* Mehr Luft zwischen Leistungen und Projekten */
#arbeiten { padding-top: calc(var(--section) * 3.4); }

@media (max-width: 900px) { .svc::after { top: 48px; } }

/* FAQ: Antwort gleitet auf (Höhe wird per JS animiert) */
.faq-item__a { overflow: hidden; }
.faq-item[open] .faq-item__a { animation: none; }
.faq-item__a p { transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.faq-item:not(.is-open) .faq-item__a p { opacity: 0; transform: translateY(-8px); }

/* ---------- Kompetenz (gleicher Aufbau wie Haltung) ---------- */

.kompetenz { padding-top: var(--section); }

/* ---------- Impressum & Datenschutz (unter dem Footer, nur per Link) ---------- */

.legal[hidden] { display: none; }
.legal {
  background: #0a0a0a;
  border-top: 1px solid var(--line);
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 120px);
  position: relative;
  z-index: 1;
}
.legal__close {
  border: 0;
  background: none;
  color: var(--grey);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin-bottom: 64px;
  transition: color 0.2s;
}
.legal__close:hover { color: var(--yellow); }
.legal__block { scroll-margin-top: 90px; }
.legal__block + .legal__block { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.legal__block .h-lg { margin-bottom: clamp(32px, 4vw, 56px); }
.legal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.legal h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}
.legal p { margin: 0 0 28px; color: var(--mist); line-height: 1.6; max-width: 56ch; }
.legal a { color: var(--yellow); }
@media (max-width: 760px) { .legal__cols { grid-template-columns: 1fr; } }


/* Footer: E-Mail-Adresse nicht in Versalien */
.footer ul a[href^="mailto"] { text-transform: none; letter-spacing: 0.02em; }

/* ---------- Projekt-Ansicht (Klick auf Kachel) ---------- */

.work__item { cursor: zoom-in; }
.project-view {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}
.project-view[hidden] { display: none; }
.project-view__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  cursor: zoom-out;
}
.project-view.is-open .project-view__backdrop { opacity: 1; }
.project-view__frame {
  position: fixed;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  cursor: zoom-out;
  will-change: left, top, width, height;
}
.project-view__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s var(--ease);
}
.project-view__bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(16px, 3vw, 32px) 22px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.project-view.is-open .project-view__bar { opacity: 1; transform: none; transition-delay: 0.25s; }
.project-view__cat {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1;
  text-transform: uppercase;
}
.project-view__count { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--grey); }
.project-view__nav { margin-left: auto; display: flex; gap: 8px; }
.project-view__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.project-view__btn:hover, .project-view__btn:focus-visible { background: var(--yellow); color: var(--void); border-color: var(--yellow); outline: none; }
.project-view__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.project-open { overflow: hidden; }
body.project-open .constellation--front { z-index: 85; }
body.project-open .nav { opacity: 0; pointer-events: none; }
@media (max-width: 700px) {
  .project-view__btn { width: 42px; height: 42px; }
  .project-view__count { display: none; }
}

/* Formular: Spam-Falle unsichtbar, Link im Hinweis */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form__status { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--ink); }
.form__status:empty { display: none; }
.form__status.is-error { color: #b00020; }
.form__status.is-ok { font-weight: 600; }

/* ==========================================================================
   Responsive Feinschliff (Tablet & Smartphone)
   ========================================================================== */
@media (max-width: 899px) {
  /* Hero: oben Platz für das Partikel-Motiv (Größe wie in constellation.js), Text darunter */
  .hero {
    justify-content: flex-start;
    padding-top: calc(80px + min(78vw, 34svh, 420px) + 28px);
  }
  /* Projekte: auf kleinen Bildschirmen reicht normaler Abstand */
  #arbeiten { padding-top: calc(var(--section) * 1.4); }
}
@media (max-width: 760px) {
  .hero .body { font-size: 16px; line-height: 1.6; }
  .hero__foot { margin-top: 28px; gap: 28px; }
  /* Buttons untereinander, volle Breite → nichts ragt über den Rand */
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 900px) {
  /* Menü: „Projekt anfragen" als klarer Button statt als weiterer, umbrechender Menüpunkt */
  .nav__links-cta { margin-top: 28px; }
  .nav .nav__links-cta a {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    border-radius: var(--radius);
    background: var(--yellow);
    color: var(--void);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
  }
}

/* Projekt-Kachel mit Video-Loop; in der großen Ansicht das ganze Video mit Ton */
.work__item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__play {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 99px;
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.work__play::before { content: ""; border-left: 8px solid var(--yellow); border-block: 5px solid transparent; }
.project-view__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; cursor: auto; }
.project-view__video[hidden], .project-view__img[hidden] { display: none; }
