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

.hero {
  padding-top: 64px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
}

.hero-content {
  max-width: 760px;
}

.actions {
  margin: 64px 0 0;  
}

.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:hover,
.button:focus-visible,
.button:focus-visible {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: var(--bg);
}


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

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

.hero .eyebrow {
  font-size: 2.1rem;
}

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

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

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

.lead + p,
.hero-content p + p {
  margin-top: 18px;
  max-width: 690px;
  color: var(--text);
  font-size: 1.05rem;
}

.hero .actions {
  margin: 32px 0 32px;
}

.hero-aside {
  align-self: center;
}

.logo-plate {
  display: grid;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  place-items: center;
}

.logo-plate img {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.focus-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.focus-list li {
  min-height: 100px;
  padding: 16px 20px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: rgba(74, 74, 74, 0.62);
  color: var(--text-strong);
  font-weight: 600;
}

.section-heading {
  margin-bottom: 34px;
  padding: 18px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(74, 74, 74, 0.74);
}

.service-card {
  padding: 24px;
}

.service-card ul,
.project-card ul {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.service-card li,
.project-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.service-card li::before,
.project-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

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

.profile-section .content {
  border-top: 1px solid var(--line);
  padding-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 40px;
}

.profile-copy p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.08rem;
}

.profile-facts {
  display: grid;
  gap: 14px;
}

.profile-facts div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(64, 64, 64, 0.84);
}

.profile-facts strong {
  display: block;
  color: var(--brand);
  font-size: 3rem;
  line-height: 1;
}

.profile-facts span {
  display: block;
  margin-top: 8px;
  color: var(--text-strong);
  font-weight: 600;
}

.profile-section .note {  
  margin-top: 0;
}

.profile-section .actions {
  margin-top: 14px;
}

.stack-area {
  grid-column: 1 / -1;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.tag-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tag-groups div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(74, 74, 74, 0.62);
}

.tag-groups p {
  margin-top: 10px;
  color: var(--text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 24px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-meta span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.project-card p {
  margin-top: 14px;
}

.stack {
  margin-top: auto !important;
  padding-top: 20px;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.legal-divider {
  display: block;
  border-top: 1px solid var(--line);
  height: 0;
}

.legal-block {
  max-width: 880px;
  color: var(--text);
  font-size: 0.96rem;
  padding-top: 48px;
  padding-bottom: 32px;
}

.legal-block > * {
  opacity: 0.6;
}

.legal-block h2 {
  margin-bottom: 24px;
  font-size: 2rem;
}

.legal-block h3 {
  margin-top: 26px;
  font-size: 1rem;
}

.legal-block p + p,
.legal-block h3 + p {
  margin-top: 12px;
}

.legal-block a {
  color: var(--brand);
  text-decoration: none;
}

.legal-block.exali a {
  opacity: 1;
}

.contact-reveal {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
}

.legal-block a:hover,
.contact-reveal:hover {
  text-decoration: underline;
}

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

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

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

  .hero,
  .profile-section .content {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .profile-facts {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .focus-list {
    margin: 0px 0 60px;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .project-card {
    min-height: auto;
  }
}

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

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

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

  .focus-list {
    grid-template-columns: 1fr 1fr;
  }

  .profile-facts,
  .tag-groups {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

  .focus-list,
  .profile-facts,
  .tag-groups {
    grid-template-columns: 1fr;
  }
}
