@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #07111d;
  --ink-soft: #0d1b2a;
  --surface: #f4f7f9;
  --surface-2: #e9eff3;
  --white: #ffffff;
  --text: #14202c;
  --muted: #5c6a77;
  --muted-light: #aebcc8;
  --line: rgba(12, 29, 43, 0.13);
  --line-light: rgba(255, 255, 255, 0.18);
  --orange: #f57c00;
  --orange-strong: #ff8a14;
  --cyan: #00a8e8;
  --shell: 1180px;
  --header-h: 84px;
  --radius: 4px;
  --shadow: 0 22px 70px rgba(7, 17, 29, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 150px; height: auto; }

.nav-toggle {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: inherit;
  background: rgba(5, 16, 27, .38);
  display: grid;
  place-content: center;
  gap: 7px;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  width: 23px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease;
}

.nav-open .nav-toggle > span:nth-of-type(2) { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle > span:nth-of-type(3) { transform: translateY(-4.5px) rotate(-45deg); }

.primary-nav {
  position: fixed;
  z-index: 1;
  inset: 0;
  padding: 120px 24px 40px;
  background: rgba(7, 17, 29, .98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease;
}

.nav-open .primary-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-nav > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav > a:not(.nav-contact):hover { color: var(--orange-strong); }

.nav-contact {
  margin-top: 18px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(0, 168, 232, .12);
  transition: border-color .2s ease, background-color .2s ease;
}

.nav-contact:hover { border-color: rgba(255,255,255,.55); background: rgba(0, 168, 232, .24); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink) url("assets/images/hero-poster.webp") center / cover no-repeat;
  color: var(--white);
  isolation: isolate;
}

.hero-video, .hero-shade, .hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -4;
  object-fit: cover;
  object-position: 58% center;
  filter: brightness(1.18) saturate(1.08) contrast(.98);
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 13, 22, .8) 0%, rgba(5, 17, 29, .56) 48%, rgba(5, 17, 29, .14) 100%),
    linear-gradient(0deg, rgba(4, 13, 22, .48), transparent 48%);
}

.hero-grid {
  z-index: -2;
  opacity: .1;
  background-image:
    linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
}

.hero-inner {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 68px);
  padding-bottom: 122px;
  display: grid;
  align-content: center;
  gap: 58px;
}

.hero-inner > * { min-width: 0; }
.hero-copy { max-width: 770px; min-width: 0; }

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #536778;
  font-size: .78rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.hero .eyebrow { color: #d1dce4; }

h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2 {
  margin: 0;
  color: inherit;
  font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: .98;
}

h1 { max-width: 760px; font-size: clamp(3.35rem, 16vw, 6.75rem); }
h1 em { color: var(--orange-strong); font-style: normal; }

@media (max-width: 859px) {
  h1, h2 { line-height: 1.18; }
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: #d2dce4;
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  line-height: 1.55;
}

.hero-audience {
  width: fit-content;
  margin: 32px 0 0;
  padding: 10px 14px;
  border-left: 2px solid var(--cyan);
  background: rgba(5, 17, 29, .42);
  color: #eef6fa;
  font-size: .84rem;
  font-weight: 720;
  letter-spacing: .04em;
}

.hero-facts {
  position: relative;
  width: min(100%, 390px);
  padding: 22px 24px 8px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(6, 20, 33, .76), rgba(8, 34, 52, .5));
  border: 1px solid rgba(255, 255, 255, .19);
  box-shadow: 0 24px 60px rgba(0, 8, 17, .24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-facts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 3px;
  background: var(--cyan);
}

.hero-facts-kicker {
  margin: 0 0 8px;
  color: #b9cbd6;
  font-size: .7rem;
  font-weight: 760;
  line-height: 1.4;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-facts > a {
  min-height: 66px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  text-decoration: none;
}

.hero-facts > a:last-child { border-bottom: 0; }

.fact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(0, 168, 232, .48);
  background: rgba(0, 168, 232, .09);
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.fact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fact-copy strong { color: var(--white); font-size: 1.03rem; line-height: 1.3; }
.fact-copy small { color: #b9cbd6; font-size: .78rem; line-height: 1.35; }
.hero-facts > a:hover .fact-icon { color: var(--white); background: rgba(0, 168, 232, .24); transform: translateX(3px); }
.hero-facts > a:hover .fact-copy strong { color: #dff7ff; }

.scroll-cue {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  display: none;
  align-items: center;
  gap: 16px;
  color: #d5dfe6;
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i { width: 54px; height: 2px; background: var(--orange); }

.section { padding: 88px 0; }

.section-heading { max-width: 820px; margin-bottom: 42px; }
.section h2 { font-size: clamp(2.6rem, 9vw, 5rem); }
.section-heading > p:last-child, .approach-intro > p, .legal-intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.service-grid { display: grid; gap: 12px; }

.service-card {
  position: relative;
  min-height: 296px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.service-card:hover { border-color: rgba(0,168,232,.32); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #eef7fb;
  color: #007fb2;
}

.service-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-number {
  position: absolute;
  top: 24px;
  right: 24px;
  margin: 0;
  color: #9eaab4;
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .12em;
}

.service-card h3 { margin: 30px 0 10px; font-size: 1.28rem; line-height: 1.25; }
.service-card > p:last-child { margin: 0; color: var(--muted); }

.visual-story {
  margin-top: 52px;
  display: grid;
  gap: 12px;
}

.visual-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.visual-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 13, 22, .68), transparent 54%);
  pointer-events: none;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}

.visual-card:hover img { transform: scale(1.025); filter: saturate(1.06); }
.visual-card-main img { object-position: 62% center; }
.visual-card-work img { object-position: 58% center; }
.visual-card-phone img { object-position: 68% center; }
.visual-card-tech img { object-position: center; }

.visual-card figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: .82rem;
  font-weight: 720;
  letter-spacing: .03em;
}

.visual-card figcaption i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,168,232,.2);
}

.approach { background: #0a2234; color: var(--white); }
.approach-layout { display: grid; gap: 54px; }
.approach .eyebrow { color: var(--muted-light); }
.approach .eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.approach-intro > p { color: var(--muted-light); }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.process-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.process-list li > span { padding-top: 0; color: var(--cyan); font-size: 1.2rem; font-weight: 500; }
.process-list h3 { margin: 0 0 5px; font-size: 1.2rem; }
.process-list p { margin: 0; color: var(--muted-light); }

.references {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.references::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -125px;
  top: -125px;
  border: 1px solid rgba(0, 168, 232, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(0, 168, 232, .035), 0 0 0 84px rgba(0, 168, 232, .025);
  pointer-events: none;
}

.references-layout { position: relative; display: grid; gap: 42px; }
.references-layout > *, .references-copy, .references-panel { min-width: 0; }
.references-copy h2 { max-width: 760px; }
.references-copy h2 em { color: #007fae; font-style: normal; }

.references-panel {
  position: relative;
  padding: 34px 28px 32px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(7, 17, 29, .16);
}

.references-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 82px;
  height: 4px;
  background: var(--cyan);
}

.reference-mark {
  display: block;
  height: 50px;
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.2rem;
  line-height: .9;
}

.references-lead { margin: 16px 0 14px; font-size: clamp(1.35rem, 5.6vw, 2rem); line-height: 1.35; letter-spacing: -.025em; }
.references-panel > p:not(.references-lead) { margin: 0; color: #d2dde5; }
.references-panel blockquote { margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-light); }
.references-panel blockquote p { margin: 0; color: #eef6fa; font-size: 1.03rem; }
.references-panel strong { color: var(--white); }

.promise { background: var(--surface-2); }
.promise-layout { display: grid; gap: 44px; }
.promise-points { border-top: 1px solid var(--line); }
.promise-points p { margin: 0; padding: 21px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.promise-points strong { color: var(--text); }

.site-footer { padding: 58px 0 max(26px, env(safe-area-inset-bottom)); background: #dce8ee; color: var(--ink); }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.footer-brand img { width: 154px; }
.footer-details { display: flex; flex-direction: column; gap: 4px; color: #425462; font-size: .9rem; font-style: normal; }
.footer-details strong { margin-bottom: 5px; color: var(--ink); font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.footer-details a { color: #006f98; font-weight: 720; text-decoration: none; }
.footer-details a:hover { text-decoration: underline; }
.partner { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.partner span { color: #526572; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.partner img { width: 112px; height: auto; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(7,17,29,.16); display: flex; flex-direction: column; gap: 14px; color: #526572; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #006f98; }

/* Rechtliche Seiten */
.legal-page { background: var(--surface); }
.legal-page .site-header { position: relative; background: var(--ink); }
.legal-main { padding: 64px 0 94px; }
.legal-head { max-width: 820px; margin-bottom: 44px; }
.legal-head h1 { color: var(--ink); font-size: clamp(3rem, 10vw, 5.5rem); }
.legal-content { max-width: 850px; }
.legal-content section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 13px; color: var(--ink); font-size: 1.45rem; line-height: 1.25; letter-spacing: -.02em; }
.legal-content h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.legal-content p, .legal-content ul { margin: 0 0 13px; color: #43515e; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: #007da9; }
.legal-content address { font-style: normal; }
.legal-meta { margin-top: 34px; color: var(--muted); font-size: .9rem; }

@media (min-width: 540px) {
  .shell { width: min(var(--shell), calc(100% - 64px)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (max-width: 539px) {
  .hero-inner { gap: 38px; }
  .hero-facts { width: 100%; max-width: none; padding: 20px 18px 7px; }
  .hero-facts-kicker { max-width: 270px; margin-bottom: 7px; }
  .hero-facts > a { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; }
  .fact-copy, .fact-copy strong, .fact-copy small { min-width: 0; }
  .references-copy h2 { font-size: clamp(2.45rem, 12.2vw, 3.2rem); line-height: 1.04; }
  .references-panel { width: 100%; max-width: 100%; padding: 32px 24px 30px; }
  .references-lead { font-size: clamp(1.3rem, 6vw, 1.45rem); line-height: 1.32; }
  .references-panel blockquote { margin-top: 26px; padding-top: 22px; }
}

@media (min-width: 860px) {
  :root { --header-h: 96px; }
  .brand img { width: 178px; }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    z-index: auto;
    inset: auto;
    padding: 0;
    background: transparent;
    flex-direction: row;
    justify-content: flex-end;
    gap: 30px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
  .primary-nav > a { min-height: 44px; font-size: .9rem; font-weight: 680; }
  .nav-contact { margin: 0 0 0 6px; padding: 0 18px; font-size: .86rem !important; }
  .hero-inner { padding-top: calc(var(--header-h) + 84px); padding-bottom: 120px; grid-template-columns: minmax(0, 1fr) 292px; align-items: end; }
  .hero-facts { width: 100%; padding: 24px 26px 10px; }
  .hero-facts > a { min-height: 72px; padding: 14px 0; grid-template-columns: 46px 1fr; }
  .fact-icon { width: 46px; height: 46px; }
  .fact-copy strong { font-size: 1.08rem; }
  .scroll-cue { display: flex; }
  .section { padding: 128px 0; }
  .section-heading { margin-bottom: 58px; }
  .section-heading > p:last-child { font-size: 1.14rem; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .service-card { min-height: 324px; padding: 32px; }
  .visual-story { margin-top: 72px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 270px); gap: 14px; }
  .visual-card { min-height: 0; }
  .approach-layout { grid-template-columns: minmax(0, .9fr) minmax(430px, 1fr); gap: 100px; align-items: start; }
  .process-list li { grid-template-columns: 55px 1fr; padding: 28px 0; }
  .references-layout { grid-template-columns: minmax(0, .92fr) minmax(480px, 1fr); gap: 90px; align-items: center; }
  .references-panel { padding: 48px 52px 46px; }
  .promise-layout { grid-template-columns: 1fr .85fr; gap: 110px; align-items: start; }
  .footer-top { display: grid; grid-template-columns: minmax(150px, .6fr) minmax(330px, 1.4fr) minmax(120px, .5fr); align-items: start; }
  .partner { align-items: flex-end; }
  .legal-main { padding: 92px 0 130px; }
}

@media (min-width: 1180px) {
  .hero-shade { background: linear-gradient(90deg, rgba(4,13,22,.8) 0%, rgba(5,17,29,.52) 48%, rgba(5,17,29,.05) 100%), linear-gradient(0deg, rgba(4,13,22,.44), transparent 45%); }
  .visual-story { grid-template-rows: repeat(2, 300px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
}

@media print {
  .site-header, .site-footer { display: none; }
  .legal-main { padding: 0; }
  body { background: #fff; color: #000; }
  .shell, .legal-content { width: 100%; max-width: none; }
  .legal-content p, .legal-content ul { color: #222; }
}
