.b .software-intro h1 {
  font-size: clamp(2.15rem, 3.5vw, 3.05rem);
  text-wrap: balance;
}

.software-intro h1 span {
  display: block;
}

.invoice-integration {
  margin-top: 1.6rem;
  padding-left: 1rem;
  border-left: 3px solid #87a8cf;
}

.invoice-integration h2 {
  font-size: 1.25rem;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin-bottom: .45rem;
  text-wrap: balance;
}

.invoice-integration p {
  line-height: 1.5;
  margin-bottom: .35rem;
}

.invoice-integration a {
  display: inline-block;
  padding-block: .2rem;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.software-intro a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.contact #invoice-task-hint {
  margin: -.25rem 0 .85rem;
  font-size: .875rem;
}

@media (max-width: 760px) {
  .software-intro .measurement-choice {
    position: static;
    margin: 1.25rem 0 0;
    padding: .85rem;
    grid-template-columns: 1fr;
    gap: .65rem;
    max-height: none;
    box-shadow: none;
  }

  .software-intro .measurement-actions {
    max-width: none;
  }

  .software-intro .measurement-actions button {
    flex: 1;
  }
}

.software-intro .measurement-choice p {
  max-width: none;
  font-size: .8125rem;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .b .hero {
    padding-top: .75rem;
  }

  .b .hero .home-service-nav {
    margin-bottom: 1.4rem;
  }

  .software-intro h1 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 360px) {
  .b .hero .logo {
    width: 10.5rem;
  }

  .b .hero .home-service-nav {
    margin-bottom: .85rem;
  }

  .b .hero header {
    row-gap: .6rem;
    margin-bottom: .8rem;
  }

  .b .hero .home-service-nav a {
    padding-block: .45rem;
  }

  .b .software-intro h1 {
    font-size: 2rem;
    margin-bottom: .65rem;
  }

  .invoice-integration {
    margin-top: 1rem;
    padding-left: .7rem;
  }

  .invoice-integration h2 {
    font-size: 1.125rem;
  }

  .software-intro p {
    line-height: 1.5;
    margin-bottom: .75rem;
  }
}
.invoice-integration .invoice-details-link {
  margin-inline-end: .2rem;
  font-weight: 400;
}

.invoice-integration a + a {
  margin-inline-start: .85rem;
}

.home-services, .home-projects, .home-catalog {
  padding-block: clamp(1.8rem, 4vw, 3.2rem);
}

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

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.home-service-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 2px solid #a4bedb;
  padding-top: 1rem;
}

.home-service-grid h3 {
  font-size: 1.25rem;
  text-wrap: balance;
}

.home-service-grid a, .home-catalog > a, .other-projects summary {
  color: var(--blue);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.home-service-grid a { margin-top: auto; }

.home-projects h2 { margin-bottom: .4rem; }
.project-image-note { margin-bottom: 1.2rem; font-size: .9rem; }
.b .featured-projects .project-copy h3 { min-height: 0; text-wrap: balance; }
.b .featured-projects .project-copy p { font-size: 1rem; margin: 0; }
.b .featured-projects .project-screen-link { padding: .35rem; }
.other-projects summary { cursor: pointer; width: fit-content; padding-block: .4rem; }
.other-projects[open] summary { margin-bottom: 1rem; }

.home-person {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 42rem);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  background: #edf3f9;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  margin-top: 2rem;
  border-radius: .65rem;
}

.home-person .profile-photo { width: 100%; margin: 0; }
.home-person h2 { margin-bottom: .25rem; }
.home-person .qualification { color: var(--blue); margin-bottom: .65rem; }
.home-person p:last-child { margin-bottom: 0; }
.home-catalog ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: .55rem 1.5rem;
  margin: .85rem 0 1rem;
}
.home-catalog li a { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.b .contact { margin-top: 1.5rem; }

@media (max-width: 760px) {
  .home-service-grid { grid-template-columns: 1fr; gap: .85rem; margin-top: 1rem; }
  .home-service-grid h3, .home-service-grid p { margin-bottom: .45rem; }
  .home-person { grid-template-columns: 5rem 1fr; align-items: start; }
  .home-person h2 { font-size: 1.35rem; }
  .home-person .profile-photo { float: left; }
  .invoice-integration a + a { margin-inline-start: 0; }
  .invoice-integration a { margin-inline-end: .8rem; }
}

@media (max-width: 480px) {
  .home-person { display: block; }
  .home-person .profile-photo { width: 4.5rem; margin: 0 1rem .5rem 0; }
  .home-person p:last-child { clear: both; padding-top: .5rem; }
}

.b #projekt-cmdb { grid-column: 1 / -1; }
.b #projekt-cmdb h3 { min-height: 0; margin-bottom: .5rem; }
.b #projekt-cmdb .project-copy p { font-size: 1rem; margin-bottom: 0; }
.cmdb-gallery {
  position: relative;
  isolation: isolate;
  aspect-ratio: 2.15;
  overflow: hidden;
  background: linear-gradient(135deg, #eff5fa 0%, #d9e6f1 65%, #eaf1f6 100%);
}
.cmdb-shot {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid #adc2d5;
  border-radius: .5rem;
  background: white;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 .65rem 1.6rem -.55rem #1b426d55;
}
.cmdb-shot img { display: block; width: 100%; height: auto; }
.cmdb-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .32rem .8rem;
  background: #274f77;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
}
.cmdb-caption span { font-size: 1rem; line-height: 1; }
.cmdb-overview { width: 61%; left: 2.7%; top: 8%; transform: rotate(-1.8deg); }
.cmdb-detail { width: 44%; right: 2.3%; bottom: 6%; }
.cmdb-detail .cmdb-caption { background: #183958; }
.cmdb-shot:focus-visible { z-index: 1; outline: 3px solid #1167b0; outline-offset: 3px; }
@media (max-width: 760px) {
  .cmdb-gallery {
    aspect-ratio: auto;
    display: grid;
    gap: .65rem;
    padding: .9rem .65rem;
  }
  .cmdb-shot { position: static; width: 95%; transform: none; }
  .cmdb-detail { justify-self: end; }
  .cmdb-caption { padding: .3rem .55rem; font-size: .76rem; }
}
