/* =========================================================
   Orthopädietechnik Christian Genenger – Nachbau
   Schriften: Oswald (Headlines) + Cairo (Fließtext) – beide Google Fonts,
   entsprechen den Originalschriften der Vorlage.
   ========================================================= */

/* ---------- 1. Custom Properties ---------- */
:root {
  --color-teal: #058b8c;
  --color-teal-link: #008a8b;
  --color-teal-light: #0e9b9c;
  --color-dark: #4f5050;
  --color-footer: #3d3d3c;
  --color-grey-light: #f0f0f0;
  --color-grey-mid: #eeeeee;
  --color-text: #666666;
  --color-heading-slate: #596380;
  --color-white: #ffffff;

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Cairo", "Segoe UI", Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;

  --container: 1200px;
  --nav-h: 50px;
  --transition: all .25s ease;
}

/* ---------- 2. Reset / Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-teal-link);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--color-teal); }

ul { margin: 0; padding: 0; }

p { margin: 0 0 1.2em; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 500; }

h1 {
  font-family: var(--font-head);
  font-size: 45px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--color-teal);
}

h2 { font-family: var(--font-head); font-size: 34px; line-height: 1.2; }
h3 { font-family: var(--font-head); font-size: 24px; line-height: 1.3; color: #333; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.text-right { text-align: right; }
.text-center { text-align: center; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-teal);
  color: #fff;
  padding: 10px 18px;
  z-index: 999;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.2;
  padding: 14px 26px;
  border: 1px solid var(--color-teal);
  color: var(--color-teal);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover { background: var(--color-teal); color: #fff; }

.btn--white-bg { background: #fff; }
.btn--white-bg:hover { background: var(--color-teal); color: #fff; }

.btn--on-teal {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn--on-teal:hover { background: #fff; color: var(--color-teal); }

.btn--solid {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
  width: 100%;
  text-align: center;
  font-size: 20px;
  padding: 14px 26px;
}
.btn--solid:hover { background: #046f70; color: #fff; }

/* ---------- 4. Header ---------- */
.site-header {
  background: #fff;
  padding: 10px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: 0 26px;
  margin: 0 auto;
}

.site-header__logo img {
  width: 467px;
  max-width: 100%;
  height: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 74px;
  margin-right: 119px;
  list-style: none;
  flex-wrap: wrap;
}

.header-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  color: var(--color-text);
}

.header-contact i {
  font-size: 20px;
  line-height: 1;
  color: #1a1a1a;
  flex: none;
}

.header-contact a { color: var(--color-teal-link); }

/* ---------- 5. Navigation ---------- */
.main-nav {
  position: relative;
  background: var(--color-dark);
  height: var(--nav-h);
}

/* türkiser Keil links mit schräger Kante */
.main-nav::before,
.main-nav::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.main-nav::before {
  right: calc(50% - 32px);
  background: var(--color-teal);
  clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 100%, 0 100%);
}

.main-nav::after {
  right: calc(50% - 47px);
  background: #fff;
  clip-path: polygon(calc(100% - 50px) 0, calc(100% - 35px) 0, 100% 100%, calc(100% - 15px) 100%);
}

.main-nav__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.main-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding-left: 122px;
  margin: 0;
}

.main-nav__list a {
  display: block;
  padding: 0 35px;
  line-height: var(--nav-h);
  font-size: 20px;
  color: #fff;
  white-space: nowrap;
}

.main-nav__list a:hover,
.main-nav__list a:focus,
.main-nav__list .is-active a {
  color: #d6f2f2;
}

/* Burger */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 20px;
  padding: 0 20px;
  height: var(--nav-h);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }

/* ---------- 6. Hero-Slider ---------- */
.hero {
  position: relative;
  margin-top: 31px;
  overflow: hidden;
}

.hero__viewport {
  position: relative;
  height: 700px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card {
  position: absolute;
  top: 50%;
  right: 4.3%;
  transform: translateY(-50%);
  width: 446px;
  max-width: calc(100% - 40px);
  background: rgba(255, 255, 255, .82);
  padding: 40px 44px 44px;
}

.hero__card h2 {
  font-family: var(--font-head);
  font-size: 57px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-teal-link);
  margin: 0 0 24px;
}

.hero__card p {
  font-size: 20px;
  color: #4a4a4a;
  margin-bottom: 28px;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .65);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.hero__dot.is-active { background: #fff; }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.hero__arrow:hover { background: rgba(0, 0, 0, .4); }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }

/* ---------- 7. CTA-Band ---------- */
.cta-band {
  padding: 30px 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-teal);
  margin: 0;
}

/* ---------- 8. Sektionen ---------- */
.section {
  padding: 80px 0;
}

.section--teal {
  background: var(--color-teal);
  color: #fff;
}

.section--teal h1,
.section--teal h2,
.section--teal h3 { color: #fff; }

.section--grey { background: var(--color-grey-light); }

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

.split--40 { grid-template-columns: 40% 1fr; gap: 30px; }

.split--start { align-items: start; }

.section--teal p { font-size: 20px; }

.section__title-slate {
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 700;
  color: var(--color-heading-slate);
  margin-bottom: 40px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.list-check {
  list-style: none;
  margin: 0 0 24px;
}

.list-check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text);
}

.subheading {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text);
  margin: 34px 0 10px;
}

/* CMS-Dublette der Vorlage (andere Systemschrift) – 1:1 übernommen */
.subheading--system {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #333;
}

/* Leistungs-Icons */
.service-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  margin: 0 0 50px;
  list-style: none;
}

.service-icons img { max-height: 90px; width: auto; }

/* Bildpaar */
.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.image-pair img { width: 100%; }

/* Galerie-Streifen */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

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

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-strip--3 img { height: 210px; }

/* ---------- 9. Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.page-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__card {
  position: absolute;
  top: 50%;
  right: 4.3%;
  transform: translateY(-50%);
  width: 446px;
  max-width: calc(100% - 40px);
  background: rgba(255, 255, 255, .82);
  padding: 40px 44px 44px;
}

.page-hero__card h1 {
  font-family: var(--font-head);
  font-size: 57px;
  font-weight: 400;
  text-transform: none;
  line-height: 1.05;
  color: var(--color-teal-link);
  margin: 0 0 20px;
}

.page-hero__card p {
  font-size: 20px;
  color: #4a4a4a;
  margin: 0;
}

/* ---------- 10. Über uns ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-teal);
  margin: 0 0 10px;
}

.about-title {
  font-family: var(--font-head);
  font-size: 45px;
  font-weight: 400;
  color: #1a1a1a;
  text-transform: none;
  margin: 0 0 28px;
}

.section-heading-teal {
  font-family: var(--font-head);
  font-size: 45px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--color-teal);
  margin-bottom: 22px;
}

.quote-figure { position: relative; margin: 0; }
.quote-figure img { width: 100%; }

.quote-figure__quote {
  position: absolute;
  right: -70px;
  bottom: -60px;
  width: 350px;
  max-width: 90%;
  background: var(--color-teal);
  color: #fff;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  padding: 26px 30px;
  margin: 0;
}

.info-box {
  border: 5px solid var(--color-teal);
  padding: 44px 46px;
  background: transparent;
}

.info-box svg {
  width: 62px;
  height: 62px;
  stroke: var(--color-teal);
  fill: none;
  stroke-width: 4;
  margin-bottom: 26px;
}

.info-box h3 {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 18px;
}

/* ---------- 11. Team ---------- */
.section-title-center {
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 700;
  color: var(--color-heading-slate);
  text-transform: none;
  text-align: center;
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 26px;
}

.team-member img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 18px;
}

.team-member h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.team-member p { margin: 0; }

/* ---------- 12. CTA-Sektion ---------- */
.cta-center {
  text-align: center;
  padding: 90px 0;
}

.cta-center h2 {
  font-family: var(--font-head);
  font-size: 45px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 10px;
}

.cta-center p {
  font-size: 22px;
  margin-bottom: 28px;
}

/* ---------- 13. Leistungen: Tabs ---------- */
.tabs {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 112px;
  align-items: start;
}

.tabs__list {
  list-style: none;
  border-right: 1px solid #cfe3e6;
}

.tabs__btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading-slate);
  padding: 24px 16px;
  cursor: pointer;
  transition: var(--transition);
}

.tabs__btn:hover { background: #f7f7f7; }
.tabs__btn[aria-selected="true"] { background: var(--color-grey-mid); }

.tabs__icon {
  width: 44px;
  height: 44px;
  flex: none;
}

.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }
.tabs__panel p { text-align: justify; }


.tabs__hint { margin-top: 40px; }

/* ---------- 14. Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.req { color: #e2001a; }

.form-note {
  color: #e2001a;
  font-weight: 700;
  margin-bottom: 22px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="file"],
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 20px;
  color: #333;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  background: #fff;
  border-radius: 0;
}

.form-field textarea { min-height: 170px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-teal);
  outline-offset: 1px;
}

.form-error {
  display: block;
  color: #e2001a;
  font-size: 15px;
  margin-top: 5px;
  min-height: 1px;
}

.form-success {
  display: none;
  background: #e6f4f4;
  border-left: 4px solid var(--color-teal);
  color: #12666a;
  font-size: 18px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.form-success.is-visible { display: block; }

.form-alert {
  background: #fdecec;
  border-left: 4px solid #e2001a;
  color: #a30014;
  font-size: 18px;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.form-hint {
  display: block;
  font-size: 15px;
  color: #8a8a8a;
  margin-top: 6px;
}

.form-privacy {
  font-size: 15px;
  line-height: 1.5;
  color: #8a8a8a;
  margin: 22px 0 18px;
}

.form-field__short { max-width: 130px; }

/* Honeypot – für Besucher unsichtbar, für Bots ein Köder.
   Bewusst nicht display:none, damit einfache Bots es trotzdem ausfüllen. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-map {
  width: 100%;
  height: 300px;
  border: 0;
  margin-bottom: 26px;
}

.contact-facts { list-style: none; }

.contact-facts li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-facts svg {
  width: 18px;
  height: 22px;
  fill: var(--color-text);
  flex: none;
  margin-top: 4px;
}

/* ---------- 15. Textseiten ---------- */
.legal h1 { margin-bottom: 30px; }
.legal h2 { font-family: var(--font-body); font-size: 24px; font-weight: 700; color: #444; margin-top: 40px; }
.legal h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: #444; margin-top: 28px; }
.legal ul { margin: 0 0 20px 22px; }
.legal li { margin-bottom: 8px; }

/* ---------- 16. Footer ---------- */
.site-footer {
  border-top: 6px solid var(--color-teal);
  background: var(--color-footer);
  color: #fff;
  padding: 70px 0 40px;
}

.site-footer h2 {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin: 0 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px 60px;
}

.site-footer p,
.site-footer address {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0 0 4px;
}

.site-footer a { color: #fff; font-weight: 700; }
.site-footer a:hover { color: var(--color-teal-light); }

.footer-logo {
  width: 300px;
  margin-bottom: 34px;
}

.footer-bottom {
  margin-top: 70px;
  font-size: 16px;
  font-weight: 700;
}

.agency-branding p { font-weight: 400; font-size: 15px; }
.agency-branding a { font-weight: 400; text-decoration: underline; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--color-teal);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 40;
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- 17. Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--color-footer);
  color: #fff;
  padding: 20px;
  transform: translateY(110%);
  transition: transform .4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
}

.cookie-banner p { margin: 0; font-size: 16px; color: #fff; }
.cookie-banner a { color: var(--color-teal-light); text-decoration: underline; }

.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cookie-banner .btn { border-color: #fff; color: #fff; font-size: 16px; padding: 10px 20px; }
.cookie-banner .btn:hover { background: #fff; color: var(--color-footer); }
.cookie-banner .btn--accept { background: var(--color-teal); border-color: var(--color-teal); }
.cookie-banner .btn--accept:hover { background: #fff; color: var(--color-teal); }

/* ---------- 18. 404 ---------- */
.error-page {
  text-align: center;
  padding: 120px 0;
}

.error-page__code {
  font-family: var(--font-head);
  font-size: 120px;
  line-height: 1;
  color: var(--color-teal);
  margin: 0 0 10px;
}

/* ---------- 19. Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   20. Responsive
   ========================================================= */
@media (max-width: 1199px) {
  .main-nav__list { padding-left: 20px; }
  .header-contact { margin-right: 0; gap: 40px; }
  .main-nav::before { right: calc(50% - 60px); }
  .main-nav::after { right: calc(50% - 75px); }
  .hero__viewport { height: 560px; }
  .page-hero { height: 480px; }
  .tabs { grid-template-columns: 320px 1fr; gap: 44px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { gap: 60px 40px; }
}

@media (max-width: 991px) {
  h1 { font-size: 28px; }
  .site-header__inner { padding: 0 20px; }
  .header-contact { gap: 24px; }
  .header-contact li { font-size: 15px; }
  .hero__card h2,
  .page-hero__card h1 { font-size: 40px; }
  .cta-band h2,
  .section__title-slate,
  .section-title-center { font-size: 30px; }
  .split,
  .split--40,
  .two-col,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote-figure__quote { position: static; width: 100%; max-width: none; margin-top: 0; }
  .service-icons { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip--3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tabs { grid-template-columns: 1fr; gap: 0; }
  .tabs__list { border-right: 0; border-bottom: 1px solid #cfe3e6; margin-bottom: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 56px 0; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }

  .site-header__logo img { width: 220px; }
  .header-contact { display: none; }

  .main-nav::before,
  .main-nav::after { display: none; }
  .main-nav { background: var(--color-teal); }

  .nav-toggle { display: flex; }

  .main-nav__inner { justify-content: space-between; }

  .main-nav__list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: var(--color-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 84px 0 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 70;
    overflow-y: auto;
  }

  .main-nav__list.is-open { transform: translateX(0); }

  .main-nav__list a {
    line-height: 1.4;
    padding: 16px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 18px;
    min-height: 44px;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 65;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  body.nav-open { overflow: hidden; }

  .hero { margin-top: 0; }
  .hero__viewport { height: 460px; }
  .hero__card,
  .page-hero__card {
    left: 20px;
    right: 20px;
    width: auto;
    transform: translateY(-50%);
    padding: 26px 24px 30px;
  }
  .hero__card h2,
  .page-hero__card h1 { font-size: 30px; }
  .hero__card p,
  .page-hero__card p { font-size: 17px; }
  .hero__arrow { display: none; }

  .page-hero { height: 420px; }

  .cta-band h2 { font-size: 26px; }
  .cta-band__inner { gap: 18px; }

  .service-icons { grid-template-columns: repeat(2, 1fr); }
  .image-pair { grid-template-columns: 1fr; gap: 20px; }
  .gallery-strip,
  .gallery-strip--3 { grid-template-columns: 1fr; gap: 10px; }
  .gallery-strip--3 img { height: auto; }
  .team-grid { grid-template-columns: 1fr; }

  .info-box { padding: 28px 24px; }
  .cta-center { padding: 60px 0; }
  .cta-center h2 { font-size: 30px; }

  .btn { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (min-width: 768px) {
  .nav-backdrop { display: none; }
}
