/* Necker Rechtsanwälte — "Zwei Seiten" · Swiss Modern: white, ink, one violet */

:root {
  --bg: #fafafa;
  --white: #ffffff;
  --ink: #0e0e12;
  --ink-2: #2c2c35;
  --mute: #6b6b78;
  --soft: #c9c9d3;
  --line: rgba(14, 14, 18, .1);
  --line-2: rgba(14, 14, 18, .22);
  --violet: #5a3cff;
  --violet-2: #4325ef;
  --lav: #ecebff;
  --lav-2: #dedbff;
  --display: 'Clash Grotesk', 'Switzer', system-ui, sans-serif;
  --sans: 'Switzer', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gut: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --head-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .07em; text-transform: uppercase; }
.v { color: var(--violet); }
.ph { border-bottom: 1px dashed currentColor; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.flag { display: inline-block; width: 18px; height: 12px; flex: none; background: linear-gradient(#000 33.34%, #dd0000 0 66.67%, #ffce00 0); box-shadow: 0 0 0 1px rgba(14, 14, 18, .12); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 24px; border: 1px solid transparent; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px); }
.btn-v { background: var(--violet); color: var(--white); }
.btn-v:hover { background: var(--violet-2); }
.btn-line { border-color: var(--violet); color: var(--violet); background: transparent; }
.btn-line:hover { background: var(--lav); }
.btn-white { background: var(--white); color: var(--violet); }
.btn-white:hover { background: var(--lav); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.site-header[data-solid] { background: rgba(250, 250, 250, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header[data-hidden] { transform: translateY(-100%); }
.head-inner { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); }
.logo { --h: 25px; display: inline-flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.logo .wm { height: var(--h); width: auto; display: block; }
.wm-face { fill: var(--violet); }
.logo small { font: 500 9px/1 var(--mono); letter-spacing: .36em; color: var(--mute); padding-left: calc(var(--h) * var(--off)); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { position: relative; padding: 6px 0; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--violet); }
.nav .btn { height: 44px; padding: 0 18px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle span { top: 19px; }
.nav-toggle span::before { content: ""; left: 0; right: 0; top: 7px; }
.site-header[data-open] .nav-toggle span { transform: translateY(3.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle span::before { transform: translateY(-7px) rotate(-90deg); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal[data-in] { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* Shared type */
.section { padding: clamp(96px, 12vw, 168px) 0; }
.label { display: flex; align-items: center; gap: 12px; color: var(--violet); margin: 0 0 24px; }
.label::before { content: ""; width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg) skew(-8deg, -8deg); }
.h2 { font: 500 clamp(38px, 4.8vw, 72px)/.98 var(--display); letter-spacing: -.012em; margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 560px; margin: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: var(--head-h); display: flex; flex-direction: column; overflow: hidden; }
.gridlines { position: absolute; inset: 0; left: 0; right: 0; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); pointer-events: none; }
.gridlines i { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--line) 18%, var(--line) 82%, transparent); }
.hero-grid { flex: 1; position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(20px, 4vh, 48px); padding-bottom: clamp(20px, 3vh, 40px); }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--mute); margin: 0 0 clamp(20px, 3.5vh, 34px); }
.kicker i { width: 8px; height: 8px; background: var(--violet); }
.h1 { font: 600 clamp(44px, 6.3vw, 98px)/.92 var(--display); letter-spacing: -.008em; text-transform: uppercase; margin: 0; }
.h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.h1 .ln > span { display: block; }
.js .h1 .ln > span { transform: translateY(108%); animation: lnUp 1s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * .085s); }
@keyframes lnUp { to { transform: none; } }
.hero-lead { max-width: 540px; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); margin: clamp(22px, 3.5vh, 34px) 0 clamp(24px, 4vh, 36px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.js .fade { opacity: 0; animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--dl, .6s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.cube-col { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.cube-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 62vh; margin: 0 auto; }
.cube-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cube-tag { position: absolute; font: 400 11px/1 var(--mono); letter-spacing: .08em; color: var(--mute); text-transform: uppercase; }
.cube-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding-top: 14px; }
.cube-cap .mono b { font-weight: 500; color: var(--ink); }
.view-switch { display: inline-flex; border: 1px solid var(--ink); padding: 0; background: transparent; cursor: pointer; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.view-switch span { padding: 9px 12px; transition: background .3s, color .3s; }
.view-switch span.on { background: var(--ink); color: var(--white); }
.view-switch:hover span:not(.on) { background: var(--lav); }
.cube-note { font-size: 14.5px; line-height: 1.5; color: var(--mute); margin: 12px 0 0; max-width: 420px; }
.cube-note b { color: var(--ink); font-weight: 500; }

.statusbar { position: relative; border-top: 1px solid var(--line); background: var(--bg); }
.statusbar .container { display: flex; align-items: center; gap: 30px; height: 54px; color: var(--mute); }
.statusbar .item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.statusbar .item b { color: var(--ink); font-weight: 500; }
.statusbar .right { margin-left: auto; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(90, 60, 255, .14); }

/* ---------- Perspektiven ---------- */
.persp { padding-bottom: clamp(48px, 6vw, 80px); }
.persp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.persp-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 30px; }
.persp-canvas { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 64vh; }
.persp-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.persp-meta { display: flex; align-items: center; gap: 16px; color: var(--mute); margin-top: 14px; }
.persp-meta b { color: var(--ink); font-weight: 500; }
.bar { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.bar i { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--violet); }
.persp-steps { list-style: none; margin: 0; padding: 0; }
.pstep { min-height: 78vh; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; border-top: 1px solid var(--line); }
.pstep:last-child { border-bottom: 1px solid var(--line); }
.pstep .num { font: 500 clamp(72px, 9vw, 144px)/.8 var(--display); letter-spacing: -.04em; color: var(--ink); transition: color .5s var(--ease); }
.pstep .mono { color: var(--violet); display: block; margin-bottom: 14px; transition: color .5s var(--ease); }
.pstep h3 { font: 500 clamp(30px, 3.2vw, 46px)/1.02 var(--display); margin: 0 0 16px; transition: color .5s var(--ease); }
.pstep p { margin: 0; max-width: 440px; color: var(--ink-2); transition: color .5s var(--ease); }
.pstep:not(.on) .num, .pstep:not(.on) h3 { color: var(--soft); }
.pstep:not(.on) p, .pstep:not(.on) .mono { color: #a7a7b3; }
.persp-end { display: flex; align-items: center; gap: 18px; margin-top: clamp(48px, 6vw, 72px); font: 500 clamp(24px, 2.4vw, 34px)/1.15 var(--display); }
.persp-end i { width: 44px; height: 44px; flex: none; background: var(--violet); }

/* ---------- Feld (op-art band) ---------- */
.feld { position: relative; height: clamp(540px, 86vh, 800px); overflow: hidden; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feld canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.feld-copy { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(980px, calc(100% - 2 * var(--gut))); text-align: center; pointer-events: none; }
.feld-copy .mono { color: var(--mute); margin: 0 0 22px; }
.feld-copy h2 { font: 600 clamp(36px, 5.6vw, 88px)/.93 var(--display); text-transform: uppercase; letter-spacing: -.006em; margin: 0; }
.feld-hint { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: var(--mute); pointer-events: none; }

/* ---------- Leistungen: folding cube ---------- */
.falt { position: relative; height: 290vh; background: var(--lav); }
.falt-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; padding-top: 40px; }
.falt-in { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: 40px; align-items: center; }
.falt-head .h2 { font-size: clamp(36px, 3.3vw, 50px); margin-bottom: 22px; }
.falt-head .lead { font-size: 17px; }
.falt-prog { display: flex; align-items: center; gap: 14px; margin-top: 32px; color: var(--mute); }
.falt-prog b { color: var(--ink); font-weight: 500; }
.falt-prog .bar { max-width: 140px; }
.falt-stage { --s: clamp(184px, min(15.2vw, calc((100vh - 140px) / 3)), 268px); position: relative; width: calc(var(--s) * 4); height: calc(var(--s) * 3); margin-left: auto; perspective: 2200px; perspective-origin: 50% 45%; }
.fcube { --k: 0; position: absolute; left: var(--s); top: var(--s); width: var(--s); height: var(--s); transform-style: preserve-3d; transform-origin: 50% 50% calc(var(--s) * -.5); }
.face { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); transform-style: preserve-3d; }
.f-t { top: calc(var(--s) * -1); transform-origin: 50% 100%; transform: rotateX(calc(90deg * var(--k))); }
.f-d { top: var(--s); transform-origin: 50% 0; transform: rotateX(calc(-90deg * var(--k))); }
.f-l { left: calc(var(--s) * -1); transform-origin: 100% 50%; transform: rotateY(calc(-90deg * var(--k))); }
.f-r, .f-b { left: var(--s); transform-origin: 0 50%; transform: rotateY(calc(90deg * var(--k))); }
.fc { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--s) * .085); background: var(--white); outline: 1px solid var(--ink); outline-offset: -.5px; }
.fc .row { display: flex; justify-content: space-between; gap: 8px; font: 400 calc(var(--s) * .045)/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.fc .row b { font-weight: 500; color: var(--violet); }
.fc h3 { font: 500 calc(var(--s) * .092)/1.04 var(--display); margin: auto 0 calc(var(--s) * .04); }
.fc p { font-size: calc(var(--s) * .056); line-height: 1.42; margin: 0; color: var(--ink-2); }
.fc.on { background: var(--violet); color: var(--white); outline-color: var(--violet); }
.fc.on .row, .fc.on .row b { color: rgba(255, 255, 255, .78); }
.fc.on p { color: rgba(255, 255, 255, .88); }
.fold-lines .fc { outline-style: dashed; }

/* ---------- Kanzlei ---------- */
.kanzlei-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.raum { margin: 0; position: relative; }
.raum .imgbox { overflow: hidden; aspect-ratio: 3 / 2; }
.raum img { width: 100%; height: 112%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.raum figcaption { display: flex; justify-content: space-between; margin-top: 12px; color: var(--mute); }
.kanzlei-text .h2 { margin-bottom: 26px; }
.kanzlei-text p { color: var(--ink-2); margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: 34px; }
.fact { padding: 18px 14px 0 0; }
.fact + .fact { padding-left: 14px; border-left: 1px solid var(--line); }
.fact b { display: block; font: 500 clamp(30px, 3vw, 42px)/1 var(--display); margin-bottom: 8px; }
.fact span { font-size: 14px; line-height: 1.4; color: var(--mute); display: block; }

/* ---------- Team: turning cubes ---------- */
.team-lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: center; margin-bottom: clamp(72px, 9vw, 120px); }
.tbox { position: relative; perspective: 1700px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tsize { position: relative; width: 84%; margin: 0 auto 0 3%; aspect-ratio: 3 / 4; container-type: inline-size; }
.tcube { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50% -50cqw; transform: rotateY(var(--a, -17deg)); transition: transform 1s var(--ease); }
.tbox:hover .tcube, .tcard.turn .tcube, .tbox:focus-within .tcube { --a: -90deg; }
.tf { position: absolute; inset: 0; backface-visibility: hidden; background: var(--lav); }
.tf img { width: 100%; height: 100%; object-fit: cover; }
.ts { position: absolute; top: 0; bottom: 0; left: 100%; width: 100%; transform-origin: 0 50%; transform: rotateY(90deg); backface-visibility: hidden; background: var(--violet); color: var(--white); padding: 9cqw; display: flex; flex-direction: column; justify-content: space-between; }
.ts .mono { color: rgba(255, 255, 255, .75); font-size: max(10px, 4.2cqw); }
.ts .tname { font: 500 12cqw/.98 var(--display); margin: 0; }
.ts .tmail { font: 400 max(11px, 4.4cqw)/1.4 var(--mono); color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); align-self: flex-start; word-break: break-all; }
.ts .tmail:hover { border-bottom-color: var(--white); }
.ts .cubemark { width: 18cqw; height: 18cqw; }
.tmeta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: 20px; }
.tmeta b { display: block; font: 500 22px/1.15 var(--display); }
.tmeta .mono { color: var(--mute); display: block; margin-top: 4px; }
.tmeta .turnbtn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--line-2); color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .6s var(--ease); }
.tcard:hover .turnbtn, .tcard.turn .turnbtn { background: var(--violet); border-color: var(--violet); color: var(--white); transform: rotate(-90deg); }
.lead-text .h2 { margin-bottom: 8px; }
.lead-text .role { color: var(--violet); margin: 0 0 28px; display: block; }
.lead-text p { color: var(--ink-2); max-width: 520px; margin: 0 0 16px; }
.lead-text .hint { color: var(--mute); margin-top: 28px; display: flex; gap: 10px; align-items: center; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(24px, 3vw, 44px); }

/* ---------- Vertraulichkeit ---------- */
.trust { padding-top: 0; }
.trust-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.trust-item { padding: 30px 26px 34px 0; display: flex; flex-direction: column; gap: 14px; }
.trust-item + .trust-item { padding-left: 26px; border-left: 1px solid var(--line); }
.trust-item .ic { display: flex; align-items: center; gap: 10px; color: var(--violet); height: 28px; }
.trust-item .ic .ico { width: 26px; height: 26px; }
.trust-item .ic .flag { width: 30px; height: 20px; }
.trust-item h3 { font: 500 23px/1.15 var(--display); margin: 0; }
.trust-item p { font-size: 15px; line-height: 1.5; color: var(--mute); margin: 0; }
.trust-item .st { color: var(--ink); display: inline-flex; gap: 8px; align-items: center; margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head .h2 { margin-bottom: 20px; }
.faq-head p { color: var(--mute); margin: 0; }
.faq-list details { border-top: 1px solid var(--line-2); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; cursor: pointer; font: 500 clamp(19px, 1.7vw, 24px)/1.25 var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--violet); }
.pm { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm { background: var(--violet); border-color: var(--violet); color: var(--white); transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(90deg) scaleX(0); }
.answer { padding: 0 60px 26px 0; color: var(--ink-2); }
.answer p { margin: 0 0 12px; }

/* ---------- Kontakt ---------- */
.kontakt { position: relative; background: var(--violet); color: var(--white); padding: clamp(96px, 11vw, 160px) 0; overflow: hidden; }
.kontakt .label { color: rgba(255, 255, 255, .8); }
.k-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.kontakt h2 { font: 600 clamp(42px, 6vw, 96px)/.92 var(--display); text-transform: uppercase; margin: 0 0 clamp(36px, 5vw, 56px); }
.k-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin: 0 0 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .35); }
.k-dl dt { color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.k-dl dd { margin: 0; font-size: 17px; line-height: 1.5; }
.k-dl dd.big { font: 500 clamp(24px, 2.4vw, 32px)/1.1 var(--display); }
.k-dl a { text-decoration: none; }
.k-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.k-server { display: inline-flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .85); }
.k-cube { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 520px; margin-left: auto; }
.k-cube canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); background: var(--bg); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.foot-meta a { text-decoration: none; }
.foot-meta a:hover { color: var(--violet); }
.foot-server { display: inline-flex; gap: 9px; align-items: center; color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal-page .site-header { background: rgba(250, 250, 250, .94); box-shadow: 0 1px 0 var(--line); }
.legal-hero { padding: calc(var(--head-h) + 80px) 0 52px; border-bottom: 1px solid var(--line); background: var(--lav); }
.legal-hero .h2 { font: 600 clamp(40px, 6vw, 84px)/.94 var(--display); text-transform: uppercase; }
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 130px); }
.legal-body { max-width: 780px; }
.legal-body h2 { margin: 46px 0 12px; font: 500 26px/1.2 var(--display); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 26px 0 8px; font: 500 19px/1.3 var(--display); }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p { margin: 0; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { list-style: disc; padding-left: 1.2em; margin: 10px 0 0; }
.legal-body a:not(.btn) { color: var(--violet); }
.legal-back { margin-top: 46px !important; }
.legal-stand { margin-top: 22px !important; font-size: 14px; color: var(--mute) !important; }
.legal-cta { height: 44px; padding: 0 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .statusbar .right { display: none; }
}
@media (max-width: 960px) {
  :root { --head-h: 68px; }
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute; left: 12px; right: 12px; top: calc(var(--head-h) - 4px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: var(--white);
    box-shadow: 0 0 0 1px var(--ink), 0 30px 60px -30px rgba(14, 14, 18, .45);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .site-header[data-open] { background: var(--white); }
  .site-header[data-open] .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 15px; }
  .nav a:not(.btn)::after { right: auto; width: 24px; left: 12px; bottom: 8px; }
  .nav .btn { margin-top: 8px; height: 54px; }

  .hero-grid { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; }
  .cube-col { margin-top: 28px; }
  .cube-wrap { width: min(100%, 320px); max-height: none; }
  .cube-note { display: none; }
  .statusbar .container { gap: 18px; overflow: hidden; }
  .statusbar .opt { display: none; }

  .sec-head { grid-template-columns: 1fr; gap: 22px; }
  .persp-grid { grid-template-columns: 1fr; gap: 0; }
  .persp-stage { position: sticky; top: var(--head-h); z-index: 2; background: var(--bg); }
  .persp-sticky { position: static; height: auto; padding: 8px 0 12px; }
  .persp-canvas { width: min(100%, 300px); max-height: 32vh; margin: 0 auto; }
  .pstep { min-height: 56vh; grid-template-columns: 1fr; gap: 10px; align-content: center; padding: 40px 0; }
  .pstep .num { font-size: 64px; }

  .falt { height: auto; padding: 96px 0; }
  .falt-sticky { position: static; height: auto; overflow: visible; display: block; padding: 0; }
  .falt-in { grid-template-columns: 1fr; gap: 40px; }
  .falt-prog { display: none; }
  .falt-stage { --s: 100%; width: auto; height: auto; perspective: none; margin: 0; }
  .fcube { position: static; width: auto; height: auto; transform: none !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .face { display: contents; }
  .fc { position: relative; inset: auto; order: var(--o); min-height: 250px; padding: 22px; }
  .fc .row { font-size: 11px; }
  .fc h3 { font-size: 23px; margin-top: 36px; margin-bottom: 10px; }
  .fc p { font-size: 15px; }

  .kanzlei-grid { grid-template-columns: 1fr; }
  .team-lead { grid-template-columns: 1fr; gap: 36px; }
  .team-lead .tcard { max-width: 460px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq { grid-template-columns: 1fr; }
  .k-grid { grid-template-columns: 1fr; }
  .k-cube { position: absolute; right: -70px; top: 10px; width: 230px; opacity: .3; pointer-events: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .logo { --h: 21px; }
  .h1 { font-size: clamp(38px, 11.4vw, 56px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .statusbar .container { height: 48px; }
  .fcube { grid-template-columns: 1fr; }
  .fc { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 16px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .tmeta b { font-size: 17px; }
  .tmeta .mono { font-size: 10.5px; }
  .tmeta .turnbtn { display: none; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 24px 0; border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
  .answer { padding-right: 0; }
  .k-dl { grid-template-columns: 1fr; }
  .kontakt .btn { flex: 1 1 100%; }
  .feld-copy h2 { font-size: clamp(32px, 9.6vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .fade, .js .h1 .ln > span { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .tcube { transition: none; }
}
.falt.static { height: auto; padding: 120px 0; }
.falt.static .falt-sticky { position: static; height: auto; overflow: visible; }
