/* marcoeisenbarth.com – dunkel, bildgetrieben. Farben/Schriften nur hier oben ändern.
   Schrift wie 4reel.com: Arial Black, wo nicht installiert (Handys) die freie Inter Black (wie 4reel.com) – selbst gehostet. */
@font-face {
  font-family: "Inter 4R";
  src: url("/fonts/Inter-Black.woff") format("woff");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
:root {
  --bg: #0e0e0d;
  --bg2: #171715;
  --ink: #f2f0ea;
  --mute: #9b988f;
  --line: #2a2a27;
  --head: "Arial Black", "Inter 4R", "Arial Bold", Gadget, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --r: 6px;
  --gap: clamp(64px, 9vw, 128px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin: 0 0 14px; }

/* Kopf */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center;
       padding: 22px var(--pad); transition: background .3s, padding .3s; }
.top.solid { background: rgba(14,14,13,.92); backdrop-filter: blur(8px); padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand b { font: 900 14px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.brand span { font-size: 12px; letter-spacing: .14em; color: var(--mute); }
.menu { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.menu a { opacity: .75; transition: opacity .2s; padding: 4px 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current] { opacity: 1; border-bottom-color: currentColor; }

/* Startseite: Bühne */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
/* Zoom als Animation: läuft auch beim allerersten Bild direkt beim Laden */
.slide.on img, .slide.out img { animation: kenburns 7.5s linear forwards; } /* .out: läuft beim Ausblenden weiter, kein Sprung */
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,13,.92) 0%, rgba(14,14,13,.35) 38%, rgba(14,14,13,0) 60%),
              linear-gradient(to bottom, rgba(14,14,13,.55), rgba(14,14,13,0) 22%); }
.hero-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(32px, 7vh, 72px); padding: 0 var(--pad); max-width: var(--max); margin: 0 auto; }
.hero h1 { font-size: clamp(30px, 5.2vw, 76px); line-height: .98; text-transform: uppercase; letter-spacing: .01em; }
.hero-links { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--ink); padding: 8px 18px 8px 8px;
       border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(242,240,234,.55); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .play { position: static; width: 26px; height: 26px; background: var(--ink); box-shadow: none; backdrop-filter: none; }
.btn .play svg { fill: var(--bg); width: 10px; }
.btn:hover { background: rgba(242,240,234,.08); }
.now { font-size: 13px; color: var(--mute); }
.now b { color: var(--ink); font-weight: 500; }

/* Punkte-Raster über großen Bildern (kaschiert Artefakte/Unschärfe). Dichte: background-size, Stärke: Alpha */
.slides::after, .phero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(8,8,7,.32) 0.6px, transparent 1px);
  background-size: 3px 3px;
}
.phero .phero-text, .hero .hero-text { z-index: 3; }
/* Alternative: Filmkorn statt Punkte – <body class="grain"> */
.grain .slides::after, .grain .phero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px; mix-blend-mode: overlay; opacity: .85;
}

.phero::after { z-index: 2; }

/* Arbeiten */
.work { padding-top: var(--gap); padding-bottom: var(--gap); }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.work-head h2 { font-size: clamp(16px, 1.5vw, 20px); text-transform: uppercase; letter-spacing: .06em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--mute); transition: all .2s; }
.filters button:hover { color: var(--ink); border-color: var(--mute); }
.filters button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3.5vw, 56px) clamp(16px, 2vw, 28px); }
.tile:first-child { grid-column: 1 / -1; }
.tile:first-child .frame { aspect-ratio: 2.39 / 1; }
.tile.out { display: none; }
.frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--bg2); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.frame .alt { opacity: 0; }
.tile:hover .frame .main { transform: scale(1.04); }
.tile:hover .frame .alt { opacity: 1; transform: scale(1.04); }
.cap { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-top: 14px; }
.cap h3 { font-size: clamp(14px, 1.15vw, 16px); text-transform: uppercase; letter-spacing: .03em; }
.cap p { margin: 0; color: var(--mute); font-size: 13px; grid-column: 1; }
.cap .role { grid-column: 2; grid-row: 1; align-self: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
             color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

/* Projektseite */
.phero { position: relative; height: 78svh; min-height: 460px; overflow: hidden; display: flex; align-items: flex-end; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(14,14,13,.4) 40%, rgba(14,14,13,0) 65%),
                linear-gradient(to bottom, rgba(14,14,13,.5), rgba(14,14,13,0) 25%); }
.phero--plain { height: auto; min-height: 0; padding-top: clamp(140px, 22vh, 220px); }
.phero-text { position: relative; z-index: 2; padding-bottom: 40px; }
.phero h1 { font-size: clamp(26px, 3.6vw, 52px); line-height: 1; text-transform: uppercase; max-width: 100%; letter-spacing: .01em; }
.role-tag { display: inline-block; margin: 16px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(242,240,234,.4); border-radius: 999px; padding: 5px 12px; }
.pbody { padding-top: 28px; padding-bottom: var(--gap); display: grid; gap: 48px; }
.vid { margin: 0; }
.vid figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.video .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s, opacity .3s; }
.video:hover .poster { transform: scale(1.02); opacity: .85; }
.video .poster.cover { z-index: 1; pointer-events: none; transform: none; opacity: 1; transition: opacity .35s ease; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video--vertical { aspect-ratio: 9 / 16; }
.video--empty { display: grid; place-items: center; }
.video--empty .poster { opacity: .35; }
.video--empty span { position: relative; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.play { position: absolute; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
        background: rgba(14,14,13,.55); box-shadow: inset 0 0 0 1.5px rgba(242,240,234,.8); backdrop-filter: blur(6px); transition: transform .25s; }
.play svg { width: 22px; fill: var(--ink); margin-left: 3px; }
.video:hover .play { transform: scale(1.08); }
.more-vids { display: grid; gap: 28px; }
.more-vids.two { grid-template-columns: repeat(2, 1fr); }
.verts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.verts .play { width: 44px; height: 44px; right: 10px; bottom: 10px; }
.credits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 32px; margin: 0; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credits dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.credits dd { margin: 0; font-size: 15px; }
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 14px); }
.still { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--bg2); }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.still:hover img { transform: scale(1.04); }
.next { position: relative; display: flex; align-items: center; height: clamp(200px, 28vw, 360px); overflow: hidden; }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: opacity .5s, transform 1.4s; }
.next:hover img { opacity: .7; transform: scale(1.03); }
.next span { position: relative; }
.next small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.next b { font: 900 clamp(22px, 3vw, 40px)/1 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(8,8,7,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 4px; }
.lightbox button { position: absolute; font-size: 40px; line-height: 1; padding: 16px; opacity: .7; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 14px; } .lb-prev { left: 10px; } .lb-next { right: 10px; }

.rel { display: flex; align-items: center; gap: 22px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, background .2s; }
.rel:hover { border-color: var(--mute); background: var(--bg2); }
.rel img { width: 180px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.rel small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.rel b { font: 900 clamp(15px, 1.4vw, 19px)/1.15 var(--head); text-transform: uppercase; }
.rel i { margin-left: auto; font-style: normal; font-size: 26px; padding-right: 10px; }
@media (max-width: 640px) { .rel img { width: 110px; } .rel i { display: none; } }

.eps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.eps .vid:first-child { grid-column: 1 / -1; }
.eps figcaption b { color: var(--ink); font-weight: 600; }
.yt-note { margin: -28px 0 0; font-size: 12px; color: var(--mute); }
@media (max-width: 640px) { .eps { grid-template-columns: 1fr; } }

.ext { margin: -16px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.btn--line { padding: 11px 20px; }
.ext--top { margin-top: 0; }

/* Seiten */
.page-pad { padding-top: clamp(120px, 16vh, 180px); padding-bottom: var(--gap); }
.page-h { font-size: clamp(26px, 3.6vw, 52px); text-transform: uppercase; line-height: 1; margin-bottom: 24px; letter-spacing: .01em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; margin: 0 0 22px; }
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); filter: grayscale(1) contrast(1.05); }
.about-text p { color: #cfccc4; max-width: 60ch; }
.about-text .lead { color: var(--ink); }
.sig { margin-top: 30px; font-family: var(--head); text-transform: uppercase; font-size: 14px; letter-spacing: .04em; color: var(--ink) !important; }
.gear { padding-bottom: var(--gap); }
.gear h2 { font-size: clamp(16px, 1.5vw, 20px); letter-spacing: .06em; text-transform: uppercase; padding-top: 34px; border-top: 1px solid var(--line); margin-bottom: 30px; }
.gear-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.gear h3 { font-family: var(--body); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.gear ul { list-style: none; margin: 0; padding: 0; } .gear li { padding: 3px 0; }
.contact .lead { max-width: 24ch; }
.contact-lines { display: grid; gap: 6px; margin: 40px 0; }
.contact-lines a { font: 400 clamp(20px, 2.2vw, 30px)/1.3 var(--body); width: fit-content; border-bottom: 2px solid transparent; transition: border-color .2s; }
.contact-lines a { border-bottom-width: 1px; }
.contact-lines a:hover { border-color: currentColor; }
.muted { color: var(--mute); }
.legal { max-width: 820px; color: #cfccc4; }
.legal h1 { font-size: clamp(24px, 3vw, 40px); text-transform: uppercase; margin-bottom: 28px; color: var(--ink); }
.legal h2, .legal h3 { font-family: var(--body); font-size: 17px; font-weight: 700; margin: 28px 0 8px; color: var(--ink); }
.legal a { text-decoration: underline; }

/* Fuß */
.foot { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 84px) var(--pad) 28px; }
.foot-cta { max-width: var(--max); margin: 0 auto 56px; }
.foot-cta p { margin: 0 0 12px; color: var(--mute); }
.big-mail { font: 400 clamp(19px, 2vw, 28px)/1.2 var(--body); overflow-wrap: anywhere; border-bottom: 1px solid rgba(242,240,234,.35); padding-bottom: 2px; transition: border-color .2s; }
.big-mail:hover { border-color: var(--ink); }
.foot-row { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.foot-row a:hover { color: var(--ink); }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, .slide img { transition: none !important; animation: none !important; }
  .slide img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet / Handy */
@media (max-width: 900px) {
  .credits { grid-template-columns: repeat(2, 1fr); }
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; }
}
@media (max-width: 640px) {
  .top { padding-top: 16px; padding-bottom: 16px; }
  .brand span { display: none; }
  .brand b { font-size: 12px; white-space: nowrap; letter-spacing: .04em; }
  .top { gap: 16px; }
  .menu { gap: 14px; font-size: 11px; letter-spacing: .06em; }
  .menu a:first-child { display: none; } /* „Work“ = Logo-Link */
  .grid { grid-template-columns: 1fr; }
  .tile:first-child .frame { aspect-ratio: 16 / 9; }
  .more-vids.two { grid-template-columns: 1fr; }
  .stills { grid-template-columns: repeat(2, 1fr); }
  .stills .still:nth-child(3n+1) { grid-column: 1 / -1; }
  .credits { grid-template-columns: 1fr 1fr; gap: 20px; }
  .play { width: 52px; height: 52px; right: 12px; bottom: 12px; }
  .now { display: none; }
  .phero { height: 64svh; }
}
