:root {
  --ink: #0d1110;
  --ink-soft: #303832;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --line: rgba(12, 24, 33, 0.12);
  --cyan: #00b7e8;
  --lime: #c7f22f;
  --coral: #ff684f;
  --gold: #f0b429;
  --deep: #08252d;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(9, 18, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(30, 58, 82, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(30, 58, 82, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
}

body[data-lang="de"] .lang-en,
body[data-lang="en"] .lang-de {
  display: none !important;
}

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

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

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 13, 12, 0.86);
  color: var(--paper-strong);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--lime);
  color: var(--ink);
  font-size: 0.9rem;
  border-radius: var(--radius);
}

.brand-word {
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.site-nav a,
.language-switch button {
  min-height: 38px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 750;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper-strong);
  background: rgba(255, 255, 255, 0.08);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  width: 42px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--paper-strong);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--paper-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 56px 0 44px;
}

.hero-copy,
.case-copy,
.team-copy,
.contact-layout > div,
.ai-layout > div,
.imprint-layout > div {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.case-copy h2,
.ai-layout h2,
.team-copy h2,
.contact-layout h2,
.imprint-layout h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero h1 {
  max-width: 830px;
  font-size: 5.8rem;
  font-weight: 950;
}

.hero-lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(13, 17, 16, 0.16);
}

.button.primary {
  background: var(--ink);
  color: var(--paper-strong);
}

.button.ghost {
  background: var(--paper-strong);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
  max-width: 760px;
}

.quick-stats div,
.service-card,
.proof-grid article,
.case-panel,
.contact-card,
.imprint-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.quick-stats div {
  min-height: 112px;
  padding: 16px;
}

.quick-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 3.1rem;
  line-height: 0.94;
}

.quick-stats span {
  color: var(--ink-soft);
  font-weight: 720;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  inset: 20px 26px auto auto;
  width: 58%;
  height: 52%;
  border: 1px solid rgba(13, 17, 16, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 183, 232, 0.22), rgba(199, 242, 47, 0.18)),
    repeating-linear-gradient(135deg, rgba(13, 17, 16, 0.12) 0 1px, transparent 1px 12px);
  border-radius: var(--radius);
  transform: rotate(5deg);
  z-index: -2;
}

.hero-visual::after {
  inset: auto auto 32px 12px;
  width: 46%;
  height: 38%;
  background:
    linear-gradient(135deg, rgba(255, 104, 79, 0.2), rgba(240, 180, 41, 0.18)),
    repeating-linear-gradient(45deg, rgba(13, 17, 16, 0.12) 0 1px, transparent 1px 10px);
  transform: rotate(-8deg);
}

.portrait-frame {
  position: absolute;
  inset: 44px 0 24px 44px;
  overflow: hidden;
  border: 1px solid rgba(13, 17, 16, 0.14);
  border-radius: var(--radius);
  background: #0b2024;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 22%;
  filter: saturate(1.04) contrast(1.02);
}

.signal-card {
  position: absolute;
  display: grid;
  gap: 4px;
  width: min(230px, 44%);
  padding: 14px;
  border: 1px solid rgba(13, 17, 16, 0.18);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 16px 40px rgba(9, 18, 24, 0.15);
}

.signal-card span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card strong {
  font-size: 1.22rem;
  line-height: 1.05;
}

.signal-card-one {
  top: 10px;
  left: 0;
  border-top: 5px solid var(--lime);
}

.signal-card-two {
  right: 0;
  bottom: 64px;
  border-top: 5px solid var(--coral);
}

.intro-strip {
  margin-top: -8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 8px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.intro-strip p {
  max-width: 1020px;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 690;
}

.split-section,
.case-section,
.projects-section,
.team-section,
.imprint-section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading h2,
.case-copy h2,
.ai-layout h2,
.team-copy h2,
.contact-layout h2,
.imprint-layout h2 {
  max-width: 860px;
  font-size: 4.4rem;
  font-weight: 930;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 30px;
}

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

.service-card {
  min-height: 320px;
  padding: 20px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 17, 16, 0.3);
  background: var(--paper-strong);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card:nth-child(2) .service-icon {
  background: var(--cyan);
  color: var(--ink);
}

.service-card:nth-child(3) .service-icon {
  background: var(--coral);
}

.service-card:nth-child(4) .service-icon {
  background: var(--lime);
  color: var(--ink);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.08;
}

.service-card p,
.case-copy p,
.ai-layout p,
.team-copy p,
.contact-layout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.proof-band {
  padding: 82px 0;
  background: var(--ink);
  color: var(--paper-strong);
}

.proof-band .eyebrow {
  color: var(--lime);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.proof-grid article {
  min-height: 210px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
}

.proof-grid strong {
  display: block;
  margin-bottom: 28px;
  color: var(--lime);
  font-size: 3.8rem;
  line-height: 0.9;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 710;
}

.case-section {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: 42px;
  align-items: center;
}

.case-copy p {
  max-width: 680px;
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.case-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: var(--paper-strong);
  box-shadow: 0 18px 48px rgba(9, 18, 24, 0.12);
}

.timeline-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.timeline-row:last-child {
  border-bottom: 0;
}

.timeline-row > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--gold);
  font-weight: 950;
}

.timeline-row:nth-child(2) > span {
  background: var(--cyan);
}

.timeline-row:nth-child(3) > span {
  background: var(--lime);
}

.timeline-row p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 850;
}

.ai-section {
  padding: 96px 0;
  color: var(--paper-strong);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    var(--deep);
  background-size: 46px 46px;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: 42px;
  align-items: center;
}

.ai-layout .eyebrow {
  color: var(--cyan);
}

.ai-layout p {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.build-list {
  display: grid;
  gap: 10px;
}

.build-list div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
}

.build-list > div > span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.build-list > div:nth-child(2) > span {
  background: var(--cyan);
}

.build-list > div:nth-child(3) > span {
  background: var(--coral);
}

.build-list > div:nth-child(4) > span {
  background: var(--gold);
}

.build-list p {
  margin: 0;
  color: var(--paper-strong);
  font-weight: 790;
}

.projects-section {
  border-bottom: 1px solid var(--line);
}

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

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 18px 46px rgba(9, 18, 24, 0.1);
}

.project-image {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f4f8fb;
  aspect-ratio: 16 / 9;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.project-body {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
}

.project-type {
  margin: 0;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-body h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.04;
}

.project-body p:not(.project-type) {
  margin: 0;
  color: var(--ink-soft);
}

.project-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 2px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.9rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.project-card:nth-child(2) .project-type {
  color: #7b4ad9;
}

.project-card:nth-child(3) .project-type {
  color: #148e4e;
}

.project-card:nth-child(4) .project-type {
  color: #8a5d00;
}

.team-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 52px;
  align-items: center;
}

.team-gallery {
  position: relative;
  min-height: 560px;
}

.team-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef5f8;
  box-shadow: var(--shadow);
}

.team-image-main {
  position: absolute;
  inset: 0 36px 78px 0;
}

.team-image-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--paper-strong);
  box-shadow: 0 18px 44px rgba(9, 18, 24, 0.18);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-image-main img {
  object-position: 38% center;
}

.team-image-secondary img {
  object-position: 48% 38%;
}

.team-copy p {
  max-width: 750px;
  margin-top: 20px;
  font-size: 1.08rem;
}

.contact-section {
  padding: 82px 0;
  color: var(--paper-strong);
  background: var(--ink);
}

.contact-section .eyebrow {
  color: var(--coral);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: 34px;
  align-items: center;
}

.contact-layout p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
}

.contact-card a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-card a:first-child {
  background: var(--lime);
}

.imprint-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: 38px;
}

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

.imprint-grid > div {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 18px;
}

.imprint-grid .wide {
  grid-column: 1 / -1;
}

.imprint-grid span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.imprint-grid strong {
  font-size: 1.02rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  color: var(--ink-soft);
  font-weight: 750;
}

.footer-layout a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .brand {
    flex: 0 0 auto;
    margin-right: auto;
  }

  .nav-toggle {
    order: 3;
    flex: 0 0 auto;
    display: block;
    margin-left: 8px;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: rgba(9, 13, 12, 0.96);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
  }

  .language-switch {
    order: 2;
    flex: 0 0 auto;
    margin-left: 0;
  }

  .hero,
  .case-section,
  .ai-layout,
  .team-section,
  .contact-layout,
  .imprint-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero h1 {
    font-size: 5.2rem;
  }

  .section-heading h2,
  .case-copy h2,
  .ai-layout h2,
  .team-copy h2,
  .contact-layout h2,
  .imprint-layout h2 {
    font-size: 3.6rem;
  }

  .hero-visual {
    min-height: 560px;
  }

  .portrait-frame {
    inset: 34px 22px 20px 22px;
  }

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

@media (max-width: 640px) {
  .section-shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand-word {
    display: none;
  }

  .language-switch button {
    width: 38px;
  }

  .hero {
    gap: 28px;
    padding: 34px 0 32px;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .quick-stats,
  .service-grid,
  .proof-grid,
  .project-grid,
  .imprint-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .portrait-frame {
    inset: 28px 0 42px;
  }

  .signal-card {
    width: 180px;
  }

  .signal-card-one {
    top: 0;
    left: 8px;
  }

  .signal-card-two {
    right: 8px;
    bottom: 8px;
  }

  .intro-strip {
    padding: 20px;
  }

  .intro-strip p {
    font-size: 1.05rem;
  }

  .split-section,
  .case-section,
  .projects-section,
  .team-section,
  .imprint-section,
  .ai-section {
    padding: 68px 0;
  }

  .section-heading h2,
  .case-copy h2,
  .ai-layout h2,
  .team-copy h2,
  .contact-layout h2,
  .imprint-layout h2 {
    font-size: 2.55rem;
  }

  .quick-stats strong,
  .proof-grid strong {
    font-size: 2.65rem;
  }

  .service-card,
  .proof-grid article {
    min-height: auto;
  }

  .contact-card a {
    font-size: 0.95rem;
  }

  .project-link {
    width: 100%;
  }

  .team-gallery {
    min-height: 500px;
  }

  .team-image-main {
    inset: 0 0 112px 0;
  }

  .team-image-secondary {
    right: 10px;
    width: 64%;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.42rem;
  }
}
