:root {
  --bg: #0a0a0a; --panel: #131314; --line: #232325; --text: #f2f2ef; --muted: #8b8b86; --blue: #3f74e0;
  --radius: 18px; --pad: clamp(18px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px max(var(--pad), calc((100% - 1400px) / 2 + var(--pad))); background: rgba(10, 10, 10, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.brand b { font-weight: 500; color: var(--blue); }
.nav { display: flex; gap: clamp(14px, 3vw, 36px); font-size: .92rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.nav a { position: relative; padding: 6px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); }

main { padding: 0 var(--pad) 80px; max-width: 1400px; margin: 0 auto; }
.eyebrow { font-size: .85rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin: 56px 0 10px; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin: 0 0 24px; }
.lead { color: var(--muted); max-width: 60ch; margin: 0 0 40px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 36px; }

/* Home */
.hero { position: relative; margin: 0 calc(var(--pad) * -1); min-height: min(68vh, 640px); display: grid; align-items: end; text-align: left; overflow: hidden;
  background: linear-gradient(90deg, rgba(10, 10, 10, .88) 0%, rgba(10, 10, 10, .45) 45%, rgba(10, 10, 10, .1) 100%), linear-gradient(180deg, rgba(10, 10, 10, 0) 45%, rgba(10, 10, 10, .95) 100%), url("/img/banner.jpg") 50% 38% / cover no-repeat #0a0a0a; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .hero { background-position: 0 0, 0 0, 50% 50%; } }
.hero > div { padding: 0 var(--pad) clamp(28px, 6vw, 64px); max-width: 1400px; width: 100%; margin: 0 auto; }
.hero p { color: #d7d7d2; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero-title { margin: 0 0 6px; line-height: 0; }
.hero-logo { width: min(560px, 82vw); height: auto; filter: drop-shadow(0 2px 24px rgba(0, 0, 0, .55)); }
.hero-title { font-size: clamp(2.6rem, 10vw, 6.5rem); font-weight: 300; letter-spacing: -.03em; margin: 0; }
.hero-title b { font-weight: 600; color: var(--blue); }
.hero p { margin: 10px 0 0; color: var(--muted); font-size: clamp(.9rem, 2vw, 1.1rem); }
.motivation { max-width: 70ch; margin: 56px 0 0; }
.motivation h2, .section-title { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin: 0 0 14px; }
.motivation p { margin: 0 0 14px; font-size: 1.05rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 56px; }
.tile-link { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .2s, transform .2s; }
.tile-link:hover { border-color: #3a3a3d; transform: translateY(-2px); }
.tile-link strong { font-size: 1.15rem; font-weight: 500; }
.tile-link span { color: var(--muted); font-size: .88rem; }

/* Bildraster */
.grid { display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 0; list-style: none; --row: 280px; }
.grid > li { flex: none; width: calc(var(--r) * var(--row)); max-width: 100%; height: var(--row); }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--panel); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.03); }
.pill { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 99px; background: rgba(10, 10, 10, .68); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); font-size: .75rem; letter-spacing: .04em; }

/* Großansicht */
.lb { position: fixed; inset: 0; z-index: 50; display: none; grid-template-rows: minmax(0, 1fr) auto; background: rgba(5, 5, 6, .96); }
.lb.open { display: grid; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 56px 72px 8px; min-height: 0; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--pad) 20px; color: var(--muted); font-size: .9rem; }
.lb-bar b { color: var(--text); font-weight: 500; margin-right: 10px; }
.lb button { border: 1px solid rgba(255, 255, 255, .16); background: rgba(20, 20, 22, .8); color: var(--text); width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: #26262a; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-close { position: absolute; top: 12px; right: 14px; }
.lb-img.slide { animation: none; }

.placeholder { border: 1px dashed #2c2c2f; border-radius: var(--radius); padding: 40px 24px; color: var(--muted); text-align: center; max-width: 640px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; border-top: 1px solid var(--line); padding: 28px max(var(--pad), calc((100% - 1400px) / 2 + var(--pad))); color: var(--muted); font-size: .85rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer a:hover, footer a[aria-current="page"] { color: var(--text); }
.legal-note { margin: 56px 0 0; max-width: 70ch; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.legal-note a { text-decoration: underline; }
/* Rechtliche Seiten und Kontakt */
.legal { max-width: 760px; margin-left: auto; margin-right: auto; }
.legal h2 { margin: 36px 0 10px; font-size: 1.05rem; font-weight: 600; }
.legal p { margin: 0 0 14px; color: #d7d7d2; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal code { padding: 1px 6px; border-radius: 6px; background: var(--panel); font-size: .88em; }
.mail-line { margin: 0 0 40px; }
.mail-line .btn { display: inline-block; }
.form-note a { text-decoration: underline; }

@media (max-width: 720px) {
  .lb-stage { padding: 56px 12px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 74px; transform: none; }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
  .site-header { grid-template-columns: 1fr; justify-items: start; gap: 6px; }
  .nav { justify-content: flex-start; }
}

/* Kontaktformular */
.form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.field input, .field textarea { font: inherit; color: var(--text); background: var(--panel); border: 1px solid #2c2c2f; border-radius: 12px; padding: 12px 14px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { justify-self: start; border: 0; border-radius: 99px; padding: 12px 26px; font: inherit; font-weight: 500; background: var(--text); color: #0a0a0a; cursor: pointer; }
.btn:hover { background: #fff; }
.btn[disabled] { opacity: .55; cursor: wait; }
.form-note { font-size: .85rem; color: var(--muted); min-height: 1.4em; }
.form-note.err { color: #ff8a80; }
.form-note.ok { color: #8ee0a2; }

/* AI-Seite */
.brand-sec { margin: 0 0 88px; }
.brand-head { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.brand-name { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; margin: 0; }
.brand-mark { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #000; border: 1px solid #2e2e31; display: grid; place-items: center; overflow: hidden; }
.brand-mark img { width: 56%; height: 56%; object-fit: contain; filter: brightness(0) invert(1); }
.brand-mark.own img { width: 60%; height: 60%; filter: none; }
.brand-letter { font-size: 1.4rem; font-weight: 500; }
.proj { margin: 0 0 44px; }
.proj-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; min-height: 1.6em; }
.proj-head h3 { margin: 0; font-size: 1.05rem; font-weight: 500; }
.proj-head time { color: var(--muted); font-size: .85rem; }
.proj-tag { padding: 1px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .7rem; letter-spacing: .06em; align-self: center; }
.pstage { overflow: hidden; transition: height .55s cubic-bezier(.2, .7, .2, 1); }
.ptrack { display: flex; align-items: flex-start; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.proj.open .ptrack { transform: translateX(-100%); }
.ppanel { flex: 0 0 100%; min-width: 0; display: flex; align-items: stretch; gap: 12px; }
.cmpwrap { position: relative; flex: 0 1 auto; width: min(100%, calc(78vh * var(--ar))); aspect-ratio: var(--ar); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.cmpwrap > .single, .cmp { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.single { object-fit: cover; }
.pcol { flex: 0 0 50px; display: grid; place-items: center; align-self: stretch; }
.cmp { overflow: hidden; touch-action: pan-y; user-select: none; cursor: ew-resize; background: #000; }
.cmp-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.cmp-before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 50% 0 0); pointer-events: none; }
.cmp-orig { position: absolute; max-width: none; height: auto; -webkit-user-drag: none; }
.cmp.overlay .cmp-before { opacity: .5; clip-path: none; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; }
.cmp.overlay .cmp-line { display: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(10, 10, 10, .72); backdrop-filter: blur(6px); border: 1.5px solid #fff; display: grid; place-items: center; font-size: .8rem; letter-spacing: .1em; }
.cmp:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.cmp-tag { position: absolute; top: 12px; padding: 4px 12px; border-radius: 99px; background: rgba(10, 10, 10, .68); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.cmp-tag.l { left: 12px; }
.cmp-tag.r { right: 12px; }
.pnav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: var(--panel); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.pnav:hover { background: #26262a; transform: scale(1.06); }
.brand-head.plain { display: block; }
/* Verzeichnis am Seitenanfang */
.brand-sec { scroll-margin-top: 84px; }
.toc { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 44px; }
a.brand-mark { transition: border-color .2s, transform .2s; }
a.brand-mark:hover { border-color: #6a6a6e; transform: scale(1.07); }
.toc-groups { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 0 0 44px; }
.toc-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toc-label { margin-right: 4px; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.toc-chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); font-size: .85rem; transition: background .2s, border-color .2s; }
.toc-chip:hover { background: #26262a; border-color: #3a3a3d; }
/* Direkt unter der Trennlinie der Seitenüberschrift keine zweite Linie */
.rule + [data-ai] > .brand-sec:first-child > .brand-head { border-top: 0; padding-top: 0; }
.sec-eyebrow { margin: 0 0 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
/* Digital: Entwicklungsfolge mit stufenlosem Überblendregler */
.seqwrap { flex: 0 1 auto; width: min(100%, calc(78vh * var(--ar))); }
.seqstage { position: relative; aspect-ratio: var(--ar); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.seq-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.seqbar { position: relative; height: 34px; margin: 14px 4px 0; }
.seq-range { -webkit-appearance: none; appearance: none; position: relative; z-index: 2; width: 100%; height: 34px; margin: 0; background: transparent; cursor: ew-resize; touch-action: pan-y; }
.seq-range::-webkit-slider-runnable-track { height: 2px; background: #3a3a3d; }
.seq-range::-moz-range-track { height: 2px; background: #3a3a3d; }
.seq-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -14px; border-radius: 50%; background: rgba(10, 10, 10, .85); border: 1.5px solid #fff; }
.seq-range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: rgba(10, 10, 10, .85); border: 1.5px solid #fff; }
.seq-range:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 99px; }
.seq-ticks { position: absolute; inset: 0 15px; pointer-events: none; }
.seq-ticks i { position: absolute; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #6a6a6e; }
.seq-cap { display: flex; justify-content: space-between; gap: 12px; margin: 4px 4px 0; color: var(--muted); font-size: .85rem; }
.seq-cap b { color: var(--text); font-weight: 500; }
.seqp .pcol { padding-bottom: 82px; }
.proj { scroll-margin-top: 84px; border-radius: var(--radius); }
.proj.flash { animation: flash 2.6s ease-out; }
@keyframes flash { 0%, 35% { box-shadow: 0 0 0 6px rgba(63, 116, 224, .55); } 100% { box-shadow: 0 0 0 6px rgba(63, 116, 224, 0); } }
/* Verknüpfungen auf der Paper-Seite */
.grid > li { position: relative; }
.glinks { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 3; }
.glinks.inline { position: static; display: inline-flex; margin-left: 14px; vertical-align: middle; }
.gl { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(10, 10, 10, .72); backdrop-filter: blur(6px); color: var(--text); font-family: inherit; font-weight: 600; font-size: .62rem; line-height: 1; letter-spacing: .02em; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.gl:hover { background: #26262a; transform: scale(1.08); }
.gl.off { opacity: .28; cursor: default; pointer-events: none; }
.glmulti { position: relative; display: inline-flex; }
.glmenu { position: absolute; top: 36px; right: 0; display: grid; min-width: 140px; padding: 6px; border-radius: 12px; background: rgba(19, 19, 20, .96); border: 1px solid #2e2e31; backdrop-filter: blur(8px); }
.glmenu[hidden] { display: none; }
.glmenu a { padding: 7px 10px; border-radius: 8px; font-size: .82rem; white-space: nowrap; }
.glmenu a:hover { background: #26262a; }
.glinks.inline .glmenu { top: auto; bottom: 36px; }
.lb-bar .glinks.inline .gl { width: 34px; height: 34px; }
.psecond .pgrid { flex: 1; min-width: 0; --row: 250px; }
.ptrack [inert] { visibility: hidden; transition: visibility 0s .6s; }
.aligner { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 12px; padding: 12px 16px; border: 1px dashed #3a3a3d; border-radius: 12px; font-size: .8rem; color: var(--muted); max-width: 900px; }
.aligner label { display: grid; gap: 4px; }
.aligner input[type=range] { width: 160px; }
.aligner button { border: 1px solid #3a3a3d; background: none; color: var(--text); border-radius: 99px; padding: 6px 14px; cursor: pointer; }
.align-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 10px var(--pad); background: #1a1a1d; border-top: 1px solid var(--line); font-size: .85rem; }
.align-bar button { border: 0; border-radius: 99px; padding: 8px 18px; background: var(--text); color: #0a0a0a; cursor: pointer; }
@media (max-width: 720px) { .pcol { flex-basis: 40px; } .pnav { width: 38px; height: 38px; } .ppanel { gap: 8px; } .brand-sec { margin-bottom: 64px; } }
/* Startseite: Idee, Motivation und Hintergrund, Get-in-touch-Bereich */
.idea { margin: 72px 0 8px; }
.idea .eyebrow { margin-top: 0; }
.idea-title { max-width: none; margin: 0; font-size: clamp(1.7rem, 3.7vw, 3.3rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.about .motivation { margin: 0; max-width: none; padding-right: clamp(20px, 4vw, 56px); }
.background { padding-left: clamp(20px, 4vw, 56px); border-left: 1px solid var(--line); }
.background h2 { margin: 0 0 14px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
.bg-list { margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 1.02rem; }
.bg-list li { margin: 0 0 14px; }
.bg-list b { color: var(--text); font-weight: 500; }
.stations { margin: 0 0 26px; padding: 0; list-style: none; }
.stations li { display: grid; gap: 3px; padding: 16px 0; border-top: 1px solid var(--line); }
.stations li:first-child { padding-top: 2px; border-top: 0; }
.stations strong { font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.stations span { color: var(--muted); font-size: 1.05rem; }
.stations li.beyond { margin-top: 6px; padding-top: 22px; }
.stations li.beyond em { font-style: normal; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.bg-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.link-in, .link-arrow { display: inline-flex; align-items: center; gap: 8px; color: #7ea6f2; font-size: .95rem; transition: color .2s, transform .2s; }
.link-in:hover, .link-arrow:hover { color: #a9c4f7; transform: translateX(2px); }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }
.cta { margin: 72px 0 0; padding: clamp(32px, 6vw, 56px) 24px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.cta .eyebrow { margin: 0 0 10px; }
.cta h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; }
.cta p { color: var(--muted); }
.cta p.eyebrow { color: var(--blue); }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 0; }
.btn { display: inline-block; }
.cta .btn:not(.btn-ghost) { background: #6f9bf0; color: #0a0a0a; }
.cta .btn:not(.btn-ghost):hover { background: #8fb2f5; }
.btn-ghost { background: none; color: var(--text); border: 1px solid #3a3a3d; }
.btn-ghost:hover { background: #1b1b1e; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about .motivation { padding-right: 0; } .background { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 28px; } }
/* Einblenden beim Scrollen; ohne JavaScript bleibt alles sichtbar */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s ease-out, transform .65s ease-out; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-split] { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }
.js [data-split] .c { display: inline-block; transform: translateY(108%); opacity: 0; transition: transform .85s cubic-bezier(.16, 1, .3, 1), opacity .85s ease-out; transition-delay: calc(var(--i) * 18ms); }
.js [data-split].in .c { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal], .js [data-split] .c { opacity: 1; transform: none; } }.alt-contact { margin: 28px 0 0; color: var(--muted); font-size: .9rem; }
.alt-contact a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
