.page-agenturen .agency-cover-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(560px, 48vw, 720px);
  padding: clamp(80px, 9vw, 128px) 28px;
  overflow: hidden;
  background: #1a1a1a !important;
  color: #fff;
}

.page-agenturen .agency-cover-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 12, 10, .24), rgba(10, 12, 10, .54)),
    linear-gradient(90deg, rgba(10, 12, 10, .22), rgba(10, 12, 10, .42) 50%, rgba(10, 12, 10, .18));
}

.page-agenturen .agency-cover-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 0;
}

.page-agenturen .agency-cover-hero .inner-hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.page-agenturen .agency-cover-hero h1 {
  max-width: 980px;
  color: #faf6b4;
  font: 300 clamp(52px, 5.5vw, 78px)/1.06 "Krevaro Serif", Georgia, serif;
  letter-spacing: -.05em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .28);
}

.page-agenturen .agency-cover-hero .lead {
  max-width: 760px;
  margin: 30px auto 0;
  color: #fff;
  font: 400 18px/1.6 "Work Sans", Arial, sans-serif;
  text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .38);
}

.page-agenturen .agency-cover-hero .actions {
  justify-content: center;
  margin-top: 34px;
}

.inner-page.page-agenturen main .agency-cover-hero .btn {
  background: #faf6b4 !important;
  color: #1a1a1a !important;
  border-color: #faf6b4 !important;
}

.inner-page.page-agenturen main .agency-cover-hero .btn:hover {
  background: #a5cfb2 !important;
  color: #1a1a1a !important;
  border-color: #a5cfb2 !important;
}

.inner-page.page-agenturen main .agency-cover-hero .btn.secondary {
  background: rgba(10, 12, 10, .18) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .86) !important;
  backdrop-filter: blur(6px);
}

.inner-page.page-agenturen main .agency-cover-hero .btn.secondary:hover {
  background: #fff !important;
  color: #1a1a1a !important;
  border-color: #fff !important;
}

.page-agenturen .agency-license-center {
  display: flex;
  justify-content: center;
  text-align: center;
}

.page-agenturen .agency-license-center > div {
  width: min(820px, 100%);
}

.page-agenturen .agency-license-center h2 {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1.16;
}

.page-agenturen .agency-license-center p {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 17px;
  line-height: 1.7;
}

.page-agenturen .agency-license-center .actions {
  justify-content: center;
}

@media (max-width: 700px) {
  .page-agenturen .agency-cover-hero {
    min-height: 650px;
    padding: 72px 20px;
  }

  .page-agenturen .agency-cover-hero-image {
    object-position: 50% 50%;
  }

  .page-agenturen .agency-cover-hero h1 {
    font-size: clamp(40px, 11.5vw, 54px);
    line-height: 1.08;
  }

  .page-agenturen .agency-cover-hero .lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .page-agenturen .agency-cover-hero .actions {
    width: min(100%, 340px);
    margin-right: auto;
    margin-left: auto;
    flex-direction: column;
  }

  .page-agenturen .agency-cover-hero .btn {
    width: 100%;
    justify-content: center;
  }

  .page-agenturen .agency-license-center h2 {
    font-size: 35px;
  }

  .page-agenturen .agency-license-center p {
    font-size: 16px;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-agenturen .agency-cover-hero-image {
    transform: none;
  }
}
