/* ==========================================================================
   Schaefer Behältertechnik – site.css (Richtung „Evolution“, 2026-09)
   Reihenfolge: Fonts · Tokens · Reset/Basis · Typografie · Buttons/Links ·
   Header/Nav · Hero/Page-Hero/Facts · Sektionen/Karten/Listen ·
   Produkte/Tabellen/Übersicht · Galerie/Lightbox · Formular/Finder/Swatches ·
   CTA/Footer · Kontaktleiste/To-Top/Sprachbanner/Skip · Legacy (bis B1) ·
   Responsive (1120 · 641–1120 · 900 · 860 · 720 · 640 · 480) · Print · Motion
   Breakpoints: Burger ≤ 1120 · Zwischenstufe 641–1120 · Hero/Split ≤ 900 ·
   Produkt ≤ 860 · Kontaktleiste ≤ 720 · Mobil ≤ 640 · Klein ≤ 480
   ========================================================================== */

/* ---------- 1. Fonts (variabel, je Familie ein Block) ---------- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

/* ---------- 2. Tokens ---------- */
:root {
  color-scheme: only light;

  /* Flächen */
  --bg-page: #f4f7fa;
  --bg-tint: #e6eef6;
  --bg-tint-strong: #d7e4f0;
  --surface: #ffffff;
  --steel-dark: #152f3f;
  --steel: #22485f;

  /* Text */
  --ink: #17202a;
  --ink-soft: #3d4a58;
  --ink-muted: #5b6873;
  --on-dark: #ffffff;
  --on-dark-soft: #c9d3dc;
  --on-dark-muted: #8fa7bb;

  /* Marke / Aktion */
  --accent: #1c5a8c;
  --accent-strong: #164a74;
  --link-on-dark: #7cc0f0;
  --wa: #1faa55; /* nur mit dunklem Text --steel-dark (4,9:1) */
  --signal: #b3261e;

  /* Linien */
  --line: #c9d6e2;
  --line-strong: #7f95a8;
  --line-on-dark: rgba(255, 255, 255, 0.14);

  /* 8-pt-Raster */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --section-y: clamp(var(--s-7), 7vw, var(--s-9));
  --content-width: 1200px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --measure: 62ch;

  /* Form */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(21, 47, 63, 0.06);
  --shadow-md: 0 8px 24px rgba(21, 47, 63, 0.12);

  /* Typografie */
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-head: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --fs--1: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --fs-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-2: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-3: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --fs-4: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --fs-5: clamp(2.375rem, 1.7rem + 2.8vw, 4rem);
  --lh-tight: 1.05;
  --lh-head: 1.15;
  --lh-body: 1.6;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur: 0.2s;

  /* Header-Höhe (Utility 34 + Mainbar 72) für Anker-Offsets */
  --header-h: 7rem;

  /* ALIASE für bestehende Selektoren – nicht entfernen */
  --bg: var(--bg-page);
  --panel: var(--surface);
  --panel-strong: var(--surface);
  --accent-dark: var(--accent-strong);
  --shadow: var(--shadow-sm);
  --radius-xl: var(--radius-lg); /* 12px */
  --radius-lg-old: 8px;
}

/* ---------- 3. Reset / Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: var(--fs-0);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

figure {
  margin: 0;
}

[id] {
  scroll-margin-top: var(--header-h);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--content-width), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Fokus: deckender Ring + weißer Innenring (auch auf dunklem Grund sichtbar) */
a:focus-visible,
button:focus-visible,
.button:focus-visible,
.ov-card:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}

.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.cta-banner :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--link-on-dark);
}

/* Reveal-Effekt abgeschafft: Attribut bleibt im HTML harmlos */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- 4. Typografie ---------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 var(--s-3);
  line-height: var(--lh-head);
  color: var(--ink);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--fs-4);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-3);
}

h3,
h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-1);
}

h4 {
  font-size: var(--fs-0);
}

p,
li,
figcaption {
  text-wrap: pretty;
}

p {
  margin: 0 0 var(--s-4);
}

p:last-child {
  margin-bottom: 0;
}

/* Textlinks im Fließtext unterstreichen (Farbkontrast Link/Text allein reicht nicht) */
p a:not(.button):not(.textlink),
li a:not(.button):not(.textlink),
td a,
figcaption a,
.legal-note a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

.eyebrow {
  display: block;
  margin-bottom: var(--s-3);
  color: var(--accent);
  font-size: var(--fs--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: var(--fs-1);
  color: var(--ink-soft);
}

.muted {
  color: var(--ink-muted);
}

.measure {
  max-width: var(--measure);
}

.num {
  font-variant-numeric: tabular-nums;
}

/* Dunkle Flächen (Header, Footer, CTA-Band, Sektionen) */
.on-dark,
.cta-banner {
  background: var(--steel-dark);
  color: var(--on-dark);
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.cta-banner h2,
.cta-banner h3 {
  color: var(--on-dark);
}

.on-dark p,
.cta-banner p {
  color: var(--on-dark-soft);
}

.on-dark a,
.cta-banner a {
  color: var(--link-on-dark);
}

.on-dark a:hover,
.cta-banner a:hover {
  color: var(--on-dark);
}

.on-dark .eyebrow,
.cta-banner .eyebrow {
  color: var(--link-on-dark);
}

/* ---------- 5. Buttons / Links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--fs-0);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.button--primary,
.on-dark .button--primary,
.cta-banner .button--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-dark);
}

.button--primary:hover,
.on-dark .button--primary:hover,
.cta-banner .button--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--on-dark);
}

.button--secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.on-dark .button--secondary,
.cta-banner .button--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--on-dark);
}

.on-dark .button--secondary:hover,
.cta-banner .button--secondary:hover {
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.button--wa,
.on-dark .button--wa,
.cta-banner .button--wa {
  background: var(--wa);
  border-color: var(--wa);
  color: var(--steel-dark);
}

.button--wa:hover,
.on-dark .button--wa:hover,
.cta-banner .button--wa:hover {
  background: #1c9a4d;
  border-color: #1c9a4d;
  color: var(--steel-dark);
}

.button--small {
  min-height: 40px;
  padding: 0 var(--s-4);
  font-size: var(--fs--1);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  color: var(--accent);
}

.textlink::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.textlink:hover::after {
  transform: translateX(3px);
}

.hero__actions,
.section-actions,
.lead-form__actions,
.finder-hit__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}

.hero__actions {
  margin-top: var(--s-6);
  gap: var(--s-4);
}

.section-actions {
  margin-top: var(--s-5);
}

/* ---------- 6. Header / Navigation (Markup §3) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--steel-dark);
  color: var(--on-dark);
}

.utility {
  border-bottom: 1px solid var(--line-on-dark);
  font-size: var(--fs--1);
  color: var(--on-dark-soft);
}

.utility__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  min-height: 34px;
}

.utility__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility__list li {
  white-space: nowrap;
}

.utility a {
  color: var(--on-dark-soft);
}

.utility a:hover {
  color: var(--on-dark);
}

.utility strong {
  color: var(--on-dark);
  font-weight: 600;
}

.utility__lang {
  font-weight: 600;
  white-space: nowrap;
}

.mainbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  color: inherit;
}

.brand__logo {
  height: 40px;
  width: auto;
  max-width: min(60vw, 360px);
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--s-3), 1.6vw, var(--s-5));
}

.site-nav a {
  position: relative;
  padding: var(--s-2) 0;
  color: var(--on-dark-soft);
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: var(--on-dark);
}

.site-nav a.active::after,
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--link-on-dark);
}

.mainbar__actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  min-width: 44px;
  padding: 0 var(--s-3);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--on-dark);
  font-size: var(--fs--1);
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--on-dark);
}

.nav-toggle__label {
  line-height: 1;
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 7. Hero / Page-Hero / Facts (Markup §4) ---------- */
.hero,
.page-hero {
  padding-block: clamp(var(--s-7), 6vw, var(--s-9));
}

.hero h1 {
  font-size: var(--fs-5);
  max-width: 22ch;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.page-hero {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: var(--fs-4);
  max-width: 24ch;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.hero p,
.page-hero p {
  max-width: var(--measure);
  color: var(--ink-soft);
}

.page-hero p {
  font-size: var(--fs-1);
}

.page-hero p + p {
  font-size: var(--fs-0);
}

.hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(var(--s-6), 5vw, var(--s-9));
  align-items: center;
}

.hero__copy,
.split__copy {
  min-width: 0;
}

.hero .lead {
  margin-top: var(--s-5);
}

.hero__phone {
  margin: var(--s-5) 0 0;
  font-size: var(--fs--1);
  color: var(--ink-soft);
}

.hero__phone a {
  font-weight: 600;
}

.hero__media {
  margin: 0;
}

.hero__media img,
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
}

.hero__media figcaption,
.split__media figcaption {
  margin-top: var(--s-2);
  font-size: var(--fs--1);
  color: var(--ink-muted);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

/* Chips: Meta-Angaben, Tag-Listen, Einsatzfelder */
.page-hero__meta span,
.tag-list li,
.chips a,
.chips span {
  display: inline-block;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-size: var(--fs--1);
  font-weight: 500;
  line-height: 1.3;
}

.chips a {
  color: var(--accent);
}

.chips a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.chips span {
  color: var(--ink-soft);
  border-style: dashed;
}

.facts {
  background: var(--bg-tint);
  border-block: 1px solid var(--line);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: var(--s-5) var(--s-5) var(--s-5) 0;
}

.fact + .fact {
  border-left: 1px solid var(--line);
  padding-left: var(--s-5);
}

.fact strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-3);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.fact span {
  display: block;
  margin-top: var(--s-1);
  font-size: var(--fs--1);
  color: var(--ink-soft);
}

/* ---------- 8. Sektionen / Karten / Listen ---------- */
.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: var(--s-6) var(--s-7);
}

.section-band,
.section--tint {
  background: var(--bg-tint);
  border-block: 1px solid var(--line);
}

.section-band + .section-band,
.page-hero + .section-band,
.section--tint + .section--tint {
  border-top: 0;
}

.section-header {
  max-width: 42rem;
  margin-bottom: var(--s-6);
}

.section-header h2,
.section-head h2 {
  font-size: var(--fs-4);
}

/* In zweispaltigen Layouts eine Stufe kleiner (schmale Spalte) */
.split-layout .section-header h2,
.split .section-header h2 {
  font-size: var(--fs-3);
}

.section-header p {
  margin: var(--s-3) 0 0;
  color: var(--ink-soft);
}

.section-header .button {
  margin: var(--s-2) var(--s-2) 0 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}

.section-head .measure {
  max-width: 52ch;
}

.section-head p {
  margin: var(--s-3) 0 0;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: var(--s-5);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: var(--s-4);
  align-content: start;
}

.split-layout,
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--s-5), 4vw, var(--s-8));
  align-items: start;
}

.split {
  align-items: center;
}

.split__media {
  margin: 0;
}

/* Karten: eine Sprache – weiß, 1-px-Linie, Radius 8, flacher Schatten */
.feature-card,
.info-card,
.list-card,
.contact-card,
.page-card,
.legal-card,
.product,
.finder,
.finder-hit,
.process-step,
.industry-item,
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--s-5);
}

.feature-card,
.info-card,
.list-card,
.contact-card,
.page-card,
.legal-card,
.process-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.feature-card h3,
.info-card h3,
.list-card h3,
.process-step h3,
.finder-hit h3 {
  font-size: var(--fs-1);
}

.page-card h2,
.contact-card h2,
.legal-card h2 {
  font-size: var(--fs-2);
}

.feature-card p,
.info-card p,
.list-card p,
.contact-card p,
.page-card p,
.legal-card p,
.process-step p {
  color: var(--ink-soft);
}

.feature-card__more {
  margin-top: auto;
  padding-top: var(--s-3);
  font-weight: 600;
}

.feature-card__more a {
  text-decoration: none;
}

.feature-card__more a:hover {
  text-decoration: underline;
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--s-4);
  border-radius: var(--radius-md);
  background: var(--bg-tint);
  color: var(--accent);
}

.feature-card__icon img,
.feature-card__icon svg {
  width: 26px;
  height: 26px;
}

.info-card h3 a {
  color: var(--ink);
}

.info-card h3 a:hover {
  color: var(--accent);
}

.contact-card .button,
.page-card .button {
  align-self: flex-start;
}

.contact-card p:last-of-type {
  margin-bottom: var(--s-4);
}

.metric strong {
  display: block;
  margin-bottom: var(--s-1);
  font-weight: 600;
  color: var(--ink);
}

.metric span {
  color: var(--ink-muted);
  font-size: var(--fs--1);
  line-height: 1.5;
}

/* Listen: Punkt + Linie statt Pills */
.bullet-list,
.detail-list,
.checklist {
  list-style: none;
  margin: var(--s-4) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.bullet-list li,
.detail-list li,
.checklist li {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.bullet-list li::before,
.detail-list li::before,
.checklist li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--accent);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.legal-note,
.lead-form__status {
  margin: 0 0 var(--s-5);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-tint);
  color: var(--ink-soft);
  font-size: var(--fs--1);
}

/* Bildkarte: Caption unter dem Bild statt Overlay */
.image-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card__caption,
.gallery__caption {
  position: static;
  padding: var(--s-4);
  color: var(--ink-soft);
  font-size: var(--fs--1);
}

.image-card__caption strong,
.gallery__caption strong {
  display: block;
  margin-bottom: var(--s-1);
  font-size: var(--fs-0);
  font-weight: 600;
  color: var(--ink);
}

/* Einsatzfelder */
.industry-grid,
.process-grid {
  display: grid;
  gap: var(--s-4);
}

.industry-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.industry-item {
  padding: var(--s-4);
  font-weight: 600;
  text-align: center;
  color: var(--ink-soft);
}

a.industry-item {
  color: var(--accent);
  transition: border-color var(--dur) var(--ease);
}

a.industry-item:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

a.industry-item::after {
  content: " →";
}

/* Ablauf */
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step__number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  background: var(--steel-dark);
  color: var(--on-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding-top: var(--s-4);
  border-top: 2px solid var(--line-strong);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-2);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.step h3 {
  margin-bottom: var(--s-2);
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs--1);
}

/* Leistungen: Spalten mit Linien statt Karten */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service {
  padding: var(--s-6) var(--s-6) 0 0;
}

.service + .service {
  border-left: 1px solid var(--line);
  padding-left: var(--s-6);
}

.service h3 {
  font-size: var(--fs-2);
}

.service p {
  margin: var(--s-3) 0 0;
  color: var(--ink-soft);
}

.service .textlink {
  margin-top: var(--s-4);
  font-size: var(--fs--1);
}

/* Galerie (Landingpages): Karten mit Caption unter dem Bild */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface);
}

/* 3D-Teaser */
.teaser {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  align-items: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.teaser__body {
  padding: clamp(var(--s-5), 4vw, var(--s-8));
}

.teaser h2 {
  font-size: var(--fs-3);
}

.teaser__body p {
  margin: var(--s-3) 0 0;
  color: var(--ink-soft);
}

.teaser__body .button {
  margin-top: var(--s-5);
}

.teaser__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* CTA-Band (Bestand .cta-banner und Prototyp .on-dark .cta) */
.cta-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-6);
  align-items: center;
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  border-radius: var(--radius-lg);
}

.cta-banner h2,
.cta h2 {
  font-size: var(--fs-3);
}

.cta-banner .section-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-6);
  align-items: center;
}

.cta p {
  margin: var(--s-3) 0 0;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: flex-end;
}

/* ---------- 9. Produkte / Tabellen / Übersicht ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}

.pcard {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: border-color var(--dur) var(--ease);
}

.pcard:hover {
  border-color: var(--accent);
  color: inherit;
}

.pcard__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tint);
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__body {
  display: grid;
  gap: var(--s-1);
  padding: var(--s-4) var(--s-5) var(--s-5);
}

.pcard__code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-2);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pcard__name {
  color: var(--ink-soft);
}

.pcard__spec {
  margin-top: var(--s-2);
  font-size: var(--fs--1);
  color: var(--ink-muted);
}

.pcard__link {
  margin-top: var(--s-3);
  font-size: var(--fs--1);
}

.products-more {
  margin: var(--s-5) 0 0;
  color: var(--ink-soft);
}

.product-list {
  display: grid;
  gap: var(--s-5);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-5);
  box-shadow: none;
  content-visibility: auto;
  contain-intrinsic-size: auto 650px;
}

.product__media,
.product__body {
  min-width: 0;
}

.product__media {
  display: grid;
  gap: var(--s-4);
  align-content: start;
}

.product__shot {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.product__shot img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 16rem;
  object-fit: contain;
}
/* Kleine Piktogramme (ca. 50 px) nie hochskalieren: Originalgroesse, mittig, flacherer Kasten */
.product__shot--icon {
  min-height: 9rem;
}
.product__shot--icon img {
  max-height: 6rem;
}

.product__draw img {
  width: 100%;
  padding: var(--s-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.product__draw figcaption {
  margin-top: var(--s-2);
  font-size: var(--fs--1);
  color: var(--ink-muted);
  text-align: center;
}

.product__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.product__body > * {
  margin: 0;
}

.product__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-2);
  letter-spacing: -0.01em;
}

.product__features {
  display: grid;
  gap: var(--s-1);
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.product__surface {
  font-size: var(--fs--1);
  color: var(--ink-muted);
}

.product__cta,
.product__body > .button {
  align-self: flex-start;
}

.spec-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(to left, rgba(21, 47, 63, 0.12), transparent 24px) right / 24px 100% no-repeat;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs--1);
}

.spec-table th,
.spec-table td {
  height: 40px;
  padding: 0 var(--s-3);
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.spec-table thead th {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: var(--fs--1);
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
}

.spec-table thead th:not(:first-child),
.spec-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.spec-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 9rem;
  background: var(--surface);
  font-weight: 600;
  color: var(--ink);
  white-space: normal;
  box-shadow: 1px 0 0 var(--line);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Übersichtsraster (produkte.html) */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-4);
}

.ov-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease);
}

.ov-card:hover {
  border-color: var(--accent);
  color: inherit;
}

.ov-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 104px;
}

.ov-thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ov-card figcaption,
.ov-cap {
  margin-top: var(--s-3);
  font-size: var(--fs-0);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
}

.ov-cap small {
  display: block;
  margin-top: 2px;
  font-size: var(--fs--1);
  font-weight: 400;
  color: var(--ink-muted);
}

/* ---------- 10. Foto-Raster / Lösungsgruppen / RAL / Lightbox ---------- */
.solution-groups {
  display: grid;
  gap: var(--s-7);
}

.solution-group > :is(h2, h3) {
  margin: 0 0 var(--s-4);
  font-size: var(--fs-2);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--s-4);
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-tint);
}

.photo-grid figcaption {
  padding: var(--s-3) var(--s-3);
  font-size: var(--fs--1);
  color: var(--ink-soft);
}

.photo-grid--full {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.photo-grid--full img {
  aspect-ratio: 3 / 4;
  object-position: center;
}

.ral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: var(--s-3);
  margin: var(--s-5) 0 0;
}

.ral {
  margin: 0;
}

.ral > span {
  display: block;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--ral);
}

.ral figcaption {
  margin-top: var(--s-1);
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--ink-muted);
  text-align: center;
}

.ral--standard > span {
  box-shadow: 0 0 0 2px var(--accent);
}

.ral--standard figcaption {
  color: var(--ink);
  font-weight: 600;
}

.ral-note {
  margin: var(--s-3) 0 0;
  font-size: var(--fs--1);
  color: var(--ink-muted);
}

.is-zoomable {
  cursor: zoom-in;
}

/* Lightbox: <dialog class="lightbox"> (Paket E) + Fallback .is-open */
.lightbox {
  display: none;
  width: 100%;
  max-width: 100vw;
  max-height: 100vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
}

.lightbox::backdrop {
  background: rgba(8, 18, 26, 0.86);
}

.lightbox[open],
.lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.lightbox.is-open {
  position: fixed;
  inset: 0;
  z-index: 1000;
  max-width: none;
  max-height: none;
  background: rgba(8, 18, 26, 0.86);
}

body:has(dialog[open]) {
  overflow: hidden;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  margin: 0;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: zoom-out;
}

.lightbox__cap {
  margin: 0;
  max-width: 60ch;
  font-size: var(--fs--1);
  color: var(--on-dark-soft);
  text-align: center;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--on-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.26);
}

.lightbox__close {
  top: var(--s-4);
  right: var(--s-4);
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: var(--s-4);
}

.lightbox__next {
  right: var(--s-4);
}

.lightbox__prev svg,
.lightbox__next svg,
.lightbox__close svg {
  width: 22px;
  height: 22px;
}

/* ---------- 11. Formular / Finder / Swatches ---------- */
.lead-form {
  display: grid;
  gap: var(--s-4);
}

.lead-form fieldset {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding: var(--s-4) 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.lead-form legend {
  padding: 0;
  margin-bottom: var(--s-3);
  font-weight: 600;
  font-size: var(--fs-1);
}

.lead-form__row {
  display: grid;
  gap: var(--s-4);
}

.lead-form label {
  display: block;
  margin-bottom: var(--s-1);
  font-size: var(--fs--1);
  font-weight: 600;
  color: var(--ink);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
}

.lead-form textarea {
  min-height: 130px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.lead-form [aria-invalid="true"] {
  border-color: var(--signal);
}

.lead-form__actions {
  margin-top: var(--s-2);
}

.lead-form__hint {
  margin: var(--s-1) 0 0;
  font-size: var(--fs--1);
  color: var(--ink-muted);
}

.lead-form__error {
  margin: 0;
  color: var(--signal);
  font-weight: 600;
}

.lead-form__status {
  margin: 0;
}

/* Behälter-Finder */
.finder {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(var(--s-5), 3vw, var(--s-6));
}

.finder__progress {
  display: flex;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}

.finder__progress span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

.finder__progress span.is-done {
  background: var(--accent);
}

.finder__step {
  display: none;
}

.finder__step.is-active {
  display: block;
}

.finder__step h2 {
  margin-bottom: var(--s-4);
  font-size: var(--fs-2);
}

.finder__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
}

.finder__opt {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}

.finder__opt:hover {
  border-color: var(--accent);
}

.finder__opt strong {
  font-weight: 600;
  color: var(--ink);
}

.finder__opt span {
  font-size: var(--fs--1);
  line-height: 1.45;
  color: var(--ink-muted);
}

.finder__back {
  margin-top: var(--s-5);
  padding: var(--s-2) 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 600;
  cursor: pointer;
}

.finder__back:hover {
  color: var(--ink);
  text-decoration: underline;
}

.finder__results {
  display: grid;
  gap: var(--s-4);
}

.finder-hit--top {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.finder-hit h3 {
  margin-bottom: var(--s-1);
}

.finder-hit p {
  margin: 0 0 var(--s-4);
  color: var(--ink-soft);
}

.finder-hit__badge {
  display: inline-block;
  margin-bottom: var(--s-3);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  color: var(--accent-strong);
  font-size: var(--fs--1);
  font-weight: 600;
}

.finder__note {
  margin: var(--s-5) 0 0;
  font-size: var(--fs--1);
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Oberflächen-Swatches (3D-Viewer) */
.swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.swatch {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
}

.swatch:hover {
  transform: scale(1.08);
}

.swatch.is-active {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 12. Footer (Markup §5) ---------- */
.site-footer {
  background: var(--steel-dark);
  color: var(--on-dark-soft);
  padding: var(--s-8) 0 var(--s-6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
}

.site-footer h3 {
  margin-bottom: var(--s-3);
  color: var(--on-dark);
  font-size: var(--fs--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer ul {
  display: grid;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--on-dark-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

.footer__brand img {
  height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer__address,
.site-footer address {
  margin-top: var(--s-4);
  line-height: 1.7;
  color: var(--on-dark-soft);
}

.site-footer address strong {
  color: var(--on-dark);
}

.social {
  display: flex;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  color: var(--on-dark-soft);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.social a:hover {
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer__sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-on-dark);
  font-size: var(--fs--1);
  color: var(--on-dark-muted);
}

/* ---------- 13. Kontaktleiste / To-Top / Sprachbanner / Skip ---------- */
.contact-bar {
  display: none;
}

.to-top {
  position: fixed;
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: 29;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-dark);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur), background-color var(--dur) var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--accent-strong);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.lang-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-1) var(--s-4);
  padding: var(--s-2) var(--s-4);
  background: var(--accent-strong);
  color: var(--on-dark);
  font-size: var(--fs--1);
  text-align: center;
}

.lang-banner__cta {
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: underline;
}

.lang-banner__cta:hover {
  color: var(--on-dark);
  text-decoration: none;
}

.lang-banner__close {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -999px;
  z-index: 2000;
  padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--radius-md) 0;
  background: var(--accent-strong);
  color: var(--on-dark);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 14. LEGACY (altes Header-/Footer-/Hero-Markup) – nach Paket B1 löschbar ---------- */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 72px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-width: 0;
}

.site-header__actions .button {
  min-height: 40px;
  padding: 0 var(--s-4);
  font-size: var(--fs--1);
  white-space: nowrap;
}

.site-header__actions .nav-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 var(--s-3);
}

.site-header__actions .nav-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: var(--s-6);
}

.site-footer h2 {
  margin-bottom: var(--s-2);
  color: var(--on-dark);
  font-size: var(--fs-2);
}

.site-footer p {
  color: var(--on-dark-soft);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.footer-social__label {
  font-size: var(--fs--1);
  font-weight: 600;
  color: var(--on-dark-muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  color: var(--on-dark-soft);
}

.social-links a:hover {
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.site-footer__subline {
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-on-dark);
  font-size: var(--fs--1);
  color: var(--on-dark-muted);
}

/* Alter Start-Hero (index/english bis B1): Kontaktkarte, Kennzahlen, Trust-Band */
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.hero-panel {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: url("../img/produktfotos/m11.jpg") center / cover no-repeat var(--bg-tint);
}

.hero-panel__card {
  position: absolute;
  right: var(--s-4);
  bottom: var(--s-4);
  left: var(--s-4);
  padding: var(--s-5);
  border-radius: var(--radius-md);
  background: rgba(21, 47, 63, 0.88);
  color: var(--on-dark);
}

.hero-panel__card h2 {
  font-size: var(--fs-2);
  color: var(--on-dark);
}

.hero-panel__card p {
  max-width: none;
  color: var(--on-dark-soft);
  font-size: var(--fs--1);
}

.hero-panel__details {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

.hero-panel__label {
  display: block;
  font-size: var(--fs--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.hero-panel__value {
  font-weight: 600;
  color: var(--on-dark);
}

.trust-band {
  background: var(--bg-tint);
  border-block: 1px solid var(--line);
}

.trust-band__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1) var(--s-6);
  padding: var(--s-3) 0;
  font-size: var(--fs--1);
  font-weight: 600;
  color: var(--ink-soft);
}

.trust-band__inner span::before {
  content: "✓";
  margin-right: var(--s-2);
  color: var(--accent);
}

/* ---------- 15. Responsive ---------- */
/* ≤ 1120: Burger-Menü, Utility ohne E-Mail, 2-spaltige Raster */
@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 106px);
    overflow-y: auto;
    padding: var(--s-2) var(--gutter) var(--s-4);
    background: var(--steel-dark);
    border-top: 1px solid var(--line-on-dark);
    border-bottom: 1px solid var(--line-on-dark);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid var(--line-on-dark);
    font-size: var(--fs-0);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a.active::after,
  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .site-nav a.active,
  .site-nav a[aria-current="page"] {
    padding-left: var(--s-3);
    box-shadow: inset 3px 0 0 var(--link-on-dark);
  }

  .utility__mail {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .products,
  .steps,
  .footer__grid,
  .site-footer__inner,
  .grid--2,
  .grid--3,
  .grid--4,
  .process-grid,
  .industry-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ≤ 900: Hero/Split/Teaser/CTA einspaltig, Facts 2 Spalten */
@media (max-width: 900px) {
  .hero__grid,
  .split-layout,
  .split,
  .teaser,
  .cta,
  .cta-banner,
  .services {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__media,
  .split__media {
    order: -1;
  }

  .hero__media img {
    aspect-ratio: 4 / 3;
  }

  .split__media img {
    aspect-ratio: 16 / 10;
  }

  .teaser__media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .service {
    padding-right: 0;
  }

  .service + .service {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
    gap: var(--s-4);
  }

  .cta__actions,
  .cta-banner .section-actions {
    justify-content: flex-start;
  }

  .overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .finder__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ≤ 860: Produktkarte einspaltig */
@media (max-width: 860px) {
  .product {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ≤ 720: Kontaktleiste sichtbar, To-Top aus */
@media (max-width: 720px) {
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }

  .contact-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--steel-dark);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.18);
  }

  .contact-bar a,
  .contact-bar__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    padding: var(--s-2) var(--s-1);
    background: var(--accent);
    color: var(--on-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
  }

  .contact-bar svg {
    width: 20px;
    height: 20px;
  }

  .contact-bar__btn--call {
    background: var(--accent);
  }

  .contact-bar__btn--wa,
  .contact-bar a.is-wa {
    background: var(--wa);
    color: var(--steel-dark);
  }

  .contact-bar__btn--enquiry,
  .contact-bar a.is-enq {
    background: var(--accent-strong);
  }

  .to-top {
    display: none;
  }

  .product {
    contain-intrinsic-size: auto 850px;
  }
}

/* ≤ 640: alles einspaltig, Utility nur Telefon + Sprache */
@media (max-width: 640px) {
  .utility__hours {
    display: none;
  }

  .mainbar__actions .button,
  .site-header__actions .button {
    display: none;
  }

  .brand__logo {
    height: 32px;
  }

  .hero__actions,
  .section-actions,
  .lead-form__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .site-header .button,
  .lang-banner .button {
    width: auto;
  }

  .products,
  .steps,
  .footer__grid,
  .site-footer__inner,
  .grid--2,
  .grid--3,
  .grid--4,
  .process-grid,
  .industry-grid,
  .gallery,
  .hero__meta,
  .finder__options {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-grid,
  .photo-grid--full,
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-3);
  }

  .ov-thumb {
    height: 88px;
  }

  .product {
    padding: var(--s-4);
    gap: var(--s-4);
  }

  .section-head .textlink {
    align-self: flex-start;
  }

  .footer__sub {
    flex-direction: column;
  }
}

/* ≤ 480: Faktenzeile 1 Spalte, Tabellen kompakter */
@media (max-width: 480px) {
  .facts__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fact + .fact {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .spec-table th,
  .spec-table td {
    padding: 0 var(--s-2);
  }

  .spec-table tbody th {
    min-width: 7.5rem;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: var(--s-4);
    transform: none;
  }
}

/* Formularzeilen zweispaltig ab 640 px */
@media (min-width: 640px) {
  .lead-form__row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 16. Print ---------- */

/* === Nacharbeit 2026-09-05 (nach Stufe 3) === */
.lead-form .lead-form__error, .page-card .lead-form__error { color: var(--signal); }
picture { display: contents; }
.product__draw img { max-width: 681px; margin-inline: auto; }
.lightbox__count { display: block; margin-top: var(--s-1); color: var(--on-dark-muted); font-size: var(--fs--1); }
.finder-hit__grid { display: grid; gap: var(--s-4); }
.finder-hit__media { display: flex; align-items: center; justify-content: center; height: 120px; padding: var(--s-2); background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-md); }
.finder-hit__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.finder-hit__body { min-width: 0; }
.finder-hit__specs { margin: 0 0 var(--s-4); color: var(--ink-muted); font-size: var(--fs--1); }
@media (min-width: 640px) { .finder-hit__grid { grid-template-columns: 140px minmax(0, 1fr); align-items: start; } }

@media print {
  .site-header,
  .site-footer,
  .contact-bar,
  .to-top,
  .lang-banner,
  .nav-toggle,
  .skip-link,
  .cta-banner .button,
  .cta__actions,
  .lightbox,
  .lightbox[open],
  .lightbox.is-open {
    display: none;
  }

  html {
    scroll-padding-top: 0;
  }

  body {
    padding-bottom: 0;
    color: #000;
    background: #fff;
  }

  .page-hero,
  .facts,
  .section-band,
  .section--tint,
  .trust-band,
  .on-dark,
  .cta-banner {
    color: #000;
    background: none;
    border: 0;
  }

  .on-dark h1,
  .on-dark h2,
  .on-dark h3,
  .on-dark p,
  .on-dark a,
  .cta-banner h2,
  .cta-banner p,
  .cta-banner .eyebrow,
  .on-dark .eyebrow {
    color: #000;
  }

  .feature-card,
  .info-card,
  .list-card,
  .contact-card,
  .page-card,
  .legal-card,
  .product,
  .finder,
  .finder-hit,
  .process-step,
  .industry-item,
  .metric,
  .pcard,
  .ov-card,
  .image-card,
  .gallery__item,
  .photo-grid figure,
  .to-top {
    box-shadow: none;
    border: 1px solid #999;
  }

  .product {
    break-inside: avoid;
    content-visibility: visible;
  }

  .spec-table-wrap {
    overflow: visible;
    background: none;
  }

  .spec-table th,
  .spec-table td {
    border: 1px solid #999;
  }

  .spec-table tbody th {
    position: static;
    box-shadow: none;
  }

  main a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #444;
  }

  .textlink::after {
    content: "";
  }

  .hero__grid,
  .split-layout,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 17. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
