/* Schriften lokal (OFL-lizenziert): Geist, Inter Tight, Jost */
@font-face{font-family:"Geist";src:url("fonts/geist-latin-300-normal.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Geist";src:url("fonts/geist-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Geist";src:url("fonts/geist-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Geist";src:url("fonts/geist-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Tight";src:url("fonts/inter-tight-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Tight";src:url("fonts/inter-tight-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Tight";src:url("fonts/inter-tight-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("fonts/jost-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}

/* ============ Base ============ */
:root {
  --ink: #0f0f15;
  --muted: #8a8a9e;
  --line: #282835;
  --footer: #0f0f15;
  --pill: #16161f;
  --pill-hover: #1f1f2b;
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Jost", "Futura", "Century Gothic", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; color: #213547; font-family: var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============ Custom cursor (Werte aus dem Original) ============ */
.custom-cursor { position: fixed; top: 0; left: 0; z-index: 9999; width: 0; height: 0; pointer-events: none; opacity: 0; color: #0f1118; }
.cc-rot { position: absolute; top: 0; left: 0; }
.cc-shape {
  position: absolute; top: 0; left: 0;
  width: 12px; height: 12px; border-radius: 999px; background: #0f1118; border: 1.5px solid #0f1118;
  opacity: 0; filter: blur(3px); transform: translate3d(-50%, -50%, 0) scale(.76);
  transition: width .5s var(--ease), height .5s var(--ease), border-radius .5s var(--ease), background-color .5s var(--ease), border .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease);
}
.cc-arrow { position: absolute; top: 0; left: 0; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.7); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.custom-cursor.on .cc-shape { opacity: 1; filter: blur(0); transform: translate3d(-50%, -50%, 0) scale(1); }
.custom-cursor.on.down .cc-shape { transform: translate3d(-50%, -50%, 0) scale(.92); }
.custom-cursor.arrow .cc-shape { width: 64px; height: 64px; background: #fff; border: 0 solid transparent; }
.custom-cursor.on.arrow .cc-arrow { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.cc-icon { position: absolute; top: 0; left: 0; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.7); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.custom-cursor.preview .cc-shape { width: 40px; height: 40px; background: rgba(248,248,248,.82); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 10px 34px rgba(8,8,14,.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.custom-cursor.arrow-left .cc-shape, .custom-cursor.arrow-right .cc-shape { width: 64px; height: 64px; background: #fff; border: 0 solid transparent; }
.custom-cursor.on.preview .cc-plus, .custom-cursor.on.arrow-left .cc-left, .custom-cursor.on.arrow-right .cc-right { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.cc-left { margin-left: -2.25px; } .cc-right { margin-left: 2.25px; }

/* ============ Scramble text ============ */
.scr { display: inline-block; }
.scr-l { position: relative; display: inline-block; pointer-events: none; }
.scr-l > .o { display: inline-block; white-space: pre; }
.scr-l > .o.inv { visibility: hidden; }
.scr-l > .r { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.scr-l.ent { opacity: 0; transform: translateY(5px); transition: opacity .3s cubic-bezier(.33,1,.68,1), transform .3s cubic-bezier(.33,1,.68,1); }
.scr-l.ent.vis { opacity: 1; transform: none; }

/* ============ Footer ============ */
.footer {
  position: relative; z-index: 42; min-height: 1065px;
  background: var(--footer); color: #fff;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  font-family: var(--font-ui);
}
.footer-inner { width: min(638px, calc(100% - 48px)); transform: translateX(36px); padding-top: 166px; padding-bottom: 120px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 267px)); column-gap: 104px; row-gap: 32px; }
.footer h3 { margin: 0; font-family: var(--font-ui); font-size: 22px; line-height: 28px; font-weight: 400; color: #fff; }
.f-list { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.f-list.tight { gap: 4px; }
.f-list.tight + .f-list { margin-top: 20px; }
.f-list p, .f-list a {
  margin: 0; font-size: 12px; line-height: 16px; letter-spacing: .72px; font-weight: 400;
  color: var(--muted); text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color .25s;
}
.f-list a:hover { color: #c4c4d2; }
.ext { width: 16px; height: 16px; flex: none; }
.f-reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.f-reveal.in { opacity: 1; transform: none; }
.socials { margin-top: 101px; width: min(589px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pill {
  display: flex; align-items: center; justify-content: center;
  border-radius: 32px; background: var(--pill); padding: 12px 24px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; line-height: 16px; letter-spacing: 1.2px; color: #fff;
  transition: background-color .2s linear;
}
.pill:hover { background: var(--pill-hover); }
.contact-form { margin-top: 96px; width: min(589px, 100%); display: flex; flex-direction: column; }
.form-title { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; }
.form-row { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; border-bottom: .5px solid var(--line); padding: 12px 0; transition: border-color .3s; }
.contact-form label:focus-within { border-color: #55556a; }
.contact-form label.msg { margin-top: 16px; }
.contact-form input, .contact-form textarea {
  margin: 0; width: 100%; border: 0; background: transparent; padding: 0; outline: none; resize: none;
  font-family: var(--font-ui); font-size: 12px; line-height: 16px; letter-spacing: .72px; color: #c9c9d6; text-transform: uppercase;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form label.err { border-color: #a0424a; }
.send {
  margin-top: 18px; margin-left: auto; display: inline-flex; align-items: center; gap: 2px;
  border: 0; background: transparent; padding: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
}
.send svg { flex: none; }
.form-note { margin: 14px 0 0; min-height: 16px; text-align: right; font-size: 11px; letter-spacing: .72px; text-transform: uppercase; color: var(--muted); }
.footer-bottom {
  margin-top: auto; width: 100%; min-height: 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 12px 16px; column-gap: 24px;
  font-size: 10px; line-height: 16px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom > a { text-align: center; }
.footer-bottom > a:hover { color: #fff; }
.footer-bottom .credit { text-align: right; }
.footer-bottom .credit a { color: #fff; border-bottom: 1px solid #fff; line-height: 1; display: inline-block; }

@media (max-width: 980px) {
  .footer { min-height: 0; }
  .footer-inner { width: min(589px, calc(100% - 32px)); transform: none; padding-top: 104px; padding-bottom: 72px; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 36px; }
  .socials { margin-top: 64px; }
  .contact-form { margin-top: 84px; padding-bottom: 72px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form label.msg { margin-top: 0; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding: 18px 16px 22px; }
  .footer-bottom .credit { text-align: center; }
}
