/* ============================================================
   SanierBau Lemwerder – Stylesheet
   Farbwelt: Schwarz · Gold · Weiß
   ============================================================ */

:root {
  --black: #080808;
  --black-2: #101011;
  --black-3: #18181b;
  --black-4: #222226;
  --white: #f7f6f2;
  --muted: #9b9b9f;
  --muted-2: #c8c8cc;
  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(201, 162, 39, 0.35);
  --gold: #c9a227;
  --gold-2: #e8c96a;
  --gold-deep: #9a7a1a;
  --gold-grad: linear-gradient(135deg, #e8c96a 0%, #c9a227 48%, #9a7a1a 100%);
  --gold-soft: rgba(201, 162, 39, 0.12);
  --ok: #6dbf7a;
  --err: #d9665c;
  --radius: 4px;
  --radius-md: 10px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(201, 162, 39, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 40%, rgba(201, 162, 39, 0.03), transparent 50%),
    var(--black);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(201, 162, 39, 0.35);
  color: var(--white);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  min-width: 0;
}

main,
section,
header,
footer,
.topbar,
.promo {
  max-width: 100%;
}

.gold {
  color: var(--gold-2);
}

.text-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.text-link:hover {
  color: var(--gold-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold-grad);
  color: #1a1406;
  box-shadow: 0 8px 28px -12px rgba(201, 162, 39, 0.55);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -12px rgba(201, 162, 39, 0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn--dark {
  background: var(--black);
  color: var(--gold-2);
  border: 1px solid var(--black);
}

.btn--dark:hover {
  transform: translateY(-2px);
  background: var(--black-2);
}

.btn--lg {
  padding: 1.1rem 2.1rem;
  font-size: 0.95rem;
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.btn--block {
  width: 100%;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--black);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 0.75rem;
  min-width: 0;
}

.topbar__left,
.topbar__right {
  min-width: 0;
}

.topbar__left {
  display: flex;
  gap: 1.5rem;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  transition: color 0.3s;
}

.topbar__link:hover {
  color: var(--gold);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.topbar__badge {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.topbar__socials {
  display: flex;
  gap: 0.35rem;
}

.topbar__socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--muted);
  transition: 0.3s;
}

.topbar__socials a:hover {
  color: var(--gold);
  background: var(--gold-soft);
}

/* ---------- Icons ---------- */
.icon {
  width: 1.15em;
  height: 1.15em;
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.icon--sm {
  width: 1em;
  height: 1em;
}

.icon--lg {
  width: 1.55em;
  height: 1.55em;
}

.icon use {
  pointer-events: none;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s, border-color 0.35s;
}

.header.scrolled {
  background: rgba(8, 8, 8, 0.96);
  border-bottom-color: var(--line-gold);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  transition: padding 0.35s var(--ease);
  gap: 1rem;
  min-width: 0;
}

.brand {
  min-width: 0;
  flex: 0 1 auto;
}

.header.scrolled .header__inner {
  padding: 0.5rem 0;
}

.brand__logo {
  height: 82px;
  width: auto;
  max-width: min(340px, 100%);
  object-fit: contain;
  transition: height 0.35s var(--ease);
}

.header.scrolled .brand__logo {
  height: 66px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted-2);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 0.35rem;
}

.nav__notdienst {
  margin-left: 0.2rem;
  border-color: rgba(201, 162, 39, 0.45);
  color: var(--gold-2);
}

.nav__notdienst:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.hero__parallax {
  position: absolute;
  inset: -10% 0;
  will-change: transform;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
  transform-origin: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.25) 35%, rgba(8, 8, 8, 0.88) 78%, rgba(8, 8, 8, 0.98) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.75) 0%, rgba(8, 8, 8, 0.35) 55%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  min-width: 0;
  width: 100%;
}

.hero__brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.4rem;
  overflow-wrap: anywhere;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  overflow-wrap: anywhere;
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted-2);
  margin: 0 0 2.4rem;
  max-width: 540px;
  font-weight: 400;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  right: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  animation: scrollLine 1.8s var(--ease) infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleX(0.5);
    opacity: 0.4;
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--black-2);
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
}

.trust__item {
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
}

.trust__item + .trust__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

.trust__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.trust__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  position: relative;
}

.section--alt {
  background:
    linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
}

.section--surface {
  background:
    linear-gradient(180deg, transparent, rgba(201, 162, 39, 0.03)),
    var(--black-2);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section__lead {
  color: var(--muted);
  margin-top: 1.15rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ---------- Notdienst ---------- */
.notdienst__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.04));
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.8);
}

.waermepumpe__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 2.8vw, 2rem) 0;
}

.waermepumpe__image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(255, 255, 255, 0.03));
  min-height: 280px;
  border: 1px solid rgba(201, 162, 39, 0.16);
}

.waermepumpe__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.waermepumpe__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(8, 8, 8, 0.78);
  color: var(--gold-2);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.waermepumpe__content {
  padding: 0.2rem 0;
}

.waermepumpe__kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.waermepumpe__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 0.8rem;
  color: var(--gold-2);
}

.waermepumpe__content p {
  color: var(--muted-2);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.notdienst__content h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
  color: var(--gold-2);
}

.notdienst__list {
  display: grid;
  gap: 0.55rem;
  color: var(--muted-2);
}

.notdienst__list li {
  position: relative;
  padding-left: 1.1rem;
}

.notdienst__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  min-width: 0;
}

.service {
  position: relative;
  overflow: hidden;
  background: var(--black-2);
  border: 1px solid var(--line);
  min-width: 0;
  transition:
    border-color 0.4s,
    transform 0.45s var(--ease);
}

.service:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
}

.service__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service:hover .service__img img {
  transform: scale(1.06);
}

.service__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 8, 8, 0.92));
}

.service__icon {
  position: absolute;
  left: 1.35rem;
  bottom: 1.2rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  background: rgba(8, 8, 8, 0.65);
  color: var(--gold);
  backdrop-filter: blur(8px);
}

.service__icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.service__body {
  padding: 1.4rem 1.45rem 1.6rem;
}

.service__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.service__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted-2);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-width: 0;
}

.split__media,
.split__body {
  min-width: 0;
}

.split--form {
  align-items: start;
}

.split__media {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.split__media--portrait {
  overflow: hidden;
}

.split__media--portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center top;
  background: #eceae4;
}

.split__media--inline {
  margin-top: 2rem;
}

.split__media--inline img {
  aspect-ratio: 16 / 10;
}

.split__year {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.split__year span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.split__body p {
  color: var(--muted-2);
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
}

.split__body .section__title {
  margin-bottom: 1.4rem;
  text-align: left;
}

.split__body .section__eyebrow {
  display: block;
}

.split__body strong {
  color: var(--white);
  font-weight: 600;
}

.split__body .btn {
  margin-top: 0.9rem;
}

.about__lead {
  font-size: 1.12rem;
  color: var(--muted-2);
  line-height: 1.55;
}

.about__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.2rem;
  margin: 1.5rem 0 1.2rem;
}

.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--gold-2);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.35;
}

.about__points .icon {
  color: var(--gold);
  margin-top: 0.15rem;
}

.about__note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

@media (max-width: 720px) {
  .about__points {
    grid-template-columns: 1fr;
  }
}

/* ---------- Qualifications ---------- */
.quals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.qual {
  background: var(--black-2);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  transition: background 0.35s var(--ease);
}

.qual:hover {
  background: var(--gold-soft);
}

.qual__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.qual__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.qual__meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.quals__disclaimer {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 820px;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.6rem 1.4rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 500;
  font-size: 1.02rem;
  min-width: 0;
  overflow-wrap: anywhere;
  transition: background 0.35s var(--ease);
}

.feature:nth-child(2n) {
  border-right: 0;
}

.feature:hover {
  background: var(--gold-soft);
}

.feature__check {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  margin-top: 0.1rem;
}

.feature__check .icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* ---------- Promo ---------- */
.promo {
  position: relative;
  background: var(--gold-grad);
  color: #1a1406;
  overflow: hidden;
}

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.25), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(0, 0, 0, 0.08), transparent 40%);
  pointer-events: none;
}

.promo__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding-block: clamp(3.5rem, 7vw, 5rem);
  padding-inline: clamp(1.5rem, 6vw, 2.75rem);
  flex-wrap: wrap;
}

.promo__content {
  flex: 1 1 320px;
  min-width: 0;
}

.promo__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 20ch;
}

.promo__sub {
  margin-top: 0.75rem;
  font-weight: 500;
  max-width: 52ch;
  opacity: 0.82;
  font-size: 1.05rem;
  line-height: 1.55;
}

.promo__cta {
  flex: 0 0 auto;
  align-self: center;
}

/* ---------- Partners ---------- */
.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.partner {
  display: grid;
  place-items: center;
  min-height: 100px;
  background: var(--black);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 600;
  color: #6e6e74;
  letter-spacing: 0.02em;
  padding: 0.75rem;
  text-align: center;
  line-height: 1.25;
  hyphens: auto;
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color 0.35s, background 0.35s;
}

.partner:hover {
  color: var(--gold);
  background: var(--black-2);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 0.75rem;
  min-width: 0;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  min-width: 0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.07);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 8, 0.92));
  opacity: 0.85;
  transition: opacity 0.4s;
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__cap {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.gallery__cap::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 0.55rem;
  transition: width 0.4s var(--ease);
}

.gallery__item:hover .gallery__cap::before {
  width: 42px;
}

/* ---------- Forms ---------- */
.card-form {
  background: var(--black-2);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  min-width: 0;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-width: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  min-width: 0;
}

.field > span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.field input[type="file"] {
  padding: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a227' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.4rem 0 1.2rem;
}

.checkbox input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.checkbox a {
  color: var(--gold);
  text-decoration: underline;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.form-note.success {
  color: var(--ok);
}

.form-note.error {
  color: var(--err);
}

.ticklist {
  margin: 1.4rem 0;
}

.ticklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-2);
  font-weight: 500;
  margin-bottom: 0.55rem;
}

.ticklist .icon {
  color: var(--gold);
}

.jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.job {
  border: 1px solid var(--line-gold);
  color: var(--gold-2);
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
  min-width: 0;
}

.contact__map {
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 440px;
  min-width: 0;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.7) contrast(1.05) brightness(0.85);
  min-height: 440px;
  max-width: 100%;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  background: var(--black-2);
  padding: 1.05rem 1.2rem;
  transition: border-color 0.35s, background 0.35s;
}

.contact__row:hover {
  border-color: var(--line-gold);
  background: var(--gold-soft);
}

.contact__ic {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  color: var(--gold);
}

.contact__ic .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.contact__row div {
  display: flex;
  flex-direction: column;
}

.contact__row strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.contact__row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.hours__card {
  border: 1px solid var(--line);
  background: var(--black-2);
  padding: 1.4rem 1.35rem;
}

.hours__card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gold-2);
}

.hours__card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.hours__card li:last-child {
  border-bottom: 0;
}

.hours__card li span {
  color: var(--muted);
}

.hours__card li strong {
  color: var(--white);
  font-weight: 600;
  text-align: right;
}

.hours__wa {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.hours__wa:hover {
  color: var(--gold-2);
}

.contact-form {
  margin-top: 2.5rem;
  max-width: 820px;
}

.contact-form__head {
  margin-bottom: 1.4rem;
}

.contact-form__head h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-form__head p {
  color: var(--muted);
}

.form-privacy {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.footer__contact a {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0;
}

.footer__contact a:hover {
  color: var(--gold);
}

.callback {
  border: 1px solid var(--line);
  background: var(--black-2);
  padding: 1.35rem;
  margin-top: 0.5rem;
}

.callback h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.95rem;
}

.callback__row {
  display: flex;
  gap: 0.55rem;
}

.callback__row input {
  flex: 1;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
  color: var(--white);
  font-family: inherit;
}

.callback__row input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---------- Reviews / Google ---------- */
.g-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line-gold);
  background: rgba(201, 162, 39, 0.06);
  margin-bottom: 2rem;
}

.g-rating__score {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.g-rating__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.g-rating__stars {
  display: flex;
  gap: 0.15rem;
  color: var(--gold);
}

.g-rating__stars .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.g-rating__label {
  width: 100%;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review {
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
  background: var(--black);
}

.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.review__stars {
  display: flex;
  gap: 0.15rem;
  color: var(--gold);
}

.review__stars .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.review__source {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.review p {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.review__author {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.review-cta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line-gold);
  background: var(--black-2);
}

.review-cta__qr {
  background: #f7f6f2;
  padding: 0.75rem;
  width: fit-content;
}

.review-cta__qr img {
  width: 160px;
  height: 160px;
  display: block;
}

.review-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.review-cta__body p {
  color: var(--muted-2);
  max-width: 52ch;
  margin-bottom: 1.4rem;
}

.review-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .review-cta {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .review-cta__qr img {
    width: 140px;
    height: 140px;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  padding-top: 3.75rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__logo {
  height: 88px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  margin-bottom: 1.1rem;
}

.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer__socials {
  display: flex;
  gap: 0.5rem;
}

.footer__socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: 0.3s;
}

.footer__socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__socials .icon {
  width: 1rem;
  height: 1rem;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.footer__col a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Floating ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1f9e4b;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s var(--ease);
}

.wa-float:hover {
  transform: scale(1.06);
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 90px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-gold);
  background: var(--black-2);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s var(--ease);
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--gold-grad);
  color: #1a1406;
  border-color: transparent;
}

/* ---------- Cookie ---------- */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(150%);
  z-index: 120;
  width: min(700px, calc(100% - 2rem));
  max-width: calc(100% - 2rem);
  background: var(--black-3);
  border: 1px solid var(--line-gold);
  padding: 1.2rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease);
}

.cookie.show {
  transform: translateX(-50%) translateY(0);
}

.cookie p {
  font-size: 0.88rem;
  color: var(--muted-2);
}

.cookie a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie__actions {
  display: flex;
  gap: 0.55rem;
  flex: 0 0 auto;
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.page-legal .topbar__badge {
  text-decoration: none;
}

.legal-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.06), transparent 70%),
    var(--black);
}

.legal-hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.legal-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

.legal-body {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-body__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--white);
  margin: 2.6rem 0 1rem;
  line-height: 1.25;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-2);
  margin: 1.75rem 0 0.65rem;
  line-height: 1.4;
}

.legal-body p {
  color: var(--muted-2);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-body p strong {
  color: var(--white);
  font-weight: 600;
}

.legal-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-body a:hover {
  color: var(--gold-2);
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1.15rem;
  color: var(--muted-2);
}

.legal-body li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
  padding-left: 0.2rem;
}

.legal-uppercase {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.legal-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal-back a {
  text-decoration: none;
  font-weight: 500;
}

.legal-back a:hover {
  text-decoration: underline;
}

.page-legal .footer__grid {
  grid-template-columns: 1.4fr 1fr;
}

/* ---------- Legal note ---------- */
.legal-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line-gold);
  background: rgba(201, 162, 39, 0.05);
}

.legal-note__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 0.9rem;
}

.legal-note p {
  color: var(--muted-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-note strong {
  color: var(--white);
  font-weight: 600;
}

/* ---------- Reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

html.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
.nav-backdrop {
  display: none;
}

@media (max-width: 980px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: 0;
  }

  .feature:nth-child(2n) {
    border-right: 0;
  }

  .quals {
    grid-template-columns: 1fr;
  }

  .partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .hours {
    grid-template-columns: 1fr;
  }

  .trust__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.5rem 0;
  }

  .trust__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .trust__item + .trust__item::before {
    display: none;
  }

  .trust__item:last-child {
    border-bottom: 0;
  }

  .trust__num {
    font-size: 1.75rem;
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .trust__label {
    text-align: right;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__media img {
    aspect-ratio: 16 / 10;
  }

  .split__media--portrait img {
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .split--form .split__media--inline {
    display: none;
  }

  .hero {
    align-items: center;
    min-height: 92svh;
    padding-block: clamp(2rem, 5vw, 3.5rem);
  }

  .hero__content {
    padding-top: 0;
  }

  .contact__map,
  .contact__map iframe {
    min-height: 280px;
  }

  .page-legal .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding-block: clamp(3.25rem, 9vw, 4.5rem);
    padding-inline: clamp(1.5rem, 7vw, 2.25rem);
  }

  .promo__content {
    flex: 1 1 auto;
    width: 100%;
    padding-right: 0;
  }

  .promo__title {
    max-width: none;
    font-size: clamp(1.85rem, 6.5vw, 2.6rem);
    line-height: 1.15;
  }

  .promo__sub {
    max-width: none;
    font-size: 1rem;
    line-height: 1.6;
  }

  .promo__cta {
    width: 100%;
    align-self: stretch;
    justify-content: center;
    padding: 1.05rem 1.25rem;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 clamp(1rem, 4.5vw, 1.5rem);
  }

  .waermepumpe__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.75rem;
    padding-block: 0.5rem;
  }

  .waermepumpe__image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .waermepumpe__content {
    min-width: 0;
  }

  .waermepumpe__content .btn {
    width: 100%;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .btn--lg {
    padding: 1rem 1.35rem;
    font-size: 0.88rem;
  }

  .topbar__inner {
    height: auto;
    min-height: 40px;
    padding: 0.45rem 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .topbar__left {
    gap: 0.65rem;
    flex-wrap: wrap;
    min-width: 0;
    flex: 1 1 100%;
  }

  .topbar__right {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .topbar__link {
    font-size: 0.75rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .topbar__link--mail {
    display: none;
  }

  .topbar__badge {
    display: none;
  }

  .topbar__socials {
    display: none;
  }

  .header__inner {
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand__logo {
    height: 60px;
    max-width: 100%;
  }

  .header.scrolled .brand__logo {
    height: 50px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88%, 320px);
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: var(--black-2);
    border-left: 1px solid var(--line);
    padding: 5.5rem 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav__link {
    width: 100%;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin: 1.4rem 0 0;
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
    align-items: center;
    padding-block: 2.5rem 3.5rem;
  }

  .hero__bg {
    transform: none;
  }

  .hero__content {
    padding-top: 0;
    width: 100%;
  }

  .hero__brand {
    font-size: 0.95rem;
    letter-spacing: 0.14em;
  }

  .hero__title {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    overflow-wrap: anywhere;
  }

  .hero__sub {
    font-size: 1rem;
    max-width: none;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding: clamp(3.25rem, 10vw, 5rem) 0;
  }

  .section__head {
    text-align: left;
  }

  .section__title {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    overflow-wrap: anywhere;
  }

  .section__lead {
    font-size: 1rem;
  }

  .section__eyebrow {
    letter-spacing: 0.16em;
    overflow-wrap: anywhere;
  }

  .services,
  .features,
  .gallery,
  .partners {
    grid-template-columns: 1fr;
  }

  .service__img {
    height: 200px;
  }

  .service__body {
    padding: 1.2rem 1.15rem 1.4rem;
  }

  .service__title {
    font-size: 1.55rem;
  }

  .feature {
    border-right: 0;
    padding: 1.25rem 0.15rem;
  }

  .feature:nth-child(2n) {
    border-right: 0;
  }

  .partners {
    gap: 0.65rem;
  }

  .partner {
    font-size: 1.05rem;
    padding: 0.95rem 0.85rem;
    text-align: center;
    line-height: 1.3;
  }

  .gallery {
    grid-auto-rows: 220px;
    gap: 0.75rem;
  }

  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .grid2 {
    grid-template-columns: 1fr;
  }

  .card-form {
    padding: 1.25rem 1.1rem;
  }

  .checkbox {
    align-items: flex-start;
  }

  .checkbox span {
    overflow-wrap: anywhere;
  }

  .contact__row {
    padding: 0.95rem 1rem;
    align-items: flex-start;
  }

  .contact__row div {
    min-width: 0;
  }

  .contact__row span {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact__map,
  .contact__map iframe {
    min-height: 240px;
  }

  .hours__card li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .hours__card li strong {
    text-align: left;
  }

  .g-rating {
    padding: 1.15rem 1.1rem;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .g-rating .btn {
    width: 100%;
    justify-content: center;
  }

  .g-rating__num {
    font-size: 2.4rem;
  }

  .review p {
    font-size: 1.1rem;
  }

  .review-cta__actions {
    width: 100%;
  }

  .review-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .review-cta__qr img {
    width: 140px;
    height: 140px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__logo {
    max-width: 260px;
  }

  .footer__bottom {
    padding: 1.15rem 0 calc(1.15rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .footer__bottom .container {
    overflow-wrap: anywhere;
  }

  .promo__inner {
    gap: 2rem;
    padding-block: 3.5rem;
    padding-inline: clamp(1.35rem, 6.5vw, 2rem);
  }

  .promo__title {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
    margin-bottom: 0.25rem;
  }

  .promo__sub {
    font-size: 0.98rem;
    margin-top: 1rem;
  }

  .promo__cta {
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    padding: 1.15rem 1.25rem;
    margin-top: 0.25rem;
  }

  .callback__row {
    flex-direction: column;
  }

  .legal-note {
    padding: 1.2rem 1.1rem;
  }

  .legal-note__title {
    font-size: 1.25rem;
  }

  .legal-note p,
  .quals__disclaimer {
    font-size: 0.9rem;
  }

  .legal-hero__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .page-legal .footer__grid {
    grid-template-columns: 1fr;
  }

  .cookie {
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: auto;
    transform: translateY(150%);
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
  }

  .cookie.show {
    transform: translateY(0);
  }

  .cookie__actions {
    width: 100%;
  }

  .cookie__actions .btn {
    flex: 1;
    justify-content: center;
  }

  .wa-float {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    width: 50px;
    height: 50px;
  }

  .to-top {
    right: max(18px, env(safe-area-inset-right, 0px));
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 420px) {
  .topbar__left .topbar__link:first-child {
    display: none;
  }

  .brand__logo {
    height: 52px;
    max-width: 100%;
  }

  .header.scrolled .brand__logo {
    height: 46px;
  }

  .section__eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.7rem;
  }

  .jobs .job {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto;
  }

  html.js .reveal,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
