@font-face {
  font-family: "Lato";
  src: url("assets/Lato.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("assets/Lato-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  scroll-behavior: smooth;
  color-scheme: light;
  --navy: #153872;
  --navy-deep: #142d53;
  --text: #4c5665;
  --muted: #69717c;
  --line: #d9dfe7;
  --surface: #f3f5f7;
  /* Digitale RGB-Werte aus Kundenhandout, Seite 1. */
  --accent-decorative: #008e98;
  /* Kontrastoptimierte Textfarbe aus Auftrag 15 (AA auf allen drei Textflächen). */
  --accent-text: #007c85;
  /* Auftrag 14: ursprüngliche Informationsfläche aus dem PDF-Handout. */
  --info-surface: #f1f5f9;
  --info-line: #d6e0ea;
  --placeholder-surface: #e7ecf2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 5px;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  color: var(--navy-deep);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 54px;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  color: var(--navy-deep);
  font-size: 15px;
}

.main-nav a {
  padding-block: 12px;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  min-height: 76vh;
  min-height: 76svh;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(40px, 5vh, 64px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.5;
}

h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(35.72px, 3.666vw, 54.52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  overflow-wrap: break-word;
}

.hero-description {
  max-width: 54ch;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 20px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.button-primary {
  color: #fff;
  background: var(--navy);
}

.button-primary:hover {
  background: var(--navy-deep);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
}

.button-secondary:hover {
  background: #e7ecf2;
}

.service-strip {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.45fr;
  gap: 20px;
  margin: 36px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--accent-text);
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 440px;
  max-height: 640px;
  overflow: hidden;
  border-radius: 4px;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.preview-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-block: 48px 64px;
}

.preview-heading .eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
}

h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.preview-section > p {
  max-width: 50ch;
  margin: 0;
  align-self: center;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1050px) {
  .container {
    width: calc(100% - 64px);
  }

  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
  }

  .main-nav {
    gap: 24px;
  }

  .service-strip {
    gap: 12px;
  }

}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 36px;
    padding-block: 48px;
  }

  .hero-copy {
    max-width: 620px;
  }

  h1 {
    max-width: 18ch;
    font-size: clamp(33.84px, 6.11vw, 47px);
  }

  .hero-visual {
    min-height: 0;
    height: clamp(240px, 45vw, 380px);
  }

  .preview-section {
    gap: 32px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 18px 12px;
  }

  .brand {
    gap: 12px;
    font-size: 19px;
  }

  .brand img {
    width: 46px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px 14px;
    font-size: 13px;
  }

  .main-nav a {
    padding-block: 8px;
  }

  .hero-inner {
    gap: 32px;
    padding-block: 36px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  h1 {
    font-size: clamp(30.08px, 8.272vw, 41.36px);
  }

  .hero-description {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .service-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    font-size: 14.5px;
  }

  .hero-visual {
    height: 250px;
  }

  .preview-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 36px 44px;
  }

  h2 {
    font-size: 28px;
  }
}

/* Erweiterung B: Leistungsübersicht. Die Regeln aus Prototyp A bleiben erhalten. */
.services-overview {
  padding-block: 72px 36px;
}

.services-overview > h2 {
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.service-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-right: 36px;
}

.service-field + .service-field {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.service-field:last-child {
  padding-right: 0;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.service-field h3 {
  min-height: 2.6em;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(22px, 1.8vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.service-field > p {
  flex-grow: 1;
  margin: 16px 0 24px;
  font-size: 16px;
  line-height: 1.7;
}

.service-link {
  display: inline-grid;
  grid-template-columns: auto 1em;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 700;
}

.service-link-label {
  position: relative;
  padding-bottom: 6px;
}

.service-link-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-decorative);
  transition: width 180ms ease-out;
}

.service-link > [aria-hidden] {
  color: var(--accent-decorative);
  padding-bottom: 6px;
}

.service-link:hover,
.service-link:focus-visible {
  text-decoration: none;
}

.service-link:hover .service-link-label::after,
.service-link:focus-visible .service-link-label::after {
  width: calc(100% + 14px + 1em);
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .service-link-label::after {
    transition: none;
  }
}

.services-summary {
  max-width: 860px;
  margin: 56px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  color: var(--navy-deep);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.6;
  text-align: center;
}

.detail-placeholders {
  padding-block: 16px 40px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.detail-placeholder {
  padding-block: 28px;
}

.detail-placeholder + .detail-placeholder {
  border-top: 1px solid var(--line);
}

.detail-placeholder .eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}

.detail-placeholder h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.detail-placeholder > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.prototype-notice {
  max-width: 72ch;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .services-overview {
    padding-block: 56px 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .service-field {
    padding: 0 0 32px;
  }

  .service-field + .service-field {
    padding: 32px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-field:last-child {
    padding-bottom: 0;
  }

  .service-field h3 {
    min-height: 0;
    font-size: 25px;
  }

  .service-field > p {
    max-width: 64ch;
    margin-block: 16px;
  }

  .service-icon {
    margin-bottom: 20px;
  }

  .services-summary {
    margin-top: 36px;
    padding-top: 32px;
  }
}

@media (max-width: 620px) {
  .services-overview {
    padding-block: 40px 24px;
  }

  .services-grid {
    margin-top: 32px;
  }

  .service-field h3 {
    font-size: 23px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .services-summary {
    font-size: 20px;
  }
}

/* Erweiterung C: Service, Kommunikation und Prozesse. */
.service-icon[src$="service.svg"] {
  width: 72px;
}

.service-detail {
  background: #fff;
}

.service-detail-content {
  padding-block: 48px 56px;
  border-top: 1px solid var(--line);
}

.service-detail-heading {
  max-width: 920px;
}

.service-detail-heading h2 {
  max-width: 26ch;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.15;
}

.service-detail-lead {
  max-width: 68ch;
  margin: 20px 0 0;
  font-size: 19px;
  line-height: 1.65;
}

.service-intro-block {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--info-surface);
  border-left: 3px solid var(--accent-decorative);
}

.service-intro-block h3,
.service-module h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-intro-block h4 {
  margin: 16px 0 0;
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.service-intro-block > p {
  max-width: 100ch;
  margin: 14px 0 0;
  line-height: 1.7;
}

.service-intro-block .service-agreement {
  margin-top: 20px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 700;
}

.service-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-module {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px 32px;
  background: var(--info-surface);
  border: 1px solid var(--info-line);
  border-radius: 3px;
}

.service-module > p {
  margin: 16px 0 0;
  line-height: 1.7;
}

.service-module > p:not(.module-number):not(.module-key) {
  flex-grow: 1;
}

.service-module .module-number {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.service-module .module-key {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--info-line);
  color: var(--accent-text);
  /* Bestehende 19 px Bold unverändert; Textfarbe jetzt kontrastoptimiert. */
  font-size: 19px;
}

.process-panel {
  padding-block: 44px 48px;
  color: #fff;
  background: var(--navy-deep);
}

.process-panel h3 {
  text-align: center;
  margin: 0 0 36px;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.process-symbol {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid #b5c2d4;
  border-radius: 50%;
  color: #fff;
  background: #213d63;
}

.process-symbol img {
  width: 40px;
  height: 40px;
}

.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(50% + 48px);
  right: calc(-50% + 48px);
  border-top: 2px solid #b5c2d4;
}

.process-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 34px;
  right: calc(-50% + 48px);
  width: 8px;
  height: 8px;
  border-top: 2px solid #b5c2d4;
  border-right: 2px solid #b5c2d4;
  transform: rotate(45deg);
}

.process-note {
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid #b5c2d4;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.process-note > span {
  display: block;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.process-note strong {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .service-modules {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-steps li {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .process-symbol {
    flex-shrink: 0;
  }

  .process-steps li:not(:last-child)::after {
    top: 86px;
    left: 38px;
    right: auto;
    height: calc(100% - 56px);
    border-top: 0;
    border-left: 2px solid #b5c2d4;
  }

  .process-steps li:not(:last-child)::before {
    top: calc(100% + 22px);
    left: 34px;
    right: auto;
    transform: rotate(135deg);
  }
}

@media (max-width: 620px) {
  .service-icon[src$="service.svg"] {
    width: 67.5px;
  }

  .service-detail-content {
    padding-block: 36px;
  }

  .service-detail-lead {
    font-size: 17px;
  }

  .service-intro-block,
  .service-module {
    padding: 24px 20px;
  }

  .service-intro-block h3,
  .service-module h3 {
    font-size: 22px;
    overflow-wrap: break-word;
  }

  .service-intro-block {
    margin-top: 28px;
  }

  .service-modules {
    gap: 16px;
    margin-top: 24px;
  }

  .process-panel {
    padding-block: 32px 36px;
  }

}

/* Auftrag 13: ausschließlich die Vorzeile im Hero vergrößern. */
.hero-copy > .eyebrow {
  font-size: 14px;
  letter-spacing: 0.15em;
}

@media (max-width: 620px) {
  .hero-copy > .eyebrow {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
}

/* Erweiterung E: eine gemeinsame hellblaue Fläche für die Leistungsübersicht. */
.services-grid {
  padding: 32px;
  background: var(--info-surface);
}

@media (max-width: 980px) {
  .services-grid {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .services-grid {
    padding: 24px 20px;
  }
}

/* Erweiterung F: Praxisbeispiele für Webshops, Software und Schnittstellen. */
.software-detail {
  padding-block: 72px;
  background: #fff;
}

.software-heading {
  max-width: 880px;
}

.software-heading h2 {
  max-width: 24ch;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.15;
}

.software-heading > p:not(.eyebrow) {
  margin: 20px 0 0;
}

.software-heading .software-lead {
  font-size: 19px;
  line-height: 1.65;
}

.software-showcases {
  margin-top: 48px;
}

.software-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: 36px;
  border-top: 1px solid var(--line);
}

.software-showcase-reverse .showcase-copy {
  grid-column: 2;
  grid-row: 1;
}

.software-showcase-reverse .system-figure {
  grid-column: 1;
  grid-row: 1;
}

.showcase-copy {
  min-width: 0;
}

.showcase-label {
  margin: 0 0 16px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.showcase-copy h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.showcase-copy > p:not(.showcase-label) {
  margin: 20px 0 0;
}

.showcase-features {
  margin: 24px 0 0;
  padding-left: 20px;
}

.showcase-features li {
  padding-left: 4px;
}

.showcase-features li + li {
  margin-top: 8px;
}

.showcase-features li::marker {
  color: var(--accent-decorative);
}

.system-figure {
  min-width: 0;
  margin: 0;
  padding: 32px;
  background: var(--info-surface);
}

.system-diagram {
  display: grid;
  justify-items: stretch;
}

.system-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.system-node {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--info-line);
  background: #fff;
  color: var(--navy-deep);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: break-word;
}

.system-node > span {
  color: var(--text);
  font-size: 13px;
}

.system-hub {
  border-top: 3px solid var(--accent-decorative);
}

.system-hub img {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
}

.system-connector {
  color: var(--accent-text);
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
}

.system-figure figcaption {
  margin-top: 20px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}

.software-capabilities {
  margin-top: 24px;
  padding: 28px 32px;
  border-left: 3px solid var(--accent-decorative);
  background: var(--info-surface);
}

.software-capabilities h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 23px;
  line-height: 1.3;
}

.software-capabilities > p {
  margin: 8px 0 0;
}

.software-capabilities ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.software-capabilities li {
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
}

.software-capabilities strong {
  display: block;
  color: var(--navy-deep);
}

.software-capabilities li > span {
  display: block;
  margin-top: 6px;
}

/* Bisherige Trennlinie am unveränderten Logistik-Platzhalter erhalten. */
.software-detail + .detail-placeholders #logistik-details {
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .software-detail {
    padding-block: 56px;
  }

  .software-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .software-showcase-reverse .showcase-copy,
  .software-showcase-reverse .system-figure {
    grid-column: auto;
    grid-row: auto;
  }

  .software-capabilities ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .software-detail {
    padding-block: 40px;
  }

  .software-heading .software-lead {
    font-size: 17px;
  }

  .software-showcases {
    margin-top: 32px;
  }

  .software-showcase {
    padding-block: 28px;
  }

  .system-figure {
    padding: 24px 20px;
  }

  .system-pair {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .system-node {
    padding: 14px 12px;
  }

  .software-capabilities {
    padding: 24px 20px;
  }

  .software-capabilities ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Auftrag 20: neutrale Grafikplatzhalter; bisherige Flächengrößen angenähert. */
.system-placeholder {
  display: grid;
  min-height: 500px;
  place-items: center;
  text-align: center;
}

.software-showcase-reverse .system-placeholder {
  min-height: 440px;
}

.system-placeholder .system-placeholder-copy {
  max-width: 28ch;
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.system-placeholder-copy strong {
  display: block;
  color: var(--navy-deep);
  font-size: 18px;
  line-height: 1.4;
}

.system-placeholder-copy span {
  display: block;
  margin-top: 10px;
}

@media (min-width: 821px) and (max-width: 1280px) {
  .system-placeholder { min-height: 520px; }
  .software-showcase-reverse .system-placeholder { min-height: 460px; }
}

@media (max-width: 620px) {
  .system-placeholder { min-height: 580px; }
}

@media (max-width: 360px) {
  .system-placeholder { min-height: 600px; }
  .software-showcase-reverse .system-placeholder { min-height: 480px; }
}

/* Erweiterung G: flexible Spannweite logistischer Leistungen, keine Prozesskette. */
.logistics-detail {
  padding-bottom: 64px;
  background: #fff;
}

.logistics-content {
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.logistics-heading {
  max-width: 880px;
}

.logistics-heading h2 {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.15;
}

.logistics-heading > p:not(.eyebrow) {
  margin: 20px 0 0;
}

.logistics-heading .logistics-lead {
  font-size: 19px;
  line-height: 1.65;
}

.logistics-range {
  margin-top: 40px;
  padding: 32px;
  background: var(--info-surface);
}

.logistics-range h3,
.logistics-explanation h3,
.logistics-closing h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.logistics-range-intro {
  margin: 10px 0 0;
}

.logistics-illustrations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 28px;
}

.logistics-illustrations figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.logistics-illustrations img {
  width: 216px;
  height: 162px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 20px;
}

.logistics-illustrations strong {
  display: block;
  color: var(--accent-text);
  font-size: 18px;
  line-height: 1.4;
}

.logistics-illustrations figcaption > span {
  display: block;
  max-width: 30ch;
  margin: 10px auto 0;
  font-size: 15px;
  line-height: 1.6;
}

.logistics-explanation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  margin-top: 48px;
}

.logistics-explanation article {
  min-width: 0;
}

.logistics-explanation p {
  margin: 20px 0 0;
}

.logistics-explanation ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.logistics-explanation li {
  padding-left: 4px;
}

.logistics-explanation li + li {
  margin-top: 10px;
}

.logistics-explanation li::marker {
  color: var(--accent-decorative);
}

.logistics-closing {
  margin-top: 40px;
  padding: 28px 32px;
  border-left: 3px solid var(--accent-decorative);
  background: var(--info-surface);
}

.logistics-closing p {
  max-width: 100ch;
  margin: 14px 0 0;
}

@media (max-width: 820px) {
  .logistics-detail { padding-bottom: 48px; }
  .logistics-content { padding-top: 48px; }
  .logistics-illustrations { gap: 20px; }
  .logistics-illustrations img { width: 180px; height: 135px; }
  .logistics-explanation { gap: 32px; }
}

@media (max-width: 760px) {
  .logistics-illustrations { grid-template-columns: 1fr; gap: 36px; }
  .logistics-explanation { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .logistics-detail { padding-bottom: 36px; }
  .logistics-content { padding-top: 36px; }
  .logistics-heading .logistics-lead { font-size: 17px; }
  .logistics-range { margin-top: 32px; padding: 24px 20px; }
  .logistics-range h3, .logistics-explanation h3, .logistics-closing h3 { font-size: 22px; overflow-wrap: break-word; }
  .logistics-explanation { margin-top: 32px; }
  .logistics-closing { margin-top: 32px; padding: 24px 20px; }
}

/* Auftrag 25: Unternehmensvorstellung, ausschließlich neuer Abschnitt. */
.about-section {
  padding-bottom: 64px;
  background: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.about-copy h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.about-copy > p:not(.eyebrow) {
  margin: 20px 0 0;
  line-height: 1.7;
}

.about-summary {
  padding: 24px 28px;
  background: var(--info-surface);
  border-left: 3px solid var(--accent-decorative);
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 700;
}

.about-photo {
  position: relative;
  width: 100%;
  max-width: 840px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

@media (max-width: 1100px) {
  .about-inner { gap: 36px; }
}

@media (max-width: 980px) {
  .about-section { padding-bottom: 48px; }
  .about-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .about-photo { max-width: 640px; aspect-ratio: 3 / 2; }
}

@media (max-width: 620px) {
  .about-section { padding-bottom: 36px; }
  .about-inner { gap: 28px; padding-top: 36px; }
  .about-copy h2 { overflow-wrap: break-word; }
  .about-summary { padding: 20px; }
  .about-features { gap: 8px 20px; }
  .about-photo { aspect-ratio: 4 / 3; }
}

/* Auftrag 29: Kontaktaufforderung links, zusammengehörige Kontaktdaten rechts. */
.contact-section {
  padding-block: 56px;
  color: #fff;
  background: var(--navy-deep);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-kicker img { width: 56px; height: 56px; flex: none; }
.contact-kicker .eyebrow { margin: 0; color: #fff; }
.contact-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.contact-message {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--accent-decorative);
}
.contact-message p { margin: 0; font-size: 16px; line-height: 1.7; }
.contact-message ul { margin: 16px 0 0; padding-left: 20px; }
.contact-message li { padding-left: 2px; }
.contact-message li + li { margin-top: 4px; }
.contact-message li::marker { color: #fff; }

.contact-details {
  min-width: 0;
  margin-top: 76px;
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.contact-address { margin: 0; font-size: 18px; font-style: normal; line-height: 1.6; }
.contact-address strong { display: block; margin-bottom: 12px; }
.contact-address > span { display: block; }
.contact-options { display: grid; gap: 16px; margin-top: 24px; }
.contact-link {
  display: flex;
  min-width: 0;
  min-height: 64px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-block: 8px;
}
.contact-label { font-size: 14px; font-weight: 700; }
.contact-value { font-size: 19px; line-height: 1.4; white-space: nowrap; }
.contact-link:hover,
.contact-link:focus-visible { background: rgba(255, 255, 255, 0.06); }
.contact-link:hover .contact-value,
.contact-link:focus-visible .contact-value {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.contact-link:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }

.contact-footer {
  padding-block: 24px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--navy-deep);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-pending {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  padding-block: 10px;
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-pending { color: var(--text); }
.footer-pending small { font-size: 12px; }

@media (max-width: 1100px) {
  .contact-inner { gap: 36px; }
  .contact-details { padding-left: 32px; }
}

@media (max-width: 980px) {
  .contact-section { padding-block: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-details { margin-top: 0; padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
}

@media (max-width: 620px) {
  .contact-section { padding-block: 40px; }
  .contact-kicker { gap: 12px; margin-bottom: 16px; }
  .contact-kicker img { width: 48px; height: 48px; }
  .contact-heading h2 { overflow-wrap: break-word; }
  .contact-message { margin-top: 24px; padding-left: 16px; }
  .contact-address { font-size: 17px; }
  .contact-options { gap: 12px; margin-top: 20px; }
  .contact-footer { padding-block: 20px; }
  .footer-links { column-gap: 24px; }
}

/* Auftrag 32: dauerhaft sichtbare, abschaltbare Fixierung. */
:root {
  --sticky-header-height: 97px;
  /* Einziger Anker-Offset: gemessene Headerhöhe, gelöst 0px. */
  scroll-padding-top: var(--sticky-header-height);
}
.site-header { position: sticky; top: 0; z-index: 20; }
:root[data-sticky-header="false"] .site-header { position: relative; }
.skip-link { z-index: 30; }
.header-tools {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;

}
.header-inner > .main-nav { margin-left: auto; }
.pin-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 3px;
  color: var(--navy-deep);
  background: transparent;
  font: 700 12px/1.4 "Lato", sans-serif;
  cursor: pointer;
}
.pin-toggle:hover { background: var(--info-surface); }
.pin-toggle:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.pin-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pin-toggle[aria-pressed="true"] .pin-head { fill: currentColor; }

@media (max-width: 700px) {
  :root { --sticky-header-height: 150px; }
  .header-inner { flex-wrap: wrap; gap: 12px; padding-block: 18px 12px; }
  .header-tools { order: 1; margin-left: auto; }
  .header-inner > .main-nav { order: 2; width: 100%; margin-left: 0; justify-content: space-between; gap: 8px 14px; }
}

/* Auftrag 35: native Disclosure-Navigation, ohne neue mobile Navigationsstruktur. */
.services-navigation { position: relative; }
.services-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 10px 0; border: 0;
  background: transparent; color: inherit; font: inherit; cursor: pointer;
}
.services-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.services-toggle:hover { text-decoration: underline; text-underline-offset: 6px; }
.services-toggle:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.services-submenu {
  position: absolute; top: 100%; left: 0; z-index: 1;
  width: 248px; max-width: calc(100vw - 40px);
  max-height: calc(100dvh - var(--sticky-header-height) - 16px); overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
}
.services-submenu[hidden] { display: none; }
.services-submenu a { display: block; min-height: 44px; padding: 10px 12px; }
.services-submenu a:hover, .services-submenu a:focus-visible { background: var(--info-surface); }
.services-submenu a:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
/* Transparent source margins remain intact; visible circle approx. 54 / 46 px. */
.brand img { width: 62px; }
@media (max-width: 620px) {
  .brand img { width: 53px; }
  .services-toggle { padding-block: 8px; }
}

/* Fünf Navigationseinträge auf kleinen Displays geordnet in zwei Zeilen. */
@media (max-width: 420px) {
  .header-inner > .main-nav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 4px 12px;
  }
  .main-nav > a { display: flex; align-items: center; min-height: 44px; }
  .services-navigation { position: static; }
  .services-submenu { left: 0; top: 100%; }
}

/* Auftrag 39: kompakter Footer und separate Navigation im freien Desktoprand. */
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; }
.footer-copyright { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.floating-navigation { display: none; }
@media (min-width: 1440px) {
  .floating-navigation {
    position: fixed; right: max(16px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom)); z-index: 15;
    display: flex; flex-direction: column; gap: 10px;
  }
  .floating-navigation[hidden] { display: none; }
  .floating-navigation button {
    display: grid; place-items: center; width: 48px; height: 48px;
    padding: 0; border: 0; border-radius: 50%; color: #fff;
    background: var(--navy); cursor: pointer;
  }
  .floating-navigation button:hover:not(:disabled) { background: var(--navy-deep); }
  .floating-navigation button:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }
  .floating-navigation button:disabled { background: var(--text); cursor: default; }
  .floating-navigation svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}
@media (max-width: 760px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Auftrag 43: identische rein dekorative Trenner, Umbruch nach Listenbreite. */
.service-strip,
.about-features {
  --keyword-gap: 1.5rem;
  container: keyword-row / inline-size;
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  gap: 10px var(--keyword-gap);
}
.service-strip > li,
.about-features > li {
  position: relative;
  min-width: 0;
}
.service-strip > li + li::before,
.about-features > li + li::before {
  content: "";
  position: absolute;
  left: calc(var(--keyword-gap) / -2);
  top: 0.5lh;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-decorative);
  transform: translate(-50%, -50%);
}
@container keyword-row (max-width: 31rem) {
  .service-strip > li,
  .about-features > li { grid-column: 1 / -1; }
  .service-strip > li + li::before,
  .about-features > li + li::before { display: none; }
}
@media (max-width: 620px) {
  .service-strip > li,
  .about-features > li { grid-column: 1 / -1; }
  .service-strip > li + li::before,
  .about-features > li + li::before { display: none; }
}

/* Auftrag 49: Kundenheadline und laengere Hero-Schlagworte. */
.hero #hero-title { text-wrap: balance; }
/* Auftrag 51: drei Textspalten und zwei dekorative Punktspalten. */
.hero .service-strip {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: calc(var(--keyword-gap) / 2);
  align-items: start;
}
.hero .service-strip > li {
  padding-inline: 0;
  text-align: center;
}
.hero .service-strip > li + li::before { content: none; }
.hero .service-strip > .hero-keyword-separator {
  width: 5px;
  height: 5px;
  justify-self: center;
  margin-top: calc(0.5lh - 2.5px);
  border-radius: 50%;
  background: var(--accent-decorative);
}
@container keyword-row (max-width: 31rem) {
  .hero .service-strip > li { text-align: left; }
  .hero .service-strip > .hero-keyword-separator { display: none; }
}
@media (max-width: 620px) {
  .hero .service-strip > li { text-align: left; }
  .hero .service-strip > .hero-keyword-separator { display: none; }
}

/* Auftrag 53: Rechtsnavigation und ruhige, eigenstaendige Textseiten. */
.legal-navigation .services-submenu { left: auto; right: 0; }
.services-submenu a[aria-current="page"],
.footer-links a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.legal-page { min-height: 100svh; display: flex; flex-direction: column; }
.legal-page > .site-header { flex: none; }
.legal-content {
  width: min(76ch, calc(100% - 64px));
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 72px);
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.75;
}
.legal-content h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.2; margin-bottom: 32px; letter-spacing: -0.02em; }
.legal-content h2 { font-size: clamp(22px, 3vw, 27px); line-height: 1.35; margin: 36px 0 16px; }
.legal-content h3 { color: var(--navy-deep); font-size: 19px; line-height: 1.4; margin: 28px 0 14px; }
.legal-content p { margin: 0 0 18px; }
.legal-address { margin-bottom: 24px; }
.legal-address p { margin-bottom: 0; }
.legal-content ul { margin: 0 0 24px; padding-left: 1.5em; }
.legal-content li + li { margin-top: 6px; }
.legal-content a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.privacy-technical:not(:empty) { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 32px; }
@media (max-width: 620px) {
  .legal-content { width: calc(100% - 40px); }
}
@media (max-width: 420px) {
  .legal-navigation .services-submenu { left: 0; right: auto; }
}

/* Auftrag 55: gelieferte Bilder innerhalb der bestehenden Inhaltsbereiche. */
.service-detail-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}
.service-heading-copy { min-width: 0; }
.service-heading-image {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
}
.system-figure.system-image { padding: 16px; }
.system-image img {
  display: block;
  width: 100%;
  max-width: 1024px;
  height: auto;
  margin-inline: auto;
}
.about-photo img { object-position: center; }
@media (max-width: 1100px) {
  .service-detail-heading { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .service-detail-heading { gap: 20px; }
  .system-figure.system-image { padding: 12px; }
}

/* Auftrag 58: Gesamtbreite der mobilen Kette und gemeinsame Bildkanten. */
@media (max-width: 760px) {
  .process-steps {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }
}
@media (max-width: 820px) {
  .about-photo { max-width: 100%; }
}

/* Auftrag 62: Umsetzungshinweis ausschließlich unter dem Impressumsinhalt. */
.legal-content .imprint-credit { margin: 32px 0 0; font-size: 12px; }

/* Auftrag 64: Schriftgrafik auf Basis der vorhandenen Lato-Schrift. */
.email-image { display: inline-block; width: 9.223684em; height: auto; max-width: 100%; vertical-align: -0.16em; }
.contact-email:hover { background: none; }

/* Auftrag 71: schmalere Bildspalte nur im zweispaltigen Ueber-uns-Layout. */
@media (min-width: 981px) {
  .about-inner { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
