/* ==========================================================================
   Brühl Safety — Flex machineveiligheid afscherming (landing page)
   One stylesheet, no build step. Order: tokens → base → components →
   sections → footer → responsive.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --red: #ee3932;              /* brand red, sampled from the logo */
  --red-dark: #d02b25;
  --red-tint: #fdeceb;

  --ink: #1a1a1a;              /* headings */
  --body: #5c5c5c;             /* running text */
  --muted: #8a8a8a;            /* captions, eyebrow */
  --line: #e7e7e7;
  --surface: #f4f4f4;          /* light section */
  --tile: #f7f7f7;             /* spec tile */

  --dark: #1a1a1a;             /* dark section + footer */
  --dark-card: #242424;
  --dark-line: #333;
  --dark-text: #a9a9a9;

  --container: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 72px;

  --font: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .05), 0 16px 40px rgba(0, 0, 0, .1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open, html.nav-open body { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--red); color: #fff;
  font-size: 14px; font-weight: 600; border-radius: var(--radius-sm);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--xs { width: .75em; height: .75em; }

/* 3. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn .icon { font-size: 16px; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }

.btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: #f4f4f4; }

.btn--sm { padding: 10px 18px; font-size: 14px; }

/* 4. Header ---------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .07); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}

.logo img { width: 92px; height: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__list a {
  font-size: 14.5px; font-weight: 500; color: #333;
  transition: color .15s ease;
}
.nav__list a:hover { color: var(--red); }
.nav__list a.is-active { color: var(--red); font-weight: 600; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer;
}
.nav-toggle__box { position: relative; display: block; width: 22px; height: 14px; margin-inline: auto; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  position: absolute; left: 0; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bar { top: 6px; }
.nav-toggle__bar::before { content: ""; top: -6px; }
.nav-toggle__bar::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

/* 5. Breadcrumb ----------------------------------------------------------- */
.crumbs { background: #f7f7f7; border-bottom: 1px solid var(--line); }
.crumbs__list {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-size: 13px; color: var(--muted);
}
.crumbs__list a { transition: color .15s ease; }
.crumbs__list a:hover { color: var(--red); }
.crumbs__list li:last-child { color: #4a4a4a; }
.crumbs__list .icon { stroke-width: 2.5; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #131313; }
.hero picture { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .93) 0%, rgba(8, 8, 8, .84) 45%, rgba(8, 8, 8, .56) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, .45) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: 96px 102px; }

.pill {
  display: inline-block; margin: 0 0 22px;
  padding: 7px 14px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 4px;
}

.hero__title {
  max-width: 20ch;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.2rem, 1.3rem + 3.1vw, 3.5rem);
  letter-spacing: -.025em;
  line-height: 1.12;
}

.hero__text {
  max-width: 52ch;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .82);
  font-size: 16.5px;
  line-height: 1.7;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

/* 7. USP strip ------------------------------------------------------------- */
.usps { background: var(--red); color: #fff; }
.usps__grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.usp {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 26px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.usp:first-child { border-left: 0; padding-left: 0; }

.usp__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%;
  font-size: 17px;
}
.usp__text { display: grid; gap: 2px; }
.usp__text strong { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.usp__text span { font-size: 12.5px; color: rgba(255, 255, 255, .8); line-height: 1.4; }

/* 8. Sections -------------------------------------------------------------- */
.section { padding: 98px 0; }

.section--dots {
  background-color: #fff;
  background-image: radial-gradient(rgba(17, 17, 17, .085) 1px, transparent 1px);
  background-size: 22px 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11.5px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
}

.section__head { max-width: 880px; margin: 0 auto 46px; text-align: center; }
.section__head h2 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.05rem); }
.section__lead { max-width: 620px; margin: 16px auto 0; font-size: 15px; color: var(--muted); }

/* Two columns: image beside text ----------------------------------------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media { margin: 0; }
.split__media img {
  width: 100%; aspect-ratio: 5 / 3; object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}

.split__body h2 { margin-bottom: 20px; font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.05rem); }
.split__body p { font-size: 15px; line-height: 1.75; }

/* Checklist --------------------------------------------------------------- */
.checklist { margin: 28px 0 30px; }
.checklist li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  font-size: 14.5px; color: #4a4a4a;
  border-bottom: 1px solid var(--line);
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist__mark {
  display: grid; place-items: center;
  width: 20px; height: 20px; flex: none;
  background: var(--red); color: #fff; border-radius: 50%;
  font-size: 11px;
}
.checklist__mark .icon { stroke-width: 3.5; }

/* Cards ------------------------------------------------------------------- */
.cards { display: grid; gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 30px 24px;
  background: #fff;
  border: 1px solid #ececec; border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin: 0 0 10px; font-size: 16px; }
.card p { font-size: 13.5px; line-height: 1.65; color: var(--muted); }

.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin: 0 auto 18px;
  background: var(--red-tint); color: var(--red);
  border-radius: 12px;
  font-size: 20px;
  transition: background-color .2s ease, color .2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #ddd; }
.card:hover .card__icon { background: var(--red); color: #fff; }

/* Benefits section -------------------------------------------------------- */
.benefits { background: var(--surface); }

/* Specifications ---------------------------------------------------------- */
.specs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0 0; }
.spec {
  padding: 14px 16px;
  background: var(--tile);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.spec dt { font-size: 13px; font-weight: 700; color: var(--ink); }
.spec dd { margin: 3px 0 0; font-size: 13px; color: var(--muted); }

/* Industries (dark) ------------------------------------------------------- */
.sectors { background: var(--dark); }
.sectors .eyebrow { color: #9a9a9a; }
.sectors h2 { color: #fff; }
.sectors .section__lead { color: var(--dark-text); }

.card--dark {
  background: var(--dark-card);
  border-color: #303030;
  box-shadow: none;
  text-align: left;
}
.card--dark h3 { color: #fff; font-size: 15.5px; }
.card--dark p { color: var(--dark-text); }
.card--dark .card__icon {
  margin: 0 0 18px;
  background: var(--red); color: #fff;
  border-radius: 8px;
  width: 42px; height: 42px; font-size: 19px;
}
.card--dark:hover { border-color: var(--red); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
.card--dark:hover .card__icon { background: var(--red-dark); }

/* 9. Closing CTA ------------------------------------------------------------- */
.cta { padding: 76px 0; background: var(--red); color: #fff; text-align: center; }
.cta__inner { display: grid; justify-items: center; }
.cta h2 { max-width: 20ch; color: #fff; font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2rem); }
.cta p { max-width: 56ch; margin: 18px 0 0; color: rgba(255, 255, 255, .9); font-size: 15.5px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* 10. Footer --------------------------------------------------------------- */
.footer { background: var(--dark); color: var(--dark-text); font-size: 13.5px; }

.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-top: 66px; padding-bottom: 54px;
}
.footer__brand img { width: 92px; margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; line-height: 1.7; }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  background: #262626; color: #b4b4b4; border-radius: 8px;
  font-size: 15px;
  transition: background-color .18s ease, color .18s ease;
}
.socials a:hover { background: var(--red); color: #fff; }

.footer__col h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.footer__col li + li { margin-top: 11px; }
.footer__col a { transition: color .15s ease; }
.footer__col a:hover { color: #fff; }

.footer__bar { border-top: 1px solid #2c2c2c; }
.footer__bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 20px; padding-bottom: 20px;
  font-size: 12.5px; color: #7f7f7f;
}
.footer__bar-inner p { margin: 0; }
.footer__bar-inner ul { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__bar-inner a:hover { color: #fff; }

/* 11. Cookie consent ------------------------------------------------------- */
/* consent.js toggles the `hidden` attribute, so that has to beat the
   component's own display value. */
.consent[hidden], .consent__panel[hidden] { display: none; }

.consent {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 30px rgba(0, 0, 0, .13);
  font-size: 13.5px;
}
.consent__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px; align-items: center;
  padding-block: 20px;
}
.consent__text h2 { margin-bottom: 5px; font-size: 15px; }
.consent__text p { max-width: 82ch; color: var(--body); line-height: 1.6; }
.consent__text a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.consent__panel {
  grid-column: 1 / -1;
  display: grid; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.consent__option {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0; color: var(--body); line-height: 1.55;
}
.consent__option input {
  width: 16px; height: 16px; flex: none; margin: 2px 0 0;
  accent-color: var(--red);
}
.consent__option strong { color: var(--ink); }
.consent__option--fixed { justify-content: space-between; gap: 24px; }
.consent__always { color: var(--muted); white-space: nowrap; }
.consent__panel-actions { margin: 2px 0 0; }

.btn--quiet { background: #f1f1f1; color: #333; }
.btn--quiet:hover { background: #e6e6e6; }

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .usps__grid { grid-template-columns: repeat(2, 1fr); }
  .usp { border-left: 0; padding: 18px 0; }
  .usp:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 26px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .1);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav .btn { justify-content: center; margin-top: 18px; }

  .hero__inner { padding-block: 72px 76px; }
  .hero__title { max-width: none; }
  .hero__text { font-size: 15.5px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }

  .specs__grid { grid-template-columns: 1fr; }
  .cta { padding: 60px 0; }

  .consent__inner { grid-template-columns: 1fr; }
  .consent__actions .btn { flex: 1 1 100%; justify-content: center; }
  .consent__option--fixed { flex-direction: column; gap: 2px; }
  .cta__actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 620px) {
  .cards--4, .cards--3 { grid-template-columns: 1fr; }
  .usps__grid { grid-template-columns: 1fr; }
  .usp, .usp:nth-child(even) { border-left: 0; padding: 14px 0; }
  .usp + .usp { border-top: 1px solid rgba(255, 255, 255, .22); }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; }
  .footer__bar-inner { flex-direction: column; align-items: flex-start; }
  .footer__bar-inner ul { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   13. Additions for the "machine safety" page (machine-safety.bruehl-safety.com)
   Process timeline, trust block + contact card, FAQ, mobile sticky CTA, legal.
   Everything above is identical to the machineveiligheid-afscherming page.
   ========================================================================== */

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

/* Process timeline ------------------------------------------------------- */
.split__media--fit img { aspect-ratio: auto; object-fit: contain; }

.timeline { counter-reset: step; display: grid; gap: 12px; margin: 28px 0 0; }
.timeline li {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px;
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.timeline li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--red); color: #fff;
  font-size: 15px; font-weight: 700; border-radius: 50%;
}
.timeline h3 { margin: 7px 0 6px; font-size: 16px; }
.timeline p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.step__meta {
  display: inline-block; margin-top: 10px; padding: 4px 10px;
  background: var(--red-tint); color: var(--red-dark);
  font-size: 12px; font-weight: 600; border-radius: 4px;
}

/* Trust block + contact card --------------------------------------------- */
.trust { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.trust h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.05rem); }
.trust > div > p { font-size: 15px; line-height: 1.75; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 28px 0; }
.fact {
  padding: 18px 16px;
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.fact strong { display: block; color: var(--red); font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fact span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }

.links { display: grid; gap: 4px; }
.links a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .15s ease; }
.links a:hover { color: var(--red); }
.links .icon { color: var(--red); font-size: 17px; }

.contact-card {
  padding: 28px;
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 14px; font-size: 17px; }
.contact-card address { font-style: normal; font-size: 14.5px; line-height: 1.65; color: var(--body); }
.contact-card address strong { display: block; color: var(--ink); }
.contact-lines { display: grid; gap: 4px; margin: 18px 0 0; }
.contact-lines a { display: inline-flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; transition: color .15s ease; }
.contact-lines a:hover { color: var(--red); }
.contact-lines .icon { color: var(--red); font-size: 17px; }
.contact-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.contact-card .company { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* FAQ ---------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 0;
  list-style: none; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--ink);
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--red); }
.faq__body { padding: 0 0 20px; font-size: 15px; line-height: 1.75; }
.faq__body p { max-width: 70ch; }
.faq__body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* Closing CTA note, footer legal ------------------------------------------- */
.cta__note { margin-top: 18px !important; font-size: 13px; color: rgba(255, 255, 255, .78) !important; }
.footer__legal { margin-top: 18px; max-width: 44ch; font-size: 12.5px; line-height: 1.65; color: #8a8a8a; }
.footer__legal a:hover { color: #fff; }

/* Mobile sticky CTA -------------------------------------------------------- */
.btn--ghost { border-color: #d6d6d6; color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .1);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta .btn { justify-content: center; min-height: 46px; padding: 0 12px; font-size: 14px; }

@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .sticky-cta { display: grid; }
  html.past-hero:not(.has-consent-bar):not(.nav-open) .sticky-cta { transform: none; }
  html.past-hero body { padding-bottom: 70px; }
  .timeline li { grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; }
  .timeline li::before { width: 34px; height: 34px; font-size: 14px; }
  .contact-card { padding: 22px; }
}

@media print {
  .header, .consent, .sticky-cta, .nav-toggle { display: none !important; }
}

/* 14. Mobile-first pass (19 Sep 2026): 320 px layout, 44 px tap targets,
   readable text on small screens. Desktop values above stay untouched. -------- */
@media (max-width: 768px) {
  /* Tap targets ≥ 44 px */
  .btn--sm { min-height: 44px; }
  .footer__col li + li { margin-top: 0; }
  .footer__col a { display: inline-block; padding: 11px 0; }
  .footer__bar-inner a { display: inline-block; padding: 11px 0; }
  .footer__bar-inner ul { gap: 4px 22px; }
  .footer__legal a { display: inline-block; padding: 12px 0; }
  .crumbs__list { font-size: 14px; }
  .socials a { width: 44px; height: 44px; }
  .links a, .contact-lines a { padding: 11px 0; }
  .crumbs__list a { display: inline-block; padding: 12px 0; }

  /* Readable text without zooming */
  .card p { font-size: 14.5px; }
  .card--dark h3 { font-size: 16px; }
  .spec dt, .spec dd { font-size: 14px; }
  .usp__text span { font-size: 13.5px; }
  .timeline p { font-size: 14.5px; }
  .fact span { font-size: 13.5px; }
  .footer { font-size: 14.5px; }
  .footer__bar-inner { font-size: 13.5px; }
  .footer__legal, .contact-card .company { font-size: 13px; }
  .step__meta { font-size: 12.5px; }
}

@media (max-width: 480px) {
  /* Breadcrumb: one line, drop the middle level, truncate the page title */
  .crumbs__list li:nth-child(2), .crumbs__list li:nth-child(3) { display: none; }
  .crumbs__list li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .hero__inner { padding-block: 56px 60px; }
  .hero__title { font-size: clamp(2rem, 1.2rem + 4vw, 2.4rem); }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 32px; }
  .card { padding: 24px 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 16px 14px; }
  .fact strong { font-size: 24px; }
  .fact span { overflow-wrap: break-word; hyphens: auto; }
  .consent__inner { padding-block: 16px; }
  .consent__text p { font-size: 13.5px; }
}

@media (max-width: 400px) {
  .facts { grid-template-columns: 1fr; }
  .fact { display: flex; align-items: baseline; gap: 12px; }
  .fact strong { flex: none; min-width: 84px; }
  .fact span { margin-top: 0; }
}

/* ==========================================================================
   15. Additions for the "machine afscherming" page (machine-afscherming.bruehl-safety.com)
   Type cards with a tag line, the "which guard fits" decision table.
   Everything above is identical to the machine-safety page.
   ========================================================================== */

/* Type cards: small tag under the heading ---------------------------------- */
.card__tag {
  display: inline-block; margin: -4px 0 10px; padding: 3px 9px;
  background: var(--red-tint); color: var(--red-dark);
  font-size: 12px; font-weight: 600; letter-spacing: .02em; border-radius: 4px;
}
.card--dark .card__tag { background: rgba(255, 255, 255, .12); color: #fff; }

/* Decision table ------------------------------------------------------------ */
.choose { max-width: 1000px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.choose table {
  width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  font-size: 14.5px; line-height: 1.55;
}
.choose th, .choose td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.choose tr:last-child td { border-bottom: 0; }
.choose thead th {
  background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.choose tbody th { width: 30%; font-weight: 600; color: var(--ink); background: var(--surface); }
.choose td strong { display: block; color: var(--red-dark); font-weight: 600; }
.choose td { color: var(--body); }
.choose__note { max-width: 70ch; margin: 18px auto 0; text-align: center; font-size: 14px; color: var(--muted); }

@media (max-width: 768px) {
  .choose table { font-size: 14px; }
  .choose th, .choose td { padding: 12px 14px; }
}

/* Decision table on phones: each row becomes a card, cells stack with a label */
@media (max-width: 768px) {
  .choose { overflow: visible; }
  .choose table { display: block; min-width: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .choose thead { display: none; }
  .choose tbody, .choose tr, .choose th, .choose td { display: block; }
  .choose tr {
    margin-bottom: 12px;
    background: #fff; border: 1px solid #ececec; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
  }
  .choose tbody th { width: auto; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .choose td { padding: 12px 16px; border-bottom: 0; }
  .choose td + td { border-top: 1px solid var(--line); }
  .choose td::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  }
}
