:root {
  --brand: #00727a;
  --brand-strong: #005c64;
  --focus: #005ea8;
  --ink: #17212b;
  --ink-soft: #273642;
  --muted: #63717d;
  --line: #d9e1e6;
  --paper: #ffffff;
  --white: #ffffff;
  --surface: #eef3f5;
  --surface-strong: #dfe7eb;
  --dark: #0d151c;
  --dark-2: #121f28;
  --container: 1240px;
  --pad: clamp(18px, 3vw, 36px);
  --radius: 8px;
  --shadow: 0 14px 36px rgba(13, 21, 28, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  background: var(--surface);
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 21, 28, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f8fa;
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1320px, calc(100% - 28px));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  color: #f4f8fa;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand span {
  font-size: clamp(17px, 1.5vw, 22px);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  color: rgba(244, 248, 250, 0.82);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: var(--brand);
}

.nav-services {
  position: relative;
  display: block;
  align-items: center;
}

.nav-services > a {
  white-space: nowrap;
}

.nav-services-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  z-index: 30;
  display: none;
  width: max-content;
  min-width: 250px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #111b23;
  box-shadow: var(--shadow);
}

.nav-services:hover .nav-services-menu,
.nav-services:focus-within .nav-services-menu {
  display: grid;
}

.nav-services-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  border-bottom: 0;
  color: #ffffff;
}

.nav-services-menu a:hover,
.nav-services-menu a:focus-visible {
  color: #ffffff;
  background: rgba(0, 165, 177, 0.22);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-hero-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  align-items: end;
  color: #ffffff;
  background: var(--dark);
  overflow: hidden;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 21, 28, 0.92), rgba(13, 21, 28, 0.6) 48%, rgba(13, 21, 28, 0.18)),
    linear-gradient(0deg, rgba(13, 21, 28, 0.72), transparent 45%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(90px, 12vw, 150px) clamp(54px, 8vw, 90px);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 6vw, 5.6rem);
  line-height: 1;
  font-weight: 900;
}

.hero-copy,
.page-hero-content p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
}

.button-primary {
  color: #071014;
  background: var(--brand);
}

.button-primary:hover {
  background: #4cc7ce;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: rgba(64, 198, 204, 0.18);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brand-strong);
  font-weight: 800;
}

.text-link:hover {
  color: var(--ink);
}

.metric-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric-grid div {
  min-height: 120px;
  padding: clamp(22px, 3vw, 34px);
  background: #ffffff;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
}

.metric-grid span {
  color: var(--ink-soft);
}

.section {
  padding-block: clamp(58px, 8vw, 104px);
  background: var(--surface);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-contrast {
  background: var(--surface);
}

.section-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-header h2,
.copy-block h2,
.page-copy h2,
.contact-card h2,
.download-item h2,
.value-grid h2,
.cta-content h2,
.narrow-copy h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 900;
}

.section-header p,
.copy-block p,
.page-copy p,
.narrow-copy p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 21, 28, 0.84), rgba(13, 21, 28, 0.12) 70%);
}

.feature-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 900;
}

.feature-card:hover img {
  transform: scale(1.06);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split-wide {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  align-items: start;
}

.split-reverse .copy-block {
  order: 2;
}

.split-reverse .image-panel {
  order: 1;
}

.copy-block,
.page-copy,
.narrow-copy {
  max-width: 760px;
}

.image-panel,
.certificate-panel,
.media-gallery {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.image-panel img,
.certificate-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.certificate-panel {
  display: block;
  padding: 18px;
  background: #ffffff;
}

.certificate-panel img {
  min-height: 0;
  object-fit: contain;
}

.page-hero {
  position: relative;
  min-height: clamp(330px, 44vw, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background: var(--dark);
}

.page-hero-compact {
  min-height: clamp(230px, 30vw, 360px);
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 21, 28, 0.88), rgba(13, 21, 28, 0.56) 55%, rgba(13, 21, 28, 0.18)),
    linear-gradient(0deg, rgba(13, 21, 28, 0.56), transparent 48%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(54px, 8vw, 92px);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 4.8rem);
}

.service-detail {
  position: relative;
  scroll-margin-top: 110px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.service-detail::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: -18px;
  width: 4px;
  border-radius: 999px;
  background: transparent;
}

.service-detail.active-service::before {
  background: var(--brand);
}

.service-detail.active-service h2 {
  color: var(--brand-strong);
}

.service-detail:first-of-type {
  margin-top: 28px;
}

.service-detail h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.service-detail h3 {
  font-size: 1rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 6px;
}

.process-link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(13, 21, 28, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.process-link img {
  grid-row: span 2;
  width: 92px;
  height: 84px;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}

.process-link span,
.process-link small {
  display: block;
  min-width: 0;
}

.process-link span {
  align-self: end;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.process-link small {
  align-self: start;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.process-link:hover,
.process-link.active-process {
  border-color: var(--brand);
  box-shadow: 0 14px 34px rgba(13, 21, 28, 0.12);
  transform: translateY(-2px);
}

.process-link.active-process {
  box-shadow: inset 4px 0 0 var(--brand), 0 14px 34px rgba(13, 21, 28, 0.12);
}

details {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 900;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 0 16px 16px;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.machine-list-intro {
  max-width: 820px;
}

.machine-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.machine-list-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(13, 21, 28, 0.08);
}

.machine-list-card-heading h3 {
  margin: 0;
}

.machine-list-card-heading .eyebrow {
  margin-bottom: 8px;
}

.machine-list-card .table-wrap {
  margin-top: 18px;
}

table caption {
  padding: 14px;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
  caption-side: top;
}

.machine-list-note {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: #ffffff;
  background: var(--ink);
  font-weight: 800;
}

tbody tr:hover td {
  background: rgba(64, 198, 204, 0.12);
}

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

.material-grid > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.media-gallery {
  position: sticky;
  top: 98px;
  height: clamp(360px, 46vw, 620px);
}

.media-gallery::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(13, 21, 28, 0.86), transparent);
}

.media-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: none;
}

.media-gallery img.active {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #ffffff;
}

.gallery-caption span,
.gallery-caption strong {
  display: block;
}

.gallery-caption span {
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-caption strong {
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  line-height: 1.05;
}

.gallery-placeholder {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 3;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(13, 21, 28, 0.72);
  font-weight: 800;
}

.value-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.value-grid article,
.contact-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.value-grid span,
.contact-card span,
.download-item span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.value-grid h2,
.contact-card h2,
.download-item h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.contact-card a {
  color: var(--brand-strong);
  font-weight: 800;
}

.contact-request-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.contact-request-list li::marker {
  color: var(--brand-strong);
}

.history-timeline {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-timeline li {
  display: grid;
  grid-template-columns: minmax(118px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.history-timeline strong {
  color: var(--brand-strong);
  font-size: 1.05rem;
}

.history-timeline span {
  line-height: 1.65;
}

.contact-map-section {
  color: var(--ink);
  overflow: hidden;
  background: var(--surface);
  padding-block: clamp(16px, 3vw, 30px) clamp(30px, 5vw, 58px);
}

.contact-map-shell {
  display: grid;
  gap: 12px;
}

.contact-map-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-link-bar {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 10px 22px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #111b23;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.contact-link-bar > div {
  min-width: 0;
}

.contact-link-bar span,
.contact-link-bar strong {
  display: block;
}

.contact-link-bar span {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-link-bar strong {
  color: #ffffff;
  font-size: 1rem;
}

.contact-link-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  min-width: 0;
}

.contact-link-bar nav a {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.94rem;
}

.contact-link-bar nav a:hover {
  color: var(--brand);
}

.contact-link-bar .text-link {
  justify-self: start;
  color: var(--brand);
  font-size: 0.94rem;
  font-weight: 900;
}

.contact-layout {
  align-items: stretch;
}

.contact-layout .contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.contact-location-panel img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.download-list {
  display: grid;
  gap: 14px;
}

.download-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(13, 21, 28, 0.08);
}

.download-item > span {
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: var(--radius);
  color: #071014;
  background: var(--brand);
}

.download-item:hover {
  border-color: var(--brand);
}

.legal-section {
  background: #ffffff;
}

.legal-content {
  max-width: 940px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(13, 21, 28, 0.08);
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  color: var(--ink);
  line-height: 1.18;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
}

.legal-content h3 {
  margin-top: 24px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content a {
  color: var(--brand-strong);
  overflow-wrap: anywhere;
  font-weight: 700;
}

.cta-band {
  padding-block: clamp(40px, 6vw, 70px);
  color: var(--ink);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-content h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
}

.cta-band .button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.cta-band .button-secondary:hover {
  color: #071014;
  border-color: var(--brand);
  background: rgba(64, 198, 204, 0.16);
}

.site-footer {
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.footer-grid strong,
.footer-grid span {
  display: block;
}

.footer-grid strong {
  color: var(--ink);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-grid a {
  color: var(--ink-soft);
  font-weight: 700;
}

.footer-grid a:hover,
.footer-grid a[aria-current="page"] {
  color: var(--brand);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-shell,
  .footer-grid,
  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .metric-grid,
  .tile-grid,
  .split,
  .split-wide,
  .value-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-section {
    color: var(--ink);
    background: var(--surface);
  }

  .contact-link-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    color: #ffffff;
    background: #111b23;
    border-color: rgba(255, 255, 255, 0.12);
  }

  .contact-link-bar strong {
    color: #ffffff;
  }

  .contact-link-bar nav {
    display: flex;
    gap: 8px 14px;
  }

  .contact-link-bar nav a {
    color: #ffffff;
  }

  .split-reverse .copy-block,
  .split-reverse .image-panel {
    order: initial;
  }

  .contact-card-wide {
    grid-column: auto;
  }

  .media-gallery {
    position: relative;
    top: auto;
    height: clamp(280px, 60vw, 440px);
  }
}

.breadcrumb,
[aria-label="Breadcrumb"],
[aria-label="Brotkrumen"] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a,
[aria-label="Breadcrumb"] a,
[aria-label="Brotkrumen"] a {
  color: var(--brand-strong);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.breadcrumb [aria-current="page"],
[aria-label="Breadcrumb"] [aria-current="page"],
[aria-label="Brotkrumen"] [aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 700;
}

.card,
.service-card,
.contact-block,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(13, 21, 28, 0.08);
}

.card,
.service-card,
.contact-block {
  padding: clamp(20px, 3vw, 32px);
}

.cta-card {
  padding: clamp(24px, 4vw, 42px);
  color: #ffffff;
  border-color: transparent;
  background: var(--dark-2);
}

.cta-card h2,
.cta-card p {
  color: inherit;
}

.faq,
.faq-list {
  display: grid;
  gap: 12px;
}

.faq details,
.faq-list details {
  margin-top: 0;
}

summary:hover {
  color: var(--brand-strong);
}

details[open] summary {
  border-bottom: 1px solid var(--line);
}

details > :not(summary) {
  margin-inline: 16px;
}

tbody tr:nth-child(even) td {
  background: rgba(13, 21, 28, 0.025);
}

tbody tr:hover td {
  background: rgba(0, 114, 122, 0.1);
}

.table-wrap:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.leistungen-nav,
[data-leistungen-nav] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.leistungen-nav a,
[data-leistungen-nav] a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-strong);
  background: var(--paper);
  font-weight: 800;
}

.leistungen-nav a:hover,
.leistungen-nav a[aria-current="page"],
[data-leistungen-nav] a:hover,
[data-leistungen-nav] a[aria-current="page"] {
  color: #ffffff;
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-weight: 800;
}

@media (max-width: 760px) {
  .history-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-shell.nav-enhanced {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .nav-enhanced .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-enhanced .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 10px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-enhanced.is-open .main-nav {
    display: grid;
    justify-content: stretch;
    gap: 2px;
  }

  .nav-enhanced .main-nav a {
    padding: 11px 2px;
  }

  .nav-enhanced .main-nav a:hover,
  .nav-enhanced .main-nav a[aria-current="page"] {
    border-bottom-color: transparent;
    color: var(--brand);
  }

  .nav-services {
    display: block;
  }

  .nav-services > a {
    padding: 11px 2px;
  }

  .nav-services-menu {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    min-width: 0;
    margin: 0 0 4px;
    padding: 4px 0 4px 14px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-enhanced.is-open .nav-services-menu {
    display: grid;
  }

  .nav-services-menu a {
    padding: 9px 2px;
  }

  .breadcrumb,
  [aria-label="Breadcrumb"],
  [aria-label="Brotkrumen"] {
    margin-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 16px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: 0;
    padding-block: 14px;
  }

  .main-nav {
    width: 100%;
    gap: 8px 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 610px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 12vw, 3.35rem);
  }

  .hero-content {
    padding-block: 96px 42px;
  }

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

  .button {
    width: 100%;
  }

  .feature-card,
  .feature-card img {
    min-height: 220px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-link {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 100px;
  }

  .process-link img {
    width: 82px;
    height: 76px;
  }

  .material-grid,
  .download-item {
    grid-template-columns: 1fr;
  }

  .download-item > span {
    width: 64px;
    height: 64px;
  }

  table {
    min-width: 520px;
  }

  .legal-content {
    padding: 22px 16px;
  }
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

main:focus {
  outline: 0;
}

a,
button,
summary {
  -webkit-tap-highlight-color: rgba(0, 114, 122, 0.18);
}

.button,
.nav-toggle,
.main-nav a,
.nav-services-menu a,
.contact-link-bar a,
.leistungen-nav a,
[data-leistungen-nav] a {
  min-height: 44px;
}

.button {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.button-primary {
  color: #ffffff;
  background: var(--brand-strong);
}

.button-primary:hover {
  background: #004e55;
}

.button-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.copy-block p a,
.page-copy p a,
.narrow-copy p a,
.contact-card p a,
.download-item p a,
.legal-content p a,
.legal-content li a {
  color: var(--brand-strong);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.section-header {
  margin-bottom: clamp(26px, 3vw, 38px);
}

.section-header p,
.copy-block p,
.page-copy p,
.narrow-copy p,
.contact-card p,
.download-item p,
.value-grid p {
  max-width: 70ch;
}

.value-grid article,
.contact-card,
.download-item,
.card,
.service-card,
.contact-block {
  border-color: #d4dee3;
}

.value-grid article,
.contact-card {
  display: flex;
  flex-direction: column;
}

.value-grid article .text-link,
.contact-card > a:last-child {
  margin-top: auto;
  padding-top: 12px;
}

.text-link {
  width: fit-content;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.text-link:hover {
  color: #003f45;
}

.cta-band {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-content {
  gap: clamp(24px, 4vw, 56px);
}

.cta-actions {
  align-items: center;
}

details {
  overflow: hidden;
  box-shadow: 0 7px 20px rgba(13, 21, 28, 0.05);
}

summary {
  position: relative;
  min-height: 52px;
  padding: 15px 48px 15px 18px;
  list-style: none;
  line-height: 1.35;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

details > :not(summary) {
  margin-inline: 18px;
}

details > p:last-child {
  margin-bottom: 20px;
}

.table-wrap {
  margin-top: 20px;
  padding: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  scrollbar-color: var(--brand-strong) var(--surface-strong);
  scrollbar-width: thin;
}

.table-wrap:focus-visible {
  outline-offset: 4px;
}

table {
  min-width: 640px;
}

th,
td {
  padding: 13px 14px;
  vertical-align: top;
}

th {
  background: var(--dark-2);
}

tbody tr:hover td {
  background: rgba(0, 114, 122, 0.08);
}

@media (hover: hover) {
  .feature-card:hover img {
    transform: scale(1.035);
  }

  .process-link:hover,
  .download-item:hover {
    border-color: var(--brand);
  }
}

@media (min-width: 841px) and (max-width: 1100px) {
  .nav-shell {
    gap: 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand span {
    font-size: 17px;
  }

  .main-nav {
    gap: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split,
  .split-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .image-panel img {
    min-height: 320px;
  }

  .media-gallery {
    position: relative;
    top: auto;
    height: clamp(320px, 56vw, 500px);
  }
}

@media (max-width: 840px) {
  .machine-list-grid {
    grid-template-columns: 1fr;
  }

  .machine-list-card {
    padding: 18px;
  }

  .nav-shell.nav-enhanced {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
  }

  .nav-enhanced .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
  }

  .nav-enhanced .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    max-height: min(66vh, 540px);
    overflow-y: auto;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-enhanced.is-open .main-nav {
    display: grid;
    justify-content: stretch;
    gap: 2px;
  }

  .nav-enhanced .main-nav a,
  .nav-services > a,
  .nav-services-menu a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 4px;
  }

  .nav-enhanced .main-nav a:hover,
  .nav-enhanced .main-nav a[aria-current="page"] {
    border-bottom-color: transparent;
    color: #ffffff;
    background: rgba(0, 114, 122, 0.2);
  }

  .nav-services-menu,
  .nav-enhanced.is-open .nav-services-menu {
    position: static;
    display: grid;
    grid-column: 1 / -1;
    width: auto;
    min-width: 0;
    margin: 0 0 4px;
    padding: 3px 0 3px 14px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-services-menu a {
    padding-left: 8px;
    font-size: 0.94rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
  }

  .nav-shell {
    width: min(100% - 24px, 1320px);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    font-size: 16px;
  }

  .page-hero {
    min-height: 280px;
  }

  .page-hero-content {
    padding-block: 56px 42px;
  }

  .metric-grid,
  .tile-grid,
  .value-grid,
  .contact-grid,
  .contact-layout .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .metric-grid div {
    min-height: 0;
    padding: 20px;
  }

  .hero-actions,
  .cta-actions {
    gap: 10px;
  }

  .cta-actions .button {
    width: 100%;
  }

  .contact-link-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .download-item {
    gap: 16px;
  }
}

@media (max-width: 390px) {
  :root {
    --pad: 14px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content {
    padding-block: 78px 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.95rem, 11vw, 2.7rem);
  }

  .nav-enhanced .nav-toggle {
    min-width: 70px;
    padding-inline: 10px;
  }

  .process-link {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .process-link img {
    width: 70px;
    height: 68px;
  }

  summary {
    padding-left: 14px;
    padding-right: 42px;
  }

  details > :not(summary) {
    margin-inline: 14px;
  }
}
