/*
Theme Name: Autoservice Langenfeld – Swiss Modernism
Theme URI: https://autoservice-langenfeld-1.lead.bummeltech.com/
Author: Autoservice Langenfeld
Description: Individuelles, mehrseitiges WordPress-Theme im International-Style / Swiss-Modernism-Design für die Autowerkstatt Autoservice Langenfeld. Striktes 12-Spalten-Raster, Inter/Helvetica, ruhige rust-orange Akzentfarbe. Alle Inhalte im wp-admin pflegbar.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: autoservice-langenfeld
*/

/* ============================================================
   DESIGN SYSTEM — Swiss Modernism 2.0 (International Style)
   12-col grid · 8px base unit · one grotesque · single accent
   ============================================================ */
:root {
  /* Grid & rhythm */
  --grid-columns: 12;
  --grid-gap: 1.5rem;          /* 24px */
  --base-unit: 8px;
  --wrap: 1220px;

  /* Type */
  --font-primary: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Palette — neutral base + ONE muted rust accent (auto-workshop appropriate).
     Primary/accent are re-emitted from the Customizer in header (theme mods). */
  --ink: #141414;
  --ink-soft: #33322f;
  --muted: #5c5b56;
  --bg: #ffffff;
  --surface: #f4f4f1;
  --surface-2: #eae9e4;
  --line: #e0dfd9;
  --line-strong: #c9c8c1;

  --accent: #c2410c;           /* rust orange */
  --accent-ink: #9a3412;       /* darker — button bg / pressed */
  --accent-soft: #f8efe9;
  --on-accent: #ffffff;

  /* Elevation — soft, semi-transparent (no hard borders as decoration) */
  --shadow-sm: 0 1px 2px rgba(20,20,20,.05), 0 1px 3px rgba(20,20,20,.04);
  --shadow-md: 0 6px 18px rgba(20,20,20,.07), 0 2px 6px rgba(20,20,20,.05);
  --shadow-lg: 0 18px 48px rgba(20,20,20,.10), 0 6px 16px rgba(20,20,20,.06);

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);   /* ease-out-quart-ish */
  --dur: 220ms;

  /* z-scale */
  --z-header: 100;
  --z-drawer: 200;
  --z-overlay: 190;

  --radius: 4px;               /* Swiss = mostly square; tiny softening only */
}

/* ---- 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; } }

body {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.0625rem;        /* 17px base */
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;          /* last-resort guard against horizontal scroll */
}

img, video, iframe, svg { max-width: 100%; }
img, video { height: auto; display: block; }

a { color: var(--accent-ink); text-decoration: none; transition: color var(--dur) var(--ease-out); }
a:hover { color: var(--accent); }

/* ---- Typography scale (mathematical, clear hierarchy) ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1.1rem; max-width: 68ch; text-wrap: pretty; }
strong { font-weight: 700; }
ul, ol { margin: 0 0 1.2rem; padding-left: 1.2rem; }
li { margin: .35rem 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ---- Layout primitives ---- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: #f4f4f1; }
.section--ink h1,.section--ink h2,.section--ink h3 { color: #fff; }

.grid12 { display: grid; grid-template-columns: repeat(var(--grid-columns), 1fr); gap: var(--grid-gap); }

/* Eyebrow / label — used sparingly, ONE deliberate system element (index + label) */
.kicker { display: inline-flex; align-items: baseline; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-transform: none; margin-bottom: 1rem; }
.kicker .num { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); align-self: center; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }

/* ---- Buttons ---- */
.btn {
  --bg: var(--accent-ink);
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .95rem 1.5rem; border-radius: var(--radius);
  background: var(--bg); color: var(--on-accent);
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-md); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn .icon { width: 18px; height: 18px; }

/* ---- Icons (dezent, immer begrenzt) ---- */
.icon { width: 1.4em; height: 1.4em; flex: 0 0 auto; vertical-align: middle; stroke: currentColor; }
svg.icon { max-width: 28px; max-height: 28px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease-out), padding var(--dur) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; transition: padding var(--dur) var(--ease-out); }
.site-header.is-scrolled .site-header__inner { padding-block: .6rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; letter-spacing: -0.02em; font-size: 1.15rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: #fff; border-radius: var(--radius); font-weight: 800; font-size: .95rem; letter-spacing: .02em; flex: 0 0 auto; }
.brand__mark .bar { width: 2px; height: 16px; background: var(--accent); margin-left: 1px; }
.brand small { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Primary nav — generous spacing, no cramming */
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav ul { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--ink-soft); font-weight: 500; font-size: .98rem; position: relative; padding: .35rem 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); transition: width var(--dur) var(--ease-out); }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { width: 100%; }
.header-cta { display: inline-flex; align-items: center; gap: .5rem; }
.primary-nav > .header-phone { display: none; } /* nur im Mobile-Drawer sichtbar */
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone .icon { color: var(--accent); }

/* Burger */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-close { display: none; }

/* ============================================================
   HERO — asymmetric within the 12-col grid
   ============================================================ */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__grid { align-items: center; }
.hero__copy { grid-column: 1 / span 7; }
.hero__media { grid-column: 8 / span 5; position: relative; }
.hero h1 { margin-bottom: 1.1rem; }
.hero__lead { margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.75rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.hero__meta div { min-width: 120px; }
.hero__meta .n { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; display: block; }
.hero__meta .k { font-size: .85rem; color: var(--muted); }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__media .tag { position: absolute; left: -14px; bottom: 24px; background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem; padding: .7rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ============================================================
   SLIDER (CPT slide)
   ============================================================ */
.slider { position: relative; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: var(--grid-gap); -ms-overflow-style: none; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(320px, 46vw, 520px); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.45) 42%, rgba(10,10,10,0) 72%); }
.slide__body { position: relative; z-index: 2; max-width: 560px; color: #fff; padding: clamp(1.8rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; height: 100%; }
.slide__body h3 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
.slide__body p { color: rgba(255,255,255,.9); max-width: 46ch; }
.slider__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.slider__dots button { width: 32px; height: 4px; border: 0; padding: 0; background: var(--line-strong); border-radius: 2px; cursor: pointer; transition: background var(--dur) var(--ease-out); }
.slider__dots button[aria-current="true"] { background: var(--accent); }

/* ============================================================
   SERVICES — modular grid, NOT identical repeated cards
   ============================================================ */
.services-grid { --grid-gap: 1.25rem; }
.svc {
  position: relative; grid-column: span 4; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  overflow: hidden;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.svc:hover::before { transform: scaleX(1); }
.svc__idx { font-variant-numeric: tabular-nums; font-size: .82rem; font-weight: 700; color: var(--accent); margin-bottom: .9rem; }
.svc__ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); border-radius: var(--radius); margin-bottom: 1rem; }
.svc__ico .icon { width: 22px; height: 22px; }
.svc h3 { margin-bottom: .4rem; }
.svc p { font-size: .96rem; color: var(--muted); margin-bottom: 1rem; }
.svc__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.svc__link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.svc:hover .svc__link { color: var(--accent-ink); }
.svc:hover .svc__link .icon { transform: translateX(4px); }
/* Feature (wide) service tile for modular variance */
.svc--wide { grid-column: span 8; flex-direction: row; align-items: stretch; padding: 0; }
.svc--wide .svc__media { flex: 0 0 42%; position: relative; overflow: hidden; }
.svc--wide .svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc--wide .svc__inner { padding: 1.8rem 1.7rem; display: flex; flex-direction: column; }

/* ============================================================
   SPLIT / FEATURE ROWS
   ============================================================ */
.feature { align-items: center; }
.feature__media { grid-column: span 6; }
.feature__copy { grid-column: span 6; }
.feature--rev .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; margin: .6rem 0; color: var(--ink-soft); }
.checklist .icon { width: 20px; height: 20px; color: var(--accent); margin-top: .18rem; }

/* Stat band */
.stats { --grid-gap: 1rem; }
.stat { grid-column: span 3; padding: 1.4rem 0; }
.stat .n { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat .n .accent { color: var(--accent); }
.stat .k { color: var(--muted); font-size: .92rem; margin-top: .4rem; }

/* Steps / process */
.steps { counter-reset: step; --grid-gap: 1.25rem; }
.step { grid-column: span 3; position: relative; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.step__n { font-variant-numeric: tabular-nums; font-size: .85rem; font-weight: 700; color: var(--accent); }
.step h4 { margin: .5rem 0 .35rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ============================================================
   CONTACT / ANFAHRT — icons stay small, flex next to text
   ============================================================ */
.contact-grid { align-items: start; }
.contact__info { grid-column: span 5; }
.contact__form { grid-column: span 7; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.contact-list .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.contact-list a { color: var(--ink-soft); font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.hours { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours .d { color: var(--muted); }
.hours .h { font-weight: 600; }
.map-embed { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* CF7 / form styling */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea, .wpcf7 select,
form input[type=text], form input[type=email], form input[type=tel], form textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; margin-top: .3rem; background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input:focus, .wpcf7 textarea:focus, form input:focus, form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wpcf7 label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: .3rem; }
.wpcf7 .wpcf7-submit, form button[type=submit] { background: var(--accent-ink); color: #fff; border: 0; padding: .95rem 1.6rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: background var(--dur) var(--ease-out); }
.wpcf7 .wpcf7-submit:hover { background: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #c9c8c1; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.site-footer a { color: #e7e6e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { gap: 2rem var(--grid-gap); }
.footer-brand { grid-column: span 4; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #a3a29c; font-size: .95rem; margin-top: 1rem; }
.footer-col { grid-column: span 2; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: .5rem 0; }
.footer-col a { color: #bdbcb6; font-size: .95rem; }
.footer-contact { grid-column: span 4; }
.footer-contact .contact-list li { border-color: rgba(255,255,255,.12); color: #d8d7d2; }
.footer-contact .contact-list a { color: #d8d7d2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #8f8e88; }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ============================================================
   GENERIC PAGE / GUTENBERG CONTENT
   ============================================================ */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 1rem; }
.entry { padding-block: clamp(3rem, 6vw, 5rem); }
.entry .wrap { max-width: 900px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 2.4rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.entry-content .wp-block-columns { gap: var(--grid-gap); }
.entry-content .wp-block-group.has-background { padding: clamp(1.4rem,3vw,2rem); border-radius: var(--radius); }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li { position: relative; padding-left: 1.5rem; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--accent); border-radius: 1px; }
.entry-content ol { padding-left: 1.3rem; }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 2rem 0; padding: .4rem 0 .4rem 1.4rem; font-size: 1.15rem; color: var(--ink-soft); }
.entry-content .wp-block-separator { border-top: 1px solid var(--line); max-width: none; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(2rem,5vw,3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin: 0; max-width: 20ch; }
.cta-band p { color: #bdbcb6; margin:.6rem 0 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Inhalt ist standardmäßig sichtbar; nur wenn JS läuft (.asl-js) wird er
   für das Reveal kurz versteckt. So bleibt nichts leer, falls JS ausfällt. */
.asl-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); will-change: opacity, transform; }
.asl-js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .asl-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* backdrop-filter am Header macht ihn zum Containing-Block für den
     position:fixed-Drawer (inset:0 würde am Header kleben). Auf Mobile aus. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .primary-nav { display: none; }
  .header-phone { display: none; }
  .header-cta > .btn { display: none; } /* CTA im Drawer/Hero – Header bleibt schlank */
  .nav-toggle { display: inline-flex; }

  /* Mobile drawer */
  .primary-nav.is-open {
    display: flex; position: fixed; inset: 0; z-index: var(--z-drawer);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    background: #fff; padding: 1.15rem clamp(1.15rem,4vw,2.5rem) 2rem; gap: 0;
    overflow-y: auto; animation: drawerIn var(--dur) var(--ease-out);
  }
  .primary-nav.is-open .nav-close { display: inline-flex; align-self: flex-end; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; margin-bottom: 1rem; color: var(--ink); }
  .primary-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .primary-nav.is-open li { border-bottom: 1px solid var(--line); }
  .primary-nav.is-open a { display: block; padding: 1.05rem .25rem; font-size: 1.1rem; }
  .primary-nav.is-open a::after { display: none; }
  .primary-nav.is-open .header-phone { display: inline-flex; margin-top: 1.5rem; font-size: 1.15rem; }
  @keyframes drawerIn { from { opacity: 0; transform: translateY(-8px);} to { opacity:1; transform:none; } }

  .hero__copy, .hero__media { grid-column: 1 / -1; }
  .hero__media { margin-top: 2rem; max-width: 460px; }
  .hero__media img { aspect-ratio: 16/11; }

  .feature__media, .feature__copy { grid-column: 1 / -1; }
  .feature--rev .feature__media { order: 0; }

  .svc { grid-column: span 6; }
  .svc--wide { grid-column: 1 / -1; flex-direction: column; }
  .svc--wide .svc__media { flex-basis: auto; aspect-ratio: 16/9; }

  .contact__info, .contact__form { grid-column: 1 / -1; }
  .stat { grid-column: span 6; }
  .step { grid-column: span 6; }

  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-col { grid-column: span 3; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .section { padding-block: clamp(2.75rem, 9vw, 3.5rem); }
  .svc, .svc--wide, .stat, .step, .footer-col { grid-column: 1 / -1; }
  .hero__meta { gap: 1.25rem; }
  .hero__meta .n { font-size: 1.6rem; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero__media .tag { left: 0; }
  .footer-bottom { flex-direction: column; }
}

/* Focus visibility (keyboard nav) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
