/* Layout: ruhiger Index wie ein Fotografen-Archiv, Diashow als Auftakt, Raw als Netzwerk aus Kategorien und Fotos. */
:root {
  --bg: #f1f2f0;
  --fg: #0f1110;
  --mute: #5f6661;
  --line: rgba(15, 17, 16, .14);
  --panel: #e5e8e4;
  --accent: #2b45ff;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.65, 0, .15, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
body[data-mode="dark"] {
  --bg: #0a0b0c;
  --fg: #ecebe6;
  --mute: #8b908c;
  --line: rgba(236, 235, 230, .16);
  --panel: #151718;
  --accent: #93a2ff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
  transition: background-color 1s var(--ease), color 1s var(--ease);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--font); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.mute { color: var(--mute); }
em { font-style: normal; font-weight: 300; color: var(--accent); }

/* Filmstreifen im Hintergrund */
@property --h { syntax: "<length>"; inherits: false; initial-value: 2400px; }
.filmbg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; color: var(--fg); }
.filmbg svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.fb { animation: unroll 11s ease-in-out infinite alternate; }
.fb.l {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(var(--h) - 12vw), transparent var(--h)), linear-gradient(90deg, #000 0, #000 var(--fa), transparent var(--fb));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 0, #000 calc(var(--h) - 12vw), transparent var(--h)), linear-gradient(90deg, #000 0, #000 var(--fa), transparent var(--fb));
  mask-composite: intersect;
}
.fb.r {
  -webkit-mask-image: linear-gradient(270deg, #000 0, #000 calc(var(--h) - 12vw), transparent var(--h)), linear-gradient(270deg, #000 0, #000 var(--fa), transparent var(--fb));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(270deg, #000 0, #000 calc(var(--h) - 12vw), transparent var(--h)), linear-gradient(270deg, #000 0, #000 var(--fa), transparent var(--fb));
  mask-composite: intersect;
}
.fb2 { animation-duration: 14s; animation-delay: -5s; }
.fb3 { animation-duration: 17s; animation-delay: -9s; }
.fb-reel-g { transform-box: fill-box; transform-origin: center; animation: reelspin 11s ease-in-out infinite alternate; }
@keyframes unroll { 0% { --h: 0px; } 62% { --h: 140vw; } 100% { --h: 140vw; } }
@keyframes reelspin { to { transform: rotate(-540deg); } }
main { position: relative; z-index: 1; }
body[data-view="home"] .filmbg { display: none; }

/* Header */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(var(--bg) 55%, transparent);
  transition: transform .6s var(--ease), background .9s var(--ease), opacity .9s var(--ease);
}
.bar.hide { transform: translateY(-110%); }
.bar.hold { opacity: 0; transform: translateY(-40%); pointer-events: none; }
body[data-view="home"] { overflow: hidden; }
body[data-view="home"] .bar { background: none; color: #fff; mix-blend-mode: difference; }
body[data-view="home"] main { padding: 0; min-height: 0; }
body[data-view="home"] footer { display: none; }
.logo { font-weight: 700; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.nav { display: flex; gap: clamp(12px, 2.6vw, 32px); align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav button, .nav a { position: relative; padding: 4px 0; }
.nav .item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav .item:hover::after, .nav .item[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.mode { display: inline-flex; align-items: center; gap: 8px; }
.mode i { width: 26px; height: 14px; border: 1px solid currentColor; border-radius: 99px; position: relative; display: inline-block; }
.mode i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transition: transform .5s var(--ease); }
body[data-mode="dark"] .mode i::after { transform: translateX(12px); }

/* Views */
main { padding-top: calc(env(safe-area-inset-top, 0px) + 84px); padding-bottom: 80px; max-width: 1500px; margin: 0 auto; min-height: 100vh; }
.view { display: none; }
.view.on { display: block; }
.view.on > * { animation: rise 1.1s var(--ease-out) both; }
.view.on > *:nth-child(2) { animation-delay: .08s; }
.view.on > *:nth-child(3) { animation-delay: .16s; }
.view.on > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.intro { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: clamp(32px, 6vw, 80px); }
.intro .num { padding-top: 8px; color: var(--mute); }
.intro p { margin: 0; max-width: 24em; font-weight: 500; font-size: clamp(22px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
@media (max-width: 560px) { .intro { grid-template-columns: 1fr; gap: 6px; } }

/* Diashow */
.show { position: fixed; inset: 0; z-index: 30; overflow: hidden; background: #0a0b0c; animation: none !important; }
.show .s { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.show .s.on { visibility: visible; }
.show .ovl {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; color: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 5;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) max(18px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 56px) max(18px, env(safe-area-inset-left, 0px));
}
.show .welcome { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #fff; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); background: radial-gradient(ellipse at center, rgba(0,0,0,.28), rgba(0,0,0,0) 62%); padding: 0 24px; }
.show .welcome.on { opacity: 1; }
.show .welcome p { margin: 0; font-weight: 300; font-size: clamp(16px, 2.3vw, 30px); letter-spacing: .02em; line-height: 1.35; text-shadow: 0 0 22px rgba(0,0,0,.35); }
.show .welcome p + p { font-size: clamp(13px, 1.5vw, 18px); opacity: .85; letter-spacing: .06em; }
.show .name { font-weight: 700; font-size: clamp(32px, 9.6vw, 170px); line-height: .9; letter-spacing: -.05em; overflow-wrap: anywhere; }
.show .row2 { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.show .row2 button { pointer-events: auto; color: #fff; border-bottom: 1px solid #fff; padding-bottom: 2px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.toggle { display: inline-flex; gap: 14px; }
.toggle button { opacity: .4; transition: opacity .3s; }
.toggle button[aria-pressed="true"] { opacity: 1; }
.toggle button:hover { opacity: 1; }

/* Platzhalterbilder */
.ph {
  --a: #7c8f9a; --b: #d9b99b; --c: #3b4650; --x1: 22%; --y1: 18%; --x2: 82%; --y2: 86%;
  position: relative; overflow: hidden; width: 100%; max-width: 100%;
  background:
    radial-gradient(ellipse at var(--x1) var(--y1), var(--a), transparent 62%),
    radial-gradient(ellipse at var(--x2) var(--y2), var(--b), transparent 58%),
    var(--c);
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .32; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ph .tag { position: absolute; left: 12px; bottom: 10px; color: #fff; opacity: .78; mix-blend-mode: difference; z-index: 2; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.blur { animation: unblur 1.6s var(--ease-out) both; }
@keyframes unblur { from { filter: blur(26px); transform: scale(1.08); } to { filter: blur(0); transform: scale(1); } }

/* Grid */
.ptitle { margin: 0 0 14px; font-weight: 700; font-size: clamp(44px, 11vw, 170px); line-height: .88; letter-spacing: -.055em; text-transform: uppercase; }
.psub { margin: 0 0 clamp(28px, 5vw, 56px); max-width: 46ch; color: var(--mute); }
.tiles { columns: 3 260px; column-gap: clamp(14px, 2vw, 28px); padding-top: 22px; }
.tile { display: block; width: 100%; text-align: left; margin: 0 0 clamp(22px, 3vw, 40px); break-inside: avoid; }
.tile .frame { overflow: hidden; background: var(--panel); }
.tile .frame img, .tile .frame .ph { filter: grayscale(1) contrast(1.04); transition: filter .9s var(--ease), transform 1.4s var(--ease-out); }
.tile:hover .frame img, .tile:hover .frame .ph, .tile:focus-visible .frame img, .tile:focus-visible .frame .ph { filter: grayscale(0); transform: scale(1.04); }
.tile .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.tile .cap b { font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* Film */
.films { border-top: 1px solid var(--line); }
.film { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); padding: clamp(18px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); align-items: center; }
.film .thumb { position: relative; overflow: hidden; display: block; }
.film .thumb .ph { transition: transform 1.2s var(--ease-out); }
.film:hover .thumb .ph { transform: scale(1.04); }
.play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; z-index: 3; border-radius: 50%;
  border: 1px solid #fff; display: grid; place-items: center; backdrop-filter: blur(6px);
  transition: transform .6s var(--ease-out), background .3s;
}
.play::after { content: ""; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.film:hover .play { transform: scale(1.18); background: rgba(255, 255, 255, .16); }
.film h2, .film h3 { margin: 6px 0 14px; font-weight: 600; font-size: clamp(26px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -.04em; }
.admin .roles .pill { padding: 4px 11px; font-size: 10px; }
.film dl { margin: 0 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.film dt { color: var(--mute); }
.film dd { margin: 0; }
.ext { display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s, gap .4s var(--ease-out); }
.ext:hover { color: var(--accent); gap: 14px; }
@media (max-width: 760px) { .film { grid-template-columns: 1fr; } }
.note { margin: 22px 0 0; color: var(--mute); max-width: 52ch; }

/* Raw: Netzwerk */
.rawbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); }
.chips { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.chip { padding: 4px 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.chip small { opacity: .5; margin-left: 5px; font-size: inherit; }
.net {
  position: relative; height: clamp(560px, 82vh, 860px); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 28px 28px;
}
.net svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.net line { stroke: var(--mute); stroke-opacity: .38; stroke-width: 1; transition: stroke .3s, stroke-opacity .3s; }
.net line, .net line.l1, .net line.l3, .net line.hot { stroke: var(--mute); stroke-opacity: .4; stroke-width: 1; stroke-dasharray: none; }
.n { position: absolute; left: 0; top: 0; border-radius: 50%; transition: opacity .45s, scale .5s var(--ease-out), border-color .3s; }
.n.hub { display: grid; place-items: center; border: 1px solid var(--line); color: var(--mute); background: var(--bg); font-weight: 600; letter-spacing: .24em; font-size: 10px; text-indent: .24em; }
.n.cat { display: grid; place-items: center; text-align: center; background: var(--bg); color: var(--mute); border: 1px solid var(--line); font-size: 8.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; padding: 6px; z-index: 3; transition: color .3s, border-color .3s, opacity .45s, scale .5s var(--ease-out); }
.n.cat span { max-width: 100%; overflow-wrap: anywhere; }
.n.cat:hover, .n.cat[aria-pressed="true"] { color: var(--fg); border-color: var(--fg); }
.n.cat small { display: block; opacity: .5; font-weight: 500; font-size: 8.5px; }
.n.pic {
  overflow: hidden; border: 0; border-radius: 3px; background: transparent; padding: 0; touch-action: none; cursor: grab; z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(0deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(0deg, transparent, #000 22%, #000 78%, transparent);
  mask-composite: intersect;
}
.n.pic:hover { z-index: 6; }
.n.pic.drag { cursor: grabbing; z-index: 7; }
.n.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.n.pic .ph { position: absolute; inset: 0; height: 100%; }
.net.has-hot .n:not(.hot) { opacity: .2; }
.netnote { position: absolute; left: 12px; bottom: 10px; color: var(--mute); pointer-events: none; z-index: 1; }
.rawgrid { columns: 3 220px; column-gap: clamp(10px, 1.6vw, 22px); }
.rawgrid .it { display: block; width: 100%; margin: 0 0 clamp(10px, 1.6vw, 22px); break-inside: avoid; text-align: left; position: relative; overflow: hidden; }
.rawgrid .it .cp { position: absolute; left: 10px; bottom: 8px; z-index: 3; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.55); pointer-events: none; }
.n.pic img, .n.pic .ph, .rawgrid .it img, .rawgrid .it .ph { filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease); }
.rawgrid .it { transform: translateZ(0); }
.n.pic:hover img, .n.pic:hover .ph, .rawgrid .it:hover img, .rawgrid .it:hover .ph { filter: grayscale(0); }
.n.pic img, .n.pic .ph { filter: grayscale(1) contrast(1.05) blur(1.6px); }
.n.pic:hover img, .n.pic:hover .ph { filter: grayscale(0) blur(0); }

.admin { display: none; border: 1px solid var(--line); padding: 16px; margin: 0 0 18px; gap: 14px; flex-direction: column; }
.admin.on { display: flex; }
.admin .r { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin select, .admin input[type="text"] { background: transparent; border: 1px solid var(--line); padding: 9px 12px; min-width: 0; border-radius: 0; }
.admin select option { background: var(--bg); color: var(--fg); }
.pill { border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; transition: background .3s, color .3s, border-color .3s; }
.pill:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill.solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill.solid:hover { background: var(--accent); border-color: var(--accent); }
.drop { border: 1px dashed var(--mute); padding: 18px; text-align: center; color: var(--mute); }
.drop.over { border-color: var(--accent); color: var(--accent); }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 100; background: var(--bg); display: none; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 16px) max(16px, env(safe-area-inset-left, 0px));
}
.lb.on { display: flex; animation: rise .6s var(--ease-out) both; }
.lb .top, .lb .bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lb .stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 14px 0; }
.lb .stage img, .lb .stage .ph { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb .stage .ph { width: min(100%, 880px); }
.lb .stage img { max-height: calc(100vh - 150px); }
.lb .del { color: var(--mute); }
.lb .del.sure { color: var(--accent); }

/* Shop */
.course { max-width: 760px; margin-top: 28px; }
.course .ptitle { font-size: clamp(30px, 5vw, 64px); line-height: .98; }
.course .c-lead { margin: 26px 0 0; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.45; font-weight: 300; letter-spacing: -.02em; }
.course .c-p { margin: 18px 0 0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7; font-weight: 300; }
.course h2 { margin: 40px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.course ul { list-style: none; margin: 0; padding: 0; }
.course li { padding: 12px 0; border-top: 1px solid var(--line); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; }
.course .c-price { margin: 40px 0 0; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--fg); }
.course .c-price b { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -.04em; }
.course .c-cta { margin: 6px 0 40px; }
#courseBack { margin-top: 6px; }
.shop { border-top: 1px solid var(--line); }
.sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 4vw, 64px); padding: clamp(22px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.sec .pic { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); align-self: start; overflow: hidden; }
.sec .pic .ph { filter: grayscale(1) contrast(1.04); transition: filter .9s var(--ease), transform 1.4s var(--ease-out); }
.sec:hover .pic .ph { filter: grayscale(0); transform: scale(1.03); }
.sec h2 { margin: 6px 0 10px; font-weight: 700; font-size: clamp(30px, 5vw, 64px); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.sec .lead { margin: 0 0 24px; color: var(--mute); max-width: 44ch; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.offer b { font-weight: 500; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: -.02em; }
.offer .d { grid-column: 1; color: var(--mute); }
.offer button { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) { .sec { grid-template-columns: 1fr; } .sec .pic { position: static; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
.contact h1, .contact h2 { margin: 0 0 28px; font-weight: 600; font-size: clamp(34px, 7vw, 96px); line-height: 1; letter-spacing: -.045em; }
.mailrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.mail { font-weight: 500; font-size: clamp(20px, 3.2vw, 40px); letter-spacing: -.03em; border-bottom: 1px solid var(--line); user-select: all; overflow-wrap: anywhere; }
.contact h1, .contact h2 { font-weight: 300; letter-spacing: -.035em; }
.contact h1 b, .contact h2 b { font-weight: 700; }
.mail { text-decoration: none; }
.cdata { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 40px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 860px; }
.connect { display: inline-block; margin: 0; text-decoration: none; }
.cdata a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cdata p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 560px) { .contact { grid-template-columns: 1fr; } }

.homebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: none; color: var(--fg); font-size: 10px; padding: 12px max(18px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 12px) max(18px, env(safe-area-inset-left, 0px)); transition: opacity .6s var(--ease), transform .6s var(--ease); }
main { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); }
.homebar.hold { opacity: 0; transform: translateY(100%); pointer-events: none; }
.homebar .fl { display: flex; gap: 20px; align-items: center; }
body:not([data-view="home"]) .homebar { background: linear-gradient(to top, var(--bg) 62%, transparent); padding-top: 26px; }
.homebar .lg { white-space: nowrap; }
@media (max-width: 560px) { .homebar { gap: 6px 12px; } .homebar .fl { gap: 6px 14px; flex-wrap: wrap; } .homebar > span:first-child { display: none; } }
.homebar .soc { display: inline-flex; gap: 14px; align-items: center; }
.homebar .soc a { display: inline-flex; color: inherit; opacity: .7; transition: opacity .3s; }
.homebar .soc a:hover { opacity: 1; }
.homebar button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; transition: color .3s; }
body[data-view="home"] .homebar { color: #fff; text-shadow: 0 0 10px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.35); }
.homebar button { opacity: .7; }
.homebar button:hover, .homebar button[aria-pressed="true"] { opacity: 1; }
.homebar > span:first-child { opacity: .7; }
.partners { max-width: 860px; margin-top: 30px; }
.partners .pa { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.partners .pa:last-child { border-bottom: 1px solid var(--line); }
.partners .pa b { font-weight: 500; font-size: clamp(22px, 3.2vw, 38px); letter-spacing: -.03em; }
.partners .pa .d { grid-column: 1; color: var(--mute); font-size: 14px; }
.partners .pa .go { grid-row: 1; grid-column: 2; }
.partners .pa .pdel { grid-column: 2; justify-self: end; }
.partners .pg { margin: 44px 0 14px; font-weight: 500; }
.partners .pg:first-child { margin-top: 0; }
.contact .partners .pg { font-size: 13px; font-weight: 500; line-height: 1.55; letter-spacing: 0; }
.partners .soon { color: var(--mute); }
.who-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px clamp(24px, 5vw, 80px); margin-top: 64px; max-width: 980px; }
.wl ul { list-style: none; margin: 14px 0 0; padding: 0; }
.wl li .wdel { margin-left: 12px; vertical-align: middle; }
.wl li { padding: 13px 0; border-top: 1px solid var(--line); font-weight: 300; font-size: clamp(19px, 2.4vw, 30px); letter-spacing: -.025em; line-height: 1.2; }
.wl li:last-child { border-bottom: 1px solid var(--line); }
.agb { max-width: 720px; margin-top: 36px; }
.contact h2.sub { margin-top: 90px; margin-bottom: 0; font-size: clamp(28px, 5vw, 64px); }
.agb section { padding: 18px 0; border-top: 1px solid var(--line); }
.agb h2, .agb h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.agb p { margin: 0; font-size: 14px; line-height: 1.6; font-weight: 400; color: var(--mute); }
.bts { margin-top: 32px; }
.bset { margin: 0 0 56px; }
.bset .bh { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0 0 14px; }
.bset h2 { margin: 0; font-weight: 600; font-size: clamp(26px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; overflow-wrap: anywhere; }
.bset .strip { display: flex; gap: clamp(10px, 1.4vw, 18px); overflow-x: auto; scroll-snap-type: x proximity; height: clamp(220px, 44vh, 440px); scrollbar-width: none; }
.bset .strip::-webkit-scrollbar { display: none; }
.bset .bi { flex: 0 0 auto; height: 100%; cursor: zoom-in; overflow: hidden; scroll-snap-align: start; position: relative; }
.bset .bi img { height: 100%; width: 100%; object-fit: cover; display: block; }
.bset .bi .ph { height: 100%; width: 100%; aspect-ratio: auto !important; }
.bset .bi img, .bset .bi .ph { filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease); }
.bset .bi:hover img, .bset .bi:hover .ph, .bset .bi:focus-visible img, .bset .bi:focus-visible .ph { filter: grayscale(0); }
@media (hover: none) { .bset .bi img, .bset .bi .ph { filter: none; } }
.who { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
.who .ptitle em { font-style: normal; font-weight: 300; }
.who-q { margin: 34px 0 0; max-width: 760px; font-size: clamp(26px, 4.4vw, 54px); line-height: 1.08; font-weight: 300; letter-spacing: -.035em; }
.who-q em { font-style: normal; font-weight: 700; }
.who-i { max-width: 680px; margin: 22px 0 0; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.65; font-weight: 300; }
.who-q + .who-i { margin-top: 26px; }
.who-h { margin: 56px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.who-t { max-width: 680px; margin: 18px 0 0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7; font-weight: 300; letter-spacing: -.005em; }
.who-t + .who-t { margin-top: 16px; }
.who-p { max-width: 640px; margin: 34px 0 22px; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.45; font-weight: 300; letter-spacing: -.02em; }
.cdata.first { margin-top: 40px; }
footer .fl { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer .fl button { letter-spacing: inherit; text-transform: inherit; font: inherit; color: inherit; transition: color .3s; }
footer .fl button:hover, footer .fl button[aria-pressed="true"] { color: var(--fg); }
.langsel { position: relative; }
.langbtn { display: inline-flex; align-items: center; gap: 6px; opacity: .85; }
.langbtn:hover { opacity: 1; }
.langmenu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 130px; padding: 8px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; z-index: 5; }
.langmenu[hidden] { display: none; }
.langmenu button { text-align: left; padding: 8px 10px; letter-spacing: .04em; text-transform: none; font-size: 13px; color: var(--mute); }
.langmenu button:hover, .langmenu button[aria-pressed="true"] { color: var(--fg); }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }
footer { margin-top: 80px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Cursor + Vorschau */
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent);
  place-items: center; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out);
}

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 125; background: var(--fg); color: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 20px) max(16px, env(safe-area-inset-left, 0px));
  transition: transform 1.1s var(--ease);
  animation: loaderSafety .1s 3.2s forwards;
}
.loader.out { transform: translateY(-101%); }
@keyframes loaderSafety { to { visibility: hidden; } }
.loader .big { font-weight: 700; font-size: clamp(30px, 9vw, 140px); line-height: .9; letter-spacing: -.05em; overflow-wrap: anywhere; }
.loader .cnt { display: flex; justify-content: space-between; }

/* Projekt-Detail */
.detail {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 60px) max(16px, env(safe-area-inset-left, 0px));
  clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.detail.on { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s 0s; }
.detail .in { max-width: 1300px; margin: 0 auto; }
.dhead { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; }
.dtitle { font-weight: 700; font-size: clamp(38px, 9.5vw, 140px); line-height: .92; letter-spacing: -.05em; margin: 28px 0 12px; text-wrap: balance; text-transform: uppercase; overflow-wrap: anywhere; }
.dmeta { display: flex; gap: 22px; flex-wrap: wrap; padding: 14px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.gal { columns: 2 300px; column-gap: clamp(12px, 2vw, 28px); }
.gal .g { display: block; width: 100%; margin: 0 0 clamp(12px, 2vw, 28px); break-inside: avoid; cursor: zoom-in; overflow: hidden; }
.gal .g { transform: translateZ(0); backface-visibility: hidden; will-change: transform; isolation: isolate; }
.gal .g, .gal .g:hover, .gal .g:focus, .gal .g:active { transform: translateZ(0); transition: none; }
.gal .g img { transition: none; transform: none; image-rendering: auto; }
.dnext { display: block; width: 100%; text-align: left; margin-top: 70px; padding-top: 18px; border-top: 1px solid var(--line); }
.dnext .t { display: block; font-weight: 600; font-size: clamp(28px, 6vw, 80px); line-height: 1; letter-spacing: -.045em; transition: color .3s, transform .6s var(--ease-out); }
.dnext:hover .t { color: var(--accent); transform: translateX(14px); }

/* Passwort */
.gate {
  position: fixed; inset: 0; z-index: 80; background: var(--bg); display: grid; place-items: center; text-align: center;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 20px) max(16px, env(safe-area-inset-left, 0px));
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease) .35s, visibility 0s 1.3s;
}
.gate.on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease) .35s, visibility 0s 0s; }
.gate .box { width: min(460px, 100%); }
.gate h2 { margin: 12px 0 8px; font-weight: 700; font-size: clamp(36px, 8vw, 70px); line-height: .98; letter-spacing: -.05em; text-transform: uppercase; }
.gate p { margin: 0 0 32px; color: var(--mute); }
.field { display: flex; border-bottom: 1px solid var(--fg); align-items: center; gap: 8px; }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--fg); font-size: 18px; padding: 14px 0; text-align: left; letter-spacing: .06em; }
.field input:focus { outline: none; }
.field:focus-within { border-color: var(--accent); }
.field button { padding: 8px 0 8px 10px; }
.field button:hover { color: var(--accent); }
.err { min-height: 22px; margin: 12px 0 0 !important; color: var(--accent) !important; text-align: left; }
.back { margin-top: 26px; opacity: .6; transition: opacity .3s; }
.back:hover { opacity: 1; }
.shake { animation: shake .5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-9px); } 40%, 80% { transform: translateX(9px); } }

/* Privater Bereich */
.priv-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(30px, 6vw, 70px); }
.priv-head h1 { margin: 0; font-weight: 700; font-size: clamp(40px, 11vw, 150px); line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.priv-sub { max-width: 34ch; color: var(--mute); }
.pitem { padding: 22px 0 8px; border-top: 1px solid var(--line); }
.pitem .meta { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; flex-wrap: wrap; }
.pitem h2, .pitem h3 { margin: 0 0 18px; font-weight: 600; font-size: clamp(26px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; }
.pitem .ph { margin-bottom: 18px; }
.status { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .fb, .fb-reel-g { animation: none !important; }
  .fb { --h: 140vw; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
@media (max-width: 760px) {
  .who, .contact { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .who > .num, .contact > .num { padding-top: 0 !important; }
  .mailrow { flex-wrap: wrap; gap: 14px; }
  .cdata { grid-template-columns: minmax(0, 1fr); }
}
.burger { display: none; }
.logo { position: relative; z-index: 2; }
@media (max-width: 760px) and (pointer: coarse), (max-width: 480px) {
  .burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; margin: -10px -10px -10px 0; position: relative; z-index: 2; }
  .burger i { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  body.menu-open .burger i:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  body.menu-open .burger i:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: 1; display: none; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 4px; padding: 90px 28px 48px; background: var(--bg); color: var(--fg); }
  body.menu-open .nav { display: flex; }
  body.menu-open { overflow: hidden; }
  body.menu-open .bar { mix-blend-mode: normal; color: var(--fg); background: none; }
  .nav .item { font-size: clamp(28px, 9vw, 44px); font-weight: 600; letter-spacing: -.035em; text-transform: none; padding: 6px 0; }
  .nav .item::after { display: none; }
  .nav .item[aria-current="page"] { color: var(--accent); }
  .nav .mode { margin-top: 26px; font-size: 14px; }
  .langsel { margin-top: 18px; }
  .langsel .langbtn { display: none; }
  .langsel .langmenu { position: static; display: flex !important; flex-direction: row; gap: 20px; padding: 0; border: 0; background: none; min-width: 0; }
  .langsel .langmenu button { padding: 6px 0; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
}
.startbtn { position: fixed; left: 16px; bottom: 58px; z-index: 45; background: rgba(0,0,0,.35); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
body:not([data-view="home"]) .startbtn { display: none; }
.startpanel { position: fixed; inset: 0; z-index: 300; background: var(--bg); color: var(--fg); overflow: auto; padding: 24px 16px 60px; }
.startpanel[hidden] { display: none; }
.sp-in { max-width: 980px; margin: 0 auto; }
.sp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sp-head h2 { margin: 0; font-size: clamp(28px, 5vw, 56px); letter-spacing: -.04em; text-transform: uppercase; }
.sp-up { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sp-grid .t { position: relative; }
.sp-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.sp-grid .pill { position: absolute; left: 6px; bottom: 6px; background: var(--bg); font-size: 10px; padding: 4px 10px; }
.sp-grid .pill.sure { background: var(--fg); color: var(--bg); }
/* Raw: beim Überfahren nur scharf + Farbe, ohne Animation */
.n.pic, .n.pic img, .n.pic .ph, .rawgrid .it, .rawgrid .it img, .rawgrid .it .ph { transition: none !important; transform: none; }
.n.pic:hover, .n.pic:hover img, .n.pic:hover .ph { scale: none; }
.n.pic:hover { -webkit-mask-image: none; mask-image: none; border-radius: 3px; }
.sec .pic .printimg { display: block; width: 100%; height: auto; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Feinschliff: lesbare Beschriftungen statt winziger Versalien, Fließtext in voller Farbe, keine Deko-Effekte */
.mono { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.tile .cap b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-transform: none; }
.chip { font-size: 13px; letter-spacing: 0; text-transform: none; }
.n.cat, .n.cat small { font-size: 10px; letter-spacing: 0; text-transform: none; }
.who-h, .course h2 { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--fg); }
em { color: inherit; font-weight: inherit; }
.psub { color: var(--fg); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; max-width: 52ch; }
.sec .lead, .agb p, .priv-sub, #kServ { color: var(--fg) !important; font-size: 16px; }
.note { font-size: 15px; }
body:not([data-view="home"]) .bar, body:not([data-view="home"]) .homebar { background: var(--bg); }
body:not([data-view="home"]) .homebar { padding-top: 12px; }
.play { backdrop-filter: none; background: rgba(0, 0, 0, .28); }
.startbtn { backdrop-filter: none; background: rgba(0, 0, 0, .55); }
.toolbar, .rawbar, .films, .shop { border-top: 0; }
.film, .sec { border-bottom: 0; }
.film + .film, .sec + .sec { margin-top: clamp(24px, 4vw, 64px); }
.dmeta { border-bottom: 0; }
.who, .contact { grid-template-columns: minmax(0, 1fr); }
.tiles.n1 { columns: 1; max-width: 920px; }
.tiles.n2 { columns: 2 280px; }

/* Blende: die Projektseite öffnet sich kreisförmig dort, wo geklickt wurde */
.detail { clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .85s cubic-bezier(.7, 0, .2, 1), visibility 0s .85s; }
.detail.on { clip-path: circle(150vmax at var(--ox, 50%) var(--oy, 50%)); transition: clip-path 1.05s cubic-bezier(.7, 0, .2, 1), visibility 0s 0s; }

/* Entwickeln: Fotos bekommen beim Hineinscrollen Farbe und Kontrast, wie ein Abzug im Entwicklerbad */
.dv img, .dv .ph { filter: grayscale(1) brightness(1.55) contrast(.62) !important; transition: filter 2.6s cubic-bezier(.2, .6, .2, 1), transform 1.4s var(--ease-out) !important; }
.dv.dev img, .dv.dev .ph { filter: none !important; }
@media (prefers-reduced-motion: reduce) {
  .dv img, .dv .ph { transition: none !important; }
}

/* Film-Vorschau: das Standbild zoomt langsam wie eine Kamerafahrt, der Play-Knopf füllt sich */
.film .thumb img { transition: transform 7s cubic-bezier(.2, .6, .2, 1); transform-origin: 50% 40%; }
.film:hover .thumb img, .film .thumb:focus-visible img { transform: scale(1.09); }
.film .play { transition: transform .6s var(--ease-out), background .4s var(--ease), border-color .4s var(--ease); }
.film .play::after { transition: border-left-color .4s var(--ease); }
.film:hover .play, .film .thumb:focus-visible .play { transform: scale(1.18); background: #fff; border-color: #fff; }
.film:hover .play::after, .film .thumb:focus-visible .play::after { border-left-color: #0f1110; }
@media (hover: none) {
  .film .thumb img { animation: drift 14s ease-in-out infinite alternate; }
}
.show .s { visibility: visible; opacity: 0; transition: opacity .3s linear; }
.show .s.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .show .s { transition: none; } }

/* Barrierefreiheit: Sprunglink und größere Tippflächen im Footer */
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--fg); color: var(--bg); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }
.homebar .fl button, .homebar .lg button, .homebar .soc a { min-height: 24px; min-width: 24px; padding: 4px 0; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
@media (prefers-reduced-motion: reduce) {
  .film .thumb img { transition: none; animation: none; transform: none !important; }
}
