/* =========================================================
   Precision Tiling & Repairs
   Brand colours live here. Change them once, the whole site updates.
   ========================================================= */
:root {
  --black: #0E0E0E;
  --ink: #1A1A1A;
  --red: #C8102E;
  --red-dark: #A30D25;
  --white: #FFFFFF;
  --grey-100: #F4F3F1;   /* light section background */
  --grey-200: #E7E5E2;   /* lines, panels */
  --grey-500: #5E5E5E;   /* secondary text (passes contrast on white) */
  --grey-on-dark: #B8B8B8;

  --font-display: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --header-h: 84px;

  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 700ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, .h1 {
  font-family: var(--font-display);
  color: var(--black);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section-grey { background: var(--grey-100); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--red); color: var(--white); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Small label above headings (like "Produkte" in the reference) */
.eyebrow {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--grey-500);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; }
.eyebrow--light { color: var(--grey-on-dark); }

/* Short thick underline under headings */
.rule { display: block; width: 80px; height: 4px; background: var(--black); margin: 22px 0 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; border: 0; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease;
}
.btn-solid { background: var(--red); color: var(--white); }
.btn-solid:hover { background: var(--red-dark); }
.btn-solid:active { transform: scale(.98); }
.btn-block { width: 100%; }

/* Reference-style button: a coloured block sits behind the first letters, fills on hover */
.btn-tag {
  position: relative; isolation: isolate;
  padding: 12px 22px 12px 22px; margin-top: 12px;
  color: var(--black); background: transparent;
}
.btn-tag::before {
  content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0;
  width: 36px; background: var(--red);
  transition: width var(--t-med) var(--ease-out);
}
.btn-tag::after {
  content: ""; width: 18px; height: 2px; background: currentColor;
  transition: transform var(--t-med) var(--ease-out);
}
.btn-tag:hover, .btn-tag:focus-visible { color: var(--white); }
.btn-tag:hover::before, .btn-tag:focus-visible::before { width: 100%; }
.btn-tag:hover::after { transform: translateX(4px); }
.btn-tag--dark { color: var(--white); }

/* ---------- Arrows + progress (carousel controls) ---------- */
.arrows { display: flex; gap: 8px; }
.arrow {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; color: inherit;
  transition: color var(--t-fast) ease, transform var(--t-fast) ease;
}
.arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.arrow:hover { color: var(--red); }
.arrow:active { transform: scale(.92); }
.arrow:disabled { opacity: .3; cursor: default; color: inherit; }

.carousel-controls { display: flex; align-items: center; gap: 36px; margin-top: 34px; }
.progress { display: flex; gap: 8px; }
.progress span { width: 48px; height: 2px; background: var(--grey-200); transition: background-color var(--t-med) ease; }
.progress span.is-active { background: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black); color: var(--white);
  transition: box-shadow var(--t-med) ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 40px; }
.brand { display: flex; color: var(--white); flex: none; }
.brand-logo { width: 196px; height: 47px; color: inherit; }

.main-nav { display: flex; align-items: center; flex: 1; gap: 32px; }
.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0 auto 0 12px; padding: 0; }
.main-nav ul a {
  position: relative; display: inline-block; padding: 8px 0;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  text-decoration: none; color: var(--grey-on-dark);
  transition: color var(--t-fast) ease;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out);
}
.main-nav ul a:hover, .main-nav ul a.is-current { color: var(--white); }
.main-nav ul a:hover::after, .main-nav ul a.is-current::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 10px 22px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  color: var(--white);
}
.header-phone:hover { color: var(--red); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { --overhang: clamp(64px, 9vw, 120px); --hero-gap: clamp(56px, 7vw, 104px); position: relative; isolation: isolate; padding: clamp(32px, 5vw, 64px) 0 var(--hero-gap); }
/* Black panel stops short so the photo hangs over into the white below */
.hero::before {
  content: ""; position: absolute; inset: 0 0 calc(var(--overhang) + var(--hero-gap)) 0; background: var(--black); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(300px, 4fr) 8fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-text { color: var(--white); padding: 20px 0 calc(var(--overhang) + 48px); align-self: start; }
.hero-text h1, .hero-text .h1 { color: var(--white); }
.hero-text .eyebrow { color: var(--grey-on-dark); }

.hero-counter {
  position: relative; display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display); font-weight: 300;
  padding-bottom: 14px; margin-bottom: 10px;
}
.hero-counter::after {
  content: ""; position: absolute; bottom: 0; right: 30%; left: -100vw; height: 1px; background: rgba(255,255,255,.35);
}
.hero-current { font-size: 4rem; line-height: 1; }
.hero-total { font-size: 1.5rem; color: var(--grey-on-dark); }
.hero-text .arrows { margin-left: -12px; margin-bottom: clamp(32px, 6vw, 72px); color: var(--white); }

.hero-slides-text { display: grid; }
.hero-copy {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), visibility 0s linear var(--t-slow);
}
.hero-copy.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hero-copy p:last-child { color: #D9D9D9; max-width: 36ch; font-size: 1.05rem; margin-top: 22px; }

.hero-text h1, .hero-text .h1 { font-size: clamp(2.4rem, 3.7vw, 3.5rem); }
.hero-media { position: relative; align-self: stretch; min-height: 420px; margin-top: 56px; background: #222; overflow: hidden; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 900ms ease, transform 1600ms var(--ease-out);
}
.hero-img.is-active { opacity: 1; transform: none; }

/* ---------- Intro strip ---------- */
.intro { padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.intro-item { border-top: 1px solid var(--grey-200); padding-top: 24px; }
.intro-num { font-family: var(--font-display); font-weight: 700; color: var(--red); font-size: .9rem; letter-spacing: .08em; }
.intro-item h3 { margin: 10px 0 8px; font-size: 1.35rem; }
.intro-item p { color: var(--grey-500); margin: 0; }

/* ---------- Services ---------- */
.services { padding: var(--section) 0; overflow: hidden; }
.services-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.services-intro { padding-top: 24px; }
.services-intro > p:not(.eyebrow) { color: var(--grey-500); max-width: 42ch; }

.carousel { min-width: 0; }
.carousel-track {
  display: flex; gap: clamp(20px, 3vw, 48px);
  list-style: none; margin: 0; padding: 0 0 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter)));
  padding-right: var(--gutter);
}
.carousel-track::-webkit-scrollbar { display: none; }
.service-card { flex: 0 0 clamp(240px, 26vw, 300px); scroll-snap-align: start; }
.service-card img {
  width: 100%; aspect-ratio: 7 / 9; object-fit: cover; background: var(--grey-200);
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-med) ease;
}
.service-card { overflow: hidden; }
.service-card:hover img { transform: scale(1.03); }
.service-body { padding-top: 20px; }
.service-body h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
.service-body h3::after { content: ""; flex: 1; height: 1px; background: var(--grey-200); }
.service-body ul { list-style: none; padding: 0; margin: 14px 0 0; }
.service-body li { position: relative; padding-left: 18px; color: var(--grey-500); font-size: .95rem; margin-bottom: 6px; }
.service-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--red); }

/* ---------- Prices + estimator ---------- */
.prices { padding: var(--section) 0; }
.prices-head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: 40px; }
.prices-head > p { color: var(--grey-500); max-width: 52ch; margin-bottom: 26px; font-size: 1.05rem; }

.estimator { display: grid; grid-template-columns: 7fr 5fr; background: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,.08); border: 1px solid var(--grey-200); }
.est-form { padding: clamp(24px, 4vw, 48px); }
.est-step { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.est-step[hidden] { display: none; }
.est-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--black); }
.est-num { width: 30px; height: 30px; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: .9rem; }

.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.job-card { position: relative; cursor: pointer; }
.job-card input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.job-card-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; height: 100%;
  padding: 18px 10px; border: 2px solid var(--grey-200); background: var(--white);
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.job-card-inner svg { width: 44px; height: 44px; fill: none; stroke: var(--black); stroke-width: 2; }
.job-card-inner svg .hl { fill: var(--red); stroke: var(--red); }
.job-card-inner svg .crack { stroke: var(--white); stroke-width: 1.6; }
.job-card-inner svg .grout { stroke: var(--red); stroke-width: 3; }
.job-card-inner strong { font-family: var(--font-display); font-size: .92rem; line-height: 1.25; color: var(--black); }
.job-card-inner small { color: var(--grey-500); font-size: .8rem; margin-top: -6px; }
.job-card:hover .job-card-inner { border-color: #BDBDBD; }
.job-card input:checked + .job-card-inner { border-color: var(--black); background: var(--grey-100); box-shadow: inset 0 -4px 0 var(--red); }
.job-card input:focus-visible + .job-card-inner, .seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.seg label { position: relative; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--grey-200); font-weight: 600; font-size: .95rem; transition: all var(--t-fast) ease; }
.seg input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.seg label:hover span { border-color: #BDBDBD; }
.est-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; margin: 4px 0 8px; color: var(--black); }
#est-area { width: 160px; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; background: var(--grey-100); border: 1px solid transparent; border-bottom: 2px solid var(--grey-200); }
#est-area:focus { outline: none; border-bottom-color: var(--black); background: var(--white); box-shadow: 0 0 0 3px rgba(200,16,46,.18); }

.stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--grey-200); margin-bottom: 16px; }
.stepper-btn { width: 52px; min-height: 52px; border: 0; background: var(--grey-100); font-size: 1.5rem; cursor: pointer; color: var(--black); }
.stepper-btn:hover { background: var(--grey-200); }
.stepper input { width: 70px; border: 0; text-align: center; font: 700 1.3rem var(--font-display); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 3px solid var(--red); outline-offset: -3px; }

.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: .98rem; }
.check input { width: 22px; height: 22px; accent-color: var(--red); flex: none; cursor: pointer; }
.est-help { color: var(--grey-500); font-size: .9rem; margin: 10px 0 0; max-width: 56ch; }
.est-sizes { font-size: .85rem; color: var(--grey-500); border-top: 1px solid var(--grey-200); padding-top: 16px; margin: 0; }
.est-sizes strong { color: var(--ink); }

.est-result { background: var(--black); color: var(--white); padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 12px; }
.est-result-label { margin: 0; color: var(--grey-on-dark); font-family: var(--font-display); font-weight: 500; }
.est-price { margin: 0 0 6px; font: 800 clamp(3rem, 6vw, 4.2rem)/1 var(--font-display); letter-spacing: -.02em; }
.est-price span { display: inline-block; border-bottom: 5px solid var(--red); padding-bottom: 6px; }
.est-lines { list-style: none; padding: 0; margin: 8px 0 4px; }
.est-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; color: #DADADA; }
.est-lines li span:last-child { color: var(--white); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.est-note { margin: 0; padding: 12px 14px; background: rgba(200,16,46,.18); border-left: 3px solid var(--red); font-size: .9rem; color: #F0F0F0; }
.est-note[hidden] { display: none; }
.est-result .btn-solid { margin-top: auto; }
.est-result .btn-solid:disabled { opacity: .45; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--white); }
.est-small { font-size: .8rem; color: var(--grey-on-dark); margin: 4px 0 0; line-height: 1.5; }

.price-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); margin-top: 56px; }
.price-info h3 { font-size: 1.3rem; margin-bottom: 18px; }
.price-list ul { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.price-list .dots { flex: 1; border-bottom: 2px dotted #C9C9C9; transform: translateY(-4px); min-width: 20px; }
.price-list strong { font-family: var(--font-display); white-space: nowrap; }
.price-notes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.price-notes li { position: relative; padding-left: 20px; color: var(--grey-500); }
.price-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--red); }
.price-notes strong { color: var(--ink); }

.estimate-banner { margin: 0 0 20px; padding: 12px 16px; background: var(--grey-100); border-left: 4px solid var(--red); font-weight: 500; }
.estimate-banner[hidden] { display: none; }

/* ---------- Before & After ---------- */
.before-after { padding: var(--section) 0; }
.ba-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ba-media { position: relative; }
.ba-frame-deco { position: absolute; inset: 28px -28px -28px 28px; border: 2px solid var(--red); z-index: -1; }

.compare { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--grey-200); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-hint { font-size: .9rem; font-style: italic; }
.carousel-controls[hidden] { display: none; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white);
  transform: translateX(-1px); pointer-events: none;
}
.compare-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.compare:has(.compare-range:focus-visible) .compare-handle::after { outline: 3px solid var(--white); outline-offset: 3px; }
.compare-label {
  position: absolute; top: 16px; padding: 6px 12px; pointer-events: none;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--black); color: var(--white);
}
.compare-label--before { left: 16px; }
.compare-label--after { right: 16px; background: var(--red); }

.ba-copy-wrap { min-height: 15rem; }
.ba-copy p { color: var(--grey-500); max-width: 40ch; }
.ba-copy.is-active { animation: fadeUp var(--t-slow) var(--ease-out); }
.ba-text .carousel-controls { margin: 8px 0 28px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about { padding: var(--section) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--grey-200); }
.about-photo-block { position: absolute; width: 55%; height: 45%; left: -28px; bottom: -28px; background: var(--black); }
.about-photo-block::after { content: ""; position: absolute; right: -14px; top: -14px; width: 28px; height: 28px; background: var(--red); }
.about-text .lead { font-size: 1.2rem; color: var(--ink); line-height: 1.6; }
.about-text p { color: var(--grey-500); max-width: 60ch; }
.signature {
  margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--grey-200);
  font-family: var(--font-display); font-weight: 700; color: var(--black) !important; font-size: 1.1rem;
}
.signature span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--grey-500); margin-top: 2px; }

/* ---------- Service area ---------- */
/* Panel = the page's left margin + room for the text, so text never runs under the map on wide screens */
.area {
  --area-inset: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: grid; grid-template-columns: calc(var(--area-inset) + 500px) minmax(0, 1fr); min-height: 560px;
}
.area-panel { background: var(--black); color: var(--white); display: flex; align-items: center; }
.area-panel-inner {
  padding: clamp(56px, 7vw, 96px) 56px clamp(56px, 7vw, 96px) var(--area-inset);
}
.area h2 { color: var(--white); text-transform: uppercase; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 20px; }
.area-panel-inner > p { color: #D0D0D0; max-width: 34ch; }
.area strong { color: var(--white); }
.suburbs { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.suburbs li { position: relative; padding-left: 16px; font-size: .95rem; color: #E6E6E6; }
.suburbs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--red); }
.area-map { position: relative; background: var(--grey-200); min-height: 380px; }
.area-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter var(--t-slow) ease;
}
.area-map:hover iframe { filter: grayscale(0); }

/* ---------- Reviews ---------- */
.reviews { padding: var(--section) 0; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.google-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; margin-bottom: 26px;
  border: 1px solid var(--grey-200); font-family: var(--font-display); font-weight: 600; font-size: .9rem;
}
.google-badge svg { width: 22px; height: 22px; }
.reviews-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 48px); }
.review-card {
  margin: 0; padding: clamp(28px, 4vw, 48px);
  background: var(--grey-100); border-left: 4px solid var(--red);
}
.stars { display: flex; gap: 4px; margin-bottom: 18px; }
.stars svg { width: 20px; height: 20px; fill: #F5B301; }
.review-card blockquote { margin: 0 0 28px; }
.review-card blockquote p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; line-height: 1.5; color: var(--black); margin: 0; }
.review-card figcaption { display: flex; align-items: center; gap: 14px; }
.review-card figcaption strong { display: block; font-family: var(--font-display); }
.review-card figcaption small { color: var(--grey-500); font-size: .85rem; }
.review-avatar {
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
  background: var(--black); color: var(--white); font-family: var(--font-display); font-weight: 700;
}
.review-cta { background: var(--black); color: var(--white); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.review-cta h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 14px; }
.review-cta p { color: #CFCFCF; }
.review-cta .btn { align-self: flex-start; }

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info > p { color: var(--grey-500); max-width: 40ch; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--red); }

.quote-form { background: var(--white); padding: clamp(24px, 4vw, 48px); box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--black); }
.field label span[aria-hidden] { color: var(--red); }
.field .optional { font-weight: 400; color: var(--grey-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--grey-100); border: 1px solid transparent; border-bottom: 2px solid var(--grey-200); border-radius: 0;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0E0E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input[type="file"] { padding: 10px; background: var(--white); border: 1px dashed #BDBDBD; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-bottom-color: var(--black); box-shadow: 0 0 0 3px rgba(200,16,46,.18); }
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--red); background: #FFF5F6; }
.field-error { margin: 6px 0 0; font-size: .85rem; color: var(--red-dark); font-weight: 500; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-note { margin: 14px 0 0; font-size: .85rem; color: var(--grey-500); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey-100); border-top: 1px solid var(--grey-200); }
.footer-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); padding-top: 72px; padding-bottom: 72px; }
.brand-logo--footer { width: 220px; height: 53px; color: var(--black); }
.footer-rule { display: block; height: 1px; background: #CFCFCF; margin: 22px 0; max-width: 260px; }
.footer-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 360px; }
.footer-contact div a { display: block; text-decoration: none; font-size: .95rem; padding: 3px 0; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--red); }
.social { width: 44px; height: 44px; display: grid; place-items: center; flex: none; color: var(--grey-500); }
.social svg { width: 24px; height: 24px; fill: currentColor; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; align-content: start; }
.footer-nav a { text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: .95rem; }
.footer-nav a:hover { color: var(--red); }
.footer-muted li { color: var(--grey-500); font-size: .9rem; }
.footer-bar { background: var(--black); color: var(--grey-on-dark); font-size: .8rem; }
.footer-bar p { margin: 0; padding: 14px 0; }

.mobile-bar { display: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
.main-nav ul a, .nav-cta { white-space: nowrap; }

@media (max-width: 1240px) {
  .header-inner { gap: 28px; }
  .main-nav { gap: 24px; }
  .main-nav ul { gap: 20px; margin-left: 0; }
}

@media (max-width: 1100px) {
  .main-nav ul { gap: 16px; }
  .main-nav ul a { font-size: .88rem; }
  .header-phone { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand-logo { width: 168px; height: 40px; }

  .menu-toggle {
    display: grid; align-content: center; gap: 6px; width: 48px; height: 48px; padding: 12px;
    background: transparent; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--white); transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast) ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header-actions { margin-left: auto; }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 8px var(--gutter) 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 0; margin: 0 0 20px; }
  .main-nav ul a { display: block; padding: 14px 0; font-size: 1.1rem; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav ul a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-text { padding-bottom: 40px; }
  .hero-text h1, .hero-text .h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  /* explicit height (not aspect-ratio) so older iPhones show the photo too */
  .hero-media { margin-top: 0; min-height: 0; height: calc((100vw - 2 * var(--gutter)) / 1.5); }
  .hero-counter::after { right: 0; }
  .hero-text .arrows { margin-bottom: 28px; }

  .services-grid, .ba-grid, .about-grid, .contact-grid, .reviews-grid, .footer-grid { grid-template-columns: 1fr; }
  .carousel-track { margin-right: calc(-1 * var(--gutter)); }
  .ba-media { margin-right: 28px; }
  .ba-copy-wrap { min-height: 0; }
  .about-photo { max-width: 460px; margin-left: 28px; }

  .prices-head, .estimator, .price-info { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
  .area-panel-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
}

@media (max-width: 640px) {
  .intro-grid { grid-template-columns: 1fr; }
  .job-grid { gap: 8px; }
  .job-card-inner { padding: 14px 6px; }
  .job-card-inner strong { font-size: .85rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-muted { grid-column: 1 / -1; }
  .hero-current { font-size: 3rem; }
  .carousel-controls { gap: 20px; }
  .progress span { width: 32px; }
  .suburbs { grid-template-columns: 1fr 1fr; }

  /* Sticky call / quote bar on phones */
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding-bottom: env(safe-area-inset-bottom); background: var(--black);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px;
    font-family: var(--font-display); font-weight: 700; text-decoration: none; color: var(--white);
  }
  .mobile-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
  .mobile-bar-quote { background: var(--red); }
}

/* Older iPhones / Safari (before iOS 15) don't understand aspect-ratio.
   Without this the before/after slider would collapse to nothing. */
@supports not (aspect-ratio: 1 / 1) {
  .compare { height: 0; padding-top: 100%; }
  .service-card img { height: auto; }
  .about-photo img { height: auto; }
}

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