/*
 * S.T.A Kanal- & Rohrreinigung
 * Responsive HTML5 website — local assets, no external fonts or trackers.
 */
:root {
  --ink: #26313d;
  --text: #44515f;
  --muted: #6d7b88;
  --blue-950: #152534;
  --blue-900: #20384e;
  --blue-800: #2d4e69;
  --blue-700: #385e81;
  --blue-600: #4f7898;
  --blue-300: #aac4d6;
  --blue-200: #cbdde8;
  --blue-100: #e3eef4;
  --blue-50: #f1f6f9;
  --red-700: #98111a;
  --red-600: #b91623;
  --red-500: #c51b2a;
  --red-100: #fce7e9;
  --paper: #f6f8fa;
  --white: #fff;
  --line: #dbe4ea;
  --green: #20a56b;
  --shadow-sm: 0 8px 26px rgba(25, 49, 68, .08);
  --shadow-md: 0 18px 48px rgba(25, 49, 68, .13);
  --shadow-lg: 0 28px 78px rgba(16, 37, 55, .2);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1220px;
  --header-height: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
main { min-height: 55vh; overflow: clip; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg.icon { display: inline-block; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
svg.icon--sm { width: 1rem; height: 1rem; }
a { color: var(--blue-700); text-decoration-thickness: .08em; text-underline-offset: .17em; }
a:hover { color: var(--red-600); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
strong { color: var(--ink); }
h1, h2, h3, h4 {
  margin: 0 0 .55em;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.55rem, 5.2vw, 5.25rem); font-weight: 850; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 820; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 780; }
h4 { font-size: 1.1rem; }
p { margin: .15em 0 1.15em; }
ul, ol { margin: .3em 0 1.25em; padding-left: 1.25em; }
li + li { margin-top: .38em; }
::selection { background: var(--blue-200); color: var(--blue-950); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container--narrow { width: min(calc(100% - 40px), 880px); margin-inline: auto; }
.small { font-size: .84rem; }
.muted { color: var(--muted); }
.lead, .hero__lead { color: #536474; font-size: clamp(1.08rem, 1.55vw, 1.28rem); line-height: 1.65; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.section { position: relative; padding: clamp(72px, 8vw, 116px) 0; }
.section--tight { padding: clamp(44px, 5vw, 70px) 0; }
.section--paper { background: var(--paper); }
.section--sky { background: linear-gradient(145deg, #edf5f9, #dfeaf2); }
.section--dark { background: linear-gradient(145deg, var(--blue-950), var(--blue-800)); color: #dce8ef; }
.section--red { background: linear-gradient(145deg, var(--red-700), var(--red-500)); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark strong,
.section--red h2, .section--red h3, .section--red strong { color: #fff; }
.section--dark .lead, .section--red .lead { color: #d8e6ee; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--blue-700);
  font-size: .76rem;
  font-weight: 880;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 3px; border-radius: 99px; background: var(--red-500); }
.section--dark .eyebrow, .section--red .eyebrow, .cta-band .eyebrow, .page-hero .eyebrow { color: #dce9f1; }
.section-head { max-width: 840px; margin-bottom: 40px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 820;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--primary { background: var(--red-500); color: #fff; box-shadow: 0 11px 25px rgba(197, 27, 42, .22); }
.btn--primary:hover { background: var(--red-700); color: #fff; box-shadow: 0 15px 32px rgba(197, 27, 42, .3); }
.btn--secondary { background: var(--blue-700); color: #fff; box-shadow: 0 11px 25px rgba(56, 94, 129, .2); }
.btn--secondary:hover { background: var(--blue-900); color: #fff; }
.btn--light { background: #fff; color: var(--blue-950); box-shadow: 0 12px 30px rgba(5, 20, 32, .18); }
.btn--light:hover { color: var(--red-600); background: #f8fafb; }
.btn--ghost { border-color: var(--blue-300); background: rgba(255,255,255,.6); color: var(--blue-950); }
.btn--ghost:hover { border-color: var(--blue-700); background: #fff; color: var(--blue-700); }
.section--dark .btn--ghost, .section--red .btn--ghost, .cta-band .btn--ghost, .page-hero .btn--ghost {
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.section--dark .btn--ghost:hover, .section--red .btn--ghost:hover, .cta-band .btn--ghost:hover, .page-hero .btn--ghost:hover { background: #fff; color: var(--blue-950); }
.btn--wide { width: 100%; }

/* Utility content components */
.icon-badge {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-100);
  color: var(--blue-700);
}
.icon-badge .icon { width: 27px; height: 27px; }
.icon-badge--red { background: var(--red-100); color: var(--red-600); }
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.card--padded { padding: clamp(24px, 3vw, 36px); }
.card--hover { padding: 26px; transition: transform .23s ease, box-shadow .23s ease, border-color .23s ease; }
.card--hover:hover { transform: translateY(-5px); border-color: #bfd1dc; box-shadow: var(--shadow-md); }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(42px, 7vw, 88px); }
.split--top { align-items: start; }
.fact-card { padding: 4px 0; }
.card .fact-card { padding: 4px 0; border: 0; box-shadow: none; }
.fact-card .icon-badge, .service-card .icon-badge, .problem-card .icon-badge { margin-bottom: 20px; }
.fact-card p, .service-card p, .problem-card p { color: #5d6d7b; font-size: .94rem; }
.service-card { min-height: 100%; display: flex; flex-direction: column; }
.service-card .link-arrow { margin-top: auto; }
.problem-card { padding: 25px; }
.problem-card--urgent { border-color: #efc6ca; background: linear-gradient(145deg, #fff, #fff4f5); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: .9rem;
  font-weight: 820;
  text-decoration: none;
}
.link-arrow .icon { width: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

.notice {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 18px 20px;
  border-left: 4px solid var(--red-500);
  border-radius: 0 14px 14px 0;
  background: #fff3f4;
  color: #4b5865;
  font-size: .94rem;
}
.notice .icon { color: var(--red-600); margin-top: .15rem; }
.notice p { margin: 0; }
.notice--info { border-color: var(--blue-600); background: var(--blue-50); }
.notice--info .icon { color: var(--blue-700); }
.answer-box {
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid var(--blue-200);
  border-radius: 22px;
  background: linear-gradient(145deg, #f8fbfd, #eaf3f7);
  box-shadow: var(--shadow-sm);
}
.answer-box p:last-of-type { margin-bottom: 1rem; }

.check-list, .cross-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li + li { margin-top: 11px; }
.check-list li > .icon { width: 21px; height: 21px; margin-top: .18em; color: var(--green); }
.cross-list li > .icon { color: var(--red-500); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0; }
.tag-list li { margin: 0; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .84rem; font-weight: 720; }

/* Top contact bar */
.topbar { background: var(--blue-950); color: #dce7ee; font-size: .78rem; }
.topbar__inner { min-height: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar__group { display: flex; align-items: center; gap: 18px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #e8f0f5; text-decoration: none; }
a.topbar__item:hover { color: #fff; }
.topbar__emergency { color: #fff; font-weight: 850; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #57d99b; box-shadow: 0 0 0 0 rgba(87,217,155,.55); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(87,217,155,0); } 100% { box-shadow: 0 0 0 0 rgba(87,217,155,0); } }

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(211,224,232,.86);
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(150%) blur(14px);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 9px 28px rgba(20, 44, 62, .1); }
.header__inner { min-height: var(--header-height); display: grid; grid-template-columns: 235px 1fr auto; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 235px; height: auto; }
.primary-nav { justify-self: center; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-item { position: relative; margin: 0; }
.nav-link, .nav-dropdown__button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover, .nav-dropdown__button:hover, .nav-link[aria-current="page"], .nav-item.is-current > .nav-dropdown__button { background: var(--blue-50); color: var(--blue-700); }
.nav-dropdown__button .icon { width: 15px; height: 15px; transition: transform .18s ease; }
.nav-item:hover > .nav-dropdown__button .icon, .nav-item:focus-within > .nav-dropdown__button .icon, .nav-item.dropdown-open > .nav-dropdown__button .icon { transform: rotate(180deg); }
.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  width: 590px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  list-style: none;
  padding: 14px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-item:nth-child(2) .nav-submenu { width: 690px; }
.nav-item:nth-child(4) .nav-submenu { width: 560px; }
.nav-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 18px; }
.nav-item:hover > .nav-submenu, .nav-item:focus-within > .nav-submenu, .nav-item.dropdown-open > .nav-submenu { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-submenu li { margin: 0; }
.nav-submenu a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 62px;
  padding: 10px;
  border-radius: 13px;
  color: var(--ink);
  text-decoration: none;
}
.nav-submenu a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-submenu > li > a > .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); }
.nav-submenu strong { display: block; font-size: .86rem; line-height: 1.2; }
.nav-submenu span span { display: block; margin-top: 3px; color: var(--muted); font-size: .69rem; line-height: 1.25; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
}
.header__cta { white-space: nowrap; padding-inline: 17px; }

/* Breadcrumbs */
.breadcrumbs { background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; list-style: none; padding: 12px 0; margin: 0; color: var(--muted); font-size: .79rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 7px; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: #a9b6c1; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-700); }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 6vw, 88px) 0 48px;
  background:
    radial-gradient(circle at 14% 10%, rgba(79,120,152,.17), transparent 38%),
    linear-gradient(135deg, #f4f8fa 0%, #fff 50%, #eaf2f7 100%);
}
.hero::after { content: ""; position: absolute; right: -190px; bottom: -290px; width: 620px; height: 620px; border: 100px solid rgba(56,94,129,.06); border-radius: 50%; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: clamp(42px, 6vw, 78px); align-items: center; }
.hero h1 { max-width: 720px; }
.hero__lead { max-width: 700px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 11px 18px; list-style: none; padding: 0; margin: 25px 0 0; color: var(--ink); font-size: .86rem; font-weight: 720; }
.hero__checks li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.hero__checks .icon { width: 18px; height: 18px; color: var(--green); }
.hero__visual { position: relative; min-width: 0; }
.hero__photo { position: relative; overflow: hidden; aspect-ratio: 1.18 / 1; border-radius: 32px; background: var(--blue-900); box-shadow: var(--shadow-lg); }
.hero__photo picture, .hero__photo img { width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: center 60%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,30,45,.32), transparent 50%); pointer-events: none; }
.hero__float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 260px; padding: 13px 15px; border: 1px solid rgba(218,229,236,.8); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); }
.hero__float strong { display: block; font-size: .9rem; line-height: 1.3; }
.hero__float span { display: block; color: var(--muted); font-size: .71rem; line-height: 1.35; }
.hero__float--top { top: 24px; left: -28px; }
.hero__float--bottom { right: -25px; bottom: 34px; }

.trust-strip { position: relative; z-index: 2; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 18px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item > .icon { width: 27px; height: 27px; color: var(--blue-700); }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { font-size: .91rem; }
.trust-item span { color: var(--muted); font-size: .72rem; line-height: 1.35; }

/* Interior page hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 7vw, 105px) 0; background: linear-gradient(140deg, var(--blue-950), var(--blue-700)); color: #fff; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border: 80px solid rgba(255,255,255,.05); border-radius: 50%; }
.page-hero::before { width: 520px; height: 520px; top: -300px; right: -170px; }
.page-hero::after { width: 330px; height: 330px; bottom: -250px; left: -160px; }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); gap: 58px; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.page-hero .hero__lead { max-width: 780px; color: #dbe7ef; }
.page-hero .hero__checks { color: #fff; }
.page-hero__panel { min-height: 305px; display: grid; place-items: center; padding: 32px; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); box-shadow: 0 24px 60px rgba(4,20,31,.2); text-align: center; }
.page-hero__icon { width: 110px; height: 110px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 30px; background: rgba(255,255,255,.12); color: #fff; }
.page-hero__icon .icon { width: 57px; height: 57px; }
.page-hero__caption strong, .page-hero__caption span { display: block; color: #fff; }
.page-hero__caption strong { font-size: 1.3rem; }
.page-hero__caption span { margin-top: 6px; color: #d6e4ec; font-size: .82rem; }

/* Process, region and information blocks */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: sta-step; }
.step { position: relative; min-height: 210px; padding: 67px 24px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.07); counter-increment: sta-step; }
.step::before { content: counter(sta-step, decimal-leading-zero); position: absolute; top: 20px; left: 22px; color: #fff; font-size: 1.7rem; font-weight: 880; letter-spacing: -.04em; }
.step::after { content: ""; position: absolute; top: 46px; left: 22px; width: 34px; height: 3px; border-radius: 99px; background: var(--red-500); }
.step p { margin-bottom: 0; color: #cfdee7; font-size: .9rem; }
.section:not(.section--dark) .step { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.section:not(.section--dark) .step::before { color: var(--blue-700); }
.section:not(.section--dark) .step p { color: var(--text); }
.region-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; list-style: none; padding: 0; margin: 24px 0; }
.region-list li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border: 1px solid rgba(183,204,218,.75); border-radius: 12px; background: rgba(255,255,255,.7); color: var(--ink); font-size: .88rem; font-weight: 720; }
.region-list .icon { color: var(--red-500); }
.region-panel { overflow: hidden; border: 1px solid #c8d9e4; border-radius: 30px; background: #e9f2f7; box-shadow: var(--shadow-md); }
.region-panel img { width: 100%; height: auto; }
.price-factors { display: grid; gap: 14px; margin: 24px 0; }
.price-factor { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.price-factor .icon-badge { width: 46px; height: 46px; border-radius: 14px; }
.price-factor .icon-badge .icon { width: 23px; height: 23px; }
.price-factor strong, .price-factor span { display: block; }
.price-factor strong { font-size: .94rem; }
.price-factor span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.metric strong, .metric span { display: block; }
.metric strong { color: var(--blue-700); font-size: 1.05rem; }
.metric span { color: var(--muted); font-size: .76rem; }

/* FAQ, tables and sidebars */
.faq-list { display: grid; gap: 12px; }
.faq { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(30,57,77,.04); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 17px 58px 17px 20px; color: var(--ink); font-weight: 780; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 22px; top: 31px; width: 16px; height: 2px; background: var(--blue-700); transition: transform .2s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0); }
.faq summary:hover { background: var(--blue-50); }
.faq__answer { padding: 0 20px 18px; color: #586978; }
.faq__answer p { margin: 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(36px, 6vw, 72px); align-items: start; }
.sidebar { position: sticky; top: 132px; display: grid; gap: 18px; }
.sidebar-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.sidebar-card h3 { font-size: 1.08rem; }
.sidebar-card p { font-size: .86rem; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.sidebar-nav li:last-child { border-bottom: 0; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; color: var(--text); font-size: .84rem; font-weight: 730; text-decoration: none; }
.sidebar-nav a:hover { color: var(--blue-700); }
.sidebar-nav .icon { width: 17px; height: 17px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 740px; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .87rem; }
th { background: var(--blue-50); color: var(--ink); font-size: .79rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfcfd; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr); gap: clamp(42px, 7vw, 86px); align-items: start; }
.contact-cards { display: grid; gap: 13px; margin-top: 24px; }
.contact-card { display: grid; grid-template-columns: 54px 1fr; gap: 15px; align-items: start; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.contact-card .icon-badge { width: 48px; height: 48px; border-radius: 14px; }
.contact-card h3 { margin-bottom: .25rem; font-size: 1rem; }
.contact-card p, .contact-card address { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.55; }
.contact-card a { font-weight: 720; }
.form-card { padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: .83rem; font-weight: 760; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #cbd8e0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(79,120,152,.14); }
.hint { color: var(--muted); font-size: .72rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.checkbox input { width: 18px; height: 18px; min-height: 0; margin-top: .2em; accent-color: var(--blue-700); }
.checkbox label { color: var(--text); font-size: .78rem; font-weight: 500; }
.form-status { display: none; margin: 0 0 18px; padding: 13px 15px; border-radius: 12px; font-size: .84rem; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e8f8f1; color: #0d6b46; }
.form-status.is-error { background: var(--red-100); color: var(--red-700); }

/* Prose / legal */
.prose { min-width: 0; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.5em; }
.prose > p:first-of-type { font-size: 1.08rem; color: #526474; }
.prose a { font-weight: 680; }
.legal-index { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0 0 30px; }
.legal-index li { margin: 0; }
.legal-index a { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .78rem; text-decoration: none; }

/* CTA and footer */
.cta-band { overflow: hidden; position: relative; padding: clamp(32px, 5vw, 50px); border-radius: 28px; background: linear-gradient(140deg, var(--blue-950), var(--blue-700)); color: #dce8ef; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -190px; width: 360px; height: 360px; border: 65px solid rgba(255,255,255,.06); border-radius: 50%; }
.cta-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 38px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 760px; margin-bottom: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 250px; }

.site-footer { padding-top: 66px; background: var(--blue-950); color: #b9cad6; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .78fr .78fr 1fr; gap: 46px; padding-bottom: 48px; }
.footer-brand { display: inline-flex; margin-bottom: 18px; padding: 10px; border-radius: 12px; background: #fff; }
.footer-brand img { width: 230px; }
.site-footer h3 { color: #fff; font-size: .86rem; letter-spacing: .07em; text-transform: uppercase; }
.site-footer p { max-width: 360px; font-size: .86rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-block; padding: 4px 0; color: #c5d3dc; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: #dbe7ee; font-size: .82rem; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-contact strong { color: #fff; }
.footer-contact .icon { margin-top: .15rem; color: #9fc0d5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom__inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .74rem; }
.footer-bottom__links { display: flex; gap: 18px; }
.footer-bottom a { color: #b9cad6; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

.mobile-actions { display: none; }
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  border: 0;
  border-radius: 14px;
  background: var(--blue-900);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.back-to-top.is-visible { visibility: visible; opacity: 1; transform: none; }
.back-to-top:hover { background: var(--red-600); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  :root { --header-height: 82px; }
  .header__inner { grid-template-columns: 220px 1fr auto; }
  .brand img { width: 220px; }
  .header__cta { display: none; }
  .primary-nav { justify-self: end; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  body { padding-bottom: 66px; }
  .topbar__item--hours { display: none; }
  .header__inner { grid-template-columns: 1fr auto; gap: 18px; }
  .brand img { width: 210px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height) - 66px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-list { width: min(calc(100% - 40px), var(--container)); display: block; margin: 0 auto; padding: 16px 0 22px; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-dropdown__button { width: 100%; min-height: 54px; justify-content: space-between; padding: 13px 7px; border-radius: 0; font-size: .96rem; }
  .nav-submenu, .nav-item:nth-child(2) .nav-submenu, .nav-item:nth-child(4) .nav-submenu {
    position: static;
    width: auto;
    max-height: 0;
    display: grid;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: max-height .25s ease, padding .25s ease;
  }
  .nav-item.dropdown-open > .nav-submenu { max-height: 900px; padding: 4px 0 14px; }
  .nav-submenu::before { display: none; }
  .hero__grid, .page-hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 680px); margin-inline: auto; }
  .hero__photo { aspect-ratio: 1.4 / 1; }
  .hero__float--top { left: 18px; }
  .hero__float--bottom { right: 18px; }
  .page-hero__panel { min-height: 240px; width: min(100%, 520px); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { gap: 44px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-actions {
    position: fixed;
    z-index: 1050;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,.2);
    background: var(--blue-950);
    box-shadow: 0 -10px 28px rgba(20,42,59,.17);
  }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: .9rem; font-weight: 820; text-decoration: none; }
  .mobile-actions a:first-child { background: var(--red-600); }
  .mobile-actions a + a { border-left: 1px solid rgba(255,255,255,.18); }
  .back-to-top { bottom: 82px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: min(calc(100% - 28px), var(--container)); }
  .topbar__inner { min-height: 38px; }
  .topbar__group:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .brand img { width: 185px; }
  .grid--2, .grid--3, .grid--4, .steps, .metric-grid, .sidebar { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item, .trust-item:nth-child(3), .trust-item:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .hero { padding-top: 44px; }
  .hero__photo { aspect-ratio: 1.12 / 1; border-radius: 22px; }
  .hero__float { position: static; max-width: none; margin-top: 11px; }
  .hero__float--top, .hero__float--bottom { inset: auto; }
  .hero__checks { display: grid; }
  .page-hero__panel { min-height: 210px; }
  .page-hero__icon { width: 88px; height: 88px; }
  .page-hero__icon .icon { width: 45px; height: 45px; }
  .region-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .cta-band__grid { grid-template-columns: 1fr; }
  .cta-band__actions { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
  .nav-submenu, .nav-item:nth-child(2) .nav-submenu, .nav-item:nth-child(4) .nav-submenu { grid-template-columns: 1fr; }
  .table-wrap { margin-inline: -2px; }
}

@media (max-width: 430px) {
  h1 { font-size: 2.45rem; }
  h2 { font-size: 2rem; }
  .brand img { width: 165px; }
  .btn { width: 100%; }
  .hero__photo { aspect-ratio: 1 / 1; }
  .card--hover, .problem-card, .card--padded, .sidebar-card, .form-card { padding: 22px; }
  .footer-brand img { width: 205px; }
}

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

@media print {
  .topbar, .site-header, .mobile-actions, .back-to-top, .cta-band, .site-footer { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section, .page-hero { padding: 24px 0; background: #fff !important; color: #000 !important; }
  .page-hero h1, .page-hero h2, .page-hero p { color: #000 !important; }
  a { color: #000; text-decoration: none; }
}


/* --- 2026 image integration and contrast revision --- */
figure { margin: 0; }

/* Colored section cards must always remain readable. */
.section--red .card,
.section--dark .card,
.section--red .price-factor,
.section--dark .price-factor,
.section--red .sidebar-card,
.section--dark .sidebar-card,
.section--red .notice,
.section--dark .notice {
  color: var(--text);
}
.section--red .card h2,
.section--red .card h3,
.section--red .card strong,
.section--red .price-factor strong,
.section--red .sidebar-card h3,
.section--dark .card h2,
.section--dark .card h3,
.section--dark .card strong,
.section--dark .price-factor strong,
.section--dark .sidebar-card h3 {
  color: var(--ink);
}
.section--red .card p,
.section--red .card li,
.section--red .price-factor span,
.section--dark .card p,
.section--dark .card li,
.section--dark .price-factor span {
  color: var(--text);
}
.section--red .card .eyebrow,
.section--dark .card .eyebrow { color: var(--blue-700); }
.section--red .card .check-list .icon,
.section--dark .card .check-list .icon { color: var(--green); }

.page-hero__media {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  background: #e9eef2;
  box-shadow: 0 25px 65px rgba(4,20,31,.3);
}
.page-hero__media picture,
.page-hero__media img {
  width: 100%;
  height: 100%;
}
.page-hero__media img {
  min-height: 350px;
  object-fit: cover;
  object-position: var(--object-position, center center);
}
.page-hero__media::after,
.hero__photo--real::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,25,38,.8) 0%, rgba(8,25,38,.12) 58%, transparent 100%);
  pointer-events: none;
}
.page-hero__media figcaption,
.hero__photo--real figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 18px;
  color: #fff;
  font-size: .83rem;
  font-weight: 760;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.hero__photo--real picture,
.hero__photo--real img { width: 100%; height: 100%; }
.hero__photo--real img {
  object-fit: cover;
  object-position: var(--object-position, center center);
}

.media-section .section-head { max-width: 820px; }
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.project-gallery:has(.project-card:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.project-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.project-card picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e8eef2; }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--object-position, center center);
  transition: transform .35s ease;
}
.project-card:hover img { transform: scale(1.035); }
.project-card figcaption {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 18px;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 740;
  line-height: 1.4;
}
.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.before-after .project-card picture { aspect-ratio: 1.45 / 1; }
.status-badge {
  flex: 0 0 auto;
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: .68rem;
  font-weight: 860;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-badge--before { background: var(--red-600); }
.status-badge--after { background: #17895b; }

@media (max-width: 1080px) {
  .project-gallery:has(.project-card:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__media,
  .page-hero__media img { min-height: 300px; }
}
@media (max-width: 560px) {
  .project-gallery,
  .project-gallery:has(.project-card:nth-child(4)),
  .before-after { grid-template-columns: 1fr; }
  .project-card picture { aspect-ratio: 1.35 / 1; }
  .page-hero__media,
  .page-hero__media img { min-height: 245px; }
  .page-hero__media figcaption,
  .hero__photo--real figcaption { left: 16px; right: 16px; bottom: 14px; }
}


/* Inline project image used in explanatory split sections. */
.inline-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #e8eef2;
  box-shadow: var(--shadow-md);
}
.inline-media picture { display: block; width: 100%; height: 100%; }
.inline-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: var(--object-position, center center);
}
.inline-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,25,38,.72), transparent 58%);
  pointer-events: none;
}
.inline-media figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 17px;
  color: #fff;
  font-size: .84rem;
  font-weight: 760;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.page-hero__media picture,
.hero__photo--real picture { display: block; }
@media (max-width: 560px) {
  .inline-media, .inline-media img { min-height: 240px; }
}


/* 2026 photo-rich rebuild: every project photo uses the same 1200 × 800 px ratio. */
.hero__photo,
.page-hero__media,
.project-card picture,
.before-after .project-card picture,
.inline-media {
  aspect-ratio: 3 / 2 !important;
}
.hero__photo,
.page-hero__media {
  min-height: 0 !important;
}
.page-hero__media picture,
.page-hero__media img,
.hero__photo picture,
.hero__photo img,
.project-card picture,
.project-card img,
.inline-media picture,
.inline-media img {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
}
.page-hero__media img,
.hero__photo img,
.project-card img,
.inline-media img {
  object-fit: cover;
  object-position: center;
}
.project-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.project-card {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.project-card figcaption {
  flex: 1;
  min-height: 76px;
  color: #26313d !important;
  background: #fff;
}
.section--paper .project-card,
.section--sky .project-card {
  border-color: #cbd9e2;
}
/* Strong contrast in every card, including red and dark sections. */
.section--red .card,
.section--dark .card,
.section--red .project-card,
.section--dark .project-card {
  background: #fff;
  color: #44515f !important;
}
.section--red .card h2,
.section--red .card h3,
.section--red .card h4,
.section--red .card strong,
.section--dark .card h2,
.section--dark .card h3,
.section--dark .card h4,
.section--dark .card strong,
.section--red .project-card figcaption,
.section--dark .project-card figcaption {
  color: #26313d !important;
}
.section--red .card p,
.section--red .card li,
.section--dark .card p,
.section--dark .card li {
  color: #44515f !important;
}
@media (max-width: 820px) {
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .project-gallery,
  .project-gallery:has(.project-card:nth-child(4)),
  .before-after { grid-template-columns: 1fr; }
  .hero__photo,
  .page-hero__media,
  .project-card picture,
  .before-after .project-card picture,
  .inline-media { aspect-ratio: 3 / 2 !important; }
}

/* --- 2026-06-21 layout corrections: card spacing and process-number underline --- */
/* Cards carrying their own fact-card class need real inner spacing. The former
   4px padding placed badges directly against the border. */
.card.fact-card {
  min-height: 100%;
  padding: 24px;
}
.card.fact-card .icon-badge {
  margin-bottom: 18px;
}
.card.fact-card h3 {
  margin-bottom: .45rem;
}
.card.fact-card p:last-child {
  margin-bottom: 0;
}

/* Keep the red process marker clearly below the number instead of crossing it. */
.step {
  padding-top: 72px;
}
.step::before {
  top: 20px;
  line-height: 1;
}
.step::after {
  top: 55px;
  width: 30px;
}

@media (max-width: 720px) {
  /* Override legacy inline two-column declarations on narrow screens. */
  .steps { grid-template-columns: 1fr !important; }
}

@media (max-width: 430px) {
  .card.fact-card { padding: 22px; }
}

