/* =====================================================================
   BHS Hartmann — Reifen & Kfz — DRAFT design system stylesheet
   Universal Web Production System · Agent 07 implementation (DRAFT/PILOT)
   Tokens derive from SITE_STATE design_system (v0.1-draft).
   Provisional brand (DRISK-001): accent/fonts captured from current site.
   NOTHING here is a verified brand fact.
   ===================================================================== */

/* ---------- 0. Self-hosted webfonts (DSGVO: no Google Fonts CDN) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/lora-500.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/lora-600.woff2") format("woff2");
}

/* ---------- 1. Design tokens (SITE_STATE design_system) ---------- */
:root {
  /* Primitive colours */
  --color-accent-600: #0B63A9;              /* TOK-C-ACCENT-600 (provisional) */
  --color-accent-700: #094F8A;              /* TOK-C-ACCENT-700 hover/active */
  --color-neutral-0:  #FFFFFF;              /* TOK-C-NEUTRAL-0 */
  --color-neutral-50: #EEF2F6;              /* TOK-C-NEUTRAL-50 page bg */
  --color-neutral-100:#F8FAFC;              /* TOK-C-NEUTRAL-100 card */
  --color-neutral-300:#D2D8DE;              /* TOK-C-NEUTRAL-300 border */
  --color-neutral-500:#6E747A;              /* TOK-C-NEUTRAL-500 muted text */
  --color-neutral-700:#323436;              /* TOK-C-NEUTRAL-700 body text */
  --color-neutral-900:#242526;              /* TOK-C-NEUTRAL-900 heading text */
  --color-red-600:    #C53030;              /* TOK-C-RED-600 error */
  --color-green-600:  #227848;              /* TOK-C-GREEN-600 success */
  --color-amber-500:  #B4780A;              /* TOK-C-AMBER-500 warning */

  /* Semantic colour roles */
  --surface-page:   var(--color-neutral-50);
  --surface-card:   var(--color-neutral-100);
  --surface-raised: var(--color-neutral-0);
  --text-primary:   var(--color-neutral-900);
  --text-body:      var(--color-neutral-700);
  --text-muted:     var(--color-neutral-500);
  --text-on-accent: var(--color-neutral-0);
  --action-primary-bg: var(--color-accent-600);
  --action-primary-bg-hover: var(--color-accent-700);
  --action-secondary-fg: var(--color-accent-700);
  --link: var(--color-accent-700);
  --border-default: var(--color-neutral-300);
  --border-interactive: var(--color-accent-600);
  --focus: var(--color-accent-700);
  --feedback-error: var(--color-red-600);
  --feedback-success: var(--color-green-600);
  --feedback-warning: var(--color-amber-500);

  /* Typography */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;      /* TOK-FF-SERIF */
  --font-sans:  "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif; /* TOK-FF-SANS */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --fs-caption: 0.8125rem;   /* ~13px */
  --fs-body-sm: 0.9375rem;   /* ~15px */
  --fs-body:    1.0625rem;   /* ~17px */
  --fs-body-lg: 1.1875rem;   /* ~19px */
  --fs-h4:      1.25rem;     /* ~20px */
  --fs-h3:      1.5rem;      /* ~24px */
  --fs-h2:      1.75rem;     /* ~28px */
  --fs-h1:      clamp(2rem, 1.4rem + 2.6vw, 2.75rem);   /* ~32→44 */
  --fs-display: clamp(2.5rem, 1.6rem + 3.8vw, 4rem);    /* ~40→64 */

  --lh-tight: 1.15;
  --lh-default: 1.6;
  --lh-relaxed: 1.75;

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Semantic spacing */
  --sp-inline-sm: var(--sp-2);
  --sp-inline-md: var(--sp-3);
  --sp-stack-sm: var(--sp-3);
  --sp-stack-md: var(--sp-5);
  --sp-component-pad: var(--sp-5);
  --sp-grid-gap: var(--sp-5);
  --sp-section: var(--sp-8);
  --sp-section-lg: var(--sp-9);

  /* Radius */
  --radius-control: 6px;   /* TOK-RAD-SM */
  --radius-card: 10px;     /* TOK-RAD-MD */
  --radius-badge: 999px;   /* TOK-RAD-PILL */

  /* Elevation */
  --shadow-card: 0 1px 3px rgba(20,30,45,0.08), 0 1px 2px rgba(20,30,45,0.06);
  --shadow-sticky: 0 6px 18px rgba(20,30,45,0.14);

  /* Layout */
  --container-page: 46rem;   /* reading column */
  --container-wide: 72rem;   /* multi-column */
  --header-height: 72px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-default);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-4);
  font-weight: var(--fw-semibold);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-medium); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-medium); }
p { margin: 0 0 var(--sp-4); }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--action-primary-bg-hover); }

/* Visible, non-colour-only focus indicator; never removed (state_system) */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Anchor targets clear of the sticky header (focus-obstruction rule DDEC-D06) */
:target,
[id] { scroll-margin-top: calc(var(--header-height) + var(--sp-4)); }

.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;
}
.skip-link {
  position: absolute; left: var(--sp-3); top: -60px;
  background: var(--surface-raised); color: var(--link);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-control);
  z-index: 200; transition: top 0.15s ease;
}
.skip-link:focus { top: var(--sp-3); }

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--sp-5); }
.container--narrow { max-width: var(--container-page); }
.section { padding-block: var(--sp-section); }
.section--lg { padding-block: var(--sp-section-lg); }
.stack > * + * { margin-top: var(--sp-stack-md); }
.eyebrow {
  font-size: var(--fs-body-sm); font-weight: var(--fw-semibold);
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--action-secondary-fg);
  margin: 0 0 var(--sp-2);
}
.lead { font-size: var(--fs-body-lg); color: var(--text-body); }
.muted { color: var(--text-muted); }

/* Placeholder marker — makes every unverified fact visibly non-real */
.placeholder {
  display: inline-block;
  background: #FFF4D6;
  color: #6b4e00;
  border: 1px dashed var(--feedback-warning);
  border-radius: var(--radius-control);
  padding: 0 var(--sp-2);
  font-size: 0.9em;
  font-style: normal;
}
.placeholder-block {
  background: #FFF8E6;
  border: 1px dashed var(--feedback-warning);
  border-radius: var(--radius-card);
  padding: var(--sp-4) var(--sp-5);
  color: #6b4e00;
}
.placeholder-block strong { color: #6b4e00; }

/* ---------- 4. Buttons / CTA (CMP-BUTTON) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-inline-sm);
  font-family: var(--font-sans); font-size: var(--fs-body); font-weight: var(--fw-semibold);
  line-height: 1.2; text-decoration: none;
  padding: 0.72em 1.4em; border-radius: var(--radius-control);
  border: 2px solid transparent; cursor: pointer;
  min-height: 44px; /* comfortable target */
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--action-primary-bg); color: var(--text-on-accent); }
.btn--primary:hover { background: var(--action-primary-bg-hover); color: var(--text-on-accent); }
.btn--secondary {
  background: transparent; color: var(--action-secondary-fg);
  border-color: currentColor;
}
.btn--secondary:hover { background: rgba(11,99,169,0.08); color: var(--action-primary-bg-hover); }
.btn--on-accent { background: var(--surface-raised); color: var(--action-secondary-fg); }
.btn--on-accent:hover { background: var(--color-neutral-100); }
.btn--block { width: 100%; }

/* ---------- 5. Header / primary nav (CMP-HEADER-NAV) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-sticky);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); min-height: var(--header-height);
}
.brand {
  display: inline-flex; flex-direction: row; align-items: center; gap: var(--sp-3);
  text-decoration: none; line-height: 1.1;
}
.brand__logo { height: 44px; width: auto; display: block; flex: none; }

.form-alert {
  border-radius: var(--radius-control, 6px); padding: var(--sp-4, 1rem) var(--sp-5, 1.25rem);
  font-weight: var(--fw-medium, 500); line-height: 1.5;
}
.form-alert--error { background: #fdecec; border: 1px solid #e6b3b3; color: #8a1f1f; }
.form-alert--success { background: #e9f6ec; border: 1px solid #b3ddbf; color: #1c6b34; }
.brand__text { display: inline-flex; flex-direction: column; }
.brand__name { font-family: var(--font-serif); font-weight: var(--fw-semibold); font-size: 1.15rem; color: var(--text-primary); }
.brand__tag { font-size: var(--fs-caption); color: var(--text-muted); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: transparent; border: 1px solid var(--border-default);
  border-radius: var(--radius-control); padding: 0.5em 0.8em;
  font: inherit; font-weight: var(--fw-medium); color: var(--text-primary); cursor: pointer;
  min-height: 44px;
}
.nav-toggle__bars { width: 20px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }

.primary-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: var(--sp-2); margin: 0; padding: 0; }
.nav-list a, .dropdown__toggle {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  text-decoration: none; color: var(--text-primary); font-weight: var(--fw-medium);
  padding: 0.6em 0.8em; border-radius: var(--radius-control); font-size: var(--fs-body-sm);
  background: transparent; border: 0; cursor: pointer; font-family: inherit;
}
.nav-list a[aria-current="page"] { font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 4px; }
.nav-list a:hover, .dropdown__toggle:hover { background: var(--color-neutral-100); color: var(--action-secondary-fg); }

.dropdown { position: relative; }
.dropdown__toggle::after { content: ""; width: 0.5em; height: 0.5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.15s ease; }
.dropdown__toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(0); }
.dropdown__panel {
  list-style: none; margin: 0; padding: var(--sp-2);
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 240px;
  background: var(--surface-raised); border: 1px solid var(--border-default);
  border-radius: var(--radius-card); box-shadow: var(--shadow-sticky);
  display: none; z-index: 120;
}
.dropdown__panel a { display: block; width: 100%; font-size: var(--fs-body-sm); }
.dropdown[data-open="true"] .dropdown__panel { display: block; }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }

/* ---------- 6. Mobile persistent call/booking bar (VAR-BK-MOBILE-BAR) ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface-raised); border-top: 1px solid var(--border-default);
  box-shadow: 0 -6px 18px rgba(20,30,45,0.12);
}
.mobile-cta-bar .btn { flex: 1; padding-inline: 0.6em; }

/* ---------- 7. Hero (COMP-HOME-HERO) ---------- */
.hero { background: linear-gradient(180deg, #E3EAF1 0%, var(--surface-page) 100%); }
.hero__inner { display: grid; gap: var(--sp-6); padding-block: var(--sp-section) var(--sp-section); align-items: center; }
.hero__title { font-size: var(--fs-display); margin-bottom: var(--sp-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hero__media {
  background: var(--color-neutral-300); border-radius: var(--radius-card);
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-align: center; padding: var(--sp-5); border: 1px dashed var(--border-default);
  overflow: hidden;
}
.hero__media:has(img) { padding: 0; border: 0; background: none; }
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.service-photo { margin: var(--sp-6) 0 0; }
.service-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }

/* ---------- 8. Service cards (CMP-SERVICE-CARD / COMP-SERVICE-GRID) ---------- */
.card-grid { display: grid; gap: var(--sp-grid-gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.service-card {
  display: flex; flex-direction: column; gap: var(--sp-2);
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-card); padding: var(--sp-component-pad);
  box-shadow: var(--shadow-card); text-decoration: none; color: var(--text-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.service-card:hover { border-color: var(--border-interactive); box-shadow: var(--shadow-sticky); transform: translateY(-2px); }
.service-card__icon { font-size: 1.6rem; line-height: 1; }
.service-card__title { font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: var(--fw-medium); color: var(--text-primary); margin: 0; }
.service-card__summary { font-size: var(--fs-body-sm); margin: 0; }
.service-card__more { margin-top: auto; font-weight: var(--fw-semibold); color: var(--action-secondary-fg); font-size: var(--fs-body-sm); }

/* ---------- 9. Trust section (CMP-TRUST-BADGE) ---------- */
.trust-cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.trust-badge {
  display: inline-flex; align-items: center; gap: var(--sp-inline-sm);
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-badge); padding: var(--sp-2) var(--sp-4); font-size: var(--fs-body-sm);
}

/* ---------- 10. Local proof (CMP-LOCAL-PROOF) ---------- */
.local-proof { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.local-proof__card { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-card); padding: var(--sp-component-pad); }
.local-proof__map {
  background: var(--color-neutral-300); border-radius: var(--radius-card);
  min-height: 240px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--text-muted); padding: var(--sp-5); border: 1px dashed var(--border-default);
}
.nap dt { font-weight: var(--fw-semibold); color: var(--text-primary); margin-top: var(--sp-3); }
.nap dd { margin: 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

/* ---------- 11. CTA band (COMP-CTA-BAND) ---------- */
.cta-band { background: var(--action-primary-bg); color: var(--text-on-accent); border-radius: var(--radius-card); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.cta-band h2 { color: var(--text-on-accent); margin: 0; }
.cta-band p { color: rgba(255,255,255,0.9); margin: var(--sp-2) 0 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- 12. Process steps (CMP-PROCESS-STEP) ---------- */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: step; }
.process-step { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-card); padding: var(--sp-component-pad); }
.process-step__index { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: var(--radius-badge); background: var(--action-primary-bg); color: var(--text-on-accent); font-weight: var(--fw-bold); margin-bottom: var(--sp-3); }
.process-step__title { font-size: var(--fs-h4); margin: 0 0 var(--sp-2); }

/* ---------- 13. FAQ (CMP-FAQ) ---------- */
.faq { display: grid; gap: var(--sp-3); }
.faq__item { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-card); padding: 0; }
.faq__item > summary {
  cursor: pointer; list-style: none; padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-serif); font-size: var(--fs-h4); font-weight: var(--fw-medium); color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: "+"; font-size: 1.4em; color: var(--action-secondary-fg); line-height: 1; }
.faq__item[open] > summary::after { content: "\2013"; }
.faq__answer { padding: 0 var(--sp-5) var(--sp-4); }
.faq__answer > :first-child { margin-top: 0; }

/* ---------- 14. Breadcrumbs (CMP-BREADCRUMBS) ---------- */
.breadcrumbs { padding-block: var(--sp-4); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; font-size: var(--fs-body-sm); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li + li::before { content: "/"; color: var(--text-muted); }
.breadcrumbs [aria-current="page"] { color: var(--text-muted); font-weight: var(--fw-medium); }

/* ---------- 15. Contact form (CMP-CONTACT-FORM) ---------- */
.form-field { margin-bottom: var(--sp-5); }
.form-field label { display: block; font-weight: var(--fw-medium); color: var(--text-primary); margin-bottom: var(--sp-2); }
.req { color: var(--feedback-error); font-weight: var(--fw-bold); }
.field-hint { display: block; font-size: var(--fs-body-sm); color: var(--text-muted); margin-bottom: var(--sp-2); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; color: var(--text-body);
  padding: 0.7em 0.85em; border: 1px solid var(--border-default);
  border-radius: var(--radius-control); background: var(--surface-raised); min-height: 44px;
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--border-interactive); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { border-color: var(--border-interactive); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--feedback-error); border-width: 2px; }
.field-error { display: flex; align-items: center; gap: var(--sp-inline-sm); color: var(--feedback-error); font-size: var(--fs-body-sm); margin-top: var(--sp-2); font-weight: var(--fw-medium); }
.field-error::before { content: "\26A0"; } /* warning sign, reinforces colour with icon */
.field-error[hidden] { display: none !important; } /* attribute-hidden errors must stay hidden until validation (defensive: wins over cache/order) */
.consent-field { display: flex; gap: var(--sp-3); align-items: flex-start; }
.consent-field input { width: auto; min-height: auto; margin-top: 0.35em; }
.form-note { font-size: var(--fs-body-sm); color: var(--text-muted); }

/* ---------- 16. Footer (CMP-FOOTER) ---------- */
.site-footer { background: var(--surface-raised); border-top: 1px solid var(--border-default); margin-top: var(--sp-section); }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-block: var(--sp-section); }
.footer-col h2 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--sp-2); }
.footer-col a { color: var(--link); font-size: var(--fs-body-sm); }
.footer-bottom { border-top: 1px solid var(--border-default); padding-block: var(--sp-4); font-size: var(--fs-caption); color: var(--text-muted); }

/* ---------- 17. Article / service body ---------- */
.prose { max-width: var(--container-page); }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: var(--sp-2); }

/* ---------- 18. Utility / 404 ---------- */
.util-page { text-align: center; padding-block: var(--sp-section-lg); }
.util-page__code { font-family: var(--font-serif); font-size: clamp(3rem, 2rem + 6vw, 6rem); color: var(--action-secondary-fg); margin: 0; }
.util-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); }

/* ---------- 19. Two-column contact layout ---------- */
.contact-layout { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }

/* ---------- 20. Responsive contexts ---------- */
/* COMPACT (default styles are mobile-first; below overrides for REGULAR+) */
@media (min-width: 48rem) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
  .local-proof { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

/* Desktop navigation vs mobile menu */
@media (max-width: 60rem) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface-raised); border-bottom: 1px solid var(--border-default);
    box-shadow: var(--shadow-sticky); padding: var(--sp-4);
  }
  .primary-nav[data-open="true"] { display: block; }
  .site-header .header-bar { position: relative; }
  .nav-list { flex-direction: column; align-items: stretch; gap: var(--sp-1); }
  .nav-list a, .dropdown__toggle { width: 100%; font-size: var(--fs-body); }
  .dropdown { position: static; }
  .dropdown__panel { position: static; box-shadow: none; border: 0; padding-left: var(--sp-4); min-width: 0; }
  .header-actions-desktop { display: none; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 76px; } /* clear fixed mobile bar */
}
@media (min-width: 60.01rem) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; }
}
