@font-face {
  font-family: "Avenir Next WT77";
  src: url("assets/Avenir Next/AvenirNextLTPro-lt.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Next WT77";
  src: url("assets/Avenir Next/AvenirNextLTPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Next WT77";
  src: url("assets/Avenir Next/AvenirNextLTPro-Demi.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Next WT77";
  src: url("assets/Avenir Next/AvenirNextLTPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mercy WT77";
  src: url("assets/Mercy/Mercy.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --brand: #c5d535;
  --brand-strong: #d2e241;
  --bg: #333333;
  --bg-soft: #404040;
  --surface: #4a4a4a;
  --surface-strong: #565656;
  --line: rgba(217, 217, 217, 0.18);
  --line-strong: rgba(197, 213, 53, 0.52);
  --text: #d9d9d9;
  --text-strong: #f0f0f0;
  --text-muted: #b3b3b3;
  --shadow: 0 20px 64px rgba(0, 0, 0, 0.22);
  --page-width: 1160px;
  --header-logo-expanded-size: 5.5rem;
  --header-logo-collapsed-size: 4rem;
  --header-logo-size: var(--header-logo-expanded-size);
  --header-logo-margin-top: 24px;
  --header-logo-margin-bottom: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next WT77", "Avenir Next", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--brand);
  color: #202020;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(51, 51, 51, 0.4);
  backdrop-filter: blur(10px);
}

.site-nav,
.site-footer .content {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: min(100% - 40px, var(--page-width));
  min-height: 88px;
  margin: 0 auto;
  /* gap: 28px; */
}

.brand {
  min-width: max-content;
  text-decoration: none;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  margin: var(--header-logo-margin-top) 0 var(--header-logo-margin-bottom);
  font-family: "Mercy WT77", Georgia, serif;
  font-size: var(--header-logo-size);
  font-weight: 400;
  line-height: 1;
}

.brand-wordmark.inline {
  font-size: inherit;
  margin: 0;
}

.brand-logo-neutral {
  color: var(--text-strong);
}

.brand-logo-accent {
  color: var(--brand);
}

.brand-gmbh {
  color: var(--text-strong);
  font-family: "Saira WT77", "Avenir Next WT77", Arial, sans-serif;
  font-size: 0.34em;
  font-weight: 300;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.nav-links a {
  min-height: 36px;
  padding-top: 7px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--brand);
  color: var(--text-strong);
  outline: 0;
}

.section {
  width: min(100% - 40px, var(--page-width));
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 92px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 2px 24px 0;
  border: 1px solid var(--brand);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  background: var(--brand);
  color: var(--bg);
  margin: 0 24px 24px 0;
}

.button.secondary {
  background: var(--surface);
  color: var(--brand);
}

.button:hover {
  cursor: pointer;
}

.button.text {
  min-height: initial;
  padding: 0 12px;
  border: none;
  font-weight: normal;
  background: initial;
  color: var(--text-muted);
  margin: 0;
}

.button.text::before {
  content: "→ ";
  padding-right: 6px;
}

.button:not(.text):focus-visible,
.button:not(.text):hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: var(--bg);
}

.button.text:hover {
  color: var(--text-strong);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--surface-strong);
  color: var(--brand-strong);
  border-color: var(--brand-strong);
}

.note {
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: rgba(197, 213, 53, 0.08);
  color: var(--text-strong);
  font-style: italic;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

h1 {
  color: var(--text-strong);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: break-word;
}

h2 {
  color: var(--text-strong);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: break-word;
}

h3 {
  color: var(--text-strong);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

h3.separated {
  margin: 12px 0 0;
}

h4 {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand {
  color: var(--brand)
}

.lead {
  margin-top: 26px;
  color: var(--text-strong);
  font-size: 1.45rem;
  line-height: 1.42;
}

.site-footer {
  z-index: 10;
  background: rgba(51, 51, 51, 0.4);
  backdrop-filter: blur(10px);
  position: sticky;
  bottom: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 12px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 1.3rem;
}

.site-footer .content {
  align-items: center;
  min-height: auto;
}

.site-footer .links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  text-decoration: none;
  transition:
  opacity 160ms ease,
  transform 160ms ease;
}

.social-link.freelancermap img{
  opacity: 0.6;
  height: 20px;
}

.social-link.freelancermap:hover img,
.social-link.freelancermap:focus-visible img {
  opacity: 1;
}

.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  color: var(--brand);
}

.site-footer .social-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.site-footer .social-link svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 1150px) {
  h1 {
    font-size: 3.6rem;
  }
}

@media (max-width: 980px) {
  .brand-wordmark {
    margin-bottom: 0;
  }

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

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
    margin-bottom: 8px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-logo-expanded-size: 5rem;
    --header-logo-collapsed-size: 3rem;
  }

  .site-nav,
  .section {
    width: min(100% - 28px, var(--page-width));
  }

  .site-footer {
    width: 100%;
  }

  .brand-name {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .eyebrow {
    font-size: 2.4rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .lead {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-logo-expanded-size: 4rem;
    --header-logo-collapsed-size: 2.5rem;
  }

  .nav-links a:first-child {
    display: none;
  }
}
