@font-face { font-family: "Rajdhani"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/rajdhani-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/rajdhani-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/rajdhani-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #0b1220;
  --bg-2: #111b2d;
  --ink: #e9edf3;
  --soft: #aeb8c7;
  --muted: #7a869a;
  --line: rgba(233, 237, 243, .09);
  --gold: #8fb3dc;
  --serif: "Rajdhani", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --pad: clamp(24px, 6vw, 88px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  --side: max(var(--pad), calc((100vw - 1120px) / 2 + var(--pad)));
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--side) 120px;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 70% at 85% 30%, rgba(143,179,220,.08), transparent 70%),
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(30,52,88,.45), transparent 70%);
}

.brand {
  position: absolute;
  top: 44px;
  left: var(--side);
  right: var(--side);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--soft);
}
.logo { display: block; height: 46px; width: auto; color: var(--ink); }
.brand a:hover { color: var(--gold); }

.hero-text { max-width: 760px; position: relative; }
.hero h1 {
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(50px, 7.4vw, 112px);
  line-height: .94;
  letter-spacing: -.01em;
}
.hero h1 span { display: block; }
.rule { width: 64px; height: 1px; background: var(--gold); margin: 40px 0 32px; }
.hero .intro { max-width: 44ch; color: var(--soft); font-size: 16px; }


/* ---------- Sections ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
section.block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: clamp(72px, 11vw, 140px) 0;
  border-top: 1px solid var(--line);
}
section.block:first-of-type { border-top: 0; }
.block-head .num {
  font-family: var(--serif);
  font-style: normal;
  font-size: 18px;
  color: var(--muted);
  margin-right: 12px;
}
.block-head h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.1;
}

.services { list-style: none; }
.services li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.services li:first-child { padding-top: 6px; }
.services strong { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.25; }
.services span { color: var(--soft); }

.sectors {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sectors li {
  background: var(--bg);
  padding: 32px 24px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 25px);
  font-weight: 400;
  line-height: 1.25;
  transition: background .4s, color .4s;
}
.sectors li small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--muted);
  margin-bottom: 18px;
}
.sectors li:hover { background: var(--bg-2); color: var(--gold); }

.refs { margin-top: 56px; }
.refs-label {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.clients {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.1vw, 28px); line-height: 1.5;
  color: var(--soft);
}
.clients span { transition: color .3s; }
@media (min-width: 820px) { .clients span { white-space: nowrap; } }
.clients span:hover { color: var(--ink); }
.clients span:not(:last-child)::after {
  content: "\00a0/"; color: var(--gold); opacity: .6; font-style: normal;
}

.product { margin-top: 48px; max-width: 58ch; color: var(--soft); }
.product a { font-weight: 500; font-family: var(--serif); font-size: 24px; color: var(--ink); border-bottom: 1px solid var(--gold); transition: color .3s; }
.product a:hover { color: var(--gold); }

/* ---------- Arbeitsweise ---------- */
.about { display: grid; gap: 40px; align-items: start; }
.about-fig { margin-top: 40px; max-width: 220px; }
.about-fig img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  filter: brightness(.9) contrast(1.02);
}
.about-fig figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.about .lead { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; }
.principles { list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.principles li { padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.principles b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); margin-bottom: 4px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 12vw, 160px) 0; border-top: 1px solid var(--line); text-align: left; }
.contact h2 {
  margin-top: 24px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  max-width: 14ch;
}
.contact h2 em { color: var(--gold); font-style: normal; }
.contact-links { margin-top: 56px; display: grid; gap: 18px; }
.contact-links a {
  justify-self: start;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  position: relative;
}
.contact-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.contact-links a:hover::after { transform: scaleX(1); }
.addr { margin-top: 40px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }

.social { margin-top: 28px; display: flex; gap: 32px; }
.social a {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--soft);
  padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s;
}
.social a span { display: inline-block; margin-left: 4px; color: var(--gold); transition: transform .3s; }
.social a:hover { color: var(--ink); border-color: var(--gold); }
.social a:hover span { transform: translate(2px, -2px); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 64px; font-size: 13px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 28px; }
.legal { margin-top: 28px; max-width: 68ch; line-height: 1.75; }
.js .legal { display: none; }
.js .legal.open { display: block; }
.legal h3 { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.legal p + p { margin-top: 10px; }
.legal b { color: var(--soft); font-weight: 400; }
.legal-toggle { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; transition: color .3s; }
.legal-toggle:hover, .legal-toggle[aria-expanded="true"] { color: var(--ink); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .12s; }
.hero .reveal:nth-child(3) { transition-delay: .24s; }
.hero .reveal:nth-child(4) { transition-delay: .36s; }
.hero .reveal:nth-child(5) { transition-delay: .48s; }
@media (min-width: 1100px) {
  .services li { grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 820px) {
  section.block { grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
  
}

@media (max-width: 759px) {
  .hero { min-height: 0; padding-top: 140px; padding-bottom: 120px; }
  .brand { top: 28px; }
  .logo { height: 34px; }
  .rule { margin: 32px 0 24px; }
}

/* Ohne JavaScript: Impressum & Datenschutz direkt sichtbar, Umschalter ausblenden */
html:not(.js) .legal-toggle { display: none; }
html:not(.js) .legal { margin-top: 40px; }

