/* HERDRiCH tool solutions – Gestaltung */

@font-face { font-family: "Barlow"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/barlow-300.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-700.woff2") format("woff2"); }

:root {
  --red: #d52625;
  --red-dark: #b31f1d;
  --anthracite: #2b2d30;
  --graphite: #4a4a49;
  --text: #2b2d30;
  --muted: #5f6368;
  --steel: #f1f2f3;
  --line: #dfe1e4;
  --white: #fff;
  --wrap: 1200px;
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  /* Schrägstreifen aus dem Logo */
  --stripes: repeating-linear-gradient(-55deg, var(--red) 0 10px, transparent 10px 18px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; }
/* lange Wörter (z. B. „ZERSPANUNGSAUFGABE“) dürfen auf kleinen Handys nicht über den Rand ragen */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.intro > *, .competence > *, .contact > *, .layout > *, .products > *, .news > *, .advice > *, .stats > * { min-width: 0; max-width: 100%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--anthracite); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Überschriften-Stil ---------- */

.kicker {
  /* normaler Textfluss (kein Flex), damit <span class="marke"> die Zeile nicht teilt */
  display: block;
  position: relative;
  padding-left: 46px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 34px; height: 12px;
  background: var(--stripes);
}
.kicker--light { color: #fff; }

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 600;
  color: var(--anthracite);
}
h3 { font-size: 22px; font-weight: 600; }

.head { max-width: 760px; margin-bottom: 48px; }
.head h2 { margin-bottom: 16px; }
.head p { color: var(--muted); font-size: 19px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--anthracite); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--anthracite); color: #fff; }
.btn--outline { border-color: var(--anthracite); color: var(--anthracite); }
.btn--outline:hover { background: var(--anthracite); color: #fff; }

/* ---------- Kopfzeile ---------- */

.topbar { background: var(--anthracite); color: #c9cbce; font-size: 14px; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 32px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #c9cbce; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar strong { color: #fff; font-weight: 600; }
/* Sprachwahl DE | EN */
.sprache { display: flex; align-items: center; }
.sprache a { padding: 0 8px; font-weight: 600; letter-spacing: .04em; }
.sprache a + a { border-left: 1px solid #5b5e63; }
.sprache a[aria-current] { color: #fff; }
.sprache a:last-child { padding-right: 0; }
/* Link zum internen Bereich (Büroanwendungen, Anmeldung) – bewusst unauffällig */
.topbar__intern { display: inline-flex; align-items: center; gap: 6px; padding-left: 16px; margin-left: -16px; border-left: 1px solid #5b5e63; }
.topbar__intern svg { flex: none; }
/* bis 900 px nur das Schloss (Text steckt im <span>, siehe .topbar__inner span) */

.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header--scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 84px; }
.header__logo img { width: 210px; height: auto; }

.menu { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.menu a {
  position: relative;
  color: var(--anthracite);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 6px 0;
}
.menu a:not(.menu__cta)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.menu a:hover { color: var(--red); }
.menu a:hover::after { transform: scaleX(1); }
.menu .menu__cta {
  background: var(--red); color: #fff;
  padding: 10px 22px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
}
.menu .menu__cta:hover { background: var(--red-dark); color: #fff; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--anthracite); transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.header--open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header--open .burger span:nth-child(2) { opacity: 0; }
.header--open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Bühne ---------- */

.hero {
  position: relative;
  background: var(--anthracite);
  color: #fff;
  overflow: hidden;
}
.hero__image {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 54%;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__image img, .hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__video { background: var(--anthracite) 30% 50% / cover no-repeat; } /* Standbild setzt script.js */
/* Pause-Knopf für das Bühnenvideo (Pflicht bei Bewegung über 5 Sekunden) */
.hero__pause {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(43, 45, 48, .55); cursor: pointer;
  transition: background .2s;
}
.hero__pause:hover, .hero__pause:focus-visible { background: var(--red); }
.hero__pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero__pause::before, .hero__pause::after {
  content: ""; position: absolute; top: 13px; width: 4px; height: 14px; background: #fff;
}
.hero__pause::before { left: 14px; }
.hero__pause::after { right: 14px; }
/* angehalten: Abspiel-Dreieck */
.hero__pause--aus::before {
  left: 16px; top: 12px; width: 0; height: 0; background: none;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff;
}
.hero__pause--aus::after { display: none; }
.hero__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(43, 45, 48, .35), rgba(43, 45, 48, 0) 40%);
}
/* roter Schrägstreifen an der Bildkante */
.hero__stripe {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 54%;
  background: var(--red);
  clip-path: polygon(22% 0, calc(22% + 14px) 0, 14px 100%, 0 100%);
}
.hero__inner { position: relative; z-index: 1; min-height: 560px; display: flex; align-items: center; }
.hero__text { max-width: 560px; padding: 80px 0; }
.hero h1 {
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .005em;
  margin-bottom: 24px;
}
.hero__lead { font-size: 21px; font-weight: 300; color: #dcdee1; max-width: 480px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Vertrauensleiste ---------- */

.trust { border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 30px 24px 30px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.trust__item:last-child { border-right: 0; margin-right: 0; }
.trust__item strong { display: block; font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--anthracite); letter-spacing: .02em; }
.trust__item span { font-size: 15px; color: var(--muted); }

/* ---------- Abschnitte ---------- */

.section { padding: 100px 0; position: relative; }
.section--steel { background: var(--steel); }

/* Einleitung */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.intro__media { margin: 0; position: relative; }
.intro__media::before {
  content: "";
  position: absolute; left: -18px; bottom: -18px;
  width: 60%; height: 60%;
  background: var(--stripes);
  opacity: .9;
}
.intro__media img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.intro__text h2 { margin-bottom: 24px; }
.intro__text > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 10px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

/* Produkte */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.product {
  background: #fff;
  padding: 32px 28px 36px;
  position: relative;
  transition: background .25s;
}
.product::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: 4px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.product:hover::before { transform: scaleX(1); }
.product__no { display: block; font-size: 15px; font-weight: 700; color: var(--red); letter-spacing: .1em; margin-bottom: 18px; }
.product h3 { text-transform: uppercase; font-size: 21px; letter-spacing: .02em; margin-bottom: 10px; color: var(--anthracite); }
.product p { font-size: 16px; color: var(--muted); }

/* Kompetenz (dunkel) */
.section--dark { background: var(--anthracite); color: #dcdee1; overflow: hidden; }
.dark__bg { position: absolute; inset: 0; }
.dark__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(1); }
.section--dark h2 { color: #fff; }
.competence { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.competence__text h2 { margin-bottom: 24px; }
.competence__facts { background: rgba(255, 255, 255, .06); border-left: 4px solid var(--red); padding: 36px 40px; }
.competence__facts h3 { color: #fff; text-transform: uppercase; font-size: 16px; letter-spacing: .14em; margin-bottom: 16px; }
.competence__facts h3 + ul { margin-bottom: 32px; }
.competence__facts ul:last-child { margin-bottom: 0; }
/* Schneidstoffe: Raster unter dem Kompetenz-Bereich (Reihenfolge nach Bedeutung im Verkauf, Vorgabe des Auftraggebers) */
.materials { position: relative; margin-top: 72px; }
.materials__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 28px; }
.materials__head h3 { color: #fff; text-transform: uppercase; font-size: 16px; letter-spacing: .14em; margin: 0; }
.materials__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.materials__grid li {
  background: rgba(255, 255, 255, .06); border-left: 4px solid var(--red);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.5;
}
.materials__code { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.materials__name { color: #fff; font-weight: 600; margin-bottom: 4px; }
.branches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.branches li { padding-left: 20px; position: relative; color: #fff; }
.branches li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 4px; background: var(--red); transform: skewX(-35deg); }

/* Hersteller */
.brands { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.brands li {
  display: grid; place-items: center;
  height: 96px; padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.brands img { max-height: 46px; max-width: 100%; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.brands li:hover img { filter: none; opacity: 1; }

.news {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: var(--anthracite) url("img/foto/uebersicht.jpg") right center / cover no-repeat;
  background-blend-mode: multiply;
  color: #dcdee1;
  padding: 48px 56px;
  position: relative;
  border-left: 6px solid var(--red);
}
.news h3 { color: #fff; font-size: 30px; text-transform: uppercase; margin-bottom: 12px; }
.news p { max-width: 620px; }
.news .btn { flex-shrink: 0; }

/* Downloads: Katalog-Kärtchen (Startseite und Downloadseite) */
.docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.doc {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); padding: 18px;
  transition: border-color .2s, box-shadow .2s;
}
.doc:hover { border-color: #c9ccd0; box-shadow: 0 10px 24px rgba(43, 45, 48, .08); }
.doc__cover {
  display: block; aspect-ratio: 1 / 1.414; overflow: hidden; background: var(--light);
  box-shadow: 0 2px 8px rgba(43, 45, 48, .18);
}
.doc__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .3s; }
a.doc__cover:hover img { transform: scale(1.04); }
.doc__cover--online { background: var(--anthracite); display: flex; align-items: flex-end; position: relative; }
.doc__cover--online::before {
  content: ""; position: absolute; top: 0; right: 18px; width: 12px; height: 100%;
  background: var(--red); transform: skewX(-18deg);
}
.doc__cover--online span { position: relative; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 10px; }
.doc__body { display: flex; flex-direction: column; min-height: 100%; }
.doc__name { font-size: 19px; line-height: 1.3; margin: 2px 0 6px; color: var(--anthracite); }
.doc__meta { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.doc__actions { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doc__btn {
  display: inline-block; padding: 7px 11px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; background: var(--red); color: #fff; border: 2px solid var(--red); transition: background .2s, color .2s, border-color .2s;
}
.doc__btn:hover { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }
.doc__btn--ghost { background: transparent; color: var(--anthracite); border-color: var(--anthracite); }
.doc__btn--ghost:hover { background: var(--anthracite); color: #fff; }
.docs__all { margin-top: 28px; }
.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; }

/* Aufruf */
.cta { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta::after {
  content: "";
  position: absolute; right: -40px; top: 0; bottom: 0; width: 360px;
  background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .12) 0 22px, transparent 22px 40px);
}
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.cta p { font-size: 20px; font-weight: 300; }
.cta .btn { flex-shrink: 0; }

/* Blickfang „Feiner als ein Haar“: maßstabsgetreuer Vergleich Haar ↔ Mikrofräser (SVG in startseite.html) */
.haar__inner { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.haar__lead { font-size: 21px; font-weight: 500; color: var(--anthracite); }
.haar__text-block p:not(.kicker) { color: var(--muted); }
.haar__text-block .haar__lead { color: var(--anthracite); }
.haar__text-block .btn { margin-top: 12px; }
.haar__bild { margin: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 18px 18px 12px; }
.haar__bild svg { display: block; width: 100%; height: auto; }
.haar__bild figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
/* Bewegung: Fräser fährt ins Bild, Maßlinien werden gezogen, Maße erscheinen */
.haar__fraeser { transition: transform 1s cubic-bezier(.2, .7, .2, 1) .25s, opacity .6s ease .25s; }
.haar__linie { stroke-dasharray: 210; transition: stroke-dashoffset .8s ease 1.1s; }
.haar__text text { transition: opacity .6s ease 1.7s; }
.bewegt .haar__bild:not(.is-visible) .haar__fraeser { transform: translateY(-120px); opacity: 0; }
.bewegt .haar__bild:not(.is-visible) .haar__linie { stroke-dashoffset: 210; }
.bewegt .haar__bild:not(.is-visible) .haar__text text { opacity: 0; }

/* Zahlen-Band: schräges rotes Band mit hochzählenden Zahlen (script.js „herdrichZahlen“) */
.zahlen { background: var(--red); color: #fff; position: relative; overflow: hidden;
  clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%); margin: -14px 0; z-index: 1; }
.zahlen::after { content: ""; position: absolute; left: -40px; top: 0; bottom: 0; width: 300px;
  background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .12) 0 22px, transparent 22px 40px); }
.zahlen__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 76px; padding-bottom: 76px; }
.zahlen__item { border-left: 2px solid rgba(255, 255, 255, .35); padding-left: 22px; }
.zahlen__item strong { display: block; font-size: clamp(44px, 5.4vw, 72px); font-weight: 700; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.zahlen__item span { display: block; margin-top: 10px; font-size: 17px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 560px) {
  .zahlen__grid { gap: 32px 16px; }
  .zahlen__item { padding-left: 14px; min-width: 0; }
  .zahlen__item span { font-size: 14px; letter-spacing: .03em; }
}

/* Härte-Skala der Schneidstoffe (in #schneidstoffe): Punkte fahren beim Sichtbarwerden nacheinander an ihren Platz */
.haerte { margin: 0 0 44px; }
.haerte__titel { color: #fff; text-transform: uppercase; font-size: 15px; letter-spacing: .14em; margin: 0 0 6px; }
.haerte__skala { position: relative; padding: 46px 0 74px; }
.haerte__balken { height: 10px; background: linear-gradient(90deg, #7d8288, #c9cdd1 38%, var(--red) 72%, #fff); }
.haerte__punkte { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 51px; height: 0; z-index: 1; }
.haerte__punkt { position: absolute; left: calc(var(--pos) * 1%); top: 0; transition: left 1.1s cubic-bezier(.2, .7, .2, 1), top 1.1s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; transition-delay: calc(var(--nr) * .12s); }
.haerte__punkt::before { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--anthracite); border: 4px solid #fff; box-sizing: border-box; }
.haerte__punkt span { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.haerte__punkt--oben span { bottom: 16px; }
.haerte__punkt--unten span { top: 16px; }
.haerte__enden { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; color: rgba(255, 255, 255, .7); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.haerte__enden span:first-child::before { content: "← "; }
.haerte__enden span:last-child::after { content: " →"; }
.haerte__hinweis { color: rgba(255, 255, 255, .7); font-size: 14px; margin: 14px 0 0; max-width: 760px; }
.bewegt .haerte:not(.is-visible) .haerte__punkt { left: 0; top: 0; opacity: 0; }

/* Hersteller-Laufband: script.js („herdrichLaufband“) verdoppelt die Logos und setzt die Liste in .laufband;
   ohne JavaScript oder bei „Bewegung reduzieren“ bleibt das Raster */
.laufband { overflow: hidden; margin: 0 0 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.brands.brands--laufband { display: flex; width: max-content; margin: 0; gap: 16px; animation: laufband 48s linear infinite; }
.brands--laufband li { width: 190px; flex: none; }
.laufband:hover .brands--laufband, .laufband:focus-within .brands--laufband { animation-play-state: paused; }
@keyframes laufband { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .brands.brands--laufband { animation: none; } }

/* Aktuelles (daten/aktuelles.json, bauen.py „aktuelles()“) */
.aktuelles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aktuell { background: var(--steel); border-top: 4px solid var(--red); padding: 28px 28px 26px; display: flex; flex-direction: column; }
.aktuell time { color: var(--red); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.aktuell h3 { font-size: 21px; line-height: 1.3; margin: 10px 0 10px; }
.aktuell p { color: var(--muted); margin: 0 0 18px; }
.aktuell__link { margin-top: auto; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; text-decoration: none; }
.aktuell__link:hover { color: var(--red-dark); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact__text h2 { margin-bottom: 20px; }
.contact__text p { color: var(--muted); }
.contact__seal { margin-top: 36px; width: 220px; }
.contact__card { background: var(--steel); padding: 44px; border-top: 4px solid var(--red); }
.contact__card h3 { text-transform: uppercase; margin-bottom: 24px; }
.contact__card dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 20px; margin: 0 0 32px; }
.contact__card dt { font-weight: 600; color: var(--anthracite); }
.contact__card dd { margin: 0; color: var(--muted); }
.contact__card dd a { color: var(--anthracite); text-decoration-color: var(--red); text-underline-offset: 3px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Neu-Hinweis ---------- */

.badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  padding: 6px 16px 6px 6px;
  font: inherit; font-size: 15px; font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.badge:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); }
.badge__tag {
  background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Helical-Fenster ---------- */

.modal {
  padding: 0; border: 0;
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  background: transparent;
  overflow: visible;
}
.modal[open] {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  animation: modal-in .45s cubic-bezier(.2, .8, .2, 1);
}
.modal:focus { outline: none; }
.modal::backdrop { background: rgba(20, 21, 23, .62); backdrop-filter: blur(4px); animation: fade-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal__visual {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 36px 40px;
  background:
    repeating-linear-gradient(-55deg, rgba(0, 0, 0, .035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #fff, #eef0f2);
  border-left: 8px solid var(--red);
}
.modal__visual img { width: 100%; max-width: 300px; }
.modal__tag {
  align-self: flex-start;
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 14px;
}
.modal__claim { margin: 0; font-size: 16px; color: var(--muted); }

.modal__body {
  position: relative;
  background: var(--anthracite); color: #dcdee1;
  padding: 40px 56px 40px 52px;
}
.modal__body h2 { color: #fff; font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 12px; padding-right: 40px; hyphens: auto; }
.modal__body p { margin-bottom: 24px; }
.modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.modal__actions .btn { padding: 13px 22px; font-size: 15px; }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  border: 0; background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: background .2s;
}
.modal__close:hover { background: var(--red); }
.modal__later {
  margin: 0 0 0 8px; padding: 0;
  border: 0; background: none; color: #a9acb0;
  font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.modal__later:hover { color: #fff; }

.news__logo { width: 220px; background: #fff; padding: 18px 20px; flex-shrink: 0; }

/* ---------- Schnellkontakt ---------- */

.quick {
  position: fixed; right: 0; top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px;
}
.quick__item {
  position: relative;
  display: flex; align-items: center;
  width: 52px; height: 52px;
  background: var(--red); color: #fff; text-decoration: none;
  transition: background .2s;
}
.quick__item svg { width: 22px; height: 22px; fill: currentColor; margin: 0 15px; flex-shrink: 0; }
.quick__label {
  position: absolute; right: 52px; top: 0; height: 52px;
  display: flex; align-items: center;
  padding: 0 18px;
  background: var(--anthracite); color: #fff;
  font-size: 16px; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translateX(10px);
  transition: opacity .2s, transform .2s;
}
.quick__item:hover, .quick__item:focus-visible { background: var(--red-dark); color: #fff; }
.quick__item:hover .quick__label, .quick__item:focus-visible .quick__label { opacity: 1; transform: none; }

/* ---------- Fußzeile ---------- */

.footer { background: var(--anthracite); border-top: 4px solid var(--red); font-size: 15px; color: #a9acb0; }
.footer a { color: #dcdee1; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer__brand img { width: 180px; margin-bottom: 20px; }
.footer__brand p { margin-bottom: 12px; }
.footer h2 { font-size: 14px; letter-spacing: .14em; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 18px; font-size: 14px; }
.footer__bottom p { margin: 0; }

/* ---------- Ausklappmenü Produkte ---------- */

.menu__drop { position: relative; }
.menu__sub {
  position: absolute; top: 100%; left: -20px;
  min-width: 260px;
  margin-top: 18px;
  background: #fff;
  border-top: 3px solid var(--red);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 21px; }
.menu__drop:hover .menu__sub, .menu__drop:focus-within .menu__sub { opacity: 1; visibility: visible; transform: none; }
.menu .menu__sub a { display: block; padding: 8px 20px; font-size: 16px; }
.menu .menu__sub a::after { display: none; }
.menu .menu__sub a:hover { background: var(--steel); }
.menu a[aria-current="page"] { color: var(--red); }

/* ---------- Seitenkopf Unterseiten ---------- */

.pagehead { position: relative; background: var(--anthracite); color: #fff; overflow: hidden; }
.pagehead__image { position: absolute; top: 0; right: 0; bottom: 0; width: 40%; clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%); }
.pagehead__image img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.pagehead__stripe { position: absolute; top: 0; right: 0; bottom: 0; width: 40%; background: var(--red); clip-path: polygon(26% 0, calc(26% + 12px) 0, 12px 100%, 0 100%); }
.pagehead__inner { position: relative; padding-top: 48px; padding-bottom: 64px; }
.pagehead h1 { font-size: clamp(34px, 4.6vw, 58px); text-transform: uppercase; font-weight: 700; max-width: 760px; margin: 18px 0 16px; hyphens: auto; overflow-wrap: break-word; }
.pagehead__lead { font-size: 20px; font-weight: 300; color: #dcdee1; max-width: 640px; margin: 0; }

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; color: #a9acb0; }
.crumbs a { color: #dcdee1; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
.crumbs--dark { color: var(--muted); margin-bottom: 24px; }
.crumbs--dark a { color: var(--muted); }
.crumbs--dark a:hover { color: var(--red); }
.crumbs--dark [aria-current] { color: var(--anthracite); }

/* ---------- Produktseiten ---------- */

.layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.sidenav { position: sticky; top: 110px; border-top: 3px solid var(--anthracite); }
.sidenav__title { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.sidenav__title a { color: var(--anthracite); text-decoration: none; }
.sidenav ul { list-style: none; padding: 0; margin: 0; }
.sidenav li { border-bottom: 1px solid var(--line); }
.sidenav a { display: block; padding: 10px 0 10px 14px; color: var(--anthracite); text-decoration: none; font-weight: 500; border-left: 3px solid transparent; transition: border-color .2s, color .2s; }
.sidenav a:hover { color: var(--red); border-left-color: var(--line); }
.sidenav a[aria-current="page"] { color: var(--red); border-left-color: var(--red); }
.sidenav li ul { padding-bottom: 8px; }
.sidenav li li { border: 0; }
.sidenav li li a { padding: 6px 0 6px 28px; font-weight: 400; font-size: 16px; color: var(--muted); }

.content { min-width: 0; }
.content__lead { font-size: 21px; line-height: 1.55; color: var(--anthracite); margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); margin-bottom: 40px; }
.stat { background: #fff; padding: 22px 20px; }
.stat strong { display: block; font-size: 24px; font-weight: 700; color: var(--red); line-height: 1.2; }
.stat span { font-size: 15px; color: var(--muted); }

.blocks { display: grid; gap: 20px; margin-bottom: 40px; }
.block { background: var(--steel); padding: 32px 36px; border-left: 4px solid var(--red); }
.block h2 { font-size: 22px; margin-bottom: 12px; }
.block p { color: var(--muted); margin-bottom: 10px; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--red); text-decoration: none; }
.more::after { content: "→"; transition: transform .2s; }
.more:hover { color: var(--red-dark); }
.more:hover::after { transform: translateX(4px); }

.product--link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.product__img { display: block; margin: -32px -28px 24px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--anthracite); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product--link:hover .product__img img { transform: scale(1.05); }
/* Lebendige Produktkacheln (Wunsch 10./12.10.2026): erscheinen nacheinander, Fotos zoomen beim
   Erscheinen heran und gleiten beim Scrollen leicht (--par aus script.js). .bewegt setzt script.js
   nur, wenn der Besucher keine reduzierte Bewegung eingestellt hat. */
.bewegt .products > .product.reveal:nth-child(4n+2) { transition-delay: .1s; }
.bewegt .products > .product.reveal:nth-child(4n+3) { transition-delay: .2s; }
.bewegt .products > .product.reveal:nth-child(4n+4) { transition-delay: .3s; }
.bewegt .product__img img {
  transform: none;
  translate: 0 var(--par, 0px);
  scale: 1.1;
  transition: scale 1.4s cubic-bezier(.2, .7, .2, 1);
}
.bewegt .product.reveal:not(.is-visible) .product__img img { scale: 1.32; }
.bewegt .products > .product:nth-child(4n+2) .product__img img { transition-delay: .1s; }
.bewegt .products > .product:nth-child(4n+3) .product__img img { transition-delay: .2s; }
.bewegt .products > .product:nth-child(4n+4) .product__img img { transition-delay: .3s; }
.bewegt .products > .product--link:hover .product__img img,
.bewegt .product--link:hover .product__img img { transform: none; scale: 1.18; transition-duration: .5s; transition-delay: 0s; }
.product--link:hover { color: inherit; }
.product__more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.products--sub { grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
.products--sub > :last-child:nth-child(odd) { grid-column: 1 / -1; }

.advice { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--anthracite); color: #dcdee1; padding: 36px 40px; border-left: 6px solid var(--red); }
.advice h2 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.advice p { margin: 0; }
.advice__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.advice--wide { max-width: none; }

/* ---------- Downloadseite ---------- */

.toc { list-style: none; padding: 0; margin: 0 0 56px; display: flex; flex-wrap: wrap; gap: 10px; }
.toc a { display: block; border: 1px solid var(--line); padding: 8px 16px; color: var(--anthracite); text-decoration: none; font-weight: 500; transition: border-color .2s, color .2s; }
.toc a:hover { border-color: var(--red); color: var(--red); }
.dlgroup {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px 48px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px;
}
.dlgroup:last-child { border-bottom: 1px solid var(--line); }
.dlgroup h2 { font-size: 24px; margin-bottom: 8px; }
.dlgroup__head p { color: var(--muted); font-size: 16px; margin: 0; }
.dlgroup .doc { background: var(--light); border-color: transparent; }
.dlgroup .doc:hover { background: #fff; border-color: var(--line); }

/* PDF-Betrachter (assets/betrachter.mjs) */
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #3a3c40; color: #fff; }
.viewer::backdrop { background: rgba(20, 21, 23, .7); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer__bar {
  flex: none; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--anthracite); border-bottom: 4px solid var(--red); padding: 10px 20px;
}
.viewer__title { flex: 1 1 200px; min-width: 0; font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.viewer__group { display: flex; align-items: center; gap: 6px; font-size: 15px; color: #dcdee1; }
.viewer__group input { width: 3.6em; padding: 5px 6px; font: inherit; text-align: center; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; }
.viewer__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px;
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: rgba(255, 255, 255, .1); border: 0; cursor: pointer; transition: background .2s;
}
.viewer__btn:hover, .viewer__btn:focus-visible { background: var(--red); }
.viewer__btn--close { font-size: 22px; padding: 0; width: 38px; }
.viewer__dlicon { display: none; font-size: 20px; }
.viewer__pages { flex: 1; overflow: auto; padding: 24px 16px 48px; -webkit-overflow-scrolling: touch; }
.viewer__page { position: relative; margin: 0 auto 16px; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.viewer__page canvas { display: block; width: 100%; height: 100%; }
.viewer__status { text-align: center; padding: 60px 20px; font-size: 18px; color: #dcdee1; }
.viewer__status a { color: #fff; }

/* ---------- Rechtliche Seiten ---------- */

.legal { max-width: 860px; margin: 0 auto; padding: 80px 24px 100px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); text-transform: uppercase; margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 19px; margin: 28px 0 8px; color: var(--anthracite); }
.legal ul { color: var(--muted); padding-left: 22px; margin: 0 0 1em; }
.legal ul li { margin-bottom: 8px; }
.legal__sub { font-size: 20px; margin-top: -28px; margin-bottom: 8px; }
.legal__list { list-style: none; padding: 0; margin: 0; }
.legal__list li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; color: var(--muted); margin-bottom: 14px; }
.legal__list li span { font-weight: 700; color: var(--red); }
.legal__hinweis { background: var(--light); border-left: 4px solid var(--red); padding: 10px 14px; margin: 16px 0 32px; }
.legal__todo { background: #fff4d6; border-left: 4px solid #e0a800; padding: 10px 14px; color: var(--anthracite) !important; }
.legal p, .legal dd { color: var(--muted); }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.legal a { overflow-wrap: anywhere; }
.legal h1 { hyphens: manual; overflow-wrap: break-word; }

/* Markenname: kleines „i“ auch in Großbuchstaben-Überschriften erhalten */
.marke { text-transform: none; }

/* ---------- Einblenden ---------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsiv ---------- */

@media (max-width: 1080px) {
  /* Tablet quer (ca. 900–1080 px): Knöpfe dürfen nicht über den Rand ragen */
  .advice { flex-direction: column; align-items: flex-start; }
  .news { flex-wrap: wrap; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; margin-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .topbar__inner { justify-content: center; gap: 20px; flex-wrap: wrap; }
  .topbar__inner span { display: none; }
  .haar__inner { grid-template-columns: 1fr; gap: 40px; }
  .aktuelles { grid-template-columns: 1fr; }
  .brands--laufband li { width: 150px; }
  .zahlen__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .topbar__intern { padding-left: 14px; margin-left: -10px; }

  .burger { display: block; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 4px solid var(--red);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
    padding: 8px 24px 24px;
    display: none;
  }
  .header--open .menu { display: flex; }
  .menu a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .menu .menu__cta { margin-top: 16px; text-align: center; border-bottom: 0; }

  .hero__stripe { display: none; }
  .hero__image { position: relative; width: 100%; height: 260px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .hero__image::after { background: none; }
  .hero__pause { top: 12px; right: 12px; bottom: auto; }
  .hero__inner { min-height: 0; }
  .hero__text { padding: 40px 0 56px; }

  .intro, .competence, .contact { grid-template-columns: 1fr; gap: 48px; }
  .materials { margin-top: 56px; }
  .materials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlgroup { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .menu__drop { display: contents; }
  .menu__sub { display: none; }
  .layout { grid-template-columns: 1fr; gap: 40px; }
  .sidenav { position: static; order: 2; }
  .pagehead__image, .pagehead__stripe { display: none; }
  .advice { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .intro__media { max-width: 460px; }
  .news { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }

  /* Helical-Fenster: bis 680 px weiter nebeneinander, nur enger */
  .modal[open] { grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); overflow-y: auto; }
  .modal__visual { padding: 28px 24px; }
  .modal__body { padding: 32px 32px 28px; }
  .modal__body h2 { font-size: 24px; }
  .modal__body p { font-size: 16px; margin-bottom: 20px; }

  /* Schnellkontakt als Leiste unten */
  .quick { top: auto; bottom: 0; left: 0; transform: none; flex-direction: row; gap: 1px; background: var(--red-dark); }
  .quick__item { flex: 1; justify-content: center; height: 54px; width: auto; }
  .quick__item:last-child { display: none; }
  .quick__label { position: static; opacity: 1; transform: none; background: none; padding: 0 0 0 0; height: auto; font-size: 15px; }
  .quick__item svg { margin: 0 10px 0 0; }
  .quick__item[href^="mailto"] .quick__label { font-size: 0; }
  .quick__item[href^="mailto"] .quick__label::after { content: "E-Mail"; font-size: 15px; }
  .quick__item[href^="tel"] .quick__label { font-size: 0; }
  .quick__item[href^="tel"] .quick__label::after { content: "Anrufen"; font-size: 15px; }
  html[lang="en"] .quick__item[href^="mailto"] .quick__label::after { content: "Email"; }
  html[lang="en"] .quick__item[href^="tel"] .quick__label::after { content: "Call"; }
  body { padding-bottom: 54px; }
}

/* Helical-Fenster auf schmalen Bildschirmen: kompakt untereinander, Logo als schmales Band */
@media (max-width: 680px) {
  .modal[open] { grid-template-columns: minmax(0, 1fr); }
  .modal__visual { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 20px; border-left: 0; border-top: 6px solid var(--red); }
  .modal__visual img { max-width: 150px; }
  .modal__tag { align-self: center; font-size: 11px; padding: 4px 10px; }
  .modal__claim { display: none; }
  .modal__body { padding: 22px 20px 20px; }
  .modal__body .kicker { padding-right: 44px; font-size: 12px; }
  .modal__body h2 { font-size: 21px; margin-bottom: 10px; padding-right: 0; }
  .modal__body p { font-size: 15px; line-height: 1.55; margin-bottom: 16px; }
  .modal__close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 22px; }
  .modal__actions { gap: 8px 12px; }
  .modal__actions .btn { padding: 11px 16px; font-size: 14px; }
}
@media (max-width: 420px) {
  .modal__actions .btn { width: 100%; text-align: center; }
  .modal__later { margin: 4px 0 0; }
}

@media (max-width: 600px) {
  .section__head h2, .head h2, .intro__text h2, .competence__text h2, .contact h2 { font-size: clamp(24px, 7.4vw, 30px); }
  .block h2 { font-size: 19px; }
  .advice h2 { font-size: 20px; }
  body { font-size: 17px; }
  .header__inner { height: 72px; }
  .header__logo img { width: 170px; }
  .topbar { font-size: 13px; }
  .topbar strong { display: none; }
  .section { padding: 72px 0; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-right: 0 !important; margin-right: 0 !important; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .trust__item:last-child { border-bottom: 0; }
  .products { grid-template-columns: 1fr; }
  .competence__facts { padding: 28px 24px; }
  .branches { grid-template-columns: 1fr; }
  .materials__grid { grid-template-columns: 1fr; gap: 12px; }
  .materials__grid li { padding: 18px 20px; }
  .brands { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .docs { grid-template-columns: 1fr; }
  .toc { gap: 8px; margin-bottom: 36px; }
  .toc a { padding: 6px 10px; font-size: 14px; }
  .doc { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .doc__name { font-size: 17px; }
  .viewer__bar { padding: 8px 12px; gap: 8px; }
  .viewer__title { order: -2; flex-basis: calc(100% - 50px); font-size: 15px; }
  .viewer__btn--close { order: -1; }
  .viewer__dltext { display: none; }
  .viewer__dlicon { display: inline; }
  .viewer__pages { padding: 12px 8px 32px; }
  .contact__card { padding: 28px 22px; }
  .news > div { width: 100%; }
  .news h3 { font-size: 22px; hyphens: auto; overflow-wrap: break-word; }
  .news .btn { width: 100%; text-align: center; }
  .contact__card dl { grid-template-columns: 1fr; gap: 2px; }
  .contact__card dd { margin-bottom: 12px; }
  .contact__actions .btn { width: 100%; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .products--sub { grid-template-columns: 1fr; }
  .block { padding: 26px 22px; }
  .advice { padding: 28px 22px; }
  .advice__actions, .advice__actions .btn { width: 100%; text-align: center; }
  .content__lead { font-size: 19px; }
  .pagehead h1 { font-size: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px 14px; }
  .stat strong { font-size: 19px; }
  .pagehead__lead { font-size: 18px; }
  .legal h1 { font-size: 30px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
}

@media (max-width: 360px) {
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Startanimation (nur Startseite, siehe INTRO_KOPF in werkzeug/bauen.py) ----------
   Rote Schrägstreifen fegen durch, das Sechseck zeichnet sich, der Strich wächst, die Buchstaben
   gleiten herein, dann wischt die Fläche schräg weg (ca. 2,6 s). Läuft nur mit Klasse .startani-an
   am <html>; script.js überspringt bei Klick/Taste/Scrollen und entfernt die Fläche danach.
   Sicherheitsnetz: auch ohne script.js verschwindet sie nach 4 s. */
.startani { display: none; }
.startani-an .startani {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden;
  background: var(--anthracite);
  animation: startani-weg .65s 2s cubic-bezier(.7, 0, .3, 1) forwards, startani-aus .01s 4s forwards;
}
.startani--weg { animation: startani-weg .5s cubic-bezier(.7, 0, .3, 1) forwards !important; }
@keyframes startani-weg {
  from { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  to { clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%); }
}
@keyframes startani-aus { to { visibility: hidden; pointer-events: none; } }
.startani__streifen {
  position: absolute; top: -10%; bottom: -10%; left: 0; width: 9vw; background: var(--red);
  transform: skewX(-24deg) translateX(-30vw);
  animation: startani-streifen .85s cubic-bezier(.6, 0, .25, 1) forwards;
}
.startani__streifen + .startani__streifen { width: 3.5vw; background: #ef3b3a; animation-delay: .07s; }
@keyframes startani-streifen { to { transform: skewX(-24deg) translateX(130vw); } }
.startani__logo { position: relative; width: min(620px, 82vw); height: auto; overflow: visible; }
.startani__zeichen, .startani__strich, .startani__b { transform-box: fill-box; }
.startani__zeichen {
  fill: transparent; stroke: var(--red); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: startani-zeichnen .7s .25s ease-in-out forwards, startani-fuellen .3s .9s ease forwards;
}
@keyframes startani-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes startani-fuellen { to { fill: var(--red); stroke-width: 0; } }
.startani__strich { fill: var(--red); transform-origin: top; transform: scaleY(0); animation: startani-strich .4s .6s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes startani-strich { to { transform: scaleY(1); } }
.startani__b { opacity: 0; transform: translateX(-14px); animation: startani-rein .4s calc(.85s + var(--n) * .05s) cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes startani-rein { to { opacity: 1; transform: none; } }
.startani__klein { opacity: 0; animation: startani-blende .4s 1.3s ease forwards; }
@keyframes startani-blende { to { opacity: 1; } }
@media print { .startani { display: none !important; } }
/* Stil „tippen“ (INTRO_STIL in bauen.py): Fräser-Zeichen deutlicher gezeichnet, Buchstaben getippt */
.startani-an .startani--tippen { animation: startani-weg .65s 3.5s cubic-bezier(.7, 0, .3, 1) forwards, startani-aus .01s 5.5s forwards; }
.startani--tippen .startani__zeichen { stroke-width: 4; animation: startani-zeichnen 1.1s .45s ease-in-out forwards, startani-fuellen .35s 1.45s ease forwards; }
.startani--tippen .startani__strich { animation-delay: 1s; }
.startani--tippen .startani__b { opacity: 0; transform: none; animation: none; }
.startani--tippen .startani__b--da { opacity: 1; }
.startani--tippen .startani__klein { opacity: 1; animation: none; }
.startani--tippen .startani__k { opacity: 0; }
.startani--tippen .startani__k.startani__b--da { opacity: 1; }
.startani__cursor { fill: #fff; opacity: 0; }
.startani__cursor--da { opacity: 1; }
.startani__cursor--blinkt { animation: startani-blinken .5s steps(1) infinite; }
@keyframes startani-blinken { 50% { opacity: 0; } }

/* Härte-Skala senkrecht auf schmalen Bildschirmen (oben zäh, unten hart): alle Namen untereinander,
   gleichmäßig verteilt (Wunsch des Auftraggebers 26.10.2026) */
@media (max-width: 700px) {
  .haerte__skala { height: 560px; padding: 0; margin-top: 18px; }
  .haerte__balken { position: absolute; left: 6px; top: 0; bottom: 0; width: 10px; height: auto; background: linear-gradient(180deg, #7d8288, #c9cdd1 38%, var(--red) 72%, #fff); }
  .haerte__punkte { left: 11px; top: 0; right: auto; height: 100%; }
  .haerte__punkt { left: 0; top: calc(4% + var(--nr) * 11.5%); }
  .haerte__punkt span, .haerte__punkt--oben span, .haerte__punkt--unten span { left: 18px; top: -11px; bottom: auto; transform: none; }
  .haerte__enden { left: auto; right: 0; top: 0; bottom: 0; flex-direction: column; align-items: flex-end; }
  .haerte__enden span:first-child::before { content: "↑ "; }
  .haerte__enden span:last-child::after { content: " ↓"; }
  .bewegt .haerte:not(.is-visible) .haerte__punkt { left: 0; top: 0; }
}


/* ---------- Werkzeugfinder (/werkzeugfinder/, Aufbau in assets/werkzeugfinder.js) ---------- */

.wf-bereich { padding-top: 56px; }
.wf__ohne { background: var(--steel); padding: 20px 24px; }
.wf__gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.wf__gruppe {
  font: inherit; text-align: left; cursor: pointer; padding: 16px 18px 14px; border: 2px solid var(--line); background: #fff; color: var(--anthracite);
  display: flex; flex-direction: column; gap: 2px; position: relative; transition: border-color .2s, background .2s;
}
.wf__gruppe span { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; hyphens: manual; }
.wf__gruppe small { font-size: 14px; color: var(--muted); }
.wf__gruppe:hover { border-color: var(--anthracite); }
.wf__gruppe[aria-pressed="true"] { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }
.wf__gruppe[aria-pressed="true"] small { color: #c9cbce; }
.wf__gruppe[aria-pressed="true"]::after { content: ""; position: absolute; left: 18px; top: -2px; width: 34px; height: 6px; background: var(--stripes); }
.wf__suche { margin-bottom: 28px; }
.wf__suche label { display: block; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.wf__suche label span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.wf__suche input { width: 100%; font: inherit; font-size: 17px; padding: 13px 16px; border: 2px solid var(--line); background: #fff; color: var(--text); border-radius: 0; }
.wf__suche input:focus { border-color: var(--anthracite); outline: none; }
.wf__layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 36px; align-items: start; }
.wf__klapp > summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 12px 16px; background: var(--anthracite); color: #fff; }
.wf__klapp > summary::-webkit-details-marker { display: none; }
.wf__klapp > summary::after { content: "–"; float: right; }
.wf__klapp:not([open]) > summary::after { content: "+"; }
.wf__filterliste { border: 1px solid var(--line); border-top: 0; background: #fff; }
.wf__f { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 16px 16px 14px; min-width: 0; }
.wf__f:last-child { border-bottom: 0; }
.wf__f legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.wf__f legend span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.wf__f ul { list-style: none; margin: 0; padding: 0; clear: both; display: grid; gap: 4px; }
.wf__f li[hidden] { display: none; }
.wf__f label { display: flex; align-items: baseline; gap: 8px; font-size: 15px; line-height: 1.35; cursor: pointer; }
.wf__f label small { margin-left: auto; color: var(--muted); font-size: 13px; }
.wf__f label.wf__leer { color: #9a9da2; }
.wf__f input[type="checkbox"] { accent-color: var(--red); width: 16px; height: 16px; flex: none; transform: translateY(2px); }
.wf__mehr { font: inherit; font-size: 14px; font-weight: 600; color: var(--red); background: none; border: 0; padding: 6px 0 0; cursor: pointer; }
.wf__hinweis { clear: both; font-size: 13px; line-height: 1.4; color: var(--muted); margin: -4px 0 10px; }
.wf__schnell { clear: both; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.wf__schnell button { font: inherit; font-size: 13px; font-weight: 600; padding: 4px 9px; border: 1px solid var(--line); background: var(--steel); color: var(--anthracite); cursor: pointer; }
.wf__schnell button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
/* Schieberegler mit zwei Griffen: zwei übereinanderliegende Regler, rote Fläche zwischen den Griffen */
.wf__regler { clear: both; position: relative; height: 26px; }
.wf__regler::before, .wf__regler::after { content: ""; position: absolute; top: 11px; height: 4px; }
.wf__regler::before { left: 0; right: 0; background: var(--line); }
.wf__regler::after { left: var(--von); right: calc(100% - var(--bis)); background: var(--red); }
.wf__regler input { position: absolute; left: 0; top: 0; width: 100%; height: 26px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 1; }
.wf__regler input::-webkit-slider-runnable-track { background: none; height: 26px; }
.wf__regler input::-moz-range-track { background: none; }
.wf__regler input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 4px; background: #fff; border: 3px solid var(--red); border-radius: 50%; cursor: grab; }
.wf__regler input::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; background: #fff; border: 3px solid var(--red); border-radius: 50%; cursor: grab; }
.wf__regler input:focus-visible { outline: none; }
.wf__regler input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(213, 38, 37, .35); }
.wf__vonbis { display: flex; gap: 10px; margin-top: 8px; }
.wf__vonbis label { flex: 1; font-size: 13px; color: var(--muted); gap: 6px; }
.wf__vonbis input { width: 100%; min-width: 0; font: inherit; font-size: 15px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 0; color: var(--text); }
.wf__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--anthracite); padding-bottom: 12px; margin-bottom: 20px; }
.wf__anzahl { margin: 0; font-size: 19px; }
.wf__zurueck { font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); background: none; border: 0; padding: 0; cursor: pointer; }
.wf__zurueck:hover { color: var(--red-dark); }
.wf__keine { background: var(--steel); padding: 20px 24px; }
.wf__serie { border: 1px solid var(--line); margin-bottom: 14px; background: #fff; }
.wf__seriekopf { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; }
.wf__serietitel { font-size: 19px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.3; margin: 0 0 4px; }
.wf__meta { margin: 0; font-size: 14px; color: var(--muted); }
.wf__auf {
  flex: none; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  padding: 9px 14px; border: 2px solid var(--anthracite); background: #fff; color: var(--anthracite); cursor: pointer;
}
.wf__auf::after { content: " ▾"; }
.wf__auf[aria-expanded="true"] { background: var(--anthracite); color: #fff; }
.wf__auf[aria-expanded="true"]::after { content: " ▴"; }
.wf__tabelle { overflow-x: auto; border-top: 1px solid var(--line); }
.wf__tabelle table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wf__tabelle th { background: var(--anthracite); color: #fff; font-weight: 600; text-align: left; padding: 9px 10px; white-space: nowrap; }
.wf__tabelle th abbr { text-decoration: none; cursor: help; }
.wf__tabelle td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wf__tabelle tbody tr:nth-child(even) td { background: #f8f8f9; }
.wf__tabelle .wf__zahl { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wf__nr { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wf__text { min-width: 260px; }
.wf__marke { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }
.wf__anfrage { white-space: nowrap; font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.wf__anfrage::after { content: " →"; }
.wf__weiter { margin: 8px 0 24px; }
.wf__legende { font-size: 13px; color: var(--muted); margin-top: 18px; }

@media (max-width: 900px) {
  .wf__layout { grid-template-columns: 1fr; gap: 20px; }
  .wf__gruppen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wf__gruppen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wf__gruppe { padding: 12px 12px 10px; }
  .wf__gruppe span { font-size: 15px; }
  .wf__seriekopf { flex-direction: column; align-items: stretch; }
  /* Tabelle als Kärtchen: jede Zeile ein Block, Spaltennamen aus data-titel */
  .wf__tabelle thead { display: none; }
  .wf__tabelle table, .wf__tabelle tbody, .wf__tabelle tr, .wf__tabelle td { display: block; }
  .wf__tabelle tr { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
  .wf__tabelle tbody tr:nth-child(even) td { background: none; }
  .wf__tabelle tbody tr:nth-child(even) { background: #f8f8f9; }
  .wf__tabelle td { border: 0; padding: 0; text-align: left !important; }
  .wf__tabelle td[data-titel]::before { content: attr(data-titel); display: block; font-size: 12px; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
  .wf__tabelle .wf__text, .wf__tabelle .wf__nr, .wf__tabelle .wf__aktion { grid-column: 1 / -1; min-width: 0; }
  .wf__tabelle .wf__aktion { margin-top: 6px; }
}
