/* ========================================================================== 
   Webagentur AI – Basis-Styles
   --------------------------------------------------------------------------
   Struktur bewusst einfach gehalten: Variablen > Basis > Komponenten > Seiten.
   Geist ist als bevorzugte Schrift definiert. Die Website funktioniert
   ohne externe Font-Abhängigkeit mit einem hochwertigen System-Fallback.
   ========================================================================== */

/*
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
*/

:root {
  --font-sans: "Geist", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;

  --color-bg: #f4f6f6;
  --color-surface: #ffffff;
  --color-text: #0d1720;
  --color-muted: #61707d;
  --color-line: rgba(13, 23, 32, 0.12);

  --color-navy-950: #081725;
  --color-navy-900: #0d2236;
  --color-navy-800: #173650;
  --color-blue-600: #416d8e;
  --color-blue-400: #7f9fb7;
  --color-blue-200: #c9d8e3;
  --color-accent: #f4c94f;
  --color-accent-soft: #ffe8a2;

  /* Gemeinsame dunkle Markenfläche für Hero und Footer. */
  --gradient-brand-dark: linear-gradient(120deg, #061522 0%, #0c2335 48%, #29485e 100%);

  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 34px;

  --shadow-soft: 0 22px 70px rgba(14, 31, 46, 0.10);
  --container: 1480px;
  --gutter: clamp(20px, 3vw, 48px);
  --section-space: clamp(84px, 10vw, 150px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--color-accent-soft);
  color: var(--color-navy-950);
}

.skip-link {
  position: fixed;
  z-index: 999;
  left: 20px;
  top: 14px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  transition: transform .2s ease;
}

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

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #61707d;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--color-accent);
  font-size: 16px;
  line-height: 1;
}

.eyebrow--light {
  color: rgba(255, 255, 255, .72);
}

/* Wordmark ================================================================ */

.brand {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  color: #fff;
  font-size: clamp(24px, 1.9vw, 31px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.brand__ai {
  color: var(--color-accent);
}

/* Hero ==================================================================== */

.site-shell {
  padding: 16px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: min(900px, calc(100vh - 32px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius-l);
  background:
    linear-gradient(120deg, rgba(6, 21, 34, .98) 0%, rgba(12, 35, 53, .95) 47%, rgba(41, 72, 94, .92) 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(2, 12, 20, .48) 0%, rgba(2, 12, 20, .13) 48%, rgba(2, 12, 20, .28) 100%);
  pointer-events: none;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  contain: paint;
  opacity: .85;
}

.hero__background::before {
  content: "";
  position: absolute;
  width: 68%;
  aspect-ratio: 1.7;
  left: 24%;
  top: 14%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 48% 52% 42% 58% / 45% 45% 55% 55%;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(152,184,205,.04) 60%);
  filter: blur(1px);
  transform: rotate(-10deg);
}

.hero__background::after {
  content: "";
  position: absolute;
  width: 60%;
  aspect-ratio: 1.55;
  left: 34%;
  top: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(214,227,235,.24), rgba(81,116,141,.07) 54%, transparent 72%);
  filter: blur(22px);
}

.hero__mesh {
  position: absolute;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(201, 216, 227, .04);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.hero__mesh--one {
  width: 55vw;
  height: 36vw;
  max-width: 900px;
  max-height: 590px;
  right: -7vw;
  top: 5vw;
  border-radius: 48% 52% 58% 42% / 44% 35% 65% 56%;
  transform: rotate(21deg);
}

.hero__mesh--two {
  width: 50vw;
  height: 20vw;
  max-width: 820px;
  max-height: 330px;
  left: 14vw;
  bottom: 4vw;
  border-radius: 44% 56% 45% 55% / 55% 50% 50% 45%;
  transform: rotate(-12deg);
  opacity: .55;
}

.hero__beam {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.26), transparent);
  transform-origin: center;
}

.hero__beam--one {
  width: 76%;
  right: -12%;
  top: 47%;
  transform: rotate(-13deg);
}

.hero__beam--two {
  width: 55%;
  left: 18%;
  top: 64%;
  transform: rotate(9deg);
  opacity: .6;
}

.nav {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, .75fr) auto minmax(190px, .75fr);
  align-items: center;
  gap: 26px;
  min-height: 112px;
}

.nav .brand {
  justify-self: start;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 999px;
  background: rgba(3, 18, 30, .10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 10px 28px rgba(0, 8, 15, .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 540;
  letter-spacing: -.01em;
  transition: color .2s ease, background .2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.075);
}

.nav-menu a.is-active {
  color: #fff;
  background: rgba(255,255,255,.09);
}

.nav-menu a.is-active::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(244, 201, 79, .08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  padding: 13px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-navy-950);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: #f2f5f7;
}

.nav-cta span {
  color: #506776;
}

.nav-toggle {
  display: none;
}

.hero__content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  align-items: end;
  gap: clamp(46px, 7.5vw, 125px);
  padding-top: clamp(72px, 9vh, 125px);
  padding-bottom: clamp(88px, 10vh, 128px);
}

.hero__main {
  align-self: center;
  max-width: 1000px;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(58px, 6.35vw, 110px);
  font-weight: 450;
  line-height: .96;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.hero__intro {
  max-width: 680px;
  margin: 31px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(17px, 1.32vw, 21px);
  line-height: 1.56;
  letter-spacing: -.01em;
}

.hero__aside {
  align-self: end;
  max-width: 430px;
  padding-bottom: 8px;
}

.hero__aside > p {
  margin: 0 0 29px;
  font-size: clamp(24px, 1.9vw, 33px);
  font-weight: 430;
  line-height: 1.2;
  letter-spacing: -.022em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: #fff;
  color: var(--color-navy-950);
}

.button--primary span {
  color: #506776;
}

.button--ghost {
  border-color: rgba(255,255,255,.29);
  background: rgba(255,255,255,.065);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.button--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.48);
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  padding-bottom: 30px;
  color: rgba(255,255,255,.49);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
}

.hero__meta span:nth-child(2) {
  text-align: center;
}

.hero__meta span:last-child {
  text-align: right;
}

/* Service cards =========================================================== */

.systems {
  background: var(--color-bg);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: 54px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.positioning h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(42px, 4.6vw, 78px);
  font-weight: 480;
  line-height: 1;
  letter-spacing: -.045em;
}

.section-heading > p:last-child {
  margin: 0 0 6px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 2.3vw, 36px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  background: rgba(255,255,255,.76);
  box-shadow: 0 8px 40px rgba(20,39,54,.03);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(65, 109, 142, .32);
  background: #fff;
  box-shadow: 0 20px 54px rgba(20,39,54,.08);
}

.service-card__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #74828d;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.service-card__kicker {
  margin: 0 0 10px;
  color: #71808c;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 16px;
  font-size: clamp(34px, 3vw, 49px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -.04em;
}

.service-card p:last-child {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.service-card--dark {
  border-color: rgba(255,255,255,.11);
  background: linear-gradient(145deg, var(--color-navy-900), var(--color-navy-800));
  color: #fff;
}

.service-card--dark:hover {
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(145deg, #102a42, #214a68);
}

.service-card--dark .service-card__top,
.service-card--dark .service-card__kicker,
.service-card--dark p:last-child {
  color: rgba(255,255,255,.62);
}

/* Positioning ============================================================= */

.positioning {
  background: #fff;
}

.positioning__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 150px);
  align-items: start;
}

.positioning__copy {
  padding-top: 40px;
}

.positioning__copy p {
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.75;
}

.positioning__copy .lead {
  margin-top: 0;
  color: var(--color-text);
  font-size: clamp(23px, 1.8vw, 31px);
  line-height: 1.4;
  letter-spacing: -.025em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-text);
  font-weight: 650;
}

/* Footer ================================================================== */

.footer {
  position: relative;
  overflow: hidden;
  margin: 16px;
  padding: 86px 0 26px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, rgba(6, 21, 34, .98) 0%, rgba(12, 35, 53, .95) 47%, rgba(41, 72, 94, .92) 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(2, 12, 20, .48) 0%, rgba(2, 12, 20, .13) 48%, rgba(2, 12, 20, .28) 100%);
  pointer-events: none;
}

.footer__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  contain: paint;
  opacity: .82;
}

.footer__background::before {
  content: "";
  position: absolute;
  width: 68%;
  aspect-ratio: 1.7;
  left: 24%;
  top: -18%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 48% 52% 42% 58% / 45% 45% 55% 55%;
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(152,184,205,.025) 60%);
  filter: blur(1px);
  transform: rotate(-10deg);
}

.footer__background::after {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1.55;
  right: -2%;
  bottom: -30%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(214,227,235,.19), rgba(81,116,141,.055) 54%, transparent 72%);
  filter: blur(22px);
}

.footer__mesh {
  position: absolute;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(201, 216, 227, .03);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.footer__mesh--one {
  width: 48vw;
  height: 27vw;
  max-width: 760px;
  max-height: 430px;
  right: -6vw;
  top: -7vw;
  border-radius: 48% 52% 58% 42% / 44% 35% 65% 56%;
  transform: rotate(21deg);
}

.footer__mesh--two {
  width: 42vw;
  height: 17vw;
  max-width: 680px;
  max-height: 280px;
  left: 10vw;
  bottom: -6vw;
  border-radius: 44% 56% 45% 55% / 55% 50% 50% 45%;
  transform: rotate(-12deg);
  opacity: .48;
}

.footer__beam {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent);
  transform-origin: center;
}

.footer__beam--one {
  width: 70%;
  right: -10%;
  top: 42%;
  transform: rotate(-13deg);
}

.footer__beam--two {
  width: 54%;
  left: 16%;
  top: 68%;
  transform: rotate(9deg);
  opacity: .45;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr .78fr .9fr 1fr;
  gap: clamp(34px, 5vw, 82px);
  align-items: start;
}

.footer__column h3 {
  margin: 0 0 22px;
  color: rgba(255,255,255,.52);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.footer .brand--footer {
  margin-bottom: 42px;
  font-size: clamp(26px, 2vw, 32px);
}

.footer__about p {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.58);
  line-height: 1.7;
}

.footer__links,
.footer__contact {
  display: grid;
  gap: 11px;
}

.footer a {
  color: rgba(255,255,255,.72);
  transition: color .2s ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: #fff;
}

.footer__projects a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
}

.footer__contact > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-weight: 600;
}

.footer__note {
  max-width: 300px;
  margin-top: 8px;
  color: rgba(255,255,255,.42);
  font-size: 13px;
  line-height: 1.55;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 76px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.42);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
}

.footer__legal {
  display: flex;
  gap: 22px;
}

.footer__legal a {
  color: rgba(255,255,255,.48);
}

/* Unterseiten ============================================================= */

.hero--subpage {
  min-height: min(640px, calc(100vh - 32px));
}

.hero--subpage .hero__content {
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding-top: clamp(68px, 8vh, 100px);
  padding-bottom: clamp(72px, 9vh, 108px);
}

.hero--subpage .hero__main {
  align-self: end;
  max-width: 1120px;
}

.hero--subpage h1 {
  max-width: 1120px;
  font-size: clamp(54px, 5.5vw, 92px);
  line-height: .98;
}

.hero--subpage .hero__intro {
  max-width: 760px;
}

.content-section {
  background: var(--color-bg);
}

.content-section--white {
  background: #fff;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 150px);
  align-items: start;
}

.content-grid > * {
  min-width: 0;
}

.content-grid h2 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(42px, 4.6vw, 78px);
  font-weight: 480;
  line-height: 1;
  letter-spacing: -.045em;
}

.content-copy {
  padding-top: 40px;
}

.content-copy p {
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.75;
}

.content-copy .lead {
  margin-top: 0;
  color: var(--color-text);
  font-size: clamp(23px, 1.8vw, 31px);
  line-height: 1.4;
  letter-spacing: -.025em;
}

.content-copy h3 {
  margin: 46px 0 14px;
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -.025em;
}

.content-copy ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--color-muted);
}

.content-copy li + li {
  margin-top: 9px;
}


.inline-link {
  color: var(--color-text);
  border-bottom: 1px solid rgba(13, 23, 32, .35);
}

.inline-link:hover,
.inline-link:focus-visible {
  border-bottom-color: var(--color-text);
}

.legal-note {
  margin-top: 40px !important;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  font-size: 14px !important;
}

.hero--legal {
  min-height: 560px;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav-menu,
  .button--ghost {
    background: rgba(7, 24, 38, .92);
  }
}

/* Responsive ============================================================== */

@media (max-width: 1220px) {
  .nav {
    grid-template-columns: 170px 1fr auto;
    gap: 18px;
  }

  .nav-menu a {
    padding-inline: 10px;
    font-size: 13px;
  }
}

@media (max-width: 1120px) {
  .hero__content {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 46px;
  }

  .hero__aside {
    max-width: 620px;
  }

  .hero__aside > p {
    max-width: 560px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .footer__about {
    grid-column: 1 / -1;
    padding-bottom: 14px;
  }
}

@media (max-width: 980px) {
  :root {
    --radius-l: 28px;
  }

  .site-shell {
    padding: 10px;
  }

  .hero {
    min-height: 860px;
  }

  .hero--subpage {
    min-height: 700px;
  }

  .hero--legal {
    min-height: 620px;
  }

  .nav {
    min-height: 92px;
    grid-template-columns: 1fr auto;
  }

  .nav .brand {
    font-size: 25px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle__label {
    font-size: 13px;
  }

  .nav-toggle__icon {
    display: grid;
    gap: 4px;
    width: 16px;
  }

  .nav-toggle__icon i {
    display: block;
    height: 1px;
    background: currentColor;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: rgba(7, 24, 38, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    min-height: 46px;
    padding: 0 10px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .nav-menu a:last-child {
    border-bottom: 0;
  }

  .nav-menu a.is-active::before {
    margin-left: 2px;
  }

  .hero__content {
    padding-top: 82px;
    padding-bottom: 76px;
  }

  .hero__meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__meta span:nth-child(2),
  .hero__meta span:last-child {
    text-align: left;
  }

  .section-heading,
  .positioning__grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 26px;
  }

  .positioning__copy,
  .content-copy {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 22px;
    --radius-l: 24px;
    --radius-m: 18px;
  }

  .hero {
    min-height: 820px;
  }

  .hero--subpage {
    min-height: 660px;
  }

  .hero--legal {
    min-height: 600px;
  }

  .eyebrow {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 72px);
    line-height: .98;
    letter-spacing: -.02em;
  }

  .hero__intro {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero__aside > p {
    font-size: 24px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 290px;
  }

  .footer {
    margin: 10px;
    padding-top: 58px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer__about {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Release-Feinschliff ====================================================== */

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

.nav-menu a:focus-visible,
.nav-cta:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.inline-link:focus-visible,
.footer a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

address {
  font-style: normal;
}

.footer__address {
  color: rgba(255,255,255,.58);
  line-height: 1.7;
}

.footer__address strong {
  color: rgba(255,255,255,.82);
  font-weight: 620;
}

.footer__contact > a {
  width: max-content;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.72);
  font-weight: 500;
}

.footer__contact > a:hover,
.footer__contact > a:focus-visible {
  border-bottom-color: rgba(255,255,255,.65);
  color: #fff;
}

.contact-details {
  margin: 22px 0 4px;
  padding: 24px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-muted);
  line-height: 1.75;
}

.contact-details strong {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 650;
}

.contact-details a {
  color: var(--color-text);
  border-bottom: 1px solid rgba(13,23,32,.28);
}

.legal-grid .content-copy {
  max-width: 760px;
}

.legal-grid .content-copy > :first-child {
  margin-top: 0;
}

.content-copy h4 {
  margin: 30px 0 10px;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.content-copy .legal-section-title {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
  font-size: clamp(25px, 2vw, 32px);
}

.content-copy .legal-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-address {
  color: var(--color-text) !important;
}

.hero--404 {
  min-height: min(620px, calc(100vh - 32px));
}

@media (min-width: 981px) {
  .legal-grid > :first-child {
    position: sticky;
    top: 36px;
  }
}

@media (max-width: 980px) {
  /* Ohne JavaScript bleibt die Navigation zugänglich. Erst JS schaltet das
     kompakte auf-/zuklappbare Menü frei. */
  html:not(.js) .nav {
    grid-template-columns: 1fr;
    align-items: start;
    padding-bottom: 18px;
  }

  html:not(.js) .nav-toggle {
    display: none;
  }

  html:not(.js) .nav-menu {
    position: static;
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 4px;
  }
}

.content-copy {
  overflow-wrap: anywhere;
}
