/* =========================================================
   Elektro Rath Schaltanlagenbau GmbH – Design V2 in Hell
   Heller Industrie-Look: Weiß/Hellgrau + Markenrot #BD154C
   Harte Kanten, kräftige Typo, Menü und Aufbau wie V2.
   Hero, CTA-Band, Foto-Band und Footer bleiben bewusst dunkel
   als kontrastreiche Akzent-Bänder.
   ========================================================= */

:root {
  /* Markenfarben auf hellem Grund */
  --bg: #ffffff;          /* Seitengrund */
  --bg-soft: #f4f5f6;     /* abgesetzte Abschnitte */
  --panel: #ffffff;       /* Karten/Panels */
  --panel-2: #f4f5f6;     /* hellere Panels / Hover */
  --line: #e2e5e7;        /* Trennlinien */
  --ink: #232829;         /* Haupttext */
  --muted: #5f686b;       /* Sekundärtext */
  --accent: #bd154c;      /* Markenrot */
  --accent-strong: #bd154c;
  --accent-soft: rgba(189, 21, 76, .10);
  --blue-900: #1f2425;    /* Überschriften (Klassen-Kompatibilität zu V1) */
  --blue-800: #3b4040;
  --blue-700: #bd154c;
  --blue-600: #d21a58;
  --blue-100: rgba(189, 21, 76, .10);
  --accent-dark: #9c0f3f; /* dunkles Rot (Hover) */
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(20,25,30,.08), 0 1px 2px rgba(20,25,30,.05);
  --shadow-md: 0 10px 30px rgba(20,25,30,.10);
  --shadow-lg: 0 24px 60px rgba(20,25,30,.16);
  --radius: 4px;          /* bewusst kantig statt rund */
  --radius-sm: 3px;
  --container: 1280px;
  --header-h: 78px;
  --ff: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
/* Festes, helles Hintergrundbild – Inhalt scrollt darüber */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/bildleiste.jpg") center center / cover no-repeat;
  opacity: .05;
  filter: blur(3px) grayscale(70%);
  transform: scale(1.06);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.12; color: var(--blue-900); margin: 0 0 .5em; font-weight: 800; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-transform: uppercase; letter-spacing: .03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .04em; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

.container { width: 100%; max-width: 100%; margin-inline: auto; padding-inline: clamp(20px, 4vw, 96px); }
.section { padding: 78px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-top: 14px; padding-bottom: 14px; }
.section__head { max-width: 820px; margin-bottom: 46px; }
.section__head.center { margin-inline: auto; text-align: center; }

/* rotes Kennzeichen vor Abschnitts-Labels */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); }
.lead { font-size: 1.16rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- Buttons: kantig, entschlossen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 30px; border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }

/* ---------- Header / Nav (hell) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-strong);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { height: 48px; width: auto; max-width: none; display: block; padding: 2px 0; }
.brand__text { display: none; }
.brand__name { font-weight: 800; color: var(--blue-900); }
.brand__sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 12px; font-size: .8rem; font-weight: 700; color: var(--ink);
  text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav__links a:hover { color: var(--accent-dark); border-bottom-color: rgba(189,21,76,.5); }
.nav__links a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav__cta { margin-left: 10px; }
.nav__cta .btn { padding: 11px 22px; }
.nav__links .nav__cta a[aria-current="page"] { color: #fff; border-bottom-color: transparent; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--panel);
  border-radius: var(--radius-sm); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }
.nav[data-open="true"] .nav__toggle span { background: transparent; }
.nav[data-open="true"] .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav[data-open="true"] .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (Startseite) – bewusst dunkel ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(10,11,12,.96) 0%, rgba(14,16,17,.88) 46%, rgba(120,10,48,.55) 100%),
    url("../assets/hero.jpg") center 30% / cover no-repeat;
  border-bottom: 3px solid var(--accent-strong);
}
.hero__inner { position: relative; z-index: 1; padding: 120px 0 130px; max-width: 860px; }
.hero h1 { color: #fff; }
.hero h1::after { content: ""; display: block; width: 96px; height: 5px; background: var(--accent); margin-top: 22px; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.88); margin: 26px 0 34px; max-width: 660px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Unterseiten-Hero – bewusst dunkel */
.page-hero {
  color: #fff; padding: 74px 0 64px;
  background:
    linear-gradient(100deg, rgba(10,11,12,.95) 0%, rgba(14,16,17,.88) 50%, rgba(120,10,48,.5) 100%),
    url("../assets/hero.jpg") center 30% / cover no-repeat;
  border-bottom: 3px solid var(--accent-strong);
}
.page-hero h1 { color: #fff; }
.page-hero h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--accent); margin-top: 16px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 720px; margin: 18px 0 0; font-size: 1.1rem; }
.breadcrumb { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.8); }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { text-align: center; background: var(--panel); padding: 34px 16px; }
.stat__num { font-size: 2.6rem; font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: .02em; }
.stat__label { font-size: .82rem; color: var(--muted); margin-top: 10px; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Karten ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid transparent;
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-top-color: var(--accent); box-shadow: var(--shadow-md); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; }

/* Karte mit Bild oben */
.card--media { padding: 0; overflow: hidden; position: relative; transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease, border-color .2s ease; }
.card--media .card__img { position: relative; height: 340px; background: #e9ecee; overflow: hidden; }
.card--media .card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1s ease, transform .6s ease; }
.card--media .card__img img.is-active { opacity: 1; }
.card--media .card__img--contain { background: #e9ecee; }
.card--media .card__img--contain img { object-fit: contain; }
.card--media .card__body { padding: 24px 28px 28px; }
.card--media:hover { transform: translateY(-8px) scale(1.08); z-index: 2; box-shadow: var(--shadow-lg); border-top-color: var(--accent); }
.cards-focus:hover .card--media:not(:hover) { transform: scale(.88); opacity: .45; }

/* ---------- Checkliste ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 13px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px;
  background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- Split-Layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > :not(.split__media) { max-width: 760px; justify-self: center; }
.split > :not(.split__media) h2 { font-size: clamp(1.6rem, 3.1vw, 2.3rem); }
.split > :not(.split__media) p { font-size: 1.22rem; }
.split > :not(.split__media) .checklist li { font-size: 1.12rem; }
.split__media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--panel); aspect-ratio: 4/3; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
}
.split__media svg { width: 40%; height: 40%; opacity: .7; }
.split__media.photo { background: #e9ecee; padding: 0; }
.split__media.wide { aspect-ratio: 2 / 1; }
.split__media.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__media[data-slideshow] { position: relative; }
.split__media[data-slideshow] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.split__media[data-slideshow] img.is-active { opacity: 1; }

/* ---------- Maschinenpark ---------- */
.machines { display: flex; gap: 6px; height: 420px; }
.machine {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: zoom-in;
  border-radius: var(--radius); border: 1px solid var(--line); margin: 0;
  transition: flex-grow .7s ease; outline: none; background: #e9ecee;
}
.machine img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; filter: saturate(.95); }
.machine__label {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 16px;
  color: #fff; font-weight: 800; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  border-left: 4px solid var(--accent);
}
.machine:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
@media (hover: hover) {
  .machines:hover .machine { flex-grow: 1; }
  .machines:hover .machine:hover { flex-grow: 6; }
  /* Aufgehende Kachel zeigt das ganze Bild statt reinzuzoomen */
  .machine:hover img { object-fit: contain; transform: none; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.94); padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 16px; right: 22px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-sm); background: rgba(255,255,255,.08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- CTA-Band – bewusst dunkel ---------- */
.cta-band {
  background: linear-gradient(100deg, #1a1113 0%, #35101d 55%, var(--accent-strong) 130%);
  color: #fff; border: 1px solid var(--accent-strong); border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .btn--primary { background: #fff; color: var(--accent-strong); border-color: #fff; }
.cta-band .btn--primary:hover { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.6); }

/* Öffnungsstatus */
.open-status {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 12px !important; padding: 6px 14px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15);
  color: #fff !important; font-weight: 700; font-size: .85rem; letter-spacing: .04em;
}
.open-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa3a7; flex: none; }
.open-status.is-open::before { background: #2fd363; box-shadow: 0 0 0 4px rgba(47,211,99,.2); }
.open-status.is-soon::before { background: #f5a623; box-shadow: 0 0 0 4px rgba(245,166,35,.2); }
.open-status.is-closed::before { background: #9aa3a7; }

/* ---------- Foto-Band – bewusst dunkel ---------- */
.photo-band { position: relative; min-height: 340px; display: grid; place-items: center; color: #fff; text-align: center; padding: 60px 0;
  background: linear-gradient(rgba(8,9,10,.82), rgba(120,10,48,.55)), var(--band-img, none) center/cover no-repeat;
  border-top: 3px solid var(--accent-strong); border-bottom: 3px solid var(--accent-strong); }
.photo-band h2 { color: #fff; }
.photo-band p { color: rgba(255,255,255,.9); max-width: 640px; margin-inline: auto; }
.photo-band .eyebrow { color: #fff; }
.photo-band .eyebrow::before { background: #fff; }

/* ---------- Partner-Logos ---------- */
.partner-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.partner-logo { height: 84px; width: auto; background: #fff; padding: 12px 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.partner-logo--match { height: auto; width: 300px; max-width: 100%; }
.partner-logo--xl { height: auto; width: 360px; max-width: 100%; padding: 16px 22px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person {
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid transparent;
  border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.person:hover { transform: translateY(-4px); border-top-color: var(--accent); box-shadow: var(--shadow-md); }
.person__avatar {
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  overflow: hidden; background: var(--accent-soft); color: var(--accent); font-size: 1.9rem; font-weight: 800;
  border: 2px solid var(--accent);
}
.person__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__name { font-size: 1.18rem; font-weight: 800; color: var(--blue-900); }
.person__role { color: var(--accent); font-weight: 700; font-size: .85rem; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em; }
.person__qual { font-size: .82rem; color: var(--muted); }
.person__contact { margin-top: auto; padding-top: 14px; font-size: .95rem; }
.person__contact a { display: block; color: var(--muted); margin-top: 4px; }
.person__contact a:hover { color: var(--accent-dark); }
@media (min-width: 941px) { .person--center { grid-column: 2; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.info-list .ic svg { width: 21px; height: 21px; }
.info-list strong { display: block; color: var(--blue-900); }
.info-list span, .info-list a { color: var(--muted); }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 700; font-size: .82rem; margin-bottom: 6px; color: var(--blue-900); text-transform: uppercase; letter-spacing: .06em; }
form input, form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .18s, box-shadow .18s;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(189,21,76,.18); }
form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; color: var(--blue-800); text-transform: none; }
.prose p, .prose li { color: var(--ink); }

/* ---------- Karte (Standort) ---------- */
.map-embed {
  position: relative; z-index: 0;
  height: 440px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.map-embed #map { width: 100%; height: 100%; }
.leaflet-container { font: inherit; }
.map-actions { margin-top: 18px; }
@media (max-width: 760px) { .map-embed { height: 340px; } }

/* ---------- Footer – bewusst dunkel ---------- */
.site-footer { background: #0e1011; color: #b3bbbf; padding: 64px 0 28px; border-top: 3px solid var(--accent-strong); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #b3bbbf; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand .brand__name { color: #fff; font-size: 1.1rem; letter-spacing: .06em; }
.footer-brand .brand__sub { display: inline; color: #b3bbbf; }
.footer-brand p { margin-top: 16px; color: #aab2b6; font-size: .94rem; max-width: 340px; }
.footer-logo { display: block; width: 210px; max-width: 100%; height: auto; background: #fff; padding: 12px 16px; border-radius: var(--radius); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7b858a;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: var(--radius-sm); margin-bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid--3, .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0; background: #ffffff;
    border-bottom: 2px solid var(--accent-strong); box-shadow: var(--shadow-md);
    padding: 10px 18px 18px; display: none;
  }
  .nav[data-open="true"] .nav__links { display: flex; }
  .nav__links a { padding: 13px 8px; border-bottom: 0; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .brand__logo { height: 42px; }
}
@media (max-width: 760px) {
  .section { padding: 54px 0; }
  .cta-band { padding: 34px; text-align: center; justify-content: center; }
  .machines { flex-direction: column; height: auto; }
  .machine { flex: none; height: 240px; }
  .hero__inner { padding: 84px 0 92px; }
}
@media (max-width: 520px) {
  .grid--3, .grid--2, .team { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
