/* ===== Fonts (selbst gehostet) ===== */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ===== Tokens ===== */
:root {
  --bg-2a: rgba(10, 24, 56, .7);
  --fade-y: linear-gradient(180deg, transparent 0%, var(--bg-2a) 22%, var(--bg-2a) 78%, transparent 100%);
  --fade-y-solid: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 22%, var(--bg-2) 78%, var(--bg) 100%);
  --bg: #06102a;
  --bg-2: #0a1838;
  --bg-3: #10224a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef1fb;
  --muted: #9fb0d4;
  --gold: #ff8a1f;
  --gold-2: #ffc069;
  --violet: #2563ff;
  --radius: 22px;
  --pad: clamp(16px, 5vw, 72px);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--bg); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; gap: 24px;
  background: var(--bg);
}
.loader__word { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 10vw, 120px); letter-spacing: -0.04em; display: flex; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__bar { width: min(240px, 60vw); height: 2px; background: var(--line); margin: 0 auto; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.no-js .loader { display: none; }

/* ===== Cursor ===== */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; display: none; }
.cursor__dot { position: fixed; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
.cursor__ring {
  position: fixed; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(255, 138, 31, .5);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor__label { font: 600 12px/1 var(--display); color: var(--bg); opacity: 0; transition: opacity .2s; letter-spacing: .02em; }
.cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold); border-color: var(--gold); }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary, body.has-cursor label { cursor: none; }
  body.has-cursor input, body.has-cursor textarea { cursor: text; }
}

/* ===== Progress & Grain ===== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--gold)); transform: scaleX(0); transform-origin: left; }
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-5%,4%)} 40%{transform:translate(4%,-6%)} 60%{transform:translate(-3%,7%)} 80%{transform:translate(6%,-2%)} }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--pad);
  transition: transform .5s var(--ease), background .4s, padding .4s;
}
.nav.is-scrolled { background: linear-gradient(180deg, rgba(6, 16, 42, .9), rgba(6, 16, 42, .62)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); }
.nav.is-hidden { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--display); letter-spacing: -0.03em; }
.logo svg { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { white-space: nowrap; position: relative; padding: 8px 14px; text-decoration: none; color: var(--muted); font-size: 15px; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 50%; padding: 0; position: relative; color: var(--text); }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 25px; }
.menu-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 105; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--pad);
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
}
.mobile-menu a { font: 600 clamp(36px, 10vw, 56px)/1.15 var(--display); text-decoration: none; letter-spacing: -0.03em; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
@media (max-width: 1080px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: block; }
}

/* ===== Buttons ===== */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--gold); color: var(--bg);
  font: 600 16px/1 var(--display); letter-spacing: -0.01em; text-decoration: none;
  overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-2); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--small { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--ghost::before { background: rgba(255, 255, 255, .07); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== Typo helpers ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.h2 { margin: 0; font: 600 clamp(36px, 5.6vw, 84px)/1.02 var(--display); letter-spacing: -0.035em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.3vw, 20px); max-width: 56ch; margin: 22px 0 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 1100px; }
section { position: relative; padding: clamp(80px, 12vw, 180px) var(--pad); }

/* ===== Hero ===== */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 120px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; top: -25vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 255, .32), rgba(37, 99, 255, 0) 60%);
  filter: blur(20px);
}
.hero__glow::after { content: ""; position: absolute; width: 60%; height: 60%; left: -30%; top: 90%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 31, .22), transparent 60%); }
.hero__inner { position: relative; z-index: 2; max-width: 1240px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 138, 31, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 138, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 31, 0); } }
.hero__title { margin: 0; font: 700 clamp(44px, 8.6vw, 140px)/.98 var(--display); letter-spacing: -0.045em; }
.hero__title .line { display: block; }
.hero__title em { font-style: normal; }
.rotator { position: relative; display: inline-grid; vertical-align: top; overflow: hidden; padding-bottom: .08em; }
.rotator span {
  grid-area: 1 / 1; white-space: nowrap;
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, #e8590c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rotator span:not(:first-child) { visibility: hidden; }
.js .rotator span:not(:first-child) { visibility: visible; transform: translateY(110%); }
.hero__sub { max-width: 52ch; margin: 32px 0 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 21px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero__scroll { position: absolute; bottom: 32px; left: var(--pad); display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); z-index: 2; }
.hero__scroll i { width: 60px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: scrollline 2.2s var(--ease) infinite; }
@keyframes scrollline { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== Marquee ===== */
.marquee { overflow: hidden; padding: 40px 0; background: linear-gradient(180deg, transparent, var(--bg-2a) 35%, var(--bg-2a) 65%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; font: 600 clamp(28px, 4vw, 56px)/1 var(--display); letter-spacing: -0.03em; will-change: transform; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(238, 241, 251, .45); }
.marquee__track b { color: var(--gold); font-size: .5em; }

/* ===== Statement ===== */
.statement { max-width: 1300px; }
.statement__text { margin: 0; font: 500 clamp(28px, 4.2vw, 64px)/1.15 var(--display); letter-spacing: -0.03em; }
.statement__text .w { opacity: .4; transition: none; }

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; perspective: 1200px; }
.card {
  position: relative; padding: clamp(28px, 3.4vw, 52px); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; will-change: transform;
}
.card--accent { background: linear-gradient(160deg, #0f2a6b, #0a1838); }
.card__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 138, 31, .14), transparent 40%); opacity: 0; transition: opacity .4s; }
.card:hover .card__shine { opacity: 1; }
.card__icon { width: 64px; height: 64px; margin-bottom: 40px; }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.card__num { position: absolute; top: clamp(28px, 3.4vw, 52px); right: clamp(28px, 3.4vw, 52px); margin: 0; font: 500 14px/1 var(--display); color: var(--muted); }
.card h3 { margin: 0 0 14px; font: 600 clamp(26px, 2.6vw, 38px)/1.1 var(--display); letter-spacing: -0.03em; }
.card > p { color: var(--muted); margin: 0 0 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 138, 31, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3b54f' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.chip:hover { color: var(--bg); background: var(--gold); border-color: var(--gold); }
@media (max-width: 860px) { .services__grid { grid-template-columns: 1fr; } }

/* ===== Process (horizontal) ===== */
.process { padding: 0; }
.process__pin { display: flex; align-items: center; gap: clamp(40px, 6vw, 100px); min-height: 100svh; padding: 100px var(--pad); overflow: hidden; background: var(--fade-y); }
.process__head {
  flex: 0 0 auto; width: calc(min(440px, 36vw) + var(--pad)); align-self: stretch;
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  margin: -100px 0 -100px calc(-1 * var(--pad)); padding: 100px 0 100px var(--pad);
  background: var(--fade-y-solid);
}
.process__head::after { content: ""; position: absolute; top: 0; bottom: 0; right: -90px; width: 90px; background: var(--fade-y-solid); -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); pointer-events: none; }
.process__bar { margin-top: 40px; height: 2px; background: var(--line); }
.process__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.process__track { display: flex; gap: 24px; will-change: transform; }
.step {
  flex: 0 0 auto; width: clamp(300px, 30vw, 420px); min-height: 380px; padding: 40px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column;
}
.step__num { font: 700 clamp(72px, 8vw, 120px)/1 var(--display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 138, 31, .6); margin-bottom: auto; }
.step h3 { margin: 40px 0 12px; font: 600 28px/1.1 var(--display); letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .process__pin { flex-direction: column; align-items: stretch; min-height: 0; padding: 90px var(--pad); }
  .process__head { width: auto; margin: 0; padding: 0; box-shadow: none; background: none; }
  .process__track { flex-direction: column; }
  .step { width: auto; min-height: 0; }
  .step h3 { margin-top: 24px; }
}

/* ===== Work ===== */
.work__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.project {
  position: relative; display: grid; grid-template-columns: 220px 1fr auto; gap: clamp(20px, 4vw, 60px); align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden;
}
.project::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 138, 31, .08), transparent 70%); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.project:hover::before { transform: scaleY(1); }
.project__visual { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.mock { position: absolute; inset: 14% 10% 0; background: rgba(7, 11, 26, .82); border-radius: 8px 8px 0 0; padding: 12px; display: grid; gap: 6px; align-content: start; transition: transform .6s var(--ease); }
.mock i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.mock i:nth-child(1) { width: 60%; background: rgba(255, 255, 255, .5); height: 9px; }
.mock i:nth-child(2) { width: 85%; }
.mock i:nth-child(3) { width: 45%; }
.mock b { display: block; width: 36%; height: 14px; border-radius: 7px; margin-top: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.project:hover .mock { transform: translateY(-8%); }
.project__meta { position: relative; }
.project__tag { font: 500 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.project h3 { margin: 10px 0 8px; font: 600 clamp(24px, 3vw, 44px)/1.05 var(--display); letter-spacing: -0.03em; transition: transform .5s var(--ease); }
.project:hover h3 { transform: translateX(10px); }
.project p { margin: 0; color: var(--muted); max-width: 60ch; }
.project__arrow { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 22px; transition: background .4s, color .4s, transform .5s var(--ease); }
.project:hover .project__arrow { background: var(--gold); color: var(--bg); transform: rotate(45deg); }
.project--static .project__arrow { font-size: 10px; color: var(--gold); }
.project--static:hover .project__arrow { transform: none; }
@media (max-width: 760px) {
  .project { grid-template-columns: 1fr; }
  .project__arrow { position: absolute; top: 32px; right: 0; width: 48px; height: 48px; background: rgba(7, 11, 26, .6); }
}

/* ===== Why ===== */
.why { background: radial-gradient(1200px 600px at 80% 0%, rgba(37, 99, 255, .12), transparent 60%); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why__item { background: var(--bg); padding: clamp(28px, 3vw, 44px); transition: background .4s; }
.why__item:hover { background: var(--bg-2); }
.why__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 138, 31, .12); color: var(--gold); font-size: 22px; margin-bottom: 28px; }
.why__item h3 { margin: 0 0 10px; font: 600 24px/1.1 var(--display); letter-spacing: -0.02em; }
.why__item p { margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq__list { max-width: 980px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font: 600 clamp(19px, 1.8vw, 26px)/1.25 var(--display); letter-spacing: -0.02em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, transform .5s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--gold); color: var(--bg); transform: rotate(180deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item > div { overflow: hidden; }
.faq__item p { margin: 0 0 28px; color: var(--muted); max-width: 70ch; }

/* ===== Contact ===== */
.contact { overflow: hidden; background: linear-gradient(180deg, transparent 0, var(--bg-2a) 260px, var(--bg-2a) calc(100% - 200px), transparent 100%); }
.contact__orb { position: absolute; width: 60vmax; height: 60vmax; left: 50%; top: 40%; translate: -50% -50%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(37, 99, 255, .35), rgba(255, 138, 31, .25), rgba(37, 99, 255, .05), rgba(37, 99, 255, .35)); filter: blur(90px); opacity: .55; animation: spin 24s linear infinite; pointer-events: none; }
@keyframes spin { to { rotate: 360deg; } }
.contact__inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.contact__title { margin: 0; font: 700 clamp(40px, 6.5vw, 100px)/1 var(--display); letter-spacing: -0.04em; }
.contact .lead { margin-inline: auto; }
.form { margin-top: 56px; text-align: left; display: grid; gap: 18px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: rgba(7, 11, 26, .7); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; resize: vertical; transition: border-color .3s, background .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 138, 31, .04); }
.field span { position: absolute; left: 19px; top: 18px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), color .3s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.75); color: var(--gold); }
.form__topics { border: 0; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__topics legend { width: 100%; margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.form__topics input { position: absolute; opacity: 0; }
.form__topics span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); transition: all .3s; }
.form__topics input:checked + span { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.form__topics input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--gold); width: 18px; height: 18px; flex: 0 0 auto; }
.consent a { color: var(--gold); }
.form .btn { justify-self: start; }
.form__status { margin: 0; min-height: 1.5em; font-size: 15px; }
.form__status.ok { color: #6ee7b7; }
.form__status.err { color: #fca5a5; }
.contact__alt { margin-top: 32px; color: var(--muted); }
.contact__alt a { color: var(--gold); }

/* ===== Footer ===== */
.footer { padding: 60px var(--pad) 32px; overflow: hidden; }
.footer__big { font: 700 clamp(80px, 24vw, 380px)/.8 var(--display); letter-spacing: -0.06em; text-align: center; background: linear-gradient(180deg, rgba(238, 241, 251, .14), rgba(238, 241, 251, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent) top / 100% 1px no-repeat; color: var(--muted); font-size: 14px; }
.footer__row p { margin: 0; }
.footer__row nav { display: flex; gap: 24px; }
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: var(--gold); }

/* ===== Legal pages ===== */
.legal { max-width: 820px; margin: 0 auto; padding: 140px var(--pad) 100px; }
.legal h1 { font: 700 clamp(40px, 6vw, 72px)/1 var(--display); letter-spacing: -0.04em; margin: 0 0 40px; }
.legal h2 { font: 600 24px/1.2 var(--display); margin: 44px 0 12px; letter-spacing: -0.02em; }
.legal h3 { font: 600 18px/1.3 var(--display); margin: 28px 0 8px; }
.legal p, .legal li { color: #c9cee3; }
.legal a { color: var(--gold); }
.legal .back { display: inline-block; margin-bottom: 40px; text-decoration: none; color: var(--muted); }
.legal .back:hover { color: var(--gold); }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .statement__text .w { opacity: 1; }
}
.legal a.btn { color: var(--bg); }

/* ===== Logo (Wellen-D + Wortmarke mit Sonnen-O, Branding 2026-10-06) ===== */
.logo svg { width: 34px; height: 34px; border-radius: 9px; }
.logo__word { display: inline-flex; align-items: baseline; }
.logo .logo__sun { width: .56em; height: .56em; margin: 0 .02em; border-radius: 0; align-self: center; translate: 0 .06em; }
