/* ========================================================================== 
   Webagency DEV Basic Styles
   ========================================================================== */

@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", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", monospace;

  --color-bg: #f4f6f6;
  --color-surface: #ffffff;
  --color-text: #0d1720;
  --color-muted: #252E36;
  --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;

  --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;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

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

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

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

button {
  font: inherit;
}

address {
  font-style: normal;
}

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

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

.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;
  transform: translateY(-1px);
}

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

@media (min-width: 621px) and (prefers-reduced-motion: no-preference) {
  .reveal-ready .home main h2:not(.page-cta h2) {
    transform: translateY(50px);
    clip-path: inset(0 0 100% 0);
  }

  .reveal-ready .home main h2:not(.page-cta h2).is-visible {
    transform: translateY(0);
    clip-path: inset(0);
    transition:
      transform 1.3s cubic-bezier(.22, .61, .36, 1),
      clip-path 1.3s cubic-bezier(.22, .61, .36, 1);
  }
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  color: #fff;
  font-size: clamp(24px, 1.9vw, 30px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  transform: scaleX(1.1);
  transform-origin: left center;
}

.brand__ai {
  color: var(--color-accent);
  margin-left: -2px;
}

/* zeitversetzter Farb-Fade */

@media (min-width: 1221px) and (prefers-reduced-motion: no-preference) {

  .js .nav .brand__ai {
    animation: brand-ai-fade 1s ease-in-out .75s both;
  }

  @keyframes brand-ai-fade {
    from { color: transparent; }
    to   { color: var(--color-accent); }
  }

}

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

@keyframes hero-type-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-background-zoom-out {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

.js .hero .hero__main {
  animation: hero-type-in .65s ease-out .08s both;
}

.js .hero::before {
  animation: hero-background-zoom-out 2s
    cubic-bezier(.22, .61, .36, 1) both;
}

.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 #081725;
  border-radius: var(--radius-l);
  background: #081725;
  color: #fff;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://webagency.dev/assets/img/webagentur-hero.jpg")
    center center / cover no-repeat;
  transform-origin: center;
  pointer-events: none;
}

/* Home Hero Fullwidth */

body.home .site-shell {
  padding: 0 !important;
}

body.home .site-shell > .hero {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 981px) {
  body.home .hero {
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }
}

body.home .nav {
  top: 17px;
}

@media (max-width: 980px) {
  body.home .nav {
    top: 11px;
  }
}

/* Home Hero Fullheight Desktop */
@media (min-width: 981px) {
  body.home .hero {
    min-height: calc(100vh - 32px);
    min-height: calc(100dvh - 32px);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 12, 20, .70) 0%,
      rgba(2, 12, 20, .42) 34%,
      rgba(2, 12, 20, .10) 66%,
      rgba(2, 12, 20, .20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 12, 20, .16) 0%,
      rgba(2, 12, 20, .05) 55%,
      rgba(2, 12, 20, .30) 100%
    );
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero::before {
    background-position: 61% center;
  }

  .hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(2, 12, 20, .82) 0%,
        rgba(2, 12, 20, .58) 52%,
        rgba(2, 12, 20, .30) 100%
      ),
      linear-gradient(
        180deg,
        rgba(2, 12, 20, .20) 0%,
        rgba(2, 12, 20, .08) 45%,
        rgba(2, 12, 20, .38) 100%
      );
  }
}

@media (max-width: 620px) {
  .hero::before {
    background-position: 64% center;
  }

  .hero::after {
    background: rgba(2, 12, 20, .66);
  }
}

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

.nav-cta span {
  color: var(--color-navy-950);
}

.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(40px, 10vh, 60px);
}

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

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

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

.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: var(--color-accent);
  color: var(--color-navy-950);
}

.button--primary span {
  color: var(--color-navy-950);
}

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

/* Home Overview =========================================================== */

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

/* Home Services =========================================================== */

#leistungen {
  scroll-margin-top: 16px;
}

.services {
  position: relative;
  overflow: hidden;
  margin: 16px;
  padding-block: clamp(78px, 8vw, 118px);
  border-radius: var(--radius-l);
  background:
    radial-gradient(
      ellipse at 100% 0%,
      rgba(127, 159, 183, .19),
      transparent 47%
    ),
    linear-gradient(
      127deg,
      var(--color-navy-950) 0%,
      var(--color-navy-900) 54%,
      var(--color-navy-800) 100%
    );
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.services .section-heading {
  margin-bottom: 48px;
}

.services .section-heading > p:last-child {
  color: rgba(255, 255, 255, .67);
}

.services__card {
  min-height: 338px;
  justify-content: flex-start;
  border-color: rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .025);
  box-shadow: none;
}

.services__card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, .23);
  background: rgba(255, 255, 255, .035);
  box-shadow: none;
}

.services__card .service-card__top {
  color: rgba(255, 255, 255, .45);
}

.services__card-copy {
  flex: 1;
  margin-top: 32px;
}

.services__card h3 {
  margin: 0 0 20px;
  font-size: clamp(28px, 2.55vw, 40px);
  font-weight: 500;
  line-height: 1.09;
  letter-spacing: -.037em;
  overflow-wrap: anywhere;
}

.services__card p.services__description {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .69);
  font-size: 15px;
  line-height: 1.65;
}

.services__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.services__links .button {
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 7px 13px;
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .73);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.services__links .button:hover,
.services__links .button:focus-visible {
  transform: none;
  border-color: rgba(255, 255, 255, .33);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

@media (max-width: 980px) {
  .services__card {
    min-height: 318px;
  }
}

@media (max-width: 620px) {
  .services {
    margin: 10px;
    padding-block: 74px;
  }

  .services .section-heading {
    margin-bottom: 36px;
  }

  .services__card {
    min-height: 300px;
  }

  .services__card-copy {
    margin-top: 24px;
  }

  .services__card h3 {
    font-size: clamp(28px, 8vw, 38px);
  }
}

/* Card Reveal */

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {

  html.cards-reveal-ready .home .card-grid > .service-card {
    --card-delay: 0ms;

    opacity: 0;
    translate: 0 45px;

    transition:
      opacity .7s ease-out var(--card-delay),
      translate .8s cubic-bezier(.22, 1, .36, 1) var(--card-delay),
      transform .25s ease,
      border-color .25s ease,
      background .25s ease,
      box-shadow .25s ease;
  }

  /* Sichtbarer Endzustand */

  html.cards-reveal-ready .home .card-grid > .service-card.is-card-visible {
    opacity: 1;
    translate: 0 0;
  }

  /* Staffelung innerhalb jeder Dreierreihe */

  html.cards-reveal-ready .home .card-grid > .service-card:nth-child(3n + 2) {
    --card-delay: 120ms;
  }

  html.cards-reveal-ready .home .card-grid > .service-card:nth-child(3n + 3) {
    --card-delay: 240ms;
  }
}

  /* Zweispaltiges Raster */

@media (min-width: 981px) and (max-width: 1120px)
       and (prefers-reduced-motion: no-preference) {

  html.cards-reveal-ready .home .card-grid > .service-card:nth-child(n) {
    --card-delay: 0ms;
  }

  html.cards-reveal-ready .home .card-grid > .service-card:nth-child(2n) {
    --card-delay: 120ms;
  }
}

/* Home Content ============================================================ */

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

/* Home CMS ================================================================ */

.page-cms {
  margin-top: 16px;
  padding-block: 150px;
  background:
    linear-gradient(rgba(0, 0, 0, .30), rgba(0, 0, 0, .30)),
    #081725 url("https://webagency.dev/assets/img/webagentur-hero.jpg") center center / cover no-repeat;
}

.page-cms .container {
  max-width: 1200px;
}

.page-cms img {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 620px) {
  .page-cms {
    margin-top: 10px;
  }
}

/* Pages =================================================================== */

.hero--subpage {
  min-height: min(725px, 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(58px, 6.35vw, 100px);
  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;
  overflow-wrap: anywhere;
}

.content-copy p {
  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: 31px;
  font-weight: 620;
  line-height: 1.4;
  letter-spacing: -.025em;
}

.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 ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--color-muted);
}

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

.content-grid .content-copy img {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: 0 10px 28px rgba(13, 23, 32, 0.07);
  border-radius: 10px;
}

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

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

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

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

.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--legal {
  min-height: 560px;
}

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

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

/* Page CTA ================================================================ */

.page-cta {
  margin-inline: 16px;
  padding-block: 77px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, .72) 0%,
      rgba(255, 255, 255, 0) 38%
    ),
    radial-gradient(
      circle at 82% 78%,
      rgba(127, 159, 183, .18) 0%,
      rgba(127, 159, 183, 0) 42%
    ),
    linear-gradient(
      135deg,
      var(--color-bg) 0%,
      #dce6eb 48%,
      #e8eef1 100%
    );
  text-align: center;
}

.page-cta .container {
  max-width: 850px;
}

.page-cta h2 {
  margin: 0;
  margin-top: 38px;
  font-size: clamp(42px, 4.6vw, 78px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
}

.page-cta p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: clamp(23px, 1.8vw, 31px);
  letter-spacing: -.025em;
  line-height: 1.5;
}

.page-cta .button {
  margin-top: 28px;
}

.button--accent {
  background: var(--color-accent);
  color: var(--color-navy-950);
}

@media (max-width: 620px) {
  .page-cta {
    margin-inline: 10px;
  }
}

.home .page-cta {
  margin-top: 16px;
}

@media (max-width: 620px) {
  .home .page-cta {
    margin-top: 10px;
  }
}

/* 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: #081725 url("https://webagency.dev/assets/img/webagentur-footer.jpg") center center / cover no-repeat;
  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__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: 20px;
  font-size: clamp(24px, 1.9vw, 30px);
}

.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__address {
  color: rgba(255,255,255,.58);
  line-height: 1.7;
}

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

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

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

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

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

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

  /* JS schaltet die kompakte auf-/zuklappbare Navigation 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;
  }

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

  .js .hero::before {
    animation: none;
    transform: scale(1);
  }

  .hero {
    min-height: 820px;
  }

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

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

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

  .js .hero .hero__main,
  .js .hero::before {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Print-Fixes */

@media print {
  .reveal-ready .home main h2:not(.page-cta h2) {
    clip-path: none !important;
    transform: none !important;
  }

  html.cards-reveal-ready .home .card-grid > .service-card {
    opacity: 1 !important;
    translate: none !important;
  }

  .skip-link {
    display: none !important;
  }
}