/* SBR – behutsame Modernisierung der ursprünglichen Firmenwebsite.
   Tokens, gemeinsame Elemente, Seiten und responsive Regeln.
   Breakpoints: 1000px / 760px / 480px. */
:root {
  --blue: #005da8;
  --blue-hover: #00487f;
  --ink: #263743;
  --muted: #596b77;
  --paper: #fff;
  --surface: #f3f6f8;
  --line: #dce3e8;
  --font: "IBM Plex Sans", Arial, sans-serif;
  --container: 1200px;
  --gutter: 32px;
  --gap: 28px;
  --section: 72px;
  --radius: 3px;
  --border: 1px solid var(--line);
  --shadow: 0 3px 14px rgb(30 65 90 / 0.08);
  --z-header: 30;
  --z-dialog: 100;
  --motion: 460ms;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 175px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #d5eafa;
  color: #163c5b;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
picture {
  display: block;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
p + p {
  margin-top: 16px;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(29px, 2.5vw, 38px);
}
h2 {
  font-size: clamp(25px, 2.1vw, 31px);
}
h3 {
  font-size: 22px;
}
strong {
  font-weight: 500;
}
a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--blue-hover);
}
a,
button {
  transition:
    color 200ms,
    background-color 200ms,
    border-color 200ms;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #2082c3;
  outline-offset: 4px;
}
address {
  font-style: normal;
}
.container {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
.small {
  font-size: 13px;
  color: var(--muted);
}
.text-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 500;
  font-size: 15px;
}
.text-link:hover {
  text-decoration-thickness: 2px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
}
.button:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
}
.button-outline {
  background: transparent;
  color: var(--blue);
}
.button-outline:hover {
  background: #eef6fc;
  color: var(--blue-hover);
  border-color: var(--blue-hover);
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 120;
  background: white;
  padding: 12px 20px;
}
.skip:focus {
  top: 12px;
}
/* Familiar brand, navigation and direct contact. */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: #fff;
  box-shadow: var(--shadow);
}
.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: min-height 250ms var(--ease);
}
.brand {
  display: block;
  flex: none;
  width: 245px;
  transform-origin: left center;
  transition: transform 250ms var(--ease);
}
.header-contact {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 30px;
  align-items: center;
  text-align: right;
}
.header-contact > span {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 3px;
}
.header-contact > a {
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.header-contact .header-email {
  font-size: 15px;
  font-weight: 400;
}
.header-contact > a:hover {
  text-decoration: underline;
}
.navigation-bar {
  background: var(--blue);
  color: white;
}
.navigation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
#navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}
#navigation > a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}
#navigation > a:first-child {
  margin-left: -20px;
}
#navigation > a:after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 9px;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}
#navigation > a:hover {
  background: rgb(255 255 255 / 0.1);
}
#navigation > a:hover:after,
#navigation > a[aria-current]:after {
  transform: scaleX(1);
}
#navigation a:focus-visible {
  outline-color: white;
  outline-offset: -5px;
}
.nav-location {
  font-size: 13px;
  white-space: nowrap;
  color: #e4eff9;
}
.menu-toggle {
  display: none;
  border: var(--border);
  border-radius: var(--radius);
  background: white;
  padding: 10px 12px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
}
.menu-icon {
  width: 16px;
  height: 12px;
  border-block: 1.5px solid currentColor;
  position: relative;
}
.menu-icon:after {
  content: "";
  height: 1.5px;
  width: 16px;
  position: absolute;
  left: 0;
  top: 4px;
  background: currentColor;
}
.menu-toggle[aria-expanded="true"] {
  background: var(--surface);
  color: var(--blue);
}
.quick-contact {
  display: none;
}
.site-header.is-scrolled .header-inner {
  min-height: 86px;
}
.site-header.is-scrolled .brand {
  transform: scale(0.9);
}
/* Startseite: Bild, Vorstellung, verständliche Leistungen. */
.home-hero {
  padding-top: 28px;
}
.hero-media {
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-media img {
  aspect-ratio: 3.2;
  object-fit: cover;
  object-position: center;
}
.hero-intro {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 48px;
  padding-block: 34px 0;
  align-items: start;
}
.hero-intro h1 {
  font-size: clamp(29px, 2.55vw, 38px);
  color: var(--blue);
}
.hero-subtitle {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 10px;
}
.hero-description p {
  font-size: 17px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.section-heading {
  margin-bottom: 30px;
}
.section-heading h2 {
  color: var(--blue);
}
.section-heading p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 740px;
}
.heading-with-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.heading-with-link > .text-link {
  flex: none;
  margin-bottom: 4px;
}
.service-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.service-block {
  min-width: 0;
}
.service-image {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.service-image img {
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: 50% 45%;
  transition: transform 550ms var(--ease);
}
.service-block:hover .service-image img {
  transform: scale(1.035);
}
.service-block :is(h2, h3) {
  font-size: 22px;
  margin-bottom: 12px;
}
.service-block :is(h2, h3) a {
  text-decoration: none;
}
.service-block :is(h2, h3) a:hover {
  text-decoration: underline;
}
.service-block p {
  font-size: 16px;
  line-height: 1.65;
}
.service-block .text-link {
  margin-top: 17px;
}
.work-preview {
  background: var(--surface);
}
.project {
  min-width: 0;
}
.photo-open {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  position: relative;
  background: #e9eef1;
}
.photo-open img {
  transition: transform 550ms var(--ease);
}
.photo-open:hover img {
  transform: scale(1.035);
}
.photo-open:after {
  content: "+";
  display: grid;
  place-items: center;
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.94);
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 220ms,
    transform 220ms;
  pointer-events: none;
}
.photo-open:hover:after,
.photo-open:focus-visible:after {
  opacity: 1;
  transform: none;
}
.project figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 10px;
}
.editorial-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.editorial-gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.preview-gallery img {
  aspect-ratio: 1.25;
  object-position: center;
}
.home-company {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 60px;
}
.company-picture img {
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: center 45%;
}
.company-story h2 {
  color: var(--blue);
  margin-bottom: 22px;
}
.company-story p {
  font-size: 16px;
}
.history-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: var(--border);
  padding-top: 22px;
  margin-top: 26px;
}
.history-facts p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.history-facts strong {
  display: block;
  font-size: 23px;
  color: var(--blue);
  margin-bottom: 5px;
}
.home-documents {
  padding-top: 0;
}
.documents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.document {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 22px;
  border: var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  background: #fff;
}
.document:hover {
  border-color: #8bafcb;
  background: #f8fbfe;
}
.doc-type {
  font-size: 12px;
  color: var(--muted);
  align-self: start;
  padding-top: 4px;
}
.document strong {
  display: block;
  font-size: 19px;
  line-height: 1.35;
}
.document small {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 8px;
}
.doc-action {
  grid-column: 2;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-documents > .text-link {
  margin-top: 18px;
}
.funding {
  background: var(--surface);
  padding: 34px 38px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 40px;
  align-items: center;
}
.funding h2 {
  font-size: 25px;
  color: var(--blue);
  margin-bottom: 17px;
}
.funding h3 {
  font-size: 17px;
  letter-spacing: 0;
  margin-bottom: 9px;
}
.funding-copy > p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 850px;
}
.funding-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.funding-links a {
  font-size: 14px;
  margin-top: 15px;
}
.funding-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.funding-logos img:first-child {
  width: 124px;
}
.funding-logos img:last-child {
  width: 128px;
}
.home-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.home-contact h2 {
  font-size: 26px;
  color: var(--blue);
  margin-bottom: 12px;
}
.home-contact p {
  font-size: 15px;
}
.home-contact-links a {
  display: block;
  font-size: 19px;
  text-decoration: none;
}
.home-contact-links a:first-child {
  font-size: 25px;
  font-weight: 500;
}
.home-contact-links a:hover {
  text-decoration: underline;
}
/* Page introductions and straightforward service navigation. */
.page-intro {
  padding-block: 44px 36px;
}
.page-intro h1 {
  color: var(--blue);
}
.page-intro > p {
  max-width: 820px;
  margin-top: 16px;
  color: var(--muted);
}
.services-overview {
  margin-bottom: 50px;
}
.services-photo {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 45px;
}
.services-photo .project {
  width: 40%;
  max-width: 420px;
}
.services-photo img {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.services-photo > p {
  font-size: 15px;
  color: var(--muted);
}
.service-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 40px;
}
.service-sidebar nav {
  display: flex;
  flex-direction: column;
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-sidebar nav a {
  padding: 14px 16px;
  font-size: 15px;
  text-decoration: none;
  border-bottom: var(--border);
  color: var(--ink);
}
.service-sidebar nav a:last-child {
  border: 0;
}
.service-sidebar nav a[aria-current] {
  background: var(--blue);
  color: white;
  font-weight: 500;
}
.service-sidebar nav a:not([aria-current]):hover {
  background: var(--surface);
  color: var(--blue);
}
.service-sidebar > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 30px;
}
.sidebar-phone {
  display: block;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 7px;
}
.service-sidebar > .text-link {
  margin-top: 10px;
}
.service-opening {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
}
.service-opening > .project img {
  height: 340px;
  object-fit: cover;
  object-position: center;
}
.service-summary h2 {
  font-size: 24px;
  color: var(--blue);
}
.service-summary ul {
  padding-left: 20px;
  font-size: 16px;
  margin-block: 20px;
}
.service-summary li {
  margin-block: 7px;
}
.service-gallery {
  margin-top: 44px;
}
.service-gallery > h2 {
  font-size: 25px;
  color: var(--blue);
  margin-bottom: 24px;
}
.service-gallery .editorial-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;
}
.gallery-filters button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 14px;
}
.gallery-filters button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.gallery-filters button[aria-pressed="true"] {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.gallery-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.related {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 36px;
  border-top: var(--border);
  padding-top: 22px;
  margin-top: 40px;
}
.related span {
  color: var(--muted);
  font-size: 14px;
}
.related a {
  margin: 0;
}
.company-opening,
.training-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.company-opening > .project {
  order: -1;
}
.company-opening img,
.training-layout img {
  height: 370px;
  object-fit: cover;
  object-position: center 45%;
}
.company-since {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 20px;
}
.company-opening > div > p:last-child {
  font-size: 17px;
  max-width: 500px;
}
.history {
  margin-top: 48px;
}
.history > h2 {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 24px;
}
.chronology article {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 32px;
  border-top: var(--border);
  padding-block: 26px;
}
.chronology time {
  font-size: 26px;
  font-weight: 500;
  color: var(--blue);
}
.chronology h2 {
  font-size: 21px;
  margin-bottom: 12px;
}
.chronology p {
  max-width: 850px;
  font-size: 16px;
}
.certification {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 42px;
}
.certification .documents {
  grid-template-columns: 1fr;
}
.qualification h2 {
  font-size: 21px;
  color: var(--blue);
  margin-bottom: 16px;
}
.qualification p {
  font-size: 16px;
}
.qualification h2:not(:first-child) {
  margin-top: 32px;
}
.notice {
  font-size: 14px;
  border-left: 3px solid #9ab7cb;
  padding: 16px 20px;
  background: var(--surface);
  margin-top: 26px;
}
.notice h2 {
  font-size: 21px;
  color: var(--blue);
  margin-bottom: 14px;
}
.notice .text-link {
  font-size: 14px;
  margin-top: 12px;
}
.training-layout h2 {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 22px;
}
.training-layout p {
  font-size: 16px;
}
.training-layout .button {
  margin-top: 24px;
}
.training-layout .text-link {
  display: block;
  width: fit-content;
  margin-top: 14px;
}
/* Contact and legal pages. */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}
.contact-details {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  align-self: start;
}
.contact-phone,
.contact-email {
  display: block;
  text-decoration: none;
  width: fit-content;
}
.contact-phone {
  font-size: 27px;
  font-weight: 500;
}
.contact-email {
  font-size: 19px;
}
.contact-details address {
  margin-top: 24px;
  font-size: 16px;
}
.contact-details > .small {
  margin-top: 12px;
}
.contact-form-wrap h2 {
  font-size: 27px;
  color: var(--blue);
}
.contact-form-wrap > p {
  font-size: 15px;
  margin-block: 16px 28px;
  max-width: 600px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  margin-bottom: 21px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
}
.field label > span {
  font-weight: 400;
}
.field input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  background: white;
  border: 1px solid #8598a5;
  border-radius: var(--radius);
  min-height: 46px;
  padding: 10px 12px;
  transition:
    border-color 180ms,
    box-shadow 180ms;
}
textarea {
  resize: vertical;
}
.field input:hover,
select:hover,
textarea:hover {
  border-color: var(--blue);
}
.field input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(0 93 168 / 0.08);
}
[aria-invalid="true"] {
  border-color: #9e2d24 !important;
}
.field-error {
  display: block;
  color: #9e2d24;
  font-size: 13px;
  margin-top: 5px;
}
.field .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
  font-weight: 400;
}
.checkbox input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--blue);
  margin: 2px 0 0;
}
.form-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
#form-status:not(:empty) {
  margin-top: 22px;
  padding: 16px;
  border-left: 3px solid var(--blue);
  background: var(--surface);
  font-size: 15px;
}
#email-draft {
  margin-top: 20px;
}
.location {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding-top: 38px;
  margin-top: 48px;
  border-top: var(--border);
}
.location h2 {
  font-size: 26px;
  color: var(--blue);
}
.location h3 {
  font-size: 25px;
  color: var(--blue);
  margin-bottom: 16px;
}
.location > div:first-child p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 18px;
}
.location > div:last-child > p {
  max-width: 650px;
}
.location .small {
  margin-top: 18px;
}
.legal {
  max-width: 900px;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.legal > .notice {
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 25px;
  color: var(--blue);
  line-height: 1.3;
  margin-block: 32px 18px;
}
.legal h3 {
  font-size: 20px;
  margin-block: 26px 14px;
  line-height: 1.35;
}
.legal p,
.legal address {
  margin-block: 16px;
}
.legal li {
  margin-block: 10px;
}
.legal ol,
.legal ul {
  padding-left: 24px;
}
.error-actions {
  display: flex;
  gap: 26px;
  align-items: baseline;
}
/* Compact company footer. */
.site-footer {
  margin-top: 64px;
  background: var(--blue);
  color: white;
}
.home .site-footer {
  margin-top: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.7fr;
  gap: 64px;
  padding-block: 42px 34px;
  font-size: 14px;
}
.footer-brand img {
  width: 240px;
  max-width: 100%;
  height: auto;
}
.footer-brand p {
  margin-top: 20px;
  color: #e0edf7;
  font-size: 13px;
}
.footer-main h2 {
  font-size: 18px;
  color: white;
  margin-bottom: 17px;
  letter-spacing: 0;
}
.footer-main a {
  color: white;
  text-decoration: none;
}
.footer-main a:hover {
  text-decoration: underline;
}
.footer-main > div:not(.footer-brand) > a {
  display: block;
  width: fit-content;
}
.footer-main .footer-phone {
  font-size: 21px;
  margin-top: 14px;
  font-weight: 500;
}
.footer-main .footer-fax {
  font-size: 12px;
  color: #e0edf7;
  margin-top: 8px;
}
.footer-nav > a {
  display: block;
  width: fit-content;
  margin-top: 5px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.25);
  padding-block: 20px;
  font-size: 12px;
  color: #e0edf7;
}
.footer-bottom a {
  color: white;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.footer-bottom > div {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.site-footer a:focus-visible {
  outline-color: white;
}
/* Lightbox is a native dialog with unchanged accessible controls. */
.lightbox {
  border: 0;
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: 20px;
  width: min(1400px, 96vw);
  max-width: 96vw;
  height: 94dvh;
  max-height: 94dvh;
  z-index: var(--z-dialog);
}
.lightbox::backdrop {
  background: rgb(18 32 44 / 0.88);
}
.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  height: 44px;
}
.lightbox button {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  min-width: 48px;
  min-height: 48px;
}
.lightbox button:hover {
  background: var(--surface);
  color: var(--blue);
}
.lightbox-stage {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  height: calc(100% - 92px);
  gap: 12px;
}
.lightbox-stage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.lightbox-stage button {
  font-size: 30px;
}
.lightbox #lightbox-caption {
  font-size: 13px;
  margin-top: 16px;
  text-align: center;
}
.lightbox-open {
  overflow: hidden;
}
/* Only elements below the first viewport are opted into motion by JS. */
.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}
.reveal-ready {
  transition:
    opacity var(--motion) var(--ease),
    transform var(--motion) var(--ease);
}
@media (max-width: 1000px) {
  :root {
    --gutter: 26px;
    --gap: 22px;
    --section: 56px;
  }
  .header-contact {
    column-gap: 20px;
  }
  .header-contact .header-email {
    display: none;
  }
  .nav-location {
    display: none;
  }
  .hero-intro {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .hero-intro h1 {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 19px;
  }
  .service-block :is(h2, h3) {
    font-size: 20px;
  }
  .home-company {
    gap: 36px;
  }
  .home-contact {
    flex-wrap: wrap;
  }
  .home-contact > .button {
    margin-left: auto;
  }
  .service-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 28px;
  }
  .service-opening {
    grid-template-columns: 1fr;
  }
  .service-opening > .project img {
    height: 310px;
  }
  .service-summary ul {
    columns: 2;
    column-gap: 24px;
  }
  .service-summary li {
    break-inside: avoid;
  }
  .certification {
    grid-template-columns: 1fr 260px;
    gap: 28px;
  }
  .document {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .doc-action {
    grid-column: 1;
  }
  .footer-main {
    gap: 32px;
  }
  .contact-layout,
  .location {
    gap: 32px;
  }
  .contact-details {
    padding: 24px;
  }
  .contact-email {
    font-size: 17px;
  }
  .funding {
    padding: 30px;
    gap: 30px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --gap: 24px;
    --section: 44px;
  }
  html {
    scroll-padding-top: 140px;
  }
  body {
    font-size: 16px;
  }
  .header-inner {
    min-height: 88px;
    gap: 18px;
  }
  .brand {
    width: 205px;
  }
  .header-contact {
    display: none;
  }
  .js .menu-toggle {
    display: flex;
  }
  .navigation-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .quick-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    order: -1;
  }
  .quick-contact a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding-block: 9px;
  }
  .quick-contact a:last-child {
    font-size: 13px;
    font-weight: 400;
  }
  #navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 4px 12px;
    max-height: calc(100dvh - 145px);
    overflow-y: auto;
  }
  .js #navigation:not(.open) {
    display: none;
  }
  #navigation > a {
    font-size: 16px;
    padding: 12px 8px;
  }
  #navigation > a:first-child {
    margin-left: 0;
  }
  #navigation > a:after {
    left: 8px;
    right: auto;
    width: 28px;
    bottom: 7px;
  }
  #navigation > a[aria-current] {
    background: rgb(255 255 255 / 0.1);
  }
  .site-header.is-scrolled .header-inner {
    min-height: 76px;
  }
  .site-header.is-scrolled .brand {
    transform: scale(0.93);
  }
  .home-hero {
    padding-top: 18px;
  }
  .hero-media img {
    aspect-ratio: 1.8;
    object-position: center;
  }
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 25px;
  }
  .hero-intro h1 {
    font-size: 31px;
  }
  .hero-subtitle {
    font-size: 19px;
    margin-top: 10px;
  }
  .hero-description p {
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }
  .hero-actions .button {
    padding-inline: 16px;
    font-size: 14px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .section-heading p {
    font-size: 15px;
    margin-top: 10px;
  }
  .heading-with-link {
    display: block;
  }
  .heading-with-link > .text-link {
    margin-top: 14px;
  }
  .service-blocks {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .service-block :is(h2, h3) {
    font-size: 23px;
  }
  .service-image {
    margin-bottom: 18px;
  }
  .service-image img {
    aspect-ratio: 1.6;
  }
  .service-block p {
    max-width: 580px;
  }
  .service-block .text-link {
    margin-top: 12px;
  }
  .editorial-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .preview-gallery {
    grid-template-columns: 1fr;
  }
  .preview-gallery img {
    aspect-ratio: 4/3;
  }
  .project figcaption {
    font-size: 13px;
  }
  .photo-open:after {
    opacity: 1;
    transform: none;
    width: 30px;
    height: 30px;
    font-size: 22px;
    right: 10px;
    bottom: 10px;
  }
  .home-company {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .company-picture img {
    aspect-ratio: 4/3;
  }
  .company-story h2 {
    margin-bottom: 18px;
  }
  .history-facts {
    gap: 18px;
    margin-top: 23px;
  }
  .history-facts p {
    font-size: 12px;
  }
  .history-facts strong {
    font-size: 23px;
  }
  .home-documents {
    padding-top: 0;
  }
  .documents {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .document {
    grid-template-columns: auto 1fr;
    gap: 10px 18px;
    padding: 20px;
  }
  .document strong {
    font-size: 18px;
  }
  .doc-action {
    grid-column: 2;
  }
  .funding {
    padding: 25px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .funding h2 {
    font-size: 24px;
  }
  .funding h3 {
    font-size: 17px;
  }
  .funding-logos {
    flex-direction: row;
    justify-content: flex-start;
    gap: 25px;
    flex-wrap: wrap;
  }
  .funding-logos img:first-child {
    width: 115px;
  }
  .funding-logos img:last-child {
    width: 118px;
  }
  .funding-links {
    gap: 0 24px;
  }
  .home-contact {
    display: block;
  }
  .home-contact-links {
    margin-block: 22px;
  }
  .home-contact > .button {
    margin: 0;
  }
  .home-contact h2 {
    font-size: 26px;
  }
  .page-intro {
    padding-block: 32px 28px;
  }
  .page-intro h1 {
    font-size: 30px;
  }
  .page-intro > p {
    font-size: 16px;
    margin-top: 14px;
  }
  .service-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    border: 0;
    gap: 8px;
    overflow: visible;
  }
  .service-sidebar nav a {
    border: var(--border) !important;
    border-radius: var(--radius);
    font-size: 13px;
    padding: 10px 12px;
  }
  .service-sidebar > p,
  .service-sidebar > .sidebar-phone,
  .service-sidebar > .text-link {
    display: none;
  }
  .service-opening {
    gap: 25px;
  }
  .service-opening > .project img {
    height: auto;
    aspect-ratio: 4/3;
  }
  .service-summary ul {
    columns: 1;
    margin-block: 16px;
  }
  .service-summary .button {
    margin-top: 4px;
  }
  .service-gallery {
    margin-top: 35px;
  }
  .service-gallery > h2 {
    font-size: 24px;
    margin-bottom: 22px;
  }
  .services-photo {
    margin-top: 34px;
    gap: 24px;
  }
  .services-photo .project {
    width: 50%;
  }
  .services-photo > p {
    font-size: 14px;
  }
  .gallery-filters {
    gap: 8px;
  }
  .gallery-filters button {
    font-size: 13px;
    padding: 9px 12px;
  }
  .gallery-count {
    margin-bottom: 24px;
  }
  .related {
    gap: 12px 24px;
    margin-top: 32px;
  }
  .related a {
    font-size: 15px;
  }
  .company-opening,
  .training-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .company-opening img,
  .training-layout img {
    height: auto;
    aspect-ratio: 4/3;
  }
  .company-since {
    font-size: 26px;
    margin-bottom: 17px;
  }
  .history {
    margin-top: 38px;
  }
  .history > h2 {
    font-size: 26px;
  }
  .chronology article {
    grid-template-columns: 65px 1fr;
    gap: 20px;
    padding-block: 23px;
  }
  .chronology time {
    font-size: 23px;
  }
  .chronology h2 {
    font-size: 20px;
  }
  .chronology p {
    font-size: 15px;
  }
  .certification {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .qualification h2 {
    font-size: 21px;
  }
  .training-layout h2 {
    font-size: 26px;
  }
  .training-layout .button {
    margin-top: 22px;
  }
  .contact-layout,
  .location {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-details {
    padding: 24px;
  }
  .contact-phone {
    font-size: 26px;
  }
  .contact-email {
    font-size: 18px;
  }
  .contact-form-wrap h2 {
    font-size: 26px;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-wrap > p {
    margin-block: 16px 24px;
  }
  .location {
    margin-top: 35px;
    padding-top: 30px;
  }
  .location h2,
  .location h3 {
    font-size: 24px;
  }
  .legal {
    font-size: 15px;
  }
  .legal h2 {
    font-size: 23px;
  }
  .legal h3 {
    font-size: 19px;
  }
  .site-footer {
    margin-top: 44px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-block: 32px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand img {
    width: 220px;
  }
  .footer-brand p {
    margin-top: 16px;
  }
  .footer-main h2 {
    font-size: 17px;
    margin-bottom: 14px;
  }
  .footer-main > div {
    min-width: 0;
  }
  .footer-bottom {
    display: block;
    padding-block: 22px;
  }
  .footer-bottom > div {
    margin-top: 14px;
    gap: 12px 22px;
  }
  .lightbox {
    border-radius: 0;
    padding: 12px;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
  }
  .lightbox-stage {
    grid-template-columns: 40px 1fr 40px;
    gap: 0;
  }
  .lightbox-stage button {
    min-width: 40px;
  }
  .lightbox #lightbox-caption {
    font-size: 12px;
    line-height: 1.4;
  }
  .lightbox button {
    padding: 8px;
  }
}
@media (max-width: 480px) {
  :root {
    --gutter: 20px;
  }
  .brand {
    width: 190px;
  }
  .header-inner {
    min-height: 84px;
  }
  .menu-toggle {
    font-size: 13px;
    padding-inline: 10px;
  }
  .hero-intro h1 {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero-media img {
    aspect-ratio: 1.65;
  }
  .editorial-gallery,
  .service-gallery .editorial-gallery {
    grid-template-columns: 1fr;
  }
  .editorial-gallery img {
    aspect-ratio: 4/3;
  }
  .document {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .doc-action {
    grid-column: 1;
  }
  .funding {
    padding: 24px 20px;
  }
  .funding-logos {
    gap: 18px;
  }
  .funding-logos img:first-child {
    width: 110px;
  }
  .funding-logos img:last-child {
    width: 110px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
  }
  .footer-nav h2 {
    grid-column: 1/-1;
  }
  .footer-nav > a {
    margin: 0;
    padding-block: 4px;
  }
  .history-facts {
    gap: 12px;
  }
  .history-facts p {
    font-size: 11px;
  }
  .services-photo {
    display: block;
  }
  .services-photo .project {
    width: 100%;
    max-width: 100%;
  }
  .services-photo > p {
    margin-top: 20px;
  }
  .chronology article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .button {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }
  .photo-open:hover img,
  .service-block:hover .service-image img {
    transform: none;
  }
}
@media print {
  .site-header {
    position: static;
  }
  .menu-toggle,
  .quick-contact,
  .lightbox {
    display: none !important;
  }
  .reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }
  .site-footer {
    background: white;
    color: black;
  }
  .site-footer a {
    color: black;
  }
}
/* Fine alignment and photographic crops from browser review. */
.service-block {
  display: flex;
  flex-direction: column;
}
.service-block .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
}
.preview-gallery > .project:first-child img {
  object-position: center 22%;
}
.service-block.reveal-ready:nth-child(2) {
  transition-delay: 65ms;
}
.service-block.reveal-ready:nth-child(3) {
  transition-delay: 130ms;
}

/* Adequate clickable contact areas, including the compact footer. */
.footer-main > div:not(.footer-brand) > a {
  min-height: 36px;
  display: flex;
  align-items: center;
}
.quick-contact {
  min-height: 44px;
}
@media (max-width: 760px) {
  .footer-main > div:not(.footer-brand) > a,
  .footer-nav > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}
/* Final refinement: SBR's blue identity, real work and restrained proportions. */
:root {
  --background: #fff;
  --text: #263743;
  --brand: #005da8;
  --brand-hover: #00487f;
  --container: 1240px;
  --wide-container: 1360px;
  --reading-width: 64ch;
  --type-display: clamp(32px, 2.85vw, 42px);
  --type-h1: clamp(30px, 2.7vw, 40px);
  --type-h2: clamp(27px, 2.25vw, 34px);
  --type-h3: clamp(21px, 1.65vw, 24px);
  --type-body-lg: 19px;
  --type-body: 17px;
  --type-small: 14px;
  --type-meta: 13px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 56px;
  --space-section-sm: 56px;
  --space-section-md: 80px;
  --space-section-lg: 104px;
  --section: var(--space-section-md);
  --motion-fast: 180ms;
  --motion-normal: 360ms;
  --motion-slow: 650ms;
  --radius: 2px;
}
h1 {
  font-size: var(--type-h1);
}
h2 {
  font-size: var(--type-h2);
}
h3 {
  font-size: var(--type-h3);
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.page-intro > p,
.section-heading p {
  max-width: var(--reading-width);
}
.site-header {
  box-shadow: none;
  border-bottom: 1px solid #dce3e8;
}
.site-header.is-scrolled {
  box-shadow: 0 3px 12px rgb(30 65 90 / 0.07);
}
.header-inner {
  min-height: 116px;
}
.header-contact {
  column-gap: 28px;
}
.header-email {
  border-left: var(--border);
  padding-left: 28px;
}
.header-contact > span {
  margin-bottom: 5px;
}
#navigation > a {
  padding-block: 15px;
  font-size: 15px;
}
#navigation > a:after {
  height: 1px;
  bottom: 11px;
}
.home-hero {
  max-width: var(--wide-container);
  padding-top: 24px;
}
.hero-media {
  border-radius: 0;
}
.hero-media img {
  aspect-ratio: 3.05;
  object-position: 50% 48%;
}
.hero-intro {
  max-width: var(--container);
  margin-inline: auto;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  padding-block: 36px 32px;
  border-bottom: var(--border);
}
.hero-intro h1 {
  font-size: var(--type-display);
  line-height: 1.16;
  letter-spacing: -0.033em;
}
.hero-subtitle {
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 400;
  margin-top: 14px;
}
.hero-description {
  padding-top: 3px;
}
.hero-description p {
  max-width: 48ch;
}
.hero-actions {
  margin-top: 23px;
}
.button {
  min-height: 48px;
  padding-inline: 23px;
  transition:
    background-color var(--motion-fast),
    border-color var(--motion-fast),
    transform var(--motion-fast);
}
.button:active {
  transform: translateY(1px);
}
.text-link {
  text-decoration: none;
  border-bottom: 1px solid #afc8d9;
  padding-bottom: 3px;
  transition:
    border-color var(--motion-normal),
    color var(--motion-normal);
}
.text-link:hover {
  border-color: var(--blue);
}
.home-services {
  padding-block: var(--space-section-sm) var(--space-section-lg);
}
.section-heading {
  margin-bottom: 36px;
}
.service-blocks {
  gap: 34px;
}
.service-block :is(h2, h3) {
  font-size: var(--type-h3);
  line-height: 1.28;
  letter-spacing: -0.022em;
  min-height: 1.28em;
}
.service-image {
  margin-bottom: 24px;
  border-radius: 0;
}
.service-image img {
  aspect-ratio: 1.48;
}
.service-block:nth-child(1) img {
  object-position: 48% 52%;
}
.service-block:nth-child(2) img {
  object-position: 50% 39%;
}
.service-block:nth-child(3) img {
  object-position: 50% 45%;
}
.service-block p {
  max-width: 37ch;
}
.service-block .text-link {
  align-self: flex-start;
}
.work-preview {
  padding-block: var(--space-section-md);
  background: #f2f5f6;
}
.preview-gallery {
  grid-template-columns: 1.22fr 1fr;
  gap: 36px 44px;
  align-items: start;
}
.work-feature:first-child {
  grid-row: span 2;
}
.preview-gallery .work-feature:first-child img {
  aspect-ratio: 1.12;
  object-position: 44% 0%;
}
.preview-gallery .work-feature:nth-child(2) img {
  aspect-ratio: 2.25;
  object-position: 50% 38%;
}
.preview-gallery .work-feature:nth-child(3) img {
  aspect-ratio: 2.25;
  object-position: 50% 58%;
}
.preview-gallery figcaption {
  display: none;
}
.work-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 3px 20px;
  padding-top: 17px;
}
.work-caption h3 {
  font-size: 20px;
  color: var(--ink);
}
.work-caption .text-link {
  margin-top: 0;
  font-size: 13px;
}
.project figcaption {
  margin-top: 12px;
}
.photo-open {
  border-radius: 0;
}
.photo-open img,
.service-image img {
  transition: transform var(--motion-slow) var(--ease);
}
.home-company {
  gap: 72px;
  padding-block: var(--space-section-lg);
  grid-template-columns: 1fr 1fr;
}
.company-picture img {
  aspect-ratio: 1.13;
  object-position: 48% 42%;
}
.company-story {
  max-width: 520px;
}
.company-story h2 {
  max-width: 15ch;
  line-height: 1.2;
}
.since-year {
  display: block;
}
.company-story p {
  font-size: 17px;
}
.history-facts {
  padding-top: 26px;
  margin-top: 30px;
  gap: 24px;
}
.history-facts strong {
  font-size: 29px;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}
.home-documents {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0 64px;
  padding-bottom: var(--space-section-lg);
}
.home-documents .section-heading {
  grid-row: span 2;
  margin: 0;
}
.home-documents .section-heading p {
  font-size: 16px;
}
.home-documents > .text-link {
  justify-self: start;
}
.documents {
  display: block;
  border-top: var(--border);
}
.document {
  grid-template-columns: 85px 1fr auto;
  gap: 20px;
  padding: 23px 0;
  border: 0;
  border-bottom: var(--border);
  border-radius: 0;
  background: transparent;
  align-items: center;
}
.document:hover {
  background: #f3f7fa;
  border-color: #8bafcb;
}
.document strong {
  font-size: 20px;
}
.doc-action {
  grid-column: auto;
  font-size: 13px;
  text-decoration: none;
}
.doc-action:after {
  content: " ↗";
  display: inline-block;
  transition: transform var(--motion-normal) var(--ease);
}
.document:hover .doc-action:after {
  transform: translate(2px, -2px);
}
.home-documents .document {
  grid-template-columns: 78px 1fr;
}
.home-documents .doc-action {
  grid-column: 2;
}
.funding {
  padding: 40px 44px;
  grid-template-columns: 1fr 190px;
  gap: 60px;
  border-top: 2px solid #bccedb;
  border-radius: 0;
}
.funding h2 {
  font-size: 27px;
}
.funding-copy > p {
  max-width: 76ch;
}
.home-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 22px 72px;
  padding-block: var(--space-section-lg) var(--space-section-md);
}
.home-contact h2 {
  font-size: var(--type-h2);
  max-width: 20ch;
}
.home-contact > .button {
  grid-column: 2;
  justify-self: start;
  margin: 0;
}
.home-contact-links {
  padding-top: 3px;
}
.home-contact-links a:first-child {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 400;
}
.home-contact-links a:last-child {
  font-size: 21px;
}
.page-intro {
  padding-block: 56px 40px;
}
.service-sidebar nav {
  border-inline: 0;
  border-radius: 0;
}
.service-sidebar nav a {
  padding-inline: 12px;
}
.chronology article {
  padding-block: 30px;
}
.chronology time {
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}
.contact-details {
  border-radius: 0;
  border-top: 2px solid var(--blue);
}
.footer-main {
  padding-block: 56px 42px;
}
.footer-nav > a {
  border-bottom: 1px solid transparent;
  transition: border-color var(--motion-normal);
}
.footer-nav > a:hover {
  text-decoration: none;
  border-color: #fff;
}
.footer-bottom {
  padding-block: 22px;
}
/* Crop decisions follow the subject in each original, not a universal center. */
.project[data-image="aussentreppe"] img {
  object-position: 50% 37%;
}
.project[data-image="aussentreppe-detail"] img {
  object-position: 50% 35%;
}
.project[data-image="stahlbalkon"] img {
  object-position: 50% 39%;
}
.project[data-image="werkstatt"] img {
  object-position: 48% 42%;
}
.project[data-image="wendeltreppe"] img {
  object-position: 50% 58%;
}
.project[data-image="anlagen-montage"] img {
  object-position: 50% 32%;
}
@media (min-width: 1500px) {
  .hero-intro {
    padding-block: 42px 36px;
  }
}
@media (max-width: 1100px) {
  .hero-intro {
    gap: 36px;
  }
  .service-blocks {
    gap: 24px;
  }
  .preview-gallery {
    gap: 28px;
  }
  .home-company {
    gap: 40px;
  }
  .home-documents {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
  }
  .document {
    grid-template-columns: 70px 1fr;
  }
  .doc-action {
    grid-column: 2;
  }
}
@media (max-width: 800px) and (min-width: 761px) {
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-description {
    display: flex;
    gap: 24px;
    align-items: start;
  }
  .hero-actions {
    margin-top: 0;
    flex-shrink: 0;
    flex-direction: column;
  }
  .home-documents {
    display: block;
  }
  .home-documents .section-heading {
    margin-bottom: 28px;
  }
}
@media (max-width: 760px) {
  :root {
    --type-display: 32px;
    --type-h1: 30px;
    --type-h2: 28px;
    --type-h3: 23px;
    --space-section-sm: 44px;
    --space-section-md: 56px;
    --space-section-lg: 64px;
    --space-xl: 36px;
  }
  .header-inner {
    min-height: 88px;
  }
  #navigation > a {
    padding: 13px 8px;
    border-top: 1px solid rgb(255 255 255 / 0.17);
  }
  #navigation.open {
    animation: menu-reveal 220ms var(--ease);
  }
  .menu-icon,
  .menu-icon:after {
    transition: transform 220ms var(--ease);
  }
  .menu-toggle[aria-expanded="true"] .menu-icon {
    border-bottom: 0;
    height: 0;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-icon:after {
    top: -1.5px;
    transform: rotate(90deg);
  }
  .home-hero {
    padding-top: 16px;
  }
  .hero-media img {
    aspect-ratio: 1.62;
    object-position: 57% 50%;
  }
  .hero-intro {
    grid-template-columns: 1fr;
    padding-block: 25px 28px;
    gap: 18px;
  }
  .hero-intro h1 {
    max-width: 12ch;
  }
  .hero-subtitle {
    max-width: 30ch;
    font-size: 18px;
    margin-top: 13px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    padding-inline: 15px;
  }
  .section-heading {
    margin-bottom: 27px;
  }
  .service-blocks {
    gap: 36px;
  }
  .service-block :is(h2, h3) {
    min-height: 0;
  }
  .service-image {
    margin-bottom: 20px;
  }
  .service-image img {
    aspect-ratio: 1.5;
  }
  .service-block:nth-child(2) img {
    object-position: 50% 38%;
  }
  .preview-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  .work-feature:first-child {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .preview-gallery .work-feature:first-child img {
    aspect-ratio: 1.12;
    object-position: 45% 0%;
  }
  .preview-gallery .work-feature:nth-child(2) img,
  .preview-gallery .work-feature:nth-child(3) img {
    aspect-ratio: 0.9;
  }
  .work-caption {
    padding-top: 13px;
    display: block;
  }
  .work-caption h3 {
    font-size: 19px;
  }
  .work-caption .text-link {
    margin-top: 7px;
    font-size: 13px;
  }
  .home-company {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .company-picture img {
    aspect-ratio: 1.2;
  }
  .company-story h2 {
    max-width: none;
  }
  .company-story p {
    font-size: 16px;
  }
  .history-facts {
    gap: 16px;
  }
  .history-facts strong {
    font-size: 27px;
  }
  .home-documents {
    display: block;
  }
  .home-documents .section-heading {
    margin-bottom: 28px;
  }
  .document,
  .home-documents .document {
    grid-template-columns: 67px 1fr;
    gap: 10px 14px;
    padding: 23px 0;
  }
  .document strong {
    font-size: 19px;
  }
  .doc-type {
    font-size: 11px;
  }
  .doc-action {
    grid-column: 2;
  }
  .funding {
    padding: 28px 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .funding h2 {
    font-size: 25px;
  }
  .home-contact {
    display: block;
  }
  .home-contact-links {
    margin-block: 26px;
  }
  .home-contact-links a:first-child {
    font-size: 34px;
  }
  .home-contact-links a:last-child {
    font-size: 20px;
  }
  .page-intro {
    padding-block: 36px 30px;
  }
  .footer-main {
    padding-block: 40px 30px;
  }
}
@keyframes menu-reveal {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .work-feature.reveal-ready .photo-open,
  .company-picture.reveal-ready .photo-open {
    clip-path: inset(0);
    transition: clip-path var(--motion-slow) var(--ease);
  }
  .work-feature.reveal-pending .photo-open,
  .company-picture.reveal-pending .photo-open {
    clip-path: inset(0 0 5% 0);
  }
  .reveal-pending .photo-open img {
    transform: scale(1.035);
  }
}
@media (prefers-reduced-motion: reduce) {
  #navigation.open {
    animation: none;
  }
}
/* Finish pass: align wrapped service headings and give tablet history room. */
@media (min-width: 761px) and (max-width: 1100px) {
  .service-block :is(h2, h3) {
    min-height: 2.56em;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .home-company {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .company-picture img {
    aspect-ratio: 1.75;
  }
  .company-story {
    max-width: 64ch;
  }
  .company-story h2 {
    max-width: none;
  }
  .history-facts {
    max-width: 540px;
  }
}
