:root {
  --blue: #1A3A5C;
  --blue-strong: #0F2640;
  --red: #2C2C2C;
  --red-strong: #1a1a1a;
  --green: #176443;
  --ink: #151719;
  --muted: #555b66;
  --line: #d8dbe3;
  --surface: #F5F0EB;
  --surface-soft: #EDE8E2;
  --surface-strong: #DDD7CF;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(26, 58, 92, 0.08);
  --header-height: 88px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

main > section,
.page-main > section {
  scroll-margin-top: 110px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.demo-notice {
  background: var(--surface-soft);
  color: #777d86;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 219, 227, 0.72);
}

.nav {
  height: var(--header-height);
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  flex: 0 0 auto;
}

.brand-mark span {
  background: var(--blue);
}

.brand-mark span:last-child {
  background: var(--red);
}

.brand-title {
  display: block;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  color: var(--blue);
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  color: #6a707a;
  text-transform: uppercase;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 800;
  color: #5a606b;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--surface-soft);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle .material-symbols-outlined:last-child {
  display: none;
}

.nav-toggle[aria-expanded="true"] .material-symbols-outlined:first-child {
  display: none;
}

.nav-toggle[aria-expanded="true"] .material-symbols-outlined:last-child {
  display: inline-block;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: calc(var(--header-height) + 30px) 0 auto 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px 24px 32px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-menu .button {
  margin-top: 16px;
  width: 100%;
  padding-inline: 18px;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.button:hover {
  background: var(--blue-strong);
  transform: translateY(-1px);
}

.button-red {
  background: var(--red);
}

.button-red:hover {
  background: var(--red-strong);
}

.button-light {
  background: var(--white);
  color: var(--blue);
}

.button-muted {
  background: var(--surface-strong);
  color: var(--ink);
}

.button-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid rgba(0, 41, 117, 0.22);
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--blue);
}

.hero img,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slideshow img.active {
  opacity: 1;
}

.reviews-scroll-outer {
  overflow: hidden;
  width: 100%;
  margin-top: 48px;
}

.reviews-scroll-track {
  display: flex;
  animation: reviews-scroll 55s linear infinite;
  width: max-content;
}

.reviews-scroll-set {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  flex-shrink: 0;
}

.review-card {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.review-avatar {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.review-author span {
  font-size: 12px;
  color: var(--muted);
}

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Kostenrechner Wizard ── */
.wizard {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 36px;
}

.wizard-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}

.wizard-dot {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  background: var(--white);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.wizard-dot.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.wizard-track {
  flex: 1;
  height: 2px;
  background: var(--line);
  transition: background 0.25s;
}

.wizard-track.active {
  background: var(--blue);
}

.wizard-body {
  background: var(--surface);
  padding: 32px;
}

.wizard-step-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.wizard-step-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 22px;
}

.wizard-step-sub {
  font-size: 13px;
  color: var(--muted);
  margin: -14px 0 20px;
}

.wizard-proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wizard-proj-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  border: 2px solid var(--line);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.wizard-proj-card:hover,
.wizard-proj-card.selected {
  border-color: var(--blue);
}

.wizard-proj-card.selected {
  background: rgba(26,58,92,0.06);
}

.wizard-proj-card .material-symbols-outlined {
  font-size: 26px;
  color: var(--blue);
}

.wizard-proj-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.wizard-mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wizard-mat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 2px solid var(--line);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.wizard-mat-card:hover,
.wizard-mat-card.selected {
  border-color: var(--blue);
}

.wizard-mat-card.selected {
  background: rgba(26,58,92,0.06);
}

.wizard-mat-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
}

.wizard-mat-sub {
  font-size: 12px;
  color: var(--muted);
}

.wizard-input-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.wizard-input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 2px solid var(--blue);
  background: transparent;
  padding: 10px 0;
  font-size: 18px;
  font-family: inherit;
  color: var(--ink);
  margin-bottom: 4px;
  outline: none;
}

.wizard-input:focus {
  border-bottom-color: var(--red);
}

.wizard-extra-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  margin-bottom: 10px;
  transition: border-color 0.15s, background 0.15s;
}

.wizard-extra-btn:hover,
.wizard-extra-btn.selected {
  border-color: var(--blue);
}

.wizard-extra-btn.selected {
  background: rgba(26,58,92,0.06);
}

.wizard-extra-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.wizard-extra-price {
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  margin-left: 12px;
  flex-shrink: 0;
}

.wizard-error {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  margin-top: 12px;
  display: none;
}

.wizard-error.visible {
  display: block;
}

.wizard-price-box {
  background: var(--blue);
  color: var(--white);
  padding: 28px;
  margin-bottom: 20px;
}

.wizard-price-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0 0 10px;
}

.wizard-price-output {
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 8px;
}

.wizard-price-note {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.wizard-summary {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}

.wizard-nav {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.wizard-reset {
  display: block;
  margin-top: 14px;
  background: none;
  border: none;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.wizard-reset:hover {
  color: var(--blue);
}

@media (max-width: 640px) {
  .wizard {
    padding: 20px;
  }
  .wizard-body {
    padding: 20px;
  }
  .wizard-proj-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wizard-mat-grid {
    grid-template-columns: 1fr;
  }
  .wizard-price-output {
    font-size: 26px;
  }
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 38, 64, 0.95), rgba(26, 58, 92, 0.62) 48%, rgba(21, 23, 25, 0.15)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  z-index: 1;
}

.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 78px 0 64px;
  color: var(--white);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #c8d8e8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 900;
  font-family: 'Playfair Display', Georgia, serif;
}

.section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
}

.hero-lead,
.page-hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions,
.cta-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin-top: 42px;
  max-width: 860px;
}

.trust-item {
  background: rgba(26, 58, 92, 0.68);
  padding: 22px;
}

.trust-item strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 6px;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--surface-soft);
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3Ccircle cx='16' cy='5' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3Ccircle cx='27' cy='5' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3Ccircle cx='5' cy='16' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3Ccircle cx='16' cy='16' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3Ccircle cx='27' cy='16' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3Ccircle cx='5' cy='27' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3Ccircle cx='16' cy='27' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3Ccircle cx='27' cy='27' r='2.5' fill='%231A3A5C' fill-opacity='0.07'/%3E%3C/svg%3E");
  background-size: 32px 32px;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--blue);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head h1,
.section-head h2 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
}

.section-head > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-head > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.split-wide {
  grid-template-columns: 0.85fr 1.15fr;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  padding: 30px;
  box-shadow: 0 16px 50px rgba(26, 58, 92, 0.06);
}

.card-surface {
  background: var(--surface);
}

.card-red {
  background: var(--red);
  color: var(--white);
}

.card-blue {
  background: var(--blue);
  color: var(--white);
}

.card h3 {
  font-size: 23px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

.card-red p,
.card-blue p {
  color: rgba(255, 255, 255, 0.82);
}

.icon-box {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-soft);
  color: var(--blue);
  margin-bottom: 22px;
}

.card-red .icon-box,
.card-blue .icon-box {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.media-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--blue);
}

.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 38, 64, 0.90), rgba(26, 58, 92, 0.08));
}

.media-card-body {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: var(--white);
}

.media-card-body p {
  color: rgba(255, 255, 255, 0.78);
}

.calculator {
  background: var(--white);
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

label,
.label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(26, 58, 92, 0.28);
  background: var(--surface);
  color: var(--ink);
  padding: 14px 14px;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(26, 58, 92, 0.14);
  border-bottom-color: var(--blue);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.check-list .material-symbols-outlined {
  color: var(--green);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.price-box {
  background: var(--blue);
  color: var(--white);
  padding: 24px;
  margin-top: 8px;
}

.price-box p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 8px;
}

.price-box strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
}

.steps {
  counter-reset: steps;
}

.step-card {
  position: relative;
  min-height: 250px;
  padding-top: 82px;
}

.step-card::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--blue);
  font-weight: 900;
}

.testimonial {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.stars {
  color: #d99a00;
  margin-bottom: 18px;
}

.quote-author {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--blue);
}

.page-hero-inner {
  padding: 86px 0 58px;
}

.service-band {
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid rgba(21, 23, 25, 0.12);
}

.service-band:last-child {
  border-bottom: 1px solid rgba(21, 23, 25, 0.12);
}

.service-band h2 {
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: var(--white);
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.project-card-body {
  padding: 24px;
}

.project-card-body h2,
.project-card-body h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--white);
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-panel {
  display: none;
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-item.is-open .faq-trigger .material-symbols-outlined {
  transform: rotate(45deg);
}

.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-band h2 {
  margin-bottom: 10px;
  font-size: 34px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

.site-footer {
  background: #0D1E30;
  color: var(--white);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.status {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: var(--surface-soft);
  color: var(--ink);
}

.status.is-visible {
  display: block;
}

@media (max-width: 1040px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split,
  .split-wide,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 74px;
  }

  .demo-notice {
    font-size: 11px;
  }

  .nav {
    width: min(100% - 28px, 1340px);
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .mobile-menu {
    inset: calc(var(--header-height) + 28px) 0 auto 0;
  }

  .hero {
    min-height: 590px;
  }

  .hero-inner {
    padding: 54px 0 38px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions,
  .cta-actions,
  .card-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .calculator,
  .card {
    padding: 24px;
  }

  .project-card img {
    height: 240px;
  }

  .cta-band {
    padding: 34px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── FOUNDER QUOTE ───────────────────────────────────── */
.founder-quote-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.founder-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 1.25rem;
}
.founder-blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 1.5rem;
}
.founder-byline {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ─── GOOGLE RATING BADGE ─────────────────────────────── */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  margin-top: 1.25rem;
}
.google-rating-badge__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 1rem;
  border-right: 1px solid rgba(0,0,0,0.1);
}

.google-rating-badge__logo svg {
  flex-shrink: 0;
}
.google-rating-badge__logo span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #5f6368;
  text-transform: uppercase;
}
.google-rating-badge__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.google-rating-badge__score-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.google-rating-badge__score {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}
.google-rating-badge__count {
  font-size: 0.68rem;
  font-weight: 600;
  color: #5f6368;
}

/* ─── PARTNER BADGES ──────────────────────────────────── */
.partner-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 1.5rem;
}
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(21,23,25,0.4);
  background: #fff;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.partner-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ─── FAQ ─────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  background: var(--surface-soft);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border: 0;
  background: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.faq-icon {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-body {
  display: none;
  padding: 0 1.5rem 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq-body p { margin: 0; }
.faq-item.is-open .faq-body {
  display: block;
}

/* ─── CERTIFICATIONS ──────────────────────────────────── */
.cert-card-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.cert-card-inner .icon-box {
  flex-shrink: 0;
  margin-bottom: 0;
}

.cert-title {
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.cert-subtitle {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

/* ─── INLINE STYLE MIGRATIONS ─────────────────────────── */

/* card-actions spacing after grids within sections */
.section .card-actions {
  margin-top: 28px;
}

/* centered section head (calculator) */
.section-head--center {
  text-align: center;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* wizard nav spacer */
.wizard-spacer {
  flex: 1;
}

/* wizard step 4 full-width CTA */
.wizard-cta-full {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

/* material type sub-label in wizard step 2 */
.wizard-mat-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 20px;
  margin-bottom: 10px;
}

/* google badge stars override — remove inherited margin-bottom */
.google-rating-badge .stars {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* footer brand text colours */
.site-footer .brand-title {
  color: var(--white);
}

.site-footer .brand-subtitle {
  color: rgba(255, 255, 255, 0.45);
}
