/* Clean rebuild for BECKMANN + EGLE
   Simple, local, framework-free CSS. */

:root {
  --red: #d9132e;
  --ink: #071120;
  --muted: #5c6674;
  --line: #d9dde2;
  --soft: #f5f6f7;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.new-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
  padding: 52px 76px 0 32px;
}

.new-logo {
  display: block;
  flex: 0 0 auto;
  width: 390px;
  max-width: 38vw;
  color: inherit;
}

.new-logo img {
  width: 100%;
  height: auto;
}

.new-nav {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 56px;
  padding-top: 19px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.new-nav a {
  position: relative;
  color: #020914;
  padding-bottom: 28px;
}

.new-nav a.active,
.new-nav a:hover {
  color: var(--red);
  text-decoration: none;
}

.new-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 45px;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: translateX(50%);
}

.new-nav a.active::after,
.new-nav a:hover::after {
  opacity: 1;
}

.new-menu-button {
  display: none;
  width: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.new-menu-button span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: currentColor;
}

.mobile-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: rgba(0,0,0,.16);
}

.mobile-offcanvas.open {
  display: block;
}

.mobile-offcanvas-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  min-height: 100vh;
  padding: 76px 34px 34px;
  background: #fff;
  box-shadow: -20px 0 50px rgba(0,0,0,.12);
}

.mobile-offcanvas ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-offcanvas li + li {
  margin-top: 20px;
}

.mobile-offcanvas a {
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-close::before,
.mobile-close::after {
  position: absolute;
  top: 16px;
  left: 5px;
  width: 25px;
  border-top: 2px solid var(--ink);
  content: "";
}

.mobile-close::before {
  transform: rotate(45deg);
}

.mobile-close::after {
  transform: rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

.page-content {
  width: min(100% - 88px, var(--max));
  margin: 0 auto;
  padding: 58px 0 62px;
}

.page-content.narrow {
  max-width: 860px;
}

.page-title {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.page-title h1 {
  margin: 0 0 18px;
  color: var(--red);
  font-size: clamp(38px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.page-title p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.red-mark {
  width: 58px;
  height: 2px;
  margin: 36px 0;
  background: var(--red);
}

.red-mark.small {
  width: 38px;
  margin: 20px 0 30px;
}

.hero {
  display: grid;
  grid-template-columns: 40fr 60fr;
  align-items: center;
  gap: clamp(44px, 6vw, 100px);
  min-height: clamp(500px, 44vw, 680px);
  padding: 18px 76px 54px 76px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
}

.hero-copy h1 strong {
  color: var(--red);
  font-weight: 400;
}

.hero-copy p {
  margin: 0;
  max-width: 500px;
  color: #101826;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.85;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  max-height: clamp(520px, 70vh, 760px);
  object-fit: contain;
  object-position: right center;
}

.ex-card {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr) 292px;
  align-items: center;
  gap: 42px;
  width: min(100% - 92px, 1274px);
  min-height: 292px;
  margin: 42px auto 64px;
  padding: 38px 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5f6f7, #fff);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.meter-photo {
  width: min(100%, 315px);
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.16));
}

.ex-copy h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.ex-copy h2 span {
  color: var(--red);
}

.ex-copy p {
  margin: 25px 0 32px;
  color: #222c39;
  font-size: 18px;
  line-height: 1.75;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 27px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.module-types {
  display: grid;
  gap: 34px;
  padding-left: 46px;
  border-left: 1px solid var(--line);
}

.module-type {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 26px;
}

.module-type span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 24px;
}

.module-type p {
  margin: 0;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 170px, var(--max));
  margin: 0 auto;
  padding: 0 0 42px;
}

.service-column {
  padding: 0 70px;
  border-right: 1px solid var(--line);
}

.service-column:first-child {
  padding-left: 0;
}

.service-column:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  color: var(--red);
}

.service-icon svg,
.support-grid svg,
.values-grid svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-column h2,
.text-section h2,
.timeline-section h2,
.values-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.service-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-column li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
  color: #1e2937;
  font-size: 14px;
  line-height: 1.45;
}

.service-column li::before {
  position: absolute;
  top: -1px;
  left: 0;
  color: var(--red);
  content: "›";
  font-size: 23px;
  line-height: 1;
}

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

.locations-grid img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.locations-grid h2 {
  margin: 22px 0 14px;
  color: var(--red);
  font-size: 18px;
  font-weight: 400;
}

.locations-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.text-section,
.timeline-section,
.values-section {
  margin-top: 72px;
}

.text-section.centered {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.text-section.centered .red-mark {
  margin-right: auto;
  margin-left: auto;
}

.text-section p {
  margin: 0 0 24px;
  color: #101826;
  font-size: 17px;
  line-height: 1.9;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 3px solid #c9ccd1;
}

.timeline article {
  min-height: 182px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.timeline h3 {
  margin: 0;
  color: var(--red);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 400;
}

.timeline strong {
  display: block;
  min-height: 0;
  max-width: 18ch;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
}

.timeline p {
  margin: 6px 0 0;
  max-width: 24ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  text-wrap: pretty;
}

@media (max-width: 1280px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .timeline article {
    min-height: 0;
  }
}

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

  .timeline article {
    min-height: 0;
    padding: 18px 16px;
  }

  .timeline h3,
  .timeline strong {
    font-size: 17px;
  }

  .timeline strong,
  .timeline p {
    max-width: none;
  }

  .timeline p {
    font-size: 13px;
  }
}


.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.values-grid article {
  min-height: 190px;
  padding: 36px 22px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.values-grid article:last-child {
  border-right: 0;
}

.values-grid h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.values-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: center;
  gap: 54px;
  margin: 72px 0;
}

.product-section.reverse .product-image {
  order: 2;
}

.product-image {
  text-align: center;
}

.product-image img {
  width: min(100%, 520px);
  margin: 0 auto;
}

.product-module-displays {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.product-module-displays img {
  width: min(46%, 300px);
}

.product-copy h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.product-copy h2 a {
  color: inherit;
}

.product-copy h2 a:hover {
  color: var(--red);
  text-decoration: none;
}

.product-copy > p {
  margin: 0 0 28px;
  font-size: 20px;
  line-height: 1.65;
}

.info-box {
  padding: 28px 40px;
  background: #f2f2f2;
}

.info-box p {
  margin: 0;
  line-height: 1.7;
}

.info-box small {
  font-size: 15px;
}

.info-box strong {
  font-size: 18px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 860px);
  margin: 0 auto 42px;
  border-top: 1px solid var(--line);
}

.support-grid article {
  min-height: 225px;
  padding: 42px 24px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.support-grid article:last-child {
  border-right: 0;
}

.support-grid a {
  display: grid;
  justify-items: center;
  color: var(--ink);
}

.support-grid a:hover h2 {
  color: var(--red);
}

.support-grid svg {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  color: var(--red);
}

.support-grid h2 {
  margin: 0 0 16px;
  font-size: 17px;
}

.support-grid p {
  max-width: 190px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.support-request {
  width: min(100%, 760px);
  margin: 40px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.support-request h2 {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 28px;
}

.support-request p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-card {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-card p {
  margin: 0 0 24px;
}

.contact-card strong {
  color: #59616c;
}

.ex-module-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  align-items: end;
  margin-bottom: 56px;
}

.ex-module-images figure {
  margin: 0;
  text-align: center;
}

.ex-module-images figcaption {
  margin-top: 12px;
  color: var(--muted);
}

.ex-manuals,
.price-info,
.manual-card {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 24, 38, 0.06);
}

.ex-manuals {
  margin: 0 0 44px;
}

.ex-manuals h2,
.ex-table-section h2,
.manual-preview h2 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 26px;
  font-weight: 400;
}

.ex-manuals p,
.ex-table-section p {
  margin: 0 0 16px;
  color: var(--muted);
}

.ex-manual-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ex-manual-list a,
.manual-actions a:not(.outline-button) {
  color: var(--red);
  font-weight: 400;
}

.ex-manual-list a {
  display: grid;
  gap: 5px;
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}

.ex-manual-list a:hover {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
}

.ex-manual-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.ex-table-section {
  margin: 0 0 42px;
}

.ex-module-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 15px;
}

.ex-module-table th,
.ex-module-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ex-module-table th {
  background: #f2f4f6;
  font-weight: 400;
}

.ex-price-table th:nth-child(n+4),
.ex-price-table td:nth-child(n+4) {
  width: 92px;
  text-align: right;
  white-space: nowrap;
}

.ex-price-table td:first-child,
.ex-price-table td:nth-child(2) {
  color: var(--red);
  font-weight: 400;
}

.price-group-start td {
  border-top: 2px solid #8c96a3;
}

.price-info {
  margin-top: 12px;
  background: #f8f9fa;
}

.price-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.manual-kicker,
.manual-type,
.price-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.manual-related-link {
  margin-top: 18px !important;
  font-size: 16px !important;
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 54px;
}

.manual-grid-compact {
  width: min(100%, 820px);
  margin-right: auto;
  margin-left: auto;
}

.manual-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  justify-content: space-between;
}

.manual-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.manual-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 24px;
}

.manual-preview {
  display: grid;
  gap: 22px;
  margin-top: 8px;
}

.manual-preview iframe {
  width: 100%;
  height: min(72vh, 820px);
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f7f8;
}

.legal-content {
  max-width: 960px;
}

.legal-content h1 {
  margin: 0 0 46px;
  color: var(--red);
  font-size: clamp(38px, 3.2vw, 48px);
  font-weight: 400;
  text-align: center;
}

.legal-content h2 {
  margin: 34px 0 14px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 400;
}

.legal-content h3 {
  margin: 26px 0 12px;
  font-size: 19px;
}

.legal-content p,
.legal-content li {
  font-size: 17px;
  line-height: 1.85;
}

.new-footer {
  width: min(100% - 170px, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: #1e2937;
  font-size: 14px;
}

.new-footer p {
  margin: 0 0 16px;
}

.new-footer nav {
  display: flex;
  justify-content: center;
  gap: 38px;
}

.new-footer a {
  color: var(--red);
  font-weight: 400;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .new-header {
    padding: 28px 30px 0;
  }

  .new-logo {
    width: 300px;
    max-width: calc(100vw - 110px);
  }

  .new-nav {
    display: none;
  }

  .new-menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 42px 30px 55px;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-copy {
    max-width: 640px;
  }

  .ex-card,
  .service-grid,
  .locations-grid,
  .timeline,
  .values-grid,
  .product-section,
  .support-grid,
  .ex-module-images,
  .manual-grid,
  .price-info-grid {
    grid-template-columns: 1fr;
  }

  .ex-card,
  .service-grid,
  .new-footer {
    width: min(100% - 44px, 760px);
  }

  .module-types,
  .service-column,
  .service-column:first-child,
  .service-column:last-child {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
  }

  .service-grid {
    gap: 44px;
  }

  .service-column {
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line);
  }

  .service-column:last-child {
    border-bottom: 0;
  }

  .product-section.reverse .product-image {
    order: 0;
  }

  .support-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .support-grid article:last-child {
    border-bottom: 0;
  }

  .values-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .page-content {
    width: min(100% - 36px, 680px);
    padding-top: 42px;
  }

  .page-title {
    margin-bottom: 42px;
  }

  .page-title h1,
  .legal-content h1 {
    font-size: 36px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .ex-card {
    padding: 28px 22px;
  }

  .info-box {
    padding: 22px;
  }

  .ex-manual-list {
    grid-template-columns: 1fr;
  }

  .ex-module-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .manual-preview iframe {
    min-height: 430px;
  }

  .new-footer nav {
    flex-direction: column;
    gap: 10px;
  }
}



/* HERO WHITE GRADIENT */
@media (min-width: 1101px) {
  .hero-visual {
    position: relative;
    overflow: hidden;
  }

  .hero-visual::before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 48%;
    pointer-events: none;
    content: "";
    background: linear-gradient(
      90deg,
      #fff 0%,
      rgba(255, 255, 255, 0.95) 28%,
      rgba(255, 255, 255, 0.62) 62%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .hero-visual img {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 1100px) {
  .hero-visual::before {
    display: none;
  }
}



/* TABLE REQUEST CENTER */
.ex-price-table td[colspan] {
  text-align: center;
}



/* MOBILE MENU HARDENING */
body {
  overflow-x: hidden;
}

/* Die mobile Navigation bleibt immer im sichtbaren Viewport.
   Panel kommt von rechts, nicht von links, und kann nicht außerhalb liegen. */
.mobile-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.16);
  transition: opacity 160ms ease, visibility 160ms ease;
}

.mobile-offcanvas.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-offcanvas-panel {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(86vw, 360px);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.mobile-offcanvas.open .mobile-offcanvas-panel {
  transform: translateX(0);
}

.mobile-close {
  z-index: 2;
}

@media (max-width: 380px) {
  .mobile-offcanvas-panel {
    width: 100vw;
  }
}



/* HERO RIGHT EDGE */
@media (min-width: 1101px) {
  .hero {
    padding-right: 0;
  }

  .hero-visual {
    margin-right: 0;
  }

  .hero-visual img {
    width: 100%;
  }
}



/* MOBILE MENU STYLE ALIGNMENT */
.mobile-offcanvas {
  background: transparent;
}

.mobile-offcanvas-panel {
  padding: 70px 0 28px;
  background: #fff;
  box-shadow: -14px 0 34px rgba(0, 0, 0, 0.10);
}

.mobile-offcanvas ul {
  width: 100%;
}

.mobile-offcanvas li + li {
  margin-top: 0;
}

.mobile-offcanvas a {
  display: block;
  width: 100%;
  padding: 15px 34px;
  color: #666;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}

.mobile-offcanvas a:hover,
.mobile-offcanvas a:focus,
.mobile-offcanvas a.active {
  background: #f2f2f2;
  color: var(--red);
  text-decoration: none;
}

.mobile-close {
  top: 18px;
  right: 18px;
}

@media (max-width: 380px) {
  .mobile-offcanvas a {
    padding-right: 26px;
    padding-left: 26px;
  }
}



/* PAGE TITLE WEIGHT FIX */
.page-title h1,
.legal-content h1 {
  font-weight: 400;
}



/* HEADING CONSISTENCY LIGHT WEIGHT */
/* Große Seitentitel und Abschnittsüberschriften: rot, leicht, konsistent. */
.page-title h1,
.legal-content h1,
.support-request h2,
.text-section h2,
.timeline-section h2,
.values-section h2,
.ex-manuals h2,
.ex-table-section h2,
.manual-preview h2 {
  color: var(--red);
  font-weight: 400;
}

/* Standort-Karten und Unternehmens-Unterpunkte ebenfalls nicht fett. */
.locations-grid h2,
.timeline h3,
.values-grid h3 {
  color: var(--red);
  font-weight: 400;
}

/* Kachel-/Produktüberschriften weniger schwer, aber nicht als Haupt-Seitentitel behandeln. */
.support-grid h2,
.product-copy h2,
.manual-card h2 {
  font-weight: 400;
}

/* Footer-Links ebenfalls etwas leichter. */
.new-footer a {
  font-weight: 400;
}



/* TEXT GREY ALIGNMENT */
/* Fließtexte und normale Inhaltsangaben näher an bue.de-alt: grau statt schwarz. */
:root {
  --text-gray: #5c6674;
}

body {
  color: var(--text-gray);
}

/* Normale Texte */
p,
li,
td,
th,
.page-title p,
.hero-copy p,
.ex-copy p,
.service-column li,
.locations-grid p,
.text-section p,
.timeline p,
.values-grid p,
.product-copy > p,
.info-box p,
.support-grid p,
.support-request p,
.contact-card,
.ex-manuals p,
.ex-table-section p,
.price-info-grid p,
.manual-card p,
.legal-content p,
.legal-content li {
  color: var(--text-gray);
}

/* Labels/strong-Texte nicht tiefschwarz wirken lassen */
.contact-card strong,
.info-box strong,
.price-info-grid strong {
  color: var(--text-gray);
}

/* Tabellen behalten Rot für Artikel/Ausführung, aber sonst grauer Fließtext */
.ex-module-table td {
  color: var(--text-gray);
}

.ex-module-table td:first-child,
.ex-module-table td:nth-child(2),
.ex-price-table td:first-child,
.ex-price-table td:nth-child(2) {
  color: var(--red);
}



/* FONT WEIGHT NORMALIZATION */
/* Keine visuell fette Schrift: Überschriften, Links, Tabellenköpfe und <strong> bleiben normalgewichtig. */
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
th,
.new-nav,
.new-nav a,
.mobile-offcanvas a,
.outline-button,
.page-title h1,
.legal-content h1,
.support-request h2,
.text-section h2,
.timeline-section h2,
.values-section h2,
.locations-grid h2,
.product-copy h2,
.support-grid h2,
.ex-copy h2,
.ex-manuals h2,
.ex-table-section h2,
.manual-preview h2,
.manual-card h2,
.new-footer a {
  font-weight: 400;
}



/* FIXED HERO IMAGE GRADIENT */
/* Verlauf ist jetzt direkt im Bild eingebaut.
   Der frühere CSS-Overlay-Verlauf wird deshalb deaktiviert. */
.hero-visual::before {
  display: none !important;
  content: none !important;
}

.hero-visual {
  overflow: visible;
}



/* HERO CENTERED MAX AREA */
/* Hero läuft auf großen Bildschirmen nicht mehr über die volle Breite,
   sondern bleibt wie die übrigen Inhalte in einem festen Maximalbereich. */
@media (min-width: 1101px) {
  .hero {
    width: min(100% - 88px, 1320px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
    gap: clamp(34px, 4vw, 72px);
  }

  .hero-visual {
    margin-right: 0;
  }

  .hero-visual img {
    width: 100%;
  }
}



/* HEADER HERO MAX ALIGNMENT */
/* Header/Logo/Menü nutzen auf großen Screens denselben zentrierten Maximalbereich wie der Hero. */
@media (min-width: 1101px) {
  .new-header {
    width: min(100% - 88px, 1320px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .new-logo {
    width: 390px;
    max-width: 32%;
  }

  .new-nav {
    gap: clamp(28px, 3.4vw, 56px);
  }

  .hero {
    width: min(100% - 88px, 1320px);
  }
}



/* FULLHD FLUID HERO */
/* Bis FullHD nutzt Header/Hero die verfügbare Breite.
   Erst oberhalb von 1920px wird der Bereich begrenzt und zentriert. */
@media (min-width: 1101px) and (max-width: 1920px) {
  .new-header {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: clamp(42px, 4vw, 76px);
    padding-left: clamp(32px, 4vw, 76px);
  }

  .hero {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: clamp(42px, 4vw, 76px);
    gap: clamp(42px, 5vw, 92px);
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .hero-visual img {
    width: 100%;
    max-height: clamp(540px, 58vh, 760px);
  }

  .ex-card,
  .service-grid,
  .new-footer {
    width: min(100% - 88px, 1274px);
  }
}

@media (min-width: 1921px) {
  .new-header,
  .hero {
    width: min(100% - 88px, 1680px);
    margin-right: auto;
    margin-left: auto;
  }

  .new-header {
    padding-right: 0;
    padding-left: 0;
  }

  .hero {
    padding-right: 0;
    padding-left: 0;
    gap: clamp(50px, 4vw, 96px);
  }

  .ex-card,
  .service-grid,
  .new-footer {
    width: min(100% - 88px, 1274px);
  }
}

/* Etwas mehr Luft zwischen Hero und EX-Karte. */
.ex-card {
  margin-top: clamp(62px, 5vw, 92px);
}



/* RESTORE FIXED HERO GRADIENT IMAGE */
/* Der Verlauf ist fest im Bild assets/paw3_real_w.png eingebaut.
   Alle alten CSS-Overlay-Verläufe werden hier sicher deaktiviert. */
.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-visual {
  overflow: visible;
}



/* HERO IMAGE V2 NO CSS GRADIENT */
/* Neues echtes Hero-Bild: assets/hero-paw3-wide-v2.jpg.
   Der Verlauf ist im Bild selbst angelegt; CSS-Overlays bleiben aus. */
.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-visual {
  overflow: visible;
}

.hero-visual img {
  display: block;
}



/* HERO IMAGE V3 MOCKUP STYLE */
/* Neues Hero-Bild nach der gewünschten Vorschau: heller Raum + Maschine,
   kein zusätzlicher CSS-Verlauf. */
.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-visual {
  overflow: visible;
}

.hero-visual img {
  display: block;
  object-fit: contain;
  object-position: right center;
}



/* HERO IMAGE V4 FINAL OVERRIDE */
/* Neues echtes Hero-Bild: assets/hero-paw3-wide-v4.jpg.
   Kein CSS-Verlauf, keine zusätzliche Pseudoebene. */
.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-visual {
  overflow: visible;
}

.hero-visual img {
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: right center;
}

/* Bis FullHD weiter flüssig, darüber begrenzt. */
@media (min-width: 1101px) and (max-width: 1920px) {
  .hero-visual img {
    max-height: clamp(560px, 62vh, 780px);
  }
}

@media (min-width: 1921px) {
  .hero-visual img {
    max-height: clamp(560px, 58vh, 760px);
  }
}



/* HERO ORIGINAL REWORKED FINAL */
/* Das Hero-Bild basiert wieder auf dem ursprünglichen Foto ohne Verlauf.
   Helligkeit und Verlauf sind fest im neuen Bild assets/hero-paw3-original-reworked.jpg.
   Keine CSS-Verläufe / keine Pseudo-Overlays. */
.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-visual {
  overflow: visible;
}

.hero-visual img {
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: right center;
}



/* FULLWIDTH HERO FINAL */
/* So wie in der markierten Vorschau:
   Hero bis FullHD auf 100% Breite, Text links darüber,
   Maschine rechts als volle Hero-Bildfläche.
   Kein CSS-Verlauf, keine Pseudo-Overlays, kein EX-Modul im Bild. */

.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

@media (min-width: 1101px) {
  .hero {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    min-height: clamp(560px, 39.6vw, 760px);
    margin: 0;
    padding: clamp(54px, 5.2vw, 100px) 0 clamp(62px, 5.2vw, 100px);
    overflow: hidden;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(34vw, 540px);
    margin-left: clamp(42px, 12vw, 300px);
    padding-top: clamp(24px, 2.5vw, 48px);
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center right;
  }

  .ex-card {
    margin-top: clamp(72px, 5.8vw, 110px);
  }
}

/* Ab FullHD+ wird der Header-/Hero-Innenbereich nicht endlos auseinandergezogen,
   aber das Hero-Bild bleibt eine saubere breite Fläche. */
@media (min-width: 1921px) {
  .new-header {
    width: min(100% - 88px, 1680px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .hero {
    width: min(100%, 1920px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy {
    margin-left: clamp(80px, 10vw, 260px);
  }
}

/* Mobile / Tablet: kein absoluter Hintergrund, Bild normal unter dem Text. */
@media (max-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }
}



/* HERO BRIGHTER GRADIENT IMAGE */
/* Hero-Bild ist aufgehellt und enthält den Verlauf fest im Bild.
   Keine zusätzlichen CSS-Verläufe. */
.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-visual img {
  object-position: center right;
}



/* HERO NO CROP FINAL */
/* Hero-Bild ist ein 1920x760-Banner aus dem ursprünglichen Foto,
   vollständig ohne vertikalen Zuschnitt. Kein CSS-Verlauf. */
.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

@media (min-width: 1101px) {
  .hero {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    min-height: clamp(560px, 39.6vw, 760px);
    margin: 0;
    padding: clamp(54px, 5.2vw, 100px) 0 clamp(62px, 5.2vw, 100px);
    overflow: hidden;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(34vw, 540px);
    margin-left: clamp(42px, 12vw, 300px);
    padding-top: clamp(24px, 2.5vw, 48px);
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
  }

  .hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center right;
  }

  .ex-card {
    margin-top: clamp(72px, 5.8vw, 110px);
  }
}

@media (min-width: 1921px) {
  .new-header {
    width: min(100% - 88px, 1680px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .hero {
    width: min(100%, 1920px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy {
    margin-left: clamp(80px, 10vw, 260px);
  }
}

@media (max-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }
}



/* HERO COMPOSED FROM ORIGINAL FINAL */
/* Quelle: ursprüngliches Hero-Foto ohne Verlauf.
   Neues Asset: assets/hero-paw3-composed.jpg.
   Der helle Negativraum und Übergang sind im Bild komponiert.
   Keine CSS-Verläufe, keine Screenshot-/Vorschau-Quelle. */

.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

@media (min-width: 1101px) {
  .hero {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    min-height: clamp(560px, 39.6vw, 760px);
    margin: 0;
    padding: clamp(54px, 5.2vw, 100px) 0 clamp(62px, 5.2vw, 100px);
    overflow: hidden;
    background: #fff;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(34vw, 540px);
    margin-left: clamp(42px, 12vw, 300px);
    padding-top: clamp(24px, 2.5vw, 48px);
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
  }

  .hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center right;
  }

  .ex-card {
    margin-top: clamp(72px, 5.8vw, 110px);
  }
}

@media (min-width: 1921px) {
  .new-header {
    width: min(100% - 88px, 1680px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .hero {
    width: min(100%, 1920px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy {
    margin-left: clamp(80px, 10vw, 260px);
  }
}

@media (max-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }
}



/* TRUE FINAL HEADER HERO WIDTH */
/* Finaler Stand:
   - Header und Hero laufen bis FullHD als breite Fläche.
   - Oberhalb davon werden sie auf echte FullHD-Breite begrenzt, nicht auf 1320px.
   - Inhalt darunter bleibt kompakt begrenzt.
   - Hero nutzt das komponierte Bild aus dem Originalfoto, kein CSS-Verlauf. */

.hero-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

@media (min-width: 1101px) and (max-width: 1920px) {
  .new-header {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: clamp(42px, 4vw, 76px) !important;
    padding-left: clamp(32px, 4vw, 76px) !important;
  }

  .hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: clamp(560px, 39.6vw, 760px) !important;
    margin: 0 !important;
    padding: clamp(54px, 5.2vw, 100px) 0 clamp(62px, 5.2vw, 100px) !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    width: min(34vw, 540px) !important;
    margin-left: clamp(42px, 12vw, 300px) !important;
    padding-top: clamp(24px, 2.5vw, 48px) !important;
  }

  .hero-visual {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .hero-visual img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center right !important;
  }
}

@media (min-width: 1921px) {
  .new-header {
    width: min(100% - 88px, 1920px) !important;
    max-width: 1920px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .hero {
    position: relative !important;
    display: block !important;
    width: min(100% - 88px, 1920px) !important;
    max-width: 1920px !important;
    min-height: 760px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 84px 0 88px !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    width: 540px !important;
    margin-left: 0 !important;
    padding-top: 34px !important;
  }

  .hero-visual {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .hero-visual img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center right !important;
  }
}

/* Der Bereich unter dem Hero bleibt bewusst schmal/ruhig wie vorher. */
.ex-card {
  margin-top: clamp(72px, 5.8vw, 110px) !important;
}



/* TEXTBLOCK POSITION FINAL */
/* Textblock sitzt im hellen linken Hero-Bereich:
   nicht zu weit außen, nicht zu tief, konsistent bis FullHD. */
@media (min-width: 1101px) and (max-width: 1920px) {
  .hero {
    padding-top: clamp(26px, 3.2vw, 58px) !important;
    padding-bottom: clamp(72px, 5.2vw, 100px) !important;
  }

  .hero-copy {
    width: min(32vw, 520px) !important;
    margin-left: clamp(190px, 16vw, 310px) !important;
    padding-top: 0 !important;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 3.75vw, 62px) !important;
    line-height: 1.14 !important;
  }

  .hero-copy p {
    max-width: 500px !important;
  }
}

@media (min-width: 1921px) {
  .hero-copy {
    width: 520px !important;
    margin-left: 310px !important;
    padding-top: 0 !important;
  }

  .hero {
    padding-top: 58px !important;
    padding-bottom: 100px !important;
  }
}



/* TEXTBLOCK LEFT ALIGN FINAL */
/* Textblock wieder auf denselben linken Abstand wie die übrigen Seitenteile setzen.
   Bei FullHD: 76px vom linken Rand, nicht eingerückt in die Mitte. */
@media (min-width: 1101px) and (max-width: 1920px) {
  .hero-copy {
    margin-left: 76px !important;
    padding-top: 0 !important;
  }
}

@media (min-width: 1921px) {
  .hero-copy {
    margin-left: 76px !important;
    padding-top: 0 !important;
  }
}



/* TEXTBLOCK LOWER FINAL */
/* Textblock leicht tiefer setzen, bei gleichem linken Abstand. */
@media (min-width: 1101px) and (max-width: 1920px) {
  .hero-copy {
    padding-top: 24px !important;
  }
}

@media (min-width: 1921px) {
  .hero-copy {
    padding-top: 24px !important;
  }
}
