/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: #000;
  background: #fff;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

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

button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  --blue: #3677b9;
  --bg-alt: #e5f2fc;
  --bg-alt-soft: #dceaf7;
  --category-foerdergurte: #3e8990;
  --category-verschleissschutz: #6b5ba7;
  --category-foerderbandkomponenten: #be4a42;
  --category-reparaturmaterial: #d97824;
  /* Visual header (may shrink on scroll). Layout offset stays fixed — no scroll jank. */
  --header-height-expanded: 140px;
  --header-height-scrolled: 50px;
  --header-height: 140px;
  --header-offset: var(--header-height-scrolled);
  --logo-offset-left: 25px;
  --logo-offset-top: 20px;
  --logo-height: 100px;
  --logo-height-scrolled: 24px;
  --font-text: "neue-haas-grotesk-text", sans-serif;
  --font-display: "neue-haas-grotesk-display", sans-serif;
  --menu-open-header-height: var(--header-height-scrolled);
  --menu-title-col: minmax(180px, 22%);
  --menu-grid-gap: 24px;
  --menu-section-gap: 30px;
  --header-transition-duration: 0.3s;
  --header-transition-easing: ease;

  /* Breakpoints (reference; used in media queries below) */
  --bp-md: 720px;
  --bp-lg: 1024px;

  /* Spacing (core scale — micro gaps stay literal) */
  --space-gutter: 25px;
  --space-section: 40px;
  --space-section-end: 60px; /* last text line → bottom edge of block */
  --space-before-footer: 100px; /* extra air between last content and footer — all pages */
  --space-gap: 24px;
  --space-stack: 16px;
  --btn-padding: 13px 22px 14px 24px;

  /* Content widths */
  --width-body: 580px;
  --width-content-lead: 860px;
  --width-headline: 900px;

  /* Typography scale (fluid via clamp — max = desktop) */
  --type-display-xl: 600 clamp(36px, 2.5rem + 2.5vw, 60px) / 100% var(--font-display);
  --type-display-l: 600 clamp(30px, 1.75rem + 2.2vw, 48px) / 100% var(--font-display);
  --type-display-m: 600 clamp(26px, 1.5rem + 1.8vw, 40px) / 100% var(--font-display);
  --type-display-s: 600 clamp(24px, 1.35rem + 1.6vw, 36px) / 105% var(--font-display);
  --type-stat: 600 clamp(40px, 2rem + 4vw, 72px) / 100% var(--font-display);
  --type-lead: 400 clamp(20px, 1.1rem + 1.2vw, 28px) / 120% var(--font-text);
  --type-accordion: 500 clamp(20px, 1.1rem + 1.2vw, 28px) / 125% var(--font-text);
  --type-eyebrow: 500 clamp(16px, 0.9rem + 0.35vw, 18px) / 125% var(--font-text);
  --type-subhead: 500 clamp(18px, 1rem + 0.7vw, 23px) / 125% var(--font-text);
  --type-body: 400 clamp(16px, 0.9rem + 0.35vw, 18px) / 130% var(--font-text);
  --type-ui-m: 500 clamp(15px, 0.85rem + 0.25vw, 16px) / 125% var(--font-text);
  --type-ui-m-compact: 500 clamp(15px, 0.85rem + 0.25vw, 16px) / 100% var(--font-text);
  --type-small: 400 clamp(15px, 0.85rem + 0.25vw, 16px) / 130% var(--font-text);
  --type-small-medium: 500 clamp(15px, 0.85rem + 0.25vw, 16px) / 130% var(--font-text);
  --type-footer-label: 500 clamp(14px, 0.8rem + 0.2vw, 15px) / 125% var(--font-text);
  --type-footer-link: 400 13px / 125% var(--font-text);
  --type-legal: 400 12px / 125% var(--font-text);
  --type-menu-product: 400 12px / 112% var(--font-text);
  --type-menu-lang: 400 clamp(14px, 0.8rem + 0.2vw, 15px) / 100% var(--font-text);
  --type-form-menu: 400 14px / 100% var(--font-text);
}

@property --header-height {
  syntax: "<length>";
  inherits: true;
  initial-value: 140px;
}

@property --logo-height {
  syntax: "<length>";
  inherits: true;
  initial-value: 100px;
}

body {
  transition:
    --header-height var(--header-transition-duration) var(--header-transition-easing),
    --logo-height var(--header-transition-duration) var(--header-transition-easing);
}

body.product-detail-page,
body.legal-page {
  transition: none;
}

/* --------------------------------------------------------------------------
   Typography — shared metrics (color, margin & hover per component)
   -------------------------------------------------------------------------- */
.hero-tagline {
  font: var(--type-display-xl);
  font-style: normal;
}

.leistungen-headline,
.product-detail-headline {
  font: var(--type-display-l);
  font-style: normal;
}

.produkte-category-title {
  font: var(--type-display-m);
  font-style: normal;
}

.menu-section-title,
.product-card__title,
.news-card__title,
.leistungen-bonus-card__level,
.typography-guide-section-title {
  font: var(--type-display-s);
  font-style: normal;
}

.content-lead {
  font: var(--type-lead);
}

.leistungen-eyebrow,
.produkte-eyebrow,
.nachhaltigkeit-sub-eyebrow,
.product-detail-eyebrow,
.product-category-eyebrow,
.nav-list a {
  font: var(--type-eyebrow);
}

.content-item-title {
  font: var(--type-subhead);
}

.stat__value {
  font: var(--type-stat);
  font-style: normal;
}

.stat__label {
  font: var(--type-eyebrow);
}

.produktwissen-accordion__title {
  font: var(--type-accordion);
}

.leistungen-body,
.product-detail-body,
.leistungen-bonus-list li {
  font: var(--type-body);
}

/* Long words can wrap; auto-hyphenation only ≤1024 (see media query) */
.content-lead,
.leistungen-body,
.product-detail-body,
.product-card__teaser,
.product-card__title,
.produkte-category-title,
.produkte-list a,
.leistungen-headline,
.product-detail-headline,
.produktwissen-accordion__title,
.page-hero__sidebar-copy,
.stat__label,
.leistungen-bonus-list li,
.hero-tagline {
  overflow-wrap: break-word;
}

.menu-sub-link,
.menu-product-cat,
.menu-section--kontakt .menu-newsletter-link {
  font: var(--type-ui-m);
}

.btn-primary,
.product-detail-catalog {
  font: var(--type-ui-m-compact);
  font-style: normal;
}

.product-card__teaser,
.produkte-list a,
.page-hero__sidebar-copy,
.product-detail-sidebar .produkte-list li,
.product-detail-table td {
  font: var(--type-small);
}

.product-detail-table thead th,
.product-detail-table tbody th {
  font: var(--type-small-medium);
}

.site-footer-col-title,
.site-footer-newsletter-text,
.site-footer-catalog,
.menu-catalog-btn {
  font: var(--type-footer-label);
}

.site-footer-links a,
.footer-newsletter-form .newsletter-form__controls input {
  font: var(--type-footer-link);
}

.site-footer-legal,
.menu-footer-legal {
  font: var(--type-legal);
}

.menu-product-links .menu-sub-link {
  font: var(--type-menu-product);
}

.menu-lang {
  font: var(--type-menu-lang);
}

.menu-newsletter-form .newsletter-form__controls input {
  font: var(--type-form-menu);
}

.kontakt-form__label {
  font: var(--type-footer-label);
  font-weight: 400;
}

.kontakt-form__input,
.kontakt-form__textarea {
  font: var(--type-form-menu);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--header-height);
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-gutter) var(--logo-offset-top) var(--logo-offset-left);
  transition: padding var(--header-transition-duration) var(--header-transition-easing);
}

.site-logo {
  flex-shrink: 0;
  display: block;
  height: var(--logo-height);
}

.site-logo img {
  display: block;
  width: auto;
  height: var(--logo-height);
}

/* Scrolled header (closed menu) */
body.product-detail-page:not(.menu-open),
body.legal-page:not(.menu-open),
body.is-scrolled:not(.menu-open) {
  --header-height: var(--header-height-scrolled);
  --logo-height: var(--logo-height-scrolled);
}

body.product-detail-page:not(.menu-open) .header-inner,
body.legal-page:not(.menu-open) .header-inner,
body.is-scrolled:not(.menu-open) .header-inner {
  align-items: center;
  padding: 0 var(--space-gutter);
}

body.product-detail-page:not(.menu-open) .nav-list,
body.legal-page:not(.menu-open) .nav-list,
body.is-scrolled:not(.menu-open) .nav-list {
  display: none;
}

body.product-detail-page:not(.menu-open) .burger-toggle,
body.legal-page:not(.menu-open) .burger-toggle,
body.is-scrolled:not(.menu-open) .burger-toggle {
  align-items: center;
  padding: 0;
}

body.product-detail-page:not(.menu-open) .burger-toggle .burger-icon,
body.legal-page:not(.menu-open) .burger-toggle .burger-icon,
body.is-scrolled:not(.menu-open) .burger-toggle .burger-icon {
  transform: none;
}

.main-nav {
  display: flex;
  align-items: flex-end;
  gap: 36px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: flex-end;
  gap: 28px;
}

.nav-list a {
  position: relative;
  color: var(--blue);
  white-space: nowrap;
  padding-bottom: 3px;
}

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--blue);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  opacity: 0.75;
}

.burger-toggle {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  min-width: 0;
  min-height: 0;
  padding: 12px 0 0;
}

.burger-toggle .burger-icon {
  width: 23px;
  height: auto;
  transform: translateY(-7px);
  transition: none;
}

.burger-toggle .close-icon {
  display: none;
  color: var(--blue);
  transform: none;
  transition: none;
}

body.menu-open .burger-toggle .burger-icon {
  display: none;
}

body.menu-open .burger-toggle .close-icon {
  display: block;
}

.burger-toggle:hover,
.burger-toggle:focus-visible {
  opacity: 0.75;
}

.menu-lang {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

body.menu-open .menu-lang {
  display: flex;
}

body.menu-open .nav-list {
  display: none;
}

.menu-lang a.is-active {
  font-weight: 700;
}

.menu-lang a:not(.is-active) {
  font-weight: 400;
}

.menu-lang span {
  opacity: 0.6;
}

/* Full-screen menu overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  background: #fff;
  padding-top: var(--header-height);
}

.nav-overlay.is-open {
  display: flex;
}

body.menu-open {
  overflow: hidden;
  transition: none;
}

body.menu-open .nav-overlay {
  padding-top: var(--menu-open-header-height);
}

body.menu-open .site-header {
  height: var(--menu-open-header-height);
  transition: none;
}

body.menu-open .header-inner {
  position: relative;
  display: grid;
  grid-template-columns: var(--menu-title-col) repeat(4, minmax(0, 1fr));
  column-gap: var(--menu-grid-gap);
  align-items: center;
  padding: 0 var(--space-gutter);
}

body.menu-open .site-logo {
  grid-column: 1;
}

body.menu-open .site-logo,
body.menu-open .site-logo img {
  height: var(--logo-height-scrolled);
  transition: none;
}

body.menu-open .menu-lang {
  grid-column: 5;
  justify-self: start;
  margin: 0;
}

body.menu-open .main-nav {
  position: absolute;
  right: var(--space-gutter);
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
}

body.menu-open .burger-toggle {
  align-items: center;
  padding: 0;
}

body.menu-open .burger-toggle .close-icon {
  transform: none;
}

.menu-scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.menu-rule {
  flex-shrink: 0;
  height: 1px;
  margin: 0 var(--space-gutter);
  border: none;
  background: var(--blue);
}

.menu-spacer {
  flex: 1 1 var(--menu-section-gap);
  min-height: var(--menu-section-gap);
}

.menu-section {
  display: grid;
  grid-template-columns: var(--menu-title-col) repeat(4, minmax(0, 1fr));
  column-gap: var(--menu-grid-gap);
  row-gap: 2px;
  align-items: start;
  flex-shrink: 0;
  padding: 10px var(--space-gutter) 0;
}

.menu-section-title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: #000;
  transition: color 0.15s ease;
}

.menu-section-title:hover,
.menu-section-title a:hover,
.menu-section-title a:focus-visible {
  color: var(--blue);
}

.menu-section-title a {
  color: inherit;
  text-decoration: none;
}

.menu-sub-link {
  color: #000;
}

.menu-sub-link:hover,
.menu-sub-link:focus-visible {
  color: var(--blue);
}

.menu-section > .menu-sub-link:nth-child(2) {
  grid-column: 2;
}

.menu-section > .menu-sub-link:nth-child(3) {
  grid-column: 3;
}

.menu-section > .menu-sub-link:nth-child(4) {
  grid-column: 4;
}

.menu-section > .menu-sub-link:nth-child(5) {
  grid-column: 5;
}

.menu-section--products {
  padding-top: 8px;
}

.menu-section--products .menu-product-col:nth-child(2) {
  grid-column: 2;
}

.menu-section--products .menu-product-col:nth-child(3) {
  grid-column: 3;
}

.menu-section--products .menu-product-col:nth-child(4) {
  grid-column: 4;
}

.menu-section--products .menu-product-col:nth-child(5) {
  grid-column: 5;
}

.menu-product-col {
  min-width: 0;
}

.menu-product-cat {
  margin: 0 0 8px;
  color: #000;
}

.menu-product-cat a {
  color: inherit;
  text-decoration: none;
}

.menu-product-cat a:hover,
.menu-product-cat a:focus-visible {
  color: var(--blue);
}

.menu-product-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.menu-product-links li {
  margin: 0;
  padding: 0;
}

.menu-product-links .menu-sub-link {
  display: block;
  letter-spacing: 0.01em;
}

.menu-kontakt-content {
  grid-column: 2 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.menu-section--kontakt .menu-newsletter-link {
  color: var(--blue);
  white-space: nowrap;
}

.menu-section--kontakt .menu-newsletter-link:hover,
.menu-section--kontakt .menu-newsletter-link:focus-visible {
  opacity: 0.75;
}

.menu-kontakt-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 3px;
}

.menu-newsletter-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: min(100%, 320px);
  margin-left: -5px;
  background: none;
}

.menu-newsletter-form .newsletter-form__controls {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
}

.menu-newsletter-form .newsletter-form__controls input {
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #000;
  outline: none;
}

.menu-newsletter-form .newsletter-form__controls input::placeholder {
  color: var(--blue);
  opacity: 1;
}

.menu-newsletter-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.menu-newsletter-form button img {
  display: block;
}

.menu-footer {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  padding: 0 var(--space-gutter) var(--space-gutter);
}

.menu-footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
  color: var(--blue);
}

.menu-footer-legal a:hover,
.menu-footer-legal a:focus-visible {
  opacity: 0.75;
}

.menu-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}

.menu-catalog-btn img {
  display: block;
}

.menu-catalog-btn:hover,
.menu-catalog-btn:focus-visible {
  opacity: 0.9;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
main {
  flex: 1 0 auto;
  width: 100%;
  padding-top: var(--header-offset);
  padding-bottom: var(--space-before-footer);
}

body.produktwissen-page main,
body.news-page main,
body.kontakt-page main {
  padding-top: var(--header-height-expanded);
}

.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-offset));
  min-height: 480px;
  overflow: hidden;
  background: #111;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.hero-tagline {
  position: absolute;
  left: 0;
  bottom: 75px;
  max-width: 75%;
  margin: 0;
  padding: 0 var(--space-gutter);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Leistungen intro
   -------------------------------------------------------------------------- */
.leistungen-intro {
  padding: var(--space-section) var(--space-gutter) var(--space-section-end);
  background: #fff;
}

.leistungen-intro--home {
  padding-bottom: var(--space-section-end);
}

.leistungen-intro-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}

.leistungen-intro-main {
  grid-column: 1 / span 5;
  min-width: 0;
}

.leistungen-intro--home .leistungen-intro-main {
  grid-column: 1 / span 8;
}

.leistungen-intro--home .leistungen-headline {
  max-width: var(--width-headline);
  text-wrap: balance;
}

.leistungen-eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
}

.leistungen-headline {
  margin: 0 0 40px;
  color: #000;
}

.leistungen-intro-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: var(--width-body);
}

.leistungen-intro-content .btn-primary {
  gap: 8px;
  margin-left: -3px;
}

.leistungen-body {
  margin: 0;
  color: #000;
}

.leistungen-body + .leistungen-body {
  margin-top: 1em;
}

.content-lead {
  margin: 0;
  color: #000;
}

.content-lead + .leistungen-body {
  margin-top: 1.25em;
}

.content-lead + .content-lead {
  margin-top: 1.25em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-section);
  padding: var(--btn-padding);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  opacity: 0.9;
}

.btn-primary__icon {
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-primary__icon,
.btn-primary:focus-visible .btn-primary__icon {
  transform: translateX(3px);
}

.leistungen-intro-image {
  grid-column: 9 / span 4;
  width: 100%;
  height: auto;
  min-width: 0;
  margin-bottom: 40px;
  object-fit: contain;
}

.leistungen-intro--home.leistungen-intro--image-slim .leistungen-intro-image {
  grid-column: 10 / span 3;
}

.leistungen-intro--home.leistungen-intro--image-wide .leistungen-intro-main {
  grid-column: 1 / span 6;
}

.leistungen-intro--home.leistungen-intro--image-wide .leistungen-intro-image {
  grid-column: 7 / span 6;
}

.leistungen-intro--home.leistungen-intro--image-full .leistungen-intro-image {
  grid-column: 1 / -1;
}

.leistungen-intro--alt {
  background: var(--bg-alt);
  padding-bottom: var(--space-section-end);
}

.leistungen-intro--karriere {
  padding: 0 var(--space-gutter) 0 0;
  scroll-margin-top: var(--header-offset);
}

.leistungen-intro--karriere.leistungen-intro--alt {
  padding-bottom: 0;
}

.leistungen-intro--karriere .leistungen-intro-inner {
  display: block;
  width: 100%;
}

.karriere-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-section);
  align-items: stretch;
}

.karriere-layout__media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.karriere-layout__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.karriere-layout__content {
  padding: var(--space-section) 0 var(--space-section-end);
}

.karriere-layout__content .leistungen-intro-content {
  max-width: none;
}

.karriere-layout__content .leistungen-body {
  max-width: var(--width-body);
}

.leistungen-intro--karriere .leistungen-body a {
  color: var(--blue);
}

.leistungen-intro--karriere .leistungen-body a:hover {
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Produkte intro
   -------------------------------------------------------------------------- */
.produkte-intro {
  --produkte-intro-pad-x: var(--space-gutter);
  --produkte-intro-pad-y: var(--space-section);
  --produkte-intro-pad-bottom: var(--space-section-end);
  padding: var(--produkte-intro-pad-y) var(--produkte-intro-pad-x)
    var(--produkte-intro-pad-bottom);
  background: var(--bg-alt);
}

.produkte-intro-inner {
  width: 100%;
}

.produkte-eyebrow {
  margin: 0 0 var(--space-stack);
  color: var(--blue);
}

.produkte-category {
  --category-color: var(--blue);
}

.produkte-rule {
  height: 1px;
  margin: 0;
  border: none;
  background: var(--blue);
}

.produkte-category-body {
  position: relative;
  padding-top: 16px;
  padding-bottom: 30px;
}

.produkte-category-accent {
  position: absolute;
  left: calc(-1 * var(--produkte-intro-pad-x));
  top: 0;
  bottom: 0;
  width: calc(var(--space-gutter) / 2);
  background: var(--category-color);
}

.produkte-category:last-child .produkte-category-accent {
  bottom: calc(-1 * var(--produkte-intro-pad-bottom));
}

.produkte-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0;
}

.produkte-category-title {
  margin: 0;
  color: #000;
}

.produkte-category-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.produkte-category-title a:hover,
.produkte-category-title a:focus-visible {
  color: var(--blue);
}

.produkte-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}

.produkte-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.produkte-list a {
  color: #000;
}

.produkte-list a:hover,
.produkte-list a:focus-visible {
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   Leistungen services
   -------------------------------------------------------------------------- */
.leistungen-services {
  padding: var(--space-section) var(--space-gutter) var(--space-section-end);
  background: #fff;
}

.leistungen-services-inner {
  width: 100%;
}

.leistungen-services-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Wider than page gutter on purpose — equal column rhythm */
  gap: var(--space-section);
}

.leistungen-services-col .produkte-category-title {
  margin-bottom: 0;
}

.leistungen-services-icon {
  display: block;
  width: 160px;
  height: auto;
  margin-bottom: 0;
}

.leistungen-services--home .leistungen-services-icon {
  margin: 20px 0;
}

.leistungen-services-col .leistungen-body {
  /* Narrower than --width-body: three-column services layout */
  max-width: 375px;
}

.leistungen-services--page {
  background: var(--bg-alt);
}

.leistungen-services--page .leistungen-services-icon {
  margin: 20px 0;
}

.leistungen-services--page .leistungen-services-col .leistungen-eyebrow {
  margin-bottom: 0;
  font: var(--type-subhead);
  color: #000;
}

body.leistungen-page .content-item-title {
  color: #000;
}

.leistungen-services-cta .btn-primary {
  gap: 8px;
  margin-left: -3px;
}

/* --------------------------------------------------------------------------
   Home cards grid
   -------------------------------------------------------------------------- */
.home-cards {
  padding: var(--space-section) var(--space-gutter) var(--space-section-end);
  background: #fff;
}

.home-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: var(--space-section);
  column-gap: var(--space-gutter);
}

.home-card-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.home-card .content-item-title {
  margin-bottom: 12px;
}

.home-card .leistungen-body {
  max-width: var(--width-body);
}

.news-section {
  scroll-margin-top: var(--header-offset);
}

.news-section__header {
  padding-bottom: var(--space-section);
}

.news-section__header .leistungen-headline {
  margin-bottom: 0;
}

.news-section .home-cards-grid {
  padding-top: 0;
}

.news-section--continued {
  padding-top: var(--space-section);
}

.news-card .home-card-image,
.news-card__media--placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 675;
  margin-bottom: 16px;
}

.news-card .home-card-image {
  object-fit: cover;
}

.news-card__media--placeholder {
  background: var(--bg-alt);
}

.news-card__title {
  margin: 0 0 20px;
  max-width: var(--width-body);
  color: #000;
}

.news-card .leistungen-body a {
  color: var(--blue);
  word-break: break-all;
}

.news-card .leistungen-body a:hover,
.news-card .leistungen-body a:focus-visible {
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Kontakt (kontakt.html)
   -------------------------------------------------------------------------- */
.kontakt-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 25px;
  margin-top: 40px;
}

.kontakt-details {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: var(--width-body);
}

.kontakt-details__block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.kontakt-details__label,
.kontakt-details__line {
  font: var(--type-small);
  color: #000;
  margin: 0;
}

.kontakt-details__line a {
  color: var(--blue);
}

.kontakt-details__line a:hover,
.kontakt-details__line a:focus-visible {
  opacity: 0.75;
}

.kontakt-form {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.kontakt-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.kontakt-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.kontakt-form__field--full {
  width: 100%;
}

.kontakt-form__label {
  color: #000;
  padding-left: 5px;
}

.kontakt-form__input,
.kontakt-form__textarea {
  color: #000;
  background: var(--bg-alt);
  border: none;
  width: 100%;
  outline: none;
}

.kontakt-form__input {
  height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
}

.kontakt-form__textarea {
  padding: 12px 16px;
  min-height: 160px;
  border-radius: 20px;
  resize: vertical;
}

.kontakt-form__input:focus,
.kontakt-form__textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.kontakt-form__submit {
  align-self: flex-start;
  margin-top: 8px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-text);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  color: var(--blue);
  white-space: nowrap;
}

.text-link img {
  display: block;
  transition: transform 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  opacity: 0.75;
}

.text-link:hover img,
.text-link:focus-visible img {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Site footer
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100%;
  background: var(--blue);
  color: #fff;
  padding-bottom: 25px;
}

.site-footer-inner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  row-gap: 28px;
  padding: var(--space-section) var(--space-gutter) 5px;
}

.site-footer-logo {
  grid-column: 1 / span 6;
  grid-row: 1;
  align-self: start;
  margin-bottom: 20px;
}

.site-footer-logo img {
  display: block;
  width: auto;
  height: 32px;
  filter: brightness(0) invert(1);
}

.site-footer-catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
}

.site-footer-catalog img {
  display: block;
}

.site-footer-inner > .site-footer-catalog {
  grid-column: 7 / span 6;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  margin-top: 28px; /* keep field + button equally far from nav */
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #fff;
  background: var(--blue);
  color: #fff;
  font: 500 13px / 125% var(--font-text);
}

.site-footer-inner > .site-footer-catalog img {
  width: 10px;
  height: 8px;
}

.site-footer-inner > .site-footer-catalog:hover,
.site-footer-inner > .site-footer-catalog:focus-visible {
  opacity: 0.9;
}

.site-footer-newsletter {
  grid-column: 5 / span 4; /* left-align with Leistungen (3rd of 6 nav cols) */
  grid-row: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px; /* overlay: text above field */
  align-self: start;
  margin-top: 28px; /* double row-gap to Leistungen / nav */
  container-type: inline-size;
}

.site-footer-newsletter-text {
  margin: 0;
  letter-spacing: 0.01em;
  color: #fff;
  text-align: left;
}

.newsletter-unseren-narrow,
.newsletter-br-narrow,
.newsletter-br-wide {
  display: none;
}

.newsletter-unseren-wide::after {
  content: " "; /* br-wide is hidden; keep space before “Newsletter.” */
}

@container (max-width: 240px) {
  .newsletter-unseren-wide,
  .newsletter-br-wide {
    display: none;
  }

  .newsletter-unseren-narrow {
    display: inline;
  }

  .newsletter-br-narrow {
    display: inline;
  }
}

.footer-newsletter-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: min(100%, 320px);
  margin-left: -5px;
}

.footer-newsletter-form .newsletter-form__controls {
  display: flex;
  align-items: center;
  width: 100%;
  height: 34px;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.footer-newsletter-form .newsletter-form__controls input {
  flex: 1;
  min-width: 0;
  padding: 6px 14px;
  border: none;
  background: transparent;
  letter-spacing: 0.02em;
  color: #000;
  outline: none;
}

.footer-newsletter-form .newsletter-form__controls input::placeholder {
  color: var(--blue);
  opacity: 1;
}

.footer-newsletter-form button img {
  display: block;
}

.footer-newsletter-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.newsletter-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-privacy {
  display: none;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  font: var(--type-legal);
  line-height: 1.3;
  color: inherit;
}

.menu-newsletter-form.is-privacy-open .newsletter-privacy,
.footer-newsletter-form.is-privacy-open .newsletter-privacy,
.menu-newsletter-form:focus-within .newsletter-privacy,
.footer-newsletter-form:focus-within .newsletter-privacy {
  display: flex;
}

.newsletter-privacy input {
  flex-shrink: 0;
  margin-top: 2px;
}

.newsletter-privacy a {
  text-decoration: underline;
}

.newsletter-notice {
  margin: 0;
  font: var(--type-legal);
}

.site-footer-newsletter .newsletter-privacy,
.site-footer-newsletter .newsletter-notice {
  color: #fff;
}

.site-footer-newsletter .newsletter-privacy input {
  accent-color: #fff;
}

.nav-overlay .newsletter-privacy {
  color: #000;
}

.site-footer-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 20px;
  row-gap: 0;
}

.site-footer-col-title {
  margin: 0 0 8px;
  letter-spacing: 0.01em;
  color: #fff;
}

.site-footer-col-title a {
  color: inherit;
  text-decoration: none;
}

.site-footer-col-title a:hover,
.site-footer-col-title a:focus-visible {
  opacity: 0.75;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-footer-links a {
  letter-spacing: 0.02em;
  color: #fff;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  opacity: 0.75;
}

.site-footer-legal {
  grid-column: 1 / span 6;
  grid-row: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  letter-spacing: 0.02em;
  color: #fff;
}

.site-footer-legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer-legal a:hover,
.site-footer-legal a:focus-visible {
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Produkte page
   -------------------------------------------------------------------------- */
.hero--image {
  height: calc(100vh - var(--header-offset) - 40px);
}

.hero--image .hero-media {
  object-position: center;
}

.product-category {
  --category-color: var(--blue);
  scroll-margin-top: var(--header-offset);
}

.product-category-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 10;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 var(--space-gutter);
  background: var(--category-color);
  transition: top var(--header-transition-duration) var(--header-transition-easing);
}

body.menu-open .product-category-bar {
  top: var(--menu-open-header-height);
}

#foerdergurte .product-category-bar {
  z-index: 11;
}

#verschleissschutz .product-category-bar {
  z-index: 12;
}

#foerderbandkomponenten .product-category-bar {
  z-index: 13;
}

#reparaturmaterial .product-category-bar {
  z-index: 14;
}

.product-category-eyebrow {
  margin: 0;
  color: #fff;
}

.product-category-eyebrow a {
  color: inherit;
  text-decoration: none;
}

.product-grid {
  --product-line-gap: 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding-bottom: 25px;
}

.product-category:last-child .product-grid {
  padding-bottom: 0;
}

.product-card {
  position: relative;
  grid-column: span 6;
  display: block;
  padding: 12px 0 22px;
  color: inherit;
  text-decoration: none;
}

.product-card:nth-child(odd) {
  padding-left: var(--space-gutter);
  padding-right: calc(var(--product-line-gap) / 2);
}

.product-card:nth-child(even) {
  padding-left: calc(var(--product-line-gap) / 2);
  padding-right: var(--space-gutter);
}

.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
  background: #000;
}

.product-card:nth-child(odd)::after {
  left: var(--space-gutter);
  right: calc(var(--product-line-gap) / 2);
}

.product-card:nth-child(even)::after {
  left: calc(var(--product-line-gap) / 2);
  right: var(--space-gutter);
}

.product-card:nth-last-child(1):nth-child(odd)::after,
.product-card:nth-last-child(1):nth-child(even)::after,
.product-card:nth-last-child(2):nth-child(odd)::after {
  display: none;
}

.product-card:hover .product-card__title,
.product-card:focus-visible .product-card__title {
  opacity: 0.6;
}

.product-card__icon {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  object-fit: contain;
  filter: brightness(0);
}

.product-card__title {
  margin: 0 0 12px;
  color: #000;
  transition: opacity 0.2s ease;
}

.product-card__teaser {
  margin: 0;
  max-width: 520px;
  color: #000;
}

/* --------------------------------------------------------------------------
   Product detail page
   -------------------------------------------------------------------------- */
.product-detail {
  --category-color: var(--blue);
  padding-top: var(--header-offset);
}

.product-detail .product-category-bar {
  position: static;
}

.product-detail .product-detail-eyebrow {
  color: #000;
}

.product-detail .product-detail-rule {
  border-top-color: #000;
}

.product-detail .product-detail-table th,
.product-detail .product-detail-table td {
  border-color: #000;
}

.product-detail-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: var(--space-section) var(--space-gutter) 0;
}

.product-detail__icon {
  display: block;
  width: 60px;
  height: 60px;
  filter: brightness(0);
}

.product-detail-headline {
  margin: 0;
  color: #000;
}

.product-detail-header .leistungen-headline {
  margin-bottom: 0;
}

.product-detail-intro {
  padding: var(--space-section) var(--space-gutter) var(--space-section-end);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.product-detail-actions .btn-primary {
  margin-top: 40px;
  margin-left: -3px;
  gap: 8px;
}

.product-detail-catalog {
  margin-top: 40px;
  color: var(--blue);
  transform: none;
}

.product-detail-catalog img {
  display: block;
  width: 13px;
  height: 11px;
  filter: brightness(0) saturate(100%) invert(36%) sepia(59%) saturate(1077%) hue-rotate(182deg) brightness(95%) contrast(91%);
}

.product-detail-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(0, 1fr) minmax(240px, 335px);
  column-gap: 20px;
  align-items: start;
}

.product-detail-intro-main {
  grid-column: 1;
}

.product-detail-body {
  margin: 0;
  max-width: var(--width-body);
  color: #000;
}

/* WYSIWYG B → same weight as tussenkopjes (--type-subhead / --type-eyebrow), not 700 */
.product-detail-body strong,
.product-detail-body b,
.product-detail-intro-main .leistungen-body strong,
.product-detail-intro-main .leistungen-body b {
  font-weight: 500;
}

.product-detail-intro-main .leistungen-body {
  max-width: var(--width-body);
}

.product-detail-sidebar {
  grid-column: 3;
}

.product-detail-eyebrow {
  margin: 0 0 12px;
  color: var(--category-color);
}

.product-detail-rule {
  margin: 0 0 16px;
  border: none;
  border-top: 1px solid var(--category-color);
}

.product-detail-sidebar .produkte-list li {
  color: #000;
}

.product-detail-section {
  position: relative;
  padding: 0 var(--space-gutter) var(--space-section-end);
}

.product-detail-section--last {
  padding-bottom: 0;
}

.product-detail-section--flush {
  padding-bottom: 0;
}

.product-detail-figure {
  margin: 0;
}

.product-detail-figure img {
  width: 50%;
  height: auto;
}

.product-detail-figure--slim img {
  width: clamp(10%, calc(10% + 25% * (100vw - 1024px) / (720px - 1024px)), 35%);
}

.product-detail-figure--quarter img {
  width: 25%;
}

.product-detail-figure--wellkant img {
  width: min(100%, 1200px);
}

.product-detail-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-detail-section:has(> .product-detail-table-wrap.is-scrollable)::after {
  position: absolute;
  top: 4px;
  right: var(--space-gutter);
  width: 21px;
  height: 14px;
  background: url("../AM_scroll.svg") no-repeat center / contain;
  content: "";
  opacity: 1;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.product-detail-section:has(> .product-detail-table-wrap.is-scrollable.has-scrolled)::after {
  opacity: 0;
}

.product-detail-table-wrap:focus-visible {
  outline: 2px solid var(--category-color);
  outline-offset: 4px;
}

.product-detail-table-wrap--body {
  max-width: var(--width-body);
}

.product-detail-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #000;
}

.product-detail-table th,
.product-detail-table td {
  padding: 12px 16px;
  border: 1px solid var(--category-color);
  text-align: left;
  vertical-align: top;
  hyphens: auto;
  overflow-wrap: normal;
  word-break: normal;
}

.product-detail-table--configurable tbody th {
  font: var(--type-small);
  text-align: center;
  vertical-align: middle;
}

/* Technische Daten: header-labels center + top; data cells center + middle */
.product-detail-table:has(thead tr:nth-child(2)) thead th {
  text-align: center;
  vertical-align: top;
}

.product-detail-table:has(thead tr:nth-child(2)) tbody td {
  text-align: center;
  vertical-align: middle;
}

/* Qualitäten: row labels unchanged; column headers + data cells centered */
.product-detail-table:has(tbody th[scope="row"]) thead th {
  text-align: center;
  vertical-align: middle;
}

.product-detail-table:has(tbody th[scope="row"]) tbody td {
  text-align: center;
  vertical-align: middle;
}

/* Per-cell CMS overrides (empty align/bold keeps the rules above). */
.product-detail .product-detail-table th.is-align-left,
.product-detail .product-detail-table td.is-align-left {
  text-align: left;
}

.product-detail .product-detail-table th.is-align-center,
.product-detail .product-detail-table td.is-align-center {
  text-align: center;
}

.product-detail .product-detail-table th.is-align-right,
.product-detail .product-detail-table td.is-align-right {
  text-align: right;
}

.product-detail .product-detail-table th.is-weight-bold,
.product-detail .product-detail-table td.is-weight-bold {
  font: var(--type-small-medium);
}

.product-detail .product-detail-table th.is-weight-regular,
.product-detail .product-detail-table td.is-weight-regular {
  font: var(--type-small);
}

/* CMS tables: no inferred header/body styling. Bold and align come from the cell. */
.product-detail .product-detail-table.product-detail-table--cms thead th,
.product-detail .product-detail-table.product-detail-table--cms tbody th,
.product-detail .product-detail-table.product-detail-table--cms tbody td {
  font: var(--type-small);
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}

.product-detail .product-detail-table.product-detail-table--cms .product-detail-diagram-image {
  display: block;
  max-width: 150px;
  max-height: 92px;
  width: auto;
  height: auto;
  margin-inline: auto;
}

.product-detail .product-detail-table.product-detail-table--cms thead th.is-align-left,
.product-detail .product-detail-table.product-detail-table--cms tbody th.is-align-left,
.product-detail .product-detail-table.product-detail-table--cms tbody td.is-align-left {
  text-align: left;
}

.product-detail .product-detail-table.product-detail-table--cms thead th.is-align-center,
.product-detail .product-detail-table.product-detail-table--cms tbody th.is-align-center,
.product-detail .product-detail-table.product-detail-table--cms tbody td.is-align-center {
  text-align: center;
}

.product-detail .product-detail-table.product-detail-table--cms thead th.is-align-right,
.product-detail .product-detail-table.product-detail-table--cms tbody th.is-align-right,
.product-detail .product-detail-table.product-detail-table--cms tbody td.is-align-right {
  text-align: right;
}

.product-detail .product-detail-table.product-detail-table--cms thead th.is-weight-bold,
.product-detail .product-detail-table.product-detail-table--cms tbody th.is-weight-bold,
.product-detail .product-detail-table.product-detail-table--cms tbody td.is-weight-bold {
  font: var(--type-small-medium);
}

.product-detail .product-detail-table.product-detail-table--cms thead th.is-valign-top,
.product-detail .product-detail-table.product-detail-table--cms tbody th.is-valign-top,
.product-detail .product-detail-table.product-detail-table--cms tbody td.is-valign-top {
  vertical-align: top;
}

.product-detail .product-detail-table.product-detail-table--cms thead th.is-valign-middle,
.product-detail .product-detail-table.product-detail-table--cms tbody th.is-valign-middle,
.product-detail .product-detail-table.product-detail-table--cms tbody td.is-valign-middle {
  vertical-align: middle;
}

.product-detail .product-detail-table.product-detail-table--cms thead th.is-valign-bottom,
.product-detail .product-detail-table.product-detail-table--cms tbody th.is-valign-bottom,
.product-detail .product-detail-table.product-detail-table--cms tbody td.is-valign-bottom {
  vertical-align: bottom;
}

/* CMS grids have unknown column counts; size to content and scroll instead of clipping. */
.product-detail-table.product-detail-table--cms {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
}

.product-detail-table--wide {
  min-width: 960px;
}

.product-detail-table--profiles {
  min-width: 700px;
}

.product-detail-table--textil-data {
  min-width: 720px;
}

.product-detail-table--textil-qualities {
  min-width: 640px;
}

.product-detail-table--belt th:nth-child(1) {
  width: 9%;
}

.product-detail-table--belt th:nth-child(2) {
  width: 13%;
}

.product-detail-table--belt th:nth-child(3) {
  width: 23%;
}

.product-detail-table--belt th:nth-child(4) {
  width: 16%;
}

.product-detail-table--belt th:nth-child(5) {
  width: 23%;
}

.product-detail-table--belt th:nth-child(6) {
  width: 16%;
}

.product-detail-table--profiles th:first-child {
  width: 24%;
}

.product-detail-table--sidewall th:first-child {
  width: 25%;
}

.product-detail-table--sidewall th:nth-child(2) {
  width: 15%;
}

.product-detail-table--belt td[rowspan],
.product-detail-table--profiles td[rowspan],
.product-detail-table--sidewall td[rowspan] {
  vertical-align: middle;
}

.product-detail-table-note {
  max-width: var(--width-body);
  margin: 12px 0 0;
  font: var(--type-small);
  color: #000;
}

.belt-build {
  position: relative;
  display: block;
  width: min(100%, 150px);
  height: 68px;
  margin: 0 auto;
  border: 1px solid #000;
  background:
    linear-gradient(
      to bottom,
      #666 0 22%,
      #fff 22% 29%,
      #777 29% 45%,
      #fff 45% 52%,
      #777 52% 68%,
      #fff 68% 75%,
      #666 75% 100%
    );
  transform: skewY(6deg);
}

.belt-build--xe1 {
  background:
    linear-gradient(
      to bottom,
      #666 0 22%,
      #fff 22% 27%,
      #777 27% 39%,
      #fff 39% 44%,
      #555 44% 49%,
      #fff 49% 54%,
      #777 54% 68%,
      #fff 68% 75%,
      #666 75% 100%
    );
}

.belt-build--xe2,
.belt-build--xesc {
  background:
    linear-gradient(
      to bottom,
      #666 0 19%,
      #fff 19% 24%,
      #777 24% 35%,
      #fff 35% 40%,
      #555 40% 46%,
      #fff 46% 51%,
      #777 51% 62%,
      #fff 62% 67%,
      #555 67% 73%,
      #fff 73% 78%,
      #666 78% 100%
    );
}

.belt-build--xesc::after,
.belt-build--steel::after {
  position: absolute;
  inset: 42% 8%;
  border-top: 2px dashed #000;
  content: "";
}

.belt-build--steel {
  background:
    linear-gradient(
      to bottom,
      #666 0 24%,
      #fff 24% 31%,
      #777 31% 44%,
      #fff 44% 49%,
      #555 49% 58%,
      #fff 58% 65%,
      #666 65% 100%
    );
}

.cleat-profile {
  position: relative;
  display: block;
  width: 120px;
  height: 92px;
  margin: 0 auto;
  border-bottom: 12px solid #333;
}

.cleat-profile::before {
  position: absolute;
  bottom: 0;
  left: 51px;
  width: 16px;
  height: 76px;
  background: #333;
  content: "";
}

.cleat-profile--c::before,
.cleat-profile--tc::before {
  transform: skewX(-18deg);
  transform-origin: bottom;
}

.cleat-profile--tc::before {
  height: 68px;
}

.cleat-profile--tcs::before {
  height: 78px;
  transform: skewX(-18deg);
  transform-origin: bottom;
}

.cleat-profile--tcs::after {
  position: absolute;
  bottom: 17px;
  left: 12px;
  width: 33px;
  border-top: 2px dashed #333;
  content: "";
}

.sidewall-profile {
  display: block;
  width: 190px;
  height: 150px;
  margin: 0 auto;
  border-bottom: 12px solid #333;
  background: url("../produkte/foerdergurte/wellkantengurte/wellkantengurt4_de.png") no-repeat 10% 60%;
  background-size: 470px auto;
}

/* --------------------------------------------------------------------------
   Nachhaltigkeit
   -------------------------------------------------------------------------- */
.nachhaltigkeit-intro {
  background: #fff;
  scroll-margin-top: var(--header-offset);
}

.nachhaltigkeit-intro-header,
.nachhaltigkeit-stats,
.nachhaltigkeit-intro-body {
  padding-left: var(--space-gutter);
  padding-right: var(--space-gutter);
}

.nachhaltigkeit-intro-header {
  padding-top: 40px;
}

.nachhaltigkeit-hero-image {
  display: block;
  width: calc(100% - 2 * var(--space-gutter));
  height: auto;
  margin: 40px var(--space-gutter) 0;
  object-fit: cover;
}

.nachhaltigkeit-intro-body {
  padding-top: 0;
  padding-bottom: var(--space-section-end);
}

.nachhaltigkeit-hero-image + .nachhaltigkeit-intro-body {
  padding-top: 40px;
}

.nachhaltigkeit-stats {
  padding-top: 40px;
  padding-bottom: 0;
}

/* Visual divider under stats (not article separator spacing) */
.nachhaltigkeit-stats .nachhaltigkeit-rule {
  margin: 40px 0 24px;
}

.nachhaltigkeit-sub-eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
}

.nachhaltigkeit-rule {
  height: 1px;
  margin: 0 0 24px;
  border: none;
  background: var(--blue);
}

.nachhaltigkeit-block {
  max-width: var(--width-body);
}

.nachhaltigkeit-block + .nachhaltigkeit-block {
  margin-top: var(--space-section);
}

.nachhaltigkeit-block .leistungen-body {
  max-width: none;
}

.nachhaltigkeit-block .leistungen-body + .leistungen-body {
  margin-top: 16px;
}

.nachhaltigkeit-block .content-item:first-of-type {
  margin-top: 0;
}

.nachhaltigkeit-block .content-item + .content-item {
  margin-top: 32px;
}

.nachhaltigkeit-block .content-item-title {
  margin-bottom: 12px;
}

.nachhaltigkeit-closing {
  max-width: var(--width-body);
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Produktwissen (produktinformation.html)
   -------------------------------------------------------------------------- */
.produktwissen-faq {
  padding: 0 0 var(--space-section-end);
  scroll-margin-top: var(--header-offset);
}

.produktwissen-faq:first-of-type {
  padding-top: var(--space-section);
}

.produktwissen-faq--continued {
  /* Previous section already ends with --space-section-end */
  padding-top: 0;
}

.produktwissen-faq__header {
  padding: 0 var(--space-gutter) var(--space-section);
}

.produktwissen-faq__header .leistungen-headline {
  margin-bottom: 0;
}

/* Match category rhythm: previous FAQ already ends with --space-section-end */
.produktwissen-faq + .leistungen-page-section {
  padding-top: 0;
}

.produktwissen-accordion {
  border: none;
}

.produktwissen-faq .produktwissen-accordion:nth-of-type(odd) {
  background: var(--bg-alt);
}

.produktwissen-faq .produktwissen-accordion:nth-of-type(even) {
  background: #fff;
}

.produktwissen-accordion__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--space-gutter);
  cursor: pointer;
  list-style: none;
}

.produktwissen-accordion__summary::-webkit-details-marker {
  display: none;
}

.produktwissen-accordion__summary::marker {
  content: "";
}

.produktwissen-accordion__title {
  color: #000;
  flex: 1;
  max-width: var(--width-headline);
}

.produktwissen-accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.35em;
}

.produktwissen-accordion__icon img {
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
}

.produktwissen-accordion__icon .produktwissen-accordion__icon--minus {
  display: none;
}

.produktwissen-accordion[open] .produktwissen-accordion__icon .produktwissen-accordion__icon--plus {
  display: none;
}

.produktwissen-accordion[open] .produktwissen-accordion__icon .produktwissen-accordion__icon--minus {
  display: block;
}

.produktwissen-accordion__panel {
  padding: 0 var(--space-gutter) 32px;
}

.produktwissen-accordion__panel > *,
.produktwissen-accordion__panel .leistungen-body,
.produktwissen-accordion__panel .produktwissen-formula,
.produktwissen-accordion__panel .produktwissen-list {
  max-width: var(--width-body);
}

.produktwissen-accordion__panel .leistungen-body strong,
.produktwissen-accordion__panel .leistungen-body b,
.produktwissen-accordion__panel .produktwissen-list strong,
.produktwissen-accordion__panel .produktwissen-list b {
  font-weight: 500;
}

.produktwissen-accordion__panel a {
  color: var(--blue);
}

.produktwissen-accordion__panel a:hover,
.produktwissen-accordion__panel a:focus-visible {
  opacity: 0.75;
}

.produktwissen-formula {
  max-width: var(--width-body);
  margin: 1em 0 0;
  font: var(--type-body);
  color: #000;
}

.produktwissen-list {
  max-width: var(--width-body);
  margin: 1em 0 0;
  padding-left: 0;
  list-style: none;
}

.produktwissen-list li + li {
  margin-top: 0.5em;
}

/* --------------------------------------------------------------------------
   Shared content blocks (stats, two-column body)
   -------------------------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(var(--stats-columns, 4), minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.stat__value {
  margin: 0 0 8px;
  color: #000;
}

.stat__label {
  margin: 0;
  color: #000;
}

.stat--blue .stat__value,
.stat--blue .stat__label {
  color: var(--blue);
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}

.content-col:first-child {
  grid-column: 1 / span 5;
}

.content-col:last-child {
  grid-column: 7 / span 5;
}

.content-col .leistungen-body {
  max-width: none;
}

/* Leistungen page */

.content-image-placeholder {
  background: var(--bg-alt-soft);
}

.content-image-placeholder--hero {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 5;
  min-height: 320px;
}

.content-image-placeholder--inset {
  display: block;
  width: calc(100% - 2 * var(--space-gutter));
  aspect-ratio: 16 / 7;
  min-height: 240px;
  margin: 40px var(--space-gutter) 0;
}

.leistungen-intro--alt .content-image-placeholder--inset {
  background: rgba(255, 255, 255, 0.45);
}

.leistungen-page-section {
  padding: var(--space-section) var(--space-gutter) var(--space-section-end);
  scroll-margin-top: var(--header-offset);
  background: #fff;
}

.leistungen-page-section.leistungen-intro--alt {
  background: var(--bg-alt);
}

.leistungen-page-section-header {
  max-width: var(--width-body);
}

.leistungen-page-section-header--wide {
  max-width: none;
}

.leistungen-page-section-body {
  max-width: var(--width-body);
  margin-top: 40px;
}

.legal-page-body {
  max-width: var(--width-body);
  margin-top: 40px;
}

.legal-page-body .leistungen-body + .leistungen-body,
.legal-page-body .content-item-title + .leistungen-body {
  margin-top: 16px;
}

.legal-page-body .content-item-title {
  margin: 32px 0 12px;
  color: #000;
}

.legal-page-body .leistungen-body a {
  color: var(--blue);
}

.legal-page-body .leistungen-body a:hover,
.legal-page-body .leistungen-body a:focus-visible {
  opacity: 0.75;
}

.legal-page-body > p,
.legal-page-body p {
  margin: 0;
  font: var(--type-small);
  color: #000;
  max-width: var(--width-body);
}

.legal-page-body > p + p,
.legal-page-body p + p {
  margin-top: 1em;
}

.legal-page-body h2 {
  margin: 32px 0 12px;
  font: var(--type-subhead);
  color: #000;
}

.legal-page-body ul,
.legal-page-body ol,
.leistungen-intro-content ul,
.leistungen-intro-content ol,
.page-hero__main ul,
.page-hero__main ol,
.product-detail-section ul:not(.produkte-list),
.product-detail-section ol,
.product-detail-intro-main ul:not(.produkte-list),
.product-detail-intro-main ol,
.leistungen-split__content ul,
.leistungen-split__content ol,
.leistungen-page-section-body ul,
.leistungen-page-section-body ol,
.produktwissen-accordion__panel ul,
.produktwissen-accordion__panel ol,
.news-card ul,
.news-card ol {
  max-width: var(--width-body);
  margin: 0 0 1em;
  padding-left: 0 !important;
  list-style: none !important;
}

.legal-page-body li,
.leistungen-intro-content li,
.page-hero__main li,
.product-detail-section ul:not(.produkte-list) > li,
.product-detail-section ol > li,
.product-detail-intro-main ul:not(.produkte-list) > li,
.product-detail-intro-main ol > li,
.leistungen-split__content li,
.leistungen-page-section-body li,
.produktwissen-accordion__panel li,
.news-card li {
  display: block;
  position: relative;
  margin: 0 0 0.35em;
  padding-left: 1.25em !important;
  list-style: none !important;
}

.legal-page-body ul > li::before,
.leistungen-intro-content ul > li::before,
.page-hero__main ul > li::before,
.product-detail-section ul:not(.produkte-list) > li::before,
.product-detail-intro-main ul:not(.produkte-list) > li::before,
.leistungen-split__content ul > li::before,
.leistungen-page-section-body ul > li::before,
.produktwissen-accordion__panel ul > li::before,
.news-card ul > li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.legal-page-body ol,
.leistungen-intro-content ol,
.page-hero__main ol,
.product-detail-section ol,
.product-detail-intro-main ol,
.leistungen-split__content ol,
.leistungen-page-section-body ol,
.produktwissen-accordion__panel ol,
.news-card ol {
  counter-reset: ambelt-ol;
}

.legal-page-body ol > li,
.leistungen-intro-content ol > li,
.page-hero__main ol > li,
.product-detail-section ol > li,
.product-detail-intro-main ol > li,
.leistungen-split__content ol > li,
.leistungen-page-section-body ol > li,
.produktwissen-accordion__panel ol > li,
.news-card ol > li {
  counter-increment: ambelt-ol;
  padding-left: 1.75em !important;
}

.legal-page-body ol > li::before,
.leistungen-intro-content ol > li::before,
.page-hero__main ol > li::before,
.product-detail-section ol > li::before,
.product-detail-intro-main ol > li::before,
.leistungen-split__content ol > li::before,
.leistungen-page-section-body ol > li::before,
.produktwissen-accordion__panel ol > li::before,
.news-card ol > li::before {
  content: counter(ambelt-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
}

.legal-page-body li > :first-child,
.leistungen-intro-content li > :first-child,
.page-hero__main li > :first-child,
.product-detail-section li > :first-child,
.product-detail-intro-main li > :first-child,
.leistungen-split__content li > :first-child,
.leistungen-page-section-body li > :first-child,
.produktwissen-accordion__panel li > :first-child,
.news-card li > :first-child {
  margin-top: 0;
}

.legal-page-body li {
  font: var(--type-small);
}

.legal-page-body a {
  color: var(--blue);
}

.legal-page-body a:hover,
.legal-page-body a:focus-visible {
  opacity: 0.75;
}

.leistungen-page-section-body .leistungen-body {
  max-width: none;
}

.leistungen-page-section-body .leistungen-body + .leistungen-body {
  margin-top: 16px;
}

.leistungen-page-section-body .content-item + .content-item {
  margin-top: 32px;
}

.leistungen-page-section-body .content-item:first-child {
  margin-top: 0;
}

.leistungen-page-section-body .btn-primary {
  gap: 8px;
  margin-left: -3px;
}

.leistungen-page-section > .content-columns,
.leistungen-page-section > .leistungen-media-columns,
.leistungen-page-section > .leistungen-split,
.leistungen-page-section > .stats-row,
.leistungen-page-section > .leistungen-bonus-grid {
  margin-top: 40px;
}

.leistungen-page-section > .stats-row {
  max-width: var(--width-content-lead);
}

/* Leistungen — two equal text columns */

.leistungen-page-section--two-cols {
  padding-bottom: var(--space-section-end);
}

.leistungen-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Wider than page gutter on purpose — equal column rhythm */
  gap: var(--space-section);
  align-items: start;
}

.leistungen-two-cols__col .leistungen-body {
  max-width: var(--width-body);
}

.leistungen-page-section--three-cols {
  padding-bottom: var(--space-section-end);
}

.leistungen-three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-section);
  align-items: start;
}

.leistungen-three-cols__col .leistungen-body {
  max-width: var(--width-body);
}

/* Leistungen — image + two text columns (legacy grid) */

.leistungen-media-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-section);
  align-items: start;
}

.leistungen-media-columns__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-section);
  align-items: start;
}

.leistungen-media-columns__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.leistungen-media-columns__col .leistungen-body {
  max-width: none;
}

/* Leistungen — split section (text left, media right) */

.leistungen-page-section--split {
  padding: 0 var(--space-gutter) 0 0;
}

.leistungen-page-section--split-media-right {
  padding: 0 0 0 var(--space-gutter);
}

.leistungen-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-section);
  align-items: stretch;
}

.leistungen-split__content {
  padding: var(--space-section) 0 var(--space-section-end);
}

.leistungen-split__content .leistungen-body {
  max-width: var(--width-body);
}

.leistungen-split__content .leistungen-body + .leistungen-body {
  margin-top: 1em;
}

.leistungen-split__content .content-item:first-of-type {
  margin-top: 0;
}

.leistungen-split__content .content-item + .content-item {
  margin-top: 32px;
}

.leistungen-split__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.leistungen-split__media > .content-image-placeholder,
.leistungen-split__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Leistungen — bonus levels */

.leistungen-bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.leistungen-bonus-card {
  padding: 24px;
  border-top: 4px solid var(--level-color, var(--blue));
  background: #fff;
}

.leistungen-bonus-card__level {
  margin: 0 0 16px;
  color: var(--level-color, var(--blue));
}

.leistungen-bonus-list li + li {
  margin-top: 8px;
}

.page-hero__main .content-item + .content-item {
  margin-top: 32px;
}

.page-hero__main .content-item:first-child {
  margin-top: 0;
}

.page-hero__main .content-item-title {
  margin-bottom: 12px;
}

/* Content page (Unternehmen) */

.page-hero {
  --category-color: var(--blue);
  padding-top: 0;
  padding-bottom: var(--space-section-end);
  scroll-margin-top: var(--header-offset);
  background: #fff;
}

.page-hero__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
}

.page-hero__intro {
  padding: var(--space-section) var(--space-gutter) 0;
}

.page-hero__body {
  padding: 0 var(--space-gutter);
}

.page-hero__body-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  align-items: start;
}

.page-hero__body-inner > .content-lead {
  grid-column: 1 / span 8;
  max-width: var(--width-content-lead);
  margin: 0 0 1.25em;
}

.page-hero__body-inner > .content-lead:only-child {
  margin-bottom: 0;
}

.nachhaltigkeit-intro-header .content-lead {
  max-width: var(--width-content-lead);
  margin: 0;
}

.page-hero__body-inner:has(> .content-lead) > .page-hero__main,
.page-hero__body-inner:has(> .content-lead) > .product-detail-sidebar {
  grid-row: 2;
}

.page-hero__body-inner .product-detail-sidebar {
  grid-column: 9 / span 4;
}

.page-hero__main {
  grid-column: 1 / span 6;
}

.page-hero__main .leistungen-body {
  max-width: var(--width-body);
}

.page-hero__main .leistungen-body a {
  color: var(--blue);
}

.page-hero__main .leistungen-body a:hover {
  opacity: 0.75;
}

.page-hero__main .btn-primary {
  gap: 8px;
  margin-left: -3px;
}

.page-hero__body-inner .product-detail-sidebar p.page-hero__sidebar-copy {
  margin: 0;
  color: #000;
}

.page-hero__body-inner .product-detail-sidebar p.page-hero__sidebar-copy a {
  color: var(--blue);
}

.page-hero__body-inner .product-detail-sidebar p.page-hero__sidebar-copy a:hover {
  opacity: 0.75;
}

.page-hero__body-inner .product-detail-sidebar p.page-hero__sidebar-copy + p.page-hero__sidebar-copy {
  margin-top: 1em;
}

.content-item {
  margin-top: 32px;
}

.content-item-title {
  margin: 0 0 12px;
  color: var(--blue);
}

body.leistungen-page .content-item-title {
  color: #000;
}

/* --------------------------------------------------------------------------
   Typography guide (typografie.html)
   -------------------------------------------------------------------------- */
body.typography-guide-page {
  padding-top: var(--header-height-expanded);
}

.typography-guide-header {
  padding: var(--space-section) var(--space-gutter);
  border-bottom: 1px solid var(--bg-alt);
}

.typography-guide-header .leistungen-headline {
  margin-bottom: 16px;
}

.typography-guide-intro {
  max-width: 640px;
  margin: 0;
}

.typography-guide-section {
  padding: 48px var(--space-gutter) 0;
}

.typography-guide-section:last-child {
  padding-bottom: 80px;
}

.typography-guide-section-title {
  margin: 0 0 8px;
  color: #000;
}

.typography-guide-section-desc {
  max-width: 640px;
  margin: 0 0 32px;
}

.typography-clamp-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.typography-clamp-table {
  width: 100%;
  border-collapse: collapse;
  font: var(--type-small);
  color: #000;
}

.typography-clamp-table th,
.typography-clamp-table td {
  padding: 10px 12px;
  border: 1px solid var(--bg-alt-soft);
  text-align: left;
  vertical-align: top;
}

.typography-clamp-table thead th {
  font: var(--type-small-medium);
  background: var(--bg-alt);
  white-space: nowrap;
}

.typography-clamp-table tbody th {
  font: var(--type-small-medium);
  white-space: nowrap;
}

.typography-clamp-table code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  word-break: break-word;
}

.typography-clamp-subtitle {
  margin: 40px 0 8px;
  font: var(--type-subhead);
  color: #000;
}

.typography-clamp-preview {
  margin-top: 40px;
  padding: 32px 24px;
  background: var(--bg-alt);
}

.typography-clamp-preview__label {
  margin: 0 0 20px;
  font: var(--type-eyebrow);
  color: var(--blue);
}

.typography-clamp-preview__xl {
  margin: 0 0 12px;
  font: 600 clamp(36px, 2.5rem + 2.5vw, 60px) / 100% var(--font-display);
}

.typography-clamp-preview__l {
  margin: 0 0 12px;
  font: 600 clamp(30px, 1.75rem + 2.2vw, 48px) / 100% var(--font-display);
}

.typography-clamp-preview__m {
  margin: 0 0 12px;
  font: 600 clamp(26px, 1.5rem + 1.8vw, 40px) / 100% var(--font-display);
}

.typography-clamp-preview__s {
  margin: 0 0 12px;
  font: 600 clamp(24px, 1.35rem + 1.6vw, 36px) / 105% var(--font-display);
}

.typography-clamp-preview__lead {
  margin: 0 0 12px;
  font: 400 clamp(20px, 1.1rem + 1.2vw, 28px) / 120% var(--font-text);
}

.typography-clamp-preview__body {
  margin: 0;
  max-width: var(--width-body);
  font: 400 clamp(16px, 0.9rem + 0.35vw, 18px) / 130% var(--font-text);
}

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

.typography-font-card {
  padding: 24px;
  background: var(--bg-alt);
}

.typography-font-card__name {
  margin: 0 0 12px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
}

.typography-font-card__sample {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
  color: #000;
}

.typography-font-card__sample--display {
  font-family: var(--font-display);
  font-weight: 600;
}

.typography-font-card__sample--text {
  font-family: var(--font-text);
  font-weight: 400;
}

.typography-specimens {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.typography-specimen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid #eee;
  align-items: start;
}

.typography-specimen:first-child {
  border-top: none;
  padding-top: 0;
}

.typography-specimen__sample {
  min-width: 0;
}

.typography-specimen__sample .leistungen-headline,
.typography-specimen__sample .produkte-category-title {
  margin-bottom: 0;
}

.typography-specimen__sample .btn-primary {
  margin-top: 0;
}

.typography-specimen__sample--dark {
  padding: 24px;
  background: #1a1a1a;
}

.typography-specimen__sample--blue {
  padding: 20px 24px;
  background: var(--blue);
}

.typography-specimen__sample--category {
  padding: 16px 24px;
  background: var(--category-foerdergurte);
}

.typography-specimen__sample--alt {
  padding: 24px;
  background: var(--bg-alt);
}

.typography-specimen__meta {
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.45;
  color: #666;
}

.typography-specimen__class {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 8px;
  background: #f3f3f3;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  color: #000;
}

.typography-specimen__classes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.typography-specimen__variant-label {
  margin: 16px 0 6px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
}

.typography-specimen__variant-label:first-child {
  margin-top: 0;
}

.typography-specimen__meta dl {
  margin: 0;
}

.typography-specimen__meta dt {
  margin: 0;
  font-weight: 500;
  color: #000;
}

.typography-specimen__meta dd {
  margin: 0 0 10px;
}

.typography-specimen__meta dd:last-child {
  margin-bottom: 0;
}

.typography-token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.typography-token-grid--spaced {
  margin-top: 24px;
}

.typography-token {
  padding: 16px;
  border: 1px solid #eee;
}

.typography-token__swatch {
  width: 100%;
  height: 40px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.typography-token__swatch--blue {
  background: var(--blue);
}

.typography-token__swatch--black {
  background: #000;
}

.typography-token__swatch--light {
  background: var(--bg-alt);
}

.typography-token__label {
  margin: 0 0 4px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.typography-token__value {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  color: #666;
}

.typography-specimen__nav-link {
  font: var(--type-eyebrow);
  color: var(--blue);
}

.typography-specimen__footer-link {
  display: block;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 0.02em;
  color: #fff;
}

.typography-specimen__legal {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 0.01em;
  color: var(--blue);
}

.typography-specimen__on-category {
  display: inline-block;
  padding: 8px 12px;
  background: var(--category-foerdergurte);
}

.typography-specimen__menu-lang {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
}

.typography-specimen__form-label {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 400;
  color: #000;
}

.typography-specimen__inline-hero {
  position: static;
  max-width: none;
  padding: 0;
  color: #fff;
  background: #1a1a1a;
  padding: 16px;
}

/* --------------------------------------------------------------------------
   Responsive — Fase 0
   Breakpoints: --bp-md 720px · --bp-lg 1024px · --bp-nav-compact 1200px
   -------------------------------------------------------------------------- */

/* Keep service icons/body aligned while one title wraps */
@media (max-width: 1142px) and (min-width: 721px) {
  .leistungen-services--home .leistungen-services-col .produkte-category-title {
    min-height: 2.1em;
  }
}

/* Hero headlines: 75% @ 1200px → full width @ 720px */
@media (max-width: 1200px) and (min-width: 721px) {
  .hero-tagline {
    max-width: calc(37.5vw + 450px);
  }
}

/* Narrow desktop: fluid inline nav — desktop @ 1201px → compact @ 1025px (no jump) */
@media (max-width: 1200px) and (min-width: 1025px) {
  .main-nav {
    /* 36px → 18px */
    gap: calc(18px + (100vw - 1025px) * 18 / 175);
  }

  .nav-list {
    /* 28px → 12px — must shrink with text or items overlap */
    gap: calc(12px + (100vw - 1025px) * 16 / 175);
  }

  .nav-list a {
    /* matches --type-eyebrow max (18px) @ 1200 → 15px @ 1025 */
    font-size: calc(15px + (100vw - 1025px) * 3 / 175);
    line-height: 125%;
  }
}

@media (max-width: 1024px) {
  :root {
    --space-gutter: 20px;
    --space-section-end: calc(48px + var(--space-gutter));
    --logo-offset-left: 20px;
    --logo-offset-top: 12px; /* (80px header − 56px logo) / 2 — equal top/bottom like desktop */
    --menu-title-col: minmax(0, 1fr);
  }

  /* Hyphenation ≤1024 only; lang on <html> picks de/en dictionary */
  .content-lead,
  .leistungen-body,
  .product-detail-body,
  .product-card__teaser,
  .product-card__title,
  .produkte-category-title,
  .produkte-list a,
  .leistungen-headline,
  .product-detail-headline,
  .produktwissen-accordion__title,
  .page-hero__sidebar-copy,
  .stat__label,
  .leistungen-bonus-list li,
  .hero-tagline {
    hyphens: auto;
    -webkit-hyphens: auto;
    hyphenate-limit-chars: 7 4 3; /* min word · before · after */
    hyphenate-limit-lines: 1; /* max one hyphenated line in a row */
  }

  /* Header: always burger nav below lg (desktop inline links hidden) */
  .nav-list {
    display: none;
  }

  .header-inner {
    align-items: flex-end;
    padding: 0 var(--space-gutter) var(--logo-offset-top) var(--logo-offset-left);
  }

  body.product-detail-page:not(.menu-open) .header-inner,
  body.legal-page:not(.menu-open) .header-inner,
  body.is-scrolled:not(.menu-open) .header-inner {
    align-items: center;
    padding: 0 var(--space-gutter);
  }

  body:not(.menu-open) .main-nav {
    align-items: flex-end;
  }

  body:not(.menu-open) .burger-toggle {
    align-items: flex-end;
    padding: 12px 0 0;
  }

  body:not(.menu-open) .burger-toggle .burger-icon {
    transform: translateY(-7px);
  }

  body.product-detail-page:not(.menu-open) .burger-toggle,
  body.legal-page:not(.menu-open) .burger-toggle,
  body.is-scrolled:not(.menu-open) .burger-toggle {
    align-items: center;
    padding: 0;
  }

  body.product-detail-page:not(.menu-open) .burger-toggle .burger-icon,
  body.legal-page:not(.menu-open) .burger-toggle .burger-icon,
  body.is-scrolled:not(.menu-open) .burger-toggle .burger-icon {
    transform: none;
  }

  /* Tablet: same bar height, larger logo (collapsed scroll state unchanged) */
  :root {
    --header-height-expanded: 80px;
    --logo-height: 56px;
  }

  body:not(.menu-open):not(.product-detail-page):not(.legal-page):not(.is-scrolled) {
    --header-height: 80px;
    --logo-height: 56px;
  }

  /* Menu overlay: two-col (title | subs), fit viewport — no scroll */
  .menu-scroll {
    overflow: hidden;
  }

  .menu-spacer {
    flex: 1 1 0;
    min-height: 4px;
  }

  body.menu-open .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: none;
    padding: 0 var(--space-gutter);
  }

  body.menu-open .menu-lang {
    position: absolute;
    left: calc(50% + 8px); /* align with submenu column */
    margin: 0;
    grid-column: auto;
  }

  body.menu-open .main-nav {
    position: static;
    transform: none;
    right: auto;
    top: auto;
  }

  .menu-section,
  .menu-section--products {
    --menu-col-gap: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 2px;
    padding: 8px var(--space-gutter) 0;
    /* Right column only in flow; title sits absolutely in left half */
    padding-left: calc(50% + (var(--menu-col-gap) / 2));
  }

  .menu-section-title {
    position: absolute;
    left: var(--space-gutter);
    top: 8px;
    width: calc((100% - 2 * var(--space-gutter) - var(--menu-col-gap)) / 2);
    margin: 0;
  }

  /* News (title only): keep title in normal flow */
  .menu-section:not(:has(> .menu-sub-link, > .menu-product-col, > .menu-kontakt-content)) {
    padding-left: var(--space-gutter);
  }

  .menu-section:not(:has(> .menu-sub-link, > .menu-product-col, > .menu-kontakt-content)) .menu-section-title {
    position: static;
    width: auto;
  }

  .menu-section > .menu-sub-link:nth-child(2),
  .menu-section > .menu-sub-link:nth-child(3),
  .menu-section > .menu-sub-link:nth-child(4),
  .menu-section > .menu-sub-link:nth-child(5),
  .menu-section--products .menu-product-col:nth-child(2),
  .menu-section--products .menu-product-col:nth-child(3),
  .menu-section--products .menu-product-col:nth-child(4),
  .menu-section--products .menu-product-col:nth-child(5),
  .menu-section > .menu-sub-link,
  .menu-section > .menu-product-col,
  .menu-section > .menu-kontakt-content {
    grid-column: auto;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .menu-section--products {
    row-gap: 4px;
  }

  .menu-product-col {
    width: auto;
  }

  /* Individuele producten verbergen: alleen categorieën */
  .menu-product-links {
    display: none;
  }

  .menu-product-cat {
    margin-bottom: 0;
  }

  .menu-kontakt-content {
    width: auto;
    max-width: 100%;
  }

  .menu-section--kontakt .menu-newsletter-link {
    white-space: normal;
  }

  .menu-kontakt-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-newsletter-form,
  .menu-catalog-btn {
    margin-left: -5px; /* optical align with text above */
  }

  .menu-newsletter-form {
    width: 100%;
    max-width: none;
  }

  /* Leistungen intro / 12-col → stacked */
  .leistungen-intro-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-section);
  }

  .leistungen-intro-main,
  .leistungen-intro--home .leistungen-intro-main,
  .leistungen-intro-image {
    grid-column: auto;
    width: 100%;
  }

  .leistungen-intro-image {
    margin-bottom: 0;
    max-width: 360px;
  }

  /* Home intro: map between headline and body on tablet/mobile */
  .leistungen-intro--home .leistungen-intro-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .leistungen-intro--home .leistungen-intro-main {
    display: contents;
  }

  .leistungen-intro--home .leistungen-eyebrow {
    order: 1;
  }

  .leistungen-intro--home .leistungen-headline {
    order: 2;
    text-wrap: wrap;
    margin-bottom: 8px;
  }

  .leistungen-intro--home .leistungen-intro-image {
    order: 3;
    margin-bottom: 8px;
  }

  .leistungen-intro--home.leistungen-intro--image-wide .leistungen-intro-main,
  .leistungen-intro--home.leistungen-intro--image-slim .leistungen-intro-image,
  .leistungen-intro--home.leistungen-intro--image-wide .leistungen-intro-image,
  .leistungen-intro--home.leistungen-intro--image-full .leistungen-intro-image {
    grid-column: auto;
  }

  .leistungen-intro--home.leistungen-intro--image-slim .leistungen-intro-image {
    max-width: 240px;
  }

  .leistungen-intro--home.leistungen-intro--image-wide .leistungen-intro-image {
    max-width: 480px;
  }

  .leistungen-intro--home.leistungen-intro--image-full .leistungen-intro-image {
    max-width: none;
  }

  .leistungen-intro--home .leistungen-intro-content {
    order: 4;
  }

  /* Service icons: keep 3 cols like homepage until 720 */
  .leistungen-services-columns,
  .leistungen-services--home .leistungen-services-columns,
  .leistungen-services--page .leistungen-services-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-section);
  }

  /* Produkt detail intro — body + sidebar stay side-by-side until 720 */
  .product-detail-intro-inner {
    grid-template-columns: minmax(0, 580px) minmax(220px, 1fr);
    column-gap: clamp(30px, 3vw, 32px);
  }

  /* Über Ambelt: lead full width; body + address like product detail */
  .page-hero__body-inner {
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(220px, 1fr);
    column-gap: clamp(30px, 3vw, 32px);
    row-gap: var(--space-section);
  }

  .page-hero__body-inner > .content-lead {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
  }

  .page-hero__main,
  .page-hero__body-inner:has(> .content-lead) > .page-hero__main {
    grid-column: 1;
    grid-row: auto;
    width: auto;
  }

  .page-hero__body-inner .product-detail-sidebar,
  .page-hero__body-inner:has(> .content-lead) > .product-detail-sidebar {
    grid-column: 2;
    grid-row: auto;
    width: auto;
  }

  .product-detail-intro-main,
  .product-detail-sidebar {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .product-detail-figure img {
    width: 100%;
    max-width: 480px;
  }

  .product-detail-figure--quarter img {
    width: 50%;
    max-width: 240px;
  }

  .product-detail-figure--slim img {
    width: clamp(10%, calc(10% + 25% * (100vw - 1024px) / (720px - 1024px)), 35%);
    max-width: none;
  }

  /* Product overview cards: full width */
  .product-grid {
    display: flex;
    flex-direction: column;
  }

  .product-card,
  .product-card:nth-child(odd),
  .product-card:nth-child(even) {
    grid-column: auto;
    width: 100%;
    padding-left: var(--space-gutter);
    padding-right: var(--space-gutter);
  }

  .product-card:nth-child(odd)::after,
  .product-card:nth-child(even)::after {
    left: var(--space-gutter);
    right: var(--space-gutter);
  }

  /* Kontakt 12-col */
  .kontakt-layout,
  .content-columns {
    display: flex;
    flex-direction: column;
    gap: var(--space-section);
  }

  .kontakt-details,
  .kontakt-form,
  .content-col:first-child,
  .content-col:last-child {
    grid-column: auto;
    width: 100%;
    max-width: none;
  }

  .kontakt-form__row {
    grid-template-columns: 1fr;
  }

  /* Leistungen multi-col layouts */
  .leistungen-two-cols,
  .leistungen-three-cols,
  .leistungen-media-columns,
  .leistungen-media-columns__cols,
  .leistungen-split,
  .leistungen-bonus-grid {
    grid-template-columns: 1fr;
    gap: var(--space-section);
  }

  .leistungen-page-section--split,
  .leistungen-page-section--split-media-right {
    padding: var(--space-gutter);
  }

  .leistungen-page-section--split > .leistungen-split,
  .leistungen-page-section--split-media-right > .leistungen-split {
    margin-top: 0;
  }

  .leistungen-split {
    gap: var(--space-gutter);
  }

  .leistungen-split__media,
  .karriere-layout__media {
    order: -1;
  }

  /* 721–1024: keep ~720px crop ratio so wider stacked images don't flatten */
  @media (min-width: 721px) {
    .leistungen-split__media,
    .karriere-layout__media {
      min-height: 0;
      aspect-ratio: 680 / 320;
    }
  }

  .content-image-placeholder--inset {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .leistungen-split__media,
  .leistungen-split__content {
    padding-left: 0;
    padding-right: 0;
  }

  .leistungen-split__content {
    padding-top: 0;
    /* Section already has gutter padding; keep total = --space-section-end */
    padding-bottom: calc(var(--space-section-end) - var(--space-gutter));
  }

  /* Karriere: same stacked inset behavior as Leistungen split */
  .leistungen-intro--karriere,
  .leistungen-intro--karriere.leistungen-intro--alt {
    padding: var(--space-gutter);
  }

  .karriere-layout {
    grid-template-columns: 1fr;
    gap: var(--space-gutter);
  }

  .karriere-layout__content {
    padding: 0;
    padding-bottom: calc(var(--space-section-end) - var(--space-gutter));
  }

  /* Nachhaltigkeit stats */
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  /* Footer: logo > nav > newsletter > legal | catalog */
  .site-footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 28px;
  }

  .site-footer-logo,
  .site-footer-inner > .site-footer-catalog,
  .site-footer-newsletter,
  .site-footer-nav,
  .site-footer-legal {
    width: auto;
    max-width: none;
    margin-top: 0;
    transform: none;
  }

  .site-footer-logo {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 24px;
  }

  .site-footer-newsletter {
    grid-column: 3;
    grid-row: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: auto;
    justify-self: stretch;
    margin-bottom: 0;
  }

  .site-footer-newsletter .footer-newsletter-form {
    width: calc(100% + 8px);
    max-width: none;
    margin-left: -8px; /* optische correctie pilvorm */
    box-sizing: border-box;
  }

  .site-footer-legal {
    grid-column: 1 / span 2;
    grid-row: 4;
    width: auto;
    justify-self: start;
    align-self: start;
  }

  .site-footer-inner > .site-footer-catalog {
    grid-column: 3;
    grid-row: 4;
    width: calc(100% + 8px);
    margin-top: -12px; /* row-gap 28px → overlay actions gap 16px */
    margin-left: -8px;
    justify-self: stretch;
    align-self: start;
    box-sizing: border-box;
  }

  /* Typografie guide */
  .typography-specimen {
    grid-template-columns: 1fr;
  }

  .typography-fonts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --space-gutter: 16px;
    --logo-offset-left: 16px;
    --logo-offset-top: 12px; /* (72px header − 48px logo) / 2 */
    --space-section: 32px;
    --header-height-expanded: 72px;
    --logo-height: 48px; /* collapsed stays 24px — clear scroll animation */
  }

  body:not(.menu-open):not(.product-detail-page):not(.legal-page):not(.is-scrolled) {
    --header-height: 72px;
    --logo-height: 48px;
  }

  .hero {
    min-height: 360px;
    height: calc(100vh - var(--header-offset));
  }

  .hero-tagline {
    max-width: 100%;
    bottom: 40px;
    padding: 0 var(--space-gutter);
  }

  /* Home: product category rows */
  .produkte-intro-row {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }

  .produkte-lists {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .produkte-category-title {
    margin-bottom: 0;
  }

  .home-cards-grid {
    grid-template-columns: 1fr;
  }

  .leistungen-services-columns,
  .leistungen-services--home .leistungen-services-columns,
  .leistungen-services--page .leistungen-services-columns {
    grid-template-columns: 1fr;
    gap: var(--space-section);
  }

  /* Karriere under 720: same image height behavior as Leistungen split */
  .karriere-layout__media {
    min-height: 320px;
    aspect-ratio: auto;
  }

  /* Kontakt form */
  .kontakt-form__row {
    grid-template-columns: 1fr;
  }

  .site-footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer: 2-col — newsletter in rechter kolom */
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-newsletter {
    grid-column: 2;
  }

  .site-footer-legal {
    grid-column: 1;
  }

  .site-footer-inner > .site-footer-catalog {
    grid-column: 2;
    width: calc(100% + 8px);
    margin-top: -12px;
    margin-left: -8px;
    justify-self: stretch;
  }

  .nachhaltigkeit-hero-image,
  .page-hero__image {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Page heroes (Leistungen / Unternehmen): crop sides so band stays taller */
  .page-hero__image {
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .nachhaltigkeit-hero-image {
    width: calc(100% - 2 * var(--space-gutter));
    margin-left: var(--space-gutter);
    margin-right: var(--space-gutter);
  }

  .product-detail-section {
    padding: 0 var(--space-gutter) var(--space-section-end);
  }

  .product-detail-intro-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-section-end);
  }

  .page-hero__body-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-section);
  }

  .page-hero__main,
  .page-hero__body-inner > .content-lead,
  .page-hero__body-inner .product-detail-sidebar,
  .page-hero__body-inner:has(> .content-lead) > .page-hero__main,
  .page-hero__body-inner:has(> .content-lead) > .product-detail-sidebar {
    grid-column: auto;
    width: 100%;
  }

  .menu-footer {
    padding: 16px var(--space-gutter) var(--space-gutter);
  }

  .menu-rule {
    margin: 0 var(--space-gutter);
  }
}

/* Narrow phones: fluid menu overlay type (no jump @ 450 → smaller @ ~320) */
@media (max-width: 450px) {
  /* Product overview: stack when the 50/50 columns become too narrow */
  .produkte-intro-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .produkte-category-title {
    margin-bottom: 0;
  }

  .nav-overlay .menu-section-title {
    /* ~32px @ 450 → 18px @ 320 */
    font-size: clamp(18px, calc(18px + (100vw - 320px) * 14 / 130), 32px);
    line-height: 105%;
  }

  .nav-overlay .menu-sub-link,
  .nav-overlay .menu-product-cat,
  .nav-overlay .menu-section--kontakt .menu-newsletter-link {
    /* 15px @ 450 → 13px @ 320 */
    font-size: clamp(13px, calc(13px + (100vw - 320px) * 2 / 130), 15px);
    line-height: 125%;
  }

  .nav-overlay .menu-lang {
    /* 14px @ 450 → 12px @ 320 */
    font-size: clamp(12px, calc(12px + (100vw - 320px) * 2 / 130), 14px);
    line-height: 100%;
  }

  .nav-overlay .menu-catalog-btn,
  .nav-overlay .menu-footer-legal {
    /* 15px / 12px → slightly smaller */
    font-size: clamp(12px, calc(12px + (100vw - 320px) * 2 / 130), 14px);
  }

  .nav-overlay .menu-newsletter-form .newsletter-form__controls input {
    font-size: clamp(12px, calc(12px + (100vw - 320px) * 2 / 130), 14px);
  }

  /* Form + catalog: full width — right column alone is too narrow for emails */
  .nav-overlay .menu-kontakt-actions {
    width: calc(100vw - 2 * var(--space-gutter));
    margin-left: calc(var(--space-gutter) - 50vw - 8px);
  }

  .nav-overlay .menu-newsletter-form,
  .nav-overlay .menu-catalog-btn {
    margin-left: -5px;
    width: calc(100% + 5px);
  }
}

/* Footer: stack newsletter + catalog before the 2-col row gets too tight */
@media (max-width: 470px) {
  .site-footer-newsletter {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-bottom: 0; /* was 24px — halve space to catalog (~row-gap only) */
  }

  .site-footer-inner > .site-footer-catalog {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: stretch;
    width: calc(100% + 8px);
    margin-top: -12px;
    margin-left: -8px;
    box-sizing: border-box;
    margin-bottom: 28px; /* double space to legal */
  }

  .site-footer-legal {
    grid-column: 1 / -1;
    grid-row: 5;
  }
}

/* Very small phones: always collapsed header (no expand animation) */
@media (max-width: 400px) {
  :root {
    --header-height-expanded: 50px;
    --logo-height: 24px;
    --logo-offset-top: 0;
  }

  /* Nachhaltigkeit stats: 2 cols until 400 */
  .stats-row {
    grid-template-columns: 1fr;
  }

  body:not(.menu-open):not(.product-detail-page):not(.legal-page):not(.is-scrolled) {
    --header-height: 50px;
    --logo-height: 24px;
  }

  /* Match scrolled layout even at page top */
  .header-inner {
    align-items: center;
    padding: 0 var(--space-gutter);
  }

  body:not(.menu-open) .burger-toggle {
    align-items: center;
    padding: 0;
  }

  body:not(.menu-open) .burger-toggle .burger-icon {
    transform: none;
  }

  .product-detail-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .product-detail-actions .btn-primary,
  .product-detail-catalog {
    margin-top: 16px;
  }

  .leistungen-services-icon {
    width: 120px;
    height: auto;
  }
}
