/* ==========================================================================
   Mainburger – Stylesheet
   Aufbau: 1. Tokens  2. Basis  3. Layout  4. Kopf & Fuß  5. Bausteine
           6. Seiten  7. Kalkulator  8. Formulare  9. Hilfsklassen
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Farben – abgeleitet aus dem Logo */
  --petrol: #749898;          /* Markenfarbe (Logo, Schachbrett) */
  --petrol-strong: #4a7272;   /* Buttons & Links – Kontrast 5,3:1 auf Weiß */
  --petrol-deeper: #3c6262;   /* Hover */
  --night: #22393a;           /* Abschluss-Band */
  --mist: #edf3f2;            /* Abschnittswechsel */
  --mist-strong: #dbe7e5;
  --line: #d3e0de;
  --ink: #1c2423;
  --muted: #4b5857;
  --on-night: #c9e0de;
  --mustard: #e6a23c;         /* „Burger“-Schriftzug im Logo */
  --white: #ffffff;

  /* Schrift */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Typo-Skala (große Terz) */
  --step--1: 0.9rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.5rem + 3.6vw, 4.1rem);
  --step-5: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);

  /* Abstände */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;

  --header-h: 92px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 900; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

a { color: var(--petrol-strong); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-deeper); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--petrol-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--mustard); color: var(--ink); }

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--flush-top { padding-top: 0; }

.page-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head .lead { margin-top: 20px; max-width: 60ch; }

.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }
.tagline { margin-top: 14px; font-size: var(--step--1); color: var(--muted); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; margin-bottom: 0.5em; font-size: var(--step-2); }
.prose h2:first-child { margin-top: 0; }

/* 4. Kopf & Fuß ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--night);
  color: var(--white);
  border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}

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

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: auto; height: 68px; mix-blend-mode: multiply; }

.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.site-nav ul {
  display: flex;
  gap: clamp(16px, 2.2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a:not(.btn) {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  padding-block: 6px;
}
.site-nav a:not(.btn):hover { color: var(--petrol-strong); }
.site-nav a:not(.btn)[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--mustard);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.45em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Schachbrett – das Muster von den Trucks */
.checker {
  height: 20px;
  background: repeating-conic-gradient(var(--petrol) 0 25%, var(--white) 0 50%) 0 0 / 20px 20px;
}

.site-footer { padding-bottom: 32px; background: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 56px;
}
.footer-brand img { width: auto; height: 84px; mix-blend-mode: multiply; }
.footer-brand p { margin-top: 18px; max-width: 34ch; color: var(--muted); font-size: var(--step--1); }
.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li + li { margin-top: 8px; }
.footer-list a { color: var(--ink); text-decoration: none; }
.footer-list a:hover { color: var(--petrol-strong); text-decoration: underline; }
.footer-list .label { color: var(--muted); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--muted);
}
.footer-bottom ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { color: var(--muted); }

/* 5. Bausteine ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0.75em 1.6em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--petrol-strong); color: var(--white); }
.btn-primary:hover { background: var(--petrol-deeper); color: var(--white); }
.btn-secondary { background: transparent; border-color: var(--petrol-strong); color: var(--petrol-strong); }
.btn-secondary:hover { background: var(--mist); color: var(--petrol-deeper); }
.btn-accent { background: var(--mustard); color: var(--ink); }
.btn-accent:hover { background: #f0b65e; color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.media { margin: 0; overflow: hidden; border-radius: var(--radius-m); background: var(--mist-strong); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Abschluss-Band */
.cta-band { background: var(--night); color: var(--on-night); }
.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px 64px;
  align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 14px; font-size: var(--step-1); }
.cta-band a:not(.btn) { color: var(--white); text-decoration-color: var(--mustard); text-decoration-thickness: 2px; }
.cta-band a:not(.btn):hover { color: var(--mustard); }
.cta-band :focus-visible { outline-color: var(--mustard); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-self: end; }

/* 6. Seiten ---------------------------------------------------------------- */

/* Startseite – Hero */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: var(--section); }
.hero h1 { font-size: var(--step-5); max-width: 22ch; line-height: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
}
.hero-text .lead { max-width: 38ch; }
.hero-media { aspect-ratio: 16 / 10; border-radius: var(--radius-l); }

/* Startseite – drei Vorteile */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 48px); }
.feature .media { aspect-ratio: 4 / 3; }
.feature h2 { margin-top: 24px; margin-bottom: 12px; font-size: var(--step-2); }
.feature--burger .media img { object-position: 50% 62%; }

/* Startseite – Full-Service */
.service { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.service h2 { margin-bottom: 20px; }
.service .lead { max-width: 46ch; }
.person { margin: 0; }
.person .media { aspect-ratio: 4 / 5; }
.person figcaption { margin-top: 18px; }
.person-name { display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: var(--step-1); font-weight: 700; }
.person-role { display: block; margin-top: 2px; color: var(--muted); font-size: var(--step--1); }
.person .btn { margin-top: 20px; width: 100%; }

/* Startseite – Kundenstimmen */
.section-title { margin-bottom: clamp(32px, 4vw, 48px); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 48px); }
.quote { margin: 0; padding-top: 24px; border-top: 4px solid var(--mustard); }
.quote blockquote { margin: 0; font-size: var(--step-1); line-height: 1.5; }
.quote figcaption { margin-top: 22px; }
.quote-name { display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: var(--step-1); font-weight: 700; }
.quote-meta { display: block; margin-top: 2px; color: var(--muted); font-size: var(--step--1); }

/* Unsere Trucks */
.trucks { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px) clamp(28px, 3.5vw, 48px); }
.truck .media { aspect-ratio: 4 / 3; }
.truck h2 { margin-top: 24px; margin-bottom: 10px; font-size: var(--step-2); }
.truck p { max-width: 46ch; }
.truck--tall .media img { object-position: 50% 40%; }

/* Burgerauswahl */
.menu { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.menu-list { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.menu-item { padding-block: 22px; border-bottom: 1px solid var(--line); }
.menu-item h2 { font-size: var(--step-2); }
.menu-item p { margin-top: 6px; color: var(--muted); }
.menu-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.menu-aside .media { aspect-ratio: 4 / 5; }
.menu-aside .media img { object-position: 50% 60%; }
.sides { margin-top: 24px; padding: 24px 28px; background: var(--mist); border-radius: var(--radius-m); }
.sides h2 { margin-bottom: 8px; font-size: var(--step-1); }

/* Unsere Geschichte – Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.gallery figure { margin: 0; }
.gallery-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--mist-strong);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.gallery-button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-button:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--muted); line-height: 1.45; }

.lightbox {
  width: min(1100px, 94vw);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--night);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(20, 32, 32, 0.82); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #18292a; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.lightbox-caption { color: var(--on-night); }
.lightbox-controls { display: flex; gap: 8px; flex-shrink: 0; }
.lightbox-controls button {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  cursor: pointer;
}
.lightbox-controls button:hover { background: rgba(255, 255, 255, 0.1); }
.lightbox :focus-visible { outline-color: var(--mustard); }

/* Frankfurt – Text/Bild im Wechsel */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: var(--section); }
.split--reverse .split-media { order: -1; }
.split-media { aspect-ratio: 4 / 5; }
.split h2 { margin-bottom: 18px; font-size: var(--step-3); }
.split .prose { max-width: 56ch; }

/* Rechtliches */
.legal { max-width: 68ch; }
.legal h2 { margin-top: 1.8em; margin-bottom: 0.4em; font-size: var(--step-1); }
.legal address { font-style: normal; }
.placeholder {
  margin-block: 24px 32px;
  padding: 20px 24px;
  border: 2px dashed var(--mustard);
  border-radius: var(--radius-m);
  background: #fff7e8;
}
.placeholder ul { margin: 10px 0 0; padding-left: 1.2em; }

/* 7. Kalkulator ------------------------------------------------------------ */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-areas:
    "s1 sum"
    "s2 sum"
    "s3 sum"
    "s4 sum";
  grid-template-rows: auto auto auto 1fr;
  gap: 24px 40px;
  align-items: start;
}
.calc-step--1 { grid-area: s1; }
.calc-step--2 { grid-area: s2; }
.calc-step--3 { grid-area: s3; }
.calc-step--4 { grid-area: s4; }
.calc-summary { grid-area: sum; position: sticky; top: calc(var(--header-h) + 24px); }

.calc-step {
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
}
.calc-step legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.15;
}
.calc-step legend + * { clear: both; }

.truck-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.truck-option { position: relative; display: block; cursor: pointer; }
.truck-option input { position: absolute; opacity: 0; pointer-events: none; }
.truck-option-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.truck-option-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.truck-option-text { display: block; padding: 14px 16px 16px; }
.truck-option-name { display: block; font-weight: 600; line-height: 1.3; }
.truck-option-status { display: block; margin-top: 6px; font-size: var(--step--1); color: var(--petrol-strong); font-weight: 600; }
.truck-option:hover .truck-option-card { border-color: var(--petrol); }
.truck-option input:checked + .truck-option-card { border-color: var(--petrol-strong); background: var(--mist); }
.truck-option input:focus-visible + .truck-option-card { outline: 3px solid var(--petrol-strong); outline-offset: 3px; }

.segmented {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  border-radius: 999px;
  background: var(--mist);
}
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: block;
  padding: 12px 16px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.segmented input:checked + span { background: var(--petrol-strong); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--petrol-strong); outline-offset: 2px; }

.rows { margin: 20px 0 0; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
}
.row dt { color: var(--muted); }
.row dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.row--total { border-bottom: 0; padding-top: 16px; }
.row--total dt { color: var(--ink); font-weight: 600; }
.row--total dd { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: var(--step-2); font-weight: 800; }

.minimum { margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-s); font-size: var(--step--1); font-weight: 500; }
.minimum.ok { background: #e3f1e7; color: #1e5e36; }
.minimum.not-ok { background: #fcefd9; color: #6f4405; }

.calc-summary-card { padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-l); background: var(--mist); }
.calc-summary h2 { margin-bottom: 4px; font-size: var(--step-2); }
.calc-summary .row { border-bottom-color: var(--mist-strong); }

/* 8. Formulare ------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 1rem; }
.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #6f8381;
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--petrol-strong); outline: 3px solid rgba(74, 114, 114, 0.25); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: #b3401d; }
.field { min-width: 0; }
.field input[type="date"] { display: block; appearance: none; -webkit-appearance: none; }
.row dt, .row dd, .legal a, .contact-list dd { min-width: 0; overflow-wrap: anywhere; }
.field-hint { margin-top: 6px; font-size: var(--step--1); color: var(--muted); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--petrol-strong); }

.form-actions { margin-top: 24px; }
.form-note { margin-top: 12px; font-size: var(--step--1); color: var(--muted); }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-s); font-weight: 500; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fbe4dc; color: #8a2a10; }
.form-status.is-success { background: #e3f1e7; color: #1e5e36; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-l); background: var(--mist); }
.contact-card h1 { margin-bottom: 28px; font-size: var(--step-3); }
.contact-aside h2 { margin-bottom: 16px; font-size: var(--step-2); }
.contact-list { margin: 0; }
.contact-list div { padding-block: 12px; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: var(--step--1); }
.contact-list dd { margin: 2px 0 0; font-size: var(--step-1); font-weight: 500; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--petrol-strong); text-decoration: underline; }
.contact-aside p { margin-top: 24px; }
.contact-aside .btn { margin-top: 20px; }

/* 9. Hilfsklassen ---------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] { display: none !important; }

/* Responsiv ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .site-nav ul { gap: 18px; }
  .site-nav { gap: 20px; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .brand img { height: 56px; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(28, 36, 35, 0.35);
    max-height: calc(100dvh - var(--header-h) - 20px);
    overflow-y: auto;
  }
  .js .site-nav { display: none; }
  .site-nav.is-open { display: flex; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { position: static; width: 100%; max-height: none; box-shadow: none; }
  html:not(.js) .nav-toggle { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--step-1); }
  .site-nav a:not(.btn)[aria-current="page"] { text-underline-offset: 0.3em; }

  .hero-grid,
  .service,
  .menu,
  .split,
  .contact,
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-self: start; }
  .split--reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
  .menu-aside { position: static; }
  .menu-aside .media { aspect-ratio: 4 / 3; }

  .service .person { max-width: 380px; }

  .features,
  .quotes { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }

  .calc {
    grid-template-columns: 1fr;
    grid-template-areas: "s1" "s2" "s3" "sum" "s4";
    grid-template-rows: none;
  }
  .calc-summary { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .features,
  .quotes,
  .trucks,
  .truck-options,
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .truck-option-card { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
  .truck-option-card img { height: 100%; aspect-ratio: auto; min-height: 96px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .feature .media { aspect-ratio: 3 / 2; }
  .actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox-bar { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .segmented span { padding-inline: 8px; font-size: 1rem; overflow-wrap: anywhere; }
}

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