/* Grundwerte und zugängliche Fokusmarkierung. */
:root {
  font-family: Inter, Arial, sans-serif;
  color: #eae8e2;
  background: #181b1b;
  font-size: 16px
}

* {
  box-sizing: border-box
}

body {
  margin: 0
}

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

a,
button {
  &:focus-visible {
    outline: 3px solid #d6b384;
    outline-offset: 4px
  }
}

.wrap {
  max-width: 1440px;
  margin: auto;
  padding: 0 clamp(24px, 5vw, 80px)
}

/* Kopfzeile und Hauptnavigation. */
header {
  border-bottom: 1px solid #ffffff30;
  position: relative;
  z-index: 2;
  background: #181b1b;

  .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 94px
  }

  .brand {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.06em;
    white-space: nowrap;

    small {
      display: block;
      font-size: 11px;
      font-weight: 400;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: #c4ad8e;
      margin-top: 3px
    }
  }
}

nav {
  display: flex;
  gap: clamp(12px, 1.9vw, 30px);
  align-items: center;
  flex-wrap: wrap;

  a {
    font-size: 14px;
    color: #d4d2cb;

    &:hover,
    &[aria-current] {
      color: #d5aa72
    }
  }
}

.contact {
  border: 1px solid #b8a07e;
  padding: 11px 17px;
  white-space: nowrap;
  font-size: 14px
}

/* Bild- und Texteinführung jeder Seite. */
.hero {
  display: grid;
  grid-template-columns: 1fr 46%;
  min-height: 620px;
  max-height: 800px;

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px clamp(24px, 6vw, 100px) 75px max(24px, calc((100vw - 1280px)/2));
    background: #222727
  }

  .hero-image {
    position: relative;
    background: #4c4a43;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block
    }

    &::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #22272740, transparent 35%)
    }
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #c8ac88;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 28px
}

h1 {
  font-family: Georgia, serif;
  font-size: clamp(47px, 5.4vw, 88px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -.045em;
  margin: 0 0 28px;
  max-width: 750px;
  overflow-wrap: anywhere;
  hyphens: auto
}

p {
  line-height: 1.7
}

.not-found {
  background: #222727;
  border-bottom: 1px solid #ffffff30;
  display: grid;
  min-height: min(68vh, 720px)
}

.not-found-inner {
  align-self: center;
  border-left: 1px solid #c4a782;
  padding-bottom: clamp(72px, 10vw, 150px);
  padding-top: clamp(72px, 10vw, 150px)
}

.not-found h1 {
  color: #f4f1ea;
  max-width: 800px
}

main p a:not(.button) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em
}

.lead {
  font-size: clamp(17px, 1.45vw, 21px);
  max-width: 580px;
  color: #d0d2ce;
  margin: 0 0 38px
}

.site-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  vertical-align: -0.15em;
  pointer-events: none;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #c4a782;
  padding: 17px 22px;
  color: #f5e6d1;
  align-self: flex-start;
  font-size: 15px
}

.button {
  &:hover {
    background: #c4a782;
    color: #1c2121
  }
}

.section {
  padding: 95px 0
}

/* Einführende Inhalte und Themenkarten. */
.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;

  h2 {
    font-family: Georgia, serif;
    font-size: clamp(34px, 3.2vw, 52px);
    font-weight: 400;
    line-height: 1.12;
    margin: 0 0 20px
  }

  p {
    color: #bdc1be;
    font-size: 18px;
    margin: 0
  }
}

.section h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 20px
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 50px
}

.card {
  border: 1px solid #4a4e4c;
  min-height: 240px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #202525;
  transition: background .2s
}

.card {
  &:hover {
    background: #333b39
  }

  span {
    font-size: 13px;
    color: #c5a77f;
    letter-spacing: .16em
  }

  h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 30px;
    margin: 0
  }

  b {
    font-weight: 400;
    color: #c5a77f
  }
}

/* Handlungsband am Seitenende. */
.band {
  background: #d7d2c9;
  color: #202423;
  padding: 65px 0;

  .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
  }

  h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(30px, 3vw, 48px);
    margin: 0
  }

  a {
    border: 1px solid #333;
    padding: 16px 23px;
    white-space: nowrap
  }
}

/* Footer und weiterführende Links. */
footer {
  padding: 45px 0;
  color: #aeb5b1;

  .foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 14px
  }

  .language-switcher-wrap {
    margin-left: auto
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;

    a {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 0 8px;
      text-decoration: underline;
      text-underline-offset: 4px
    }
  }
}

@media(max-width:700px) {
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px
  }

  .footer-links a {
    min-height: 44px;
    padding: 8px;
    line-height: 1.35
  }
}

/* Allgemeine Bildergalerien. */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;

  figure {
    margin: 0
  }

  img {
    width: 100%;
    aspect-ratio: 1.2;
    object-fit: cover
  }

  figcaption {
    padding: 14px 0;
    color: #bbb
  }
}

.fine {
  color: #aeb5b1
}

.mobile-nav {
  display: none
}

@media(max-width:1050px) {
  nav {
    display: none
  }

  .mobile-nav {
    display: block
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr 43%
  }

  .hero-copy {
    padding: 65px 35px
  }

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

@media(max-width:700px) {
  .head {
    min-height: 78px
  }

  .brand {
    font-size: 21px
  }

  .contact {
    padding: 9px;
    font-size: 13px
  }

  .hero {
    display: flex;
    flex-direction: column-reverse;
    max-height: none
  }

  .hero-image {
    height: 380px
  }

  .hero-copy {
    padding: 55px 24px 65px
  }

  .section {
    padding: 65px 0
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .cards,
  .gallery {
    grid-template-columns: 1fr
  }

  .band .wrap {
    display: block
  }

  .band a {
    display: inline-block;
    margin-top: 25px
  }

  .mobile-nav {
    padding: 12px 24px;
    display: flex;
    gap: 15px;
    overflow: auto;
    border-top: 1px solid #ffffff22
  }

  .mobile-nav a {
    white-space: nowrap;
    font-size: 14px
  }
}

/* Inhaltsseiten und Textbereiche. */
.source-content {
  padding-top: 70px;
  padding-bottom: 85px;

  h2 {
    font: 400 clamp(30px, 3vw, 48px) Georgia, serif;
    margin: 45px 0 24px
  }

  .prose {
    max-width: none;
    color: #d2d5d0;
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 35px
  }

  p {
    margin: 0 0 18px
  }

  a:not([data-lightbox]) {
    color: #d6b384;
    text-decoration: underline;
    text-underline-offset: 4px
  }

  a.button:not([data-lightbox]) {
    border: 1px solid #c4a782;
    color: #f5e6d1;
    display: inline-flex;
    font-size: 15px;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;

    &:hover,
    &:focus-visible {
      background: #c4a782;
      color: #1c2121
    }
  }

  .tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 34px;

    span {
      border-left: 1px solid #c4a782;
      color: #d2d5d0;
      padding-left: 14px
    }
  }
}

/* Bildergalerien auf Inhaltsseiten. */
.source-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px 16px;
  margin: 35px 0 65px;

  figure {
    margin: 0;
    min-width: 0;

    a {
      display: block;
      background: #333
    }
  }

  img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block
  }

  figcaption {
    font-size: 14px;
    line-height: 1.45;
    color: #bbc2bd;
    padding: 11px 2px
  }
}

.production-gallery figcaption {
  text-align: center
}

/* Sekundärnavigation auf Inhaltsseiten. */
.subnav {
  display: flex;
  gap: 9px;
  overflow: auto;
  padding-top: 26px;

  a {
    font-size: 14px;
    border: 1px solid #555d59;
    padding: 10px 13px;
    white-space: nowrap;

    &[aria-current] {
      border-color: #d6b384;
      color: #d6b384
    }
  }
}

/* Kontaktformular. */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;

  button {
    background: #c4a782;
    color: #111;
    border: 0;
    padding: 14px 22px;
    cursor: pointer;
    font: inherit
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;

  label {
    font-size: 14px
  }

  .wide {
    grid-column: 1/-1
  }

  input,
  select,
  textarea {
    display: block;
    width: 100%;
    background: #222828;
    color: #fff;
    border: 1px solid #777;
    padding: 13px;
    margin-top: 6px;
    font: inherit
  }

  textarea {
    min-height: 160px
  }
}

.form-note {
  font-size: 14px;
  line-height: 1.6
}

.honeypot {
  position: absolute;
  left: -9999px
}

/* Dialog für vergrößerte Bilder. */
#lightbox {
  border: 0;
  background: #151818;
  color: #fff;
  max-width: 100vw;
  max-height: 100vh;
  padding: 25px;

  &::backdrop {
    background: #050606e9
  }

  img {
    max-width: 88vw;
    max-height: 78vh;
    display: block;
    object-fit: contain
  }

  button {
    float: right;
    background: #333;
    color: #fff;
    border: 1px solid #bbb;
    padding: 8px 12px;
    cursor: pointer
  }

  p {
    margin: 10px 0
  }
}

@media(max-width:950px) {
  .source-gallery {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:700px) {
  .source-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .source-gallery img {
    height: 175px
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .form-grid {
    grid-template-columns: 1fr
  }
}

/* Rounded, quieter surfaces across the existing dark stone palette. */
.hero {
  min-height: 560px;
  max-height: none;
  margin: 22px clamp(18px, 3vw, 48px) 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
  overflow: hidden;
  border-radius: 28px;
  background: #222727
}

.hero-copy {
  padding: clamp(48px, 6vw, 100px);
  min-width: 0
}

.hero-image {
  height: min(560px, calc(100svh - 138px));
  min-height: 0;
  align-self: start;
  overflow: hidden
}

.hero-image img {
  object-position: center;
  transition: transform .5s ease
}

.hero-image:hover img {
  transform: scale(1.025)
}

.hero .lead {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden
}

.contact,
.button,
.band a,
.subnav a,
.contact-grid button {
  border-radius: 999px
}

.form-status {
  color: #9e3027;
  font-weight: 700
}

.form-confirmation {
  padding: 28px;
  border: 1px solid #d6b384;
  background: #f7f3ed;
  color: #222727
}

.form-confirmation h2 {
  margin-top: 0;
  color: #222727
}

.card,
.gallery img,
.source-gallery:not(.feature-icons) img,
.source-gallery:not(.feature-icons) figure a {
  border-radius: 20px;
  overflow: hidden
}

.card {
  min-height: 220px
}

.source-gallery:not(.feature-icons) img {
  transition: transform .25s ease
}

.source-gallery:not(.feature-icons) a:hover img {
  transform: scale(1.025)
}

.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 50px
}

.feature-icons figure {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #4a4e4c;
  border-radius: 18px;
  padding: 13px 17px;
  background: #202525;
  min-width: 200px;
  max-width: 280px
}

.feature-icons figure a {
  width: 42px;
  height: 42px;
  flex: none;
  background: none
}

.feature-icons img {
  width: 42px;
  height: 42px;
  object-fit: contain
}

.feature-icons figcaption {
  padding: 0;
  font-size: 14px;
  color: #e0ddd5
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border-radius: 12px
}

.band {
  margin-top: 20px
}

@media(max-width:900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 42%;
    min-height: 480px
  }

  .hero-copy {
    padding: 45px
  }

  .hero-image {
    min-height: 480px
  }
}

@media(max-width:700px) {
  .hero {
    display: flex;
    flex-direction: column-reverse;
    margin: 12px 14px 0;
    border-radius: 22px
  }

  .hero-image {
    height: 300px;
    min-height: 0
  }

  .hero-copy {
    padding: 38px 26px 42px
  }

  .hero .lead {
    -webkit-line-clamp: 6;
    line-clamp: 6
  }

  .feature-icons figure {
    min-width: 0;
    flex: 1 1 145px;
    padding: 11px;
    gap: 9px
  }

  .feature-icons figcaption {
    font-size: 13px
  }
}

/* Mobile menu and consistent reading margins. */
.mobile-nav {
  display: none
}

@media(max-width:1050px) {
  header .head>nav {
    display: none
  }

  .head {
    gap: 16px
  }

  .mobile-nav {
    display: block;
    order: 2;
    margin-left: auto
  }

  .mobile-nav summary {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    min-height: 44px;
    cursor: pointer;
    list-style: none;
    border: 1px solid #5b625e;
    border-radius: 999px;
    color: #f0eee9;
    font-size: 14px
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    content: ""
  }

  .menu-icon::before {
    position: absolute;
    top: -6px
  }

  .menu-icon::after {
    position: absolute;
    top: 6px
  }

  .mobile-nav[open] .menu-icon {
    background: transparent
  }

  .mobile-nav[open] .menu-icon::before {
    top: 0;
    transform: rotate(45deg)
  }

  .mobile-nav[open] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg)
  }

  .mobile-nav nav {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    padding: 12px clamp(24px, 5vw, 80px) 22px;
    background: #202525;
    border-bottom: 1px solid #626760;
    box-shadow: 0 18px 32px #0007;
    gap: 0
  }

  .mobile-nav nav a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #ffffff20;
    color: #f0eee9;
    font-size: 16px;
    white-space: normal
  }

  .mobile-nav nav a[aria-current] {
    color: #d6b384
  }

  .mobile-nav nav .mobile-contact {
    color: #d6b384
  }
}

@media(max-width:700px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px
  }

  .head {
    gap: 10px
  }

  .mobile-nav nav {
    padding-inline: 24px
  }

  main>.section:not(.wrap),
  main>.source-content:not(.wrap) {
    padding-left: 24px;
    padding-right: 24px
  }

  main> :where(p, h2, h3, ul, ol) {
    margin-left: 24px;
    margin-right: 24px
  }

  .source-content :is(p, li, h2, h3) {
    overflow-wrap: anywhere
  }
}

@media(max-width:400px) {
  .brand {
    font-size: 18px
  }

  .brand small {
    font-size: 9px
  }

  .mobile-nav summary {
    padding: 10px 12px
  }
}

@media(max-width:1050px) {
  .mobile-nav {
    padding: 0;
    overflow: visible;
    flex: none
  }

  .mobile-nav nav {
    flex-wrap: nowrap
  }
}

/* Expanded opening copy and image gallery controls. */
.hero .lead {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  margin-bottom: 16px
}

.section.wrap {
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px)
}

.source-content {
  margin-left: auto;
  margin-right: auto;
  text-align: left
}

.hero-detail {
  max-width: 580px;
  color: #c4c9c5;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  margin: 0 0 28px
}

.hero-copy .button {
  margin-top: 3px
}

.source-gallery a[data-lightbox] {
  cursor: zoom-in
}

.source-gallery a[data-lightbox]:focus-visible {
  outline: 3px solid #d6b384;
  outline-offset: 4px
}

#lightbox {
  width: min(1200px, 100vw);
  height: min(920px, 100dvh);
  max-width: 100vw;
  max-height: 100dvh;
  padding: 18px;
  border-radius: 16px;
  overflow: hidden
}

#lightbox .lightbox-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  gap: 10px
}

#lightbox .lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

#lightbox .lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 0;
  height: 100%;
  overflow: hidden
}

#lightbox img {
  max-width: calc(100% - 120px);
  max-height: 100%;
  min-height: 0;
  width: auto;
  height: auto
}

#lightbox button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 18px
}

#lightbox button:hover {
  background: #555
}

#lightbox .lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #ddd;
  margin: 0
}

@media(max-width:700px) {
  .hero .lead {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset
  }

  .hero-detail {
    margin-bottom: 24px
  }

  #lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: 10px;
    border-radius: 0
  }

  #lightbox img {
    max-width: calc(100% - 96px)
  }

  #lightbox .lightbox-stage {
    gap: 4px
  }

  #lightbox .lightbox-caption {
    font-size: 14px
  }
}

/* Complete German navigation and original brand mark. */
.brand {
  display: flex;
  align-items: center;
  flex: none;
  letter-spacing: normal
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block
}

.header-call {
  display: grid;
  gap: 2px;
  margin-right: auto;
  padding: 8px 12px;
  border: 1px solid #aeb1ad;
  border-radius: 4px;
  color: #252b29;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap
}

.header-call span {
  color: #87613c;
  font-weight: 700
}

.header-call:hover span,
.header-call:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 3px
}

.header-call:hover {
  border-color: #87613c
}

header .head.wrap {
  max-width: 1720px
}

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

.language-switcher-wrap {
  position: relative;
  width: 74px;
  min-width: 74px;
  height: 42px;
  flex: none
}

.language-switcher-wrap::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #252b29;
  border-bottom: 1.5px solid #252b29;
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg)
}

.language-switcher {
  width: 100%;
  height: 100%;
  padding: 0 22px 0 10px;
  border: 1px solid #aeb1ad;
  border-radius: 4px;
  background: #fff;
  color: #252b29;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none
}

.language-switcher:focus-visible {
  outline: 3px solid #d6b384;
  outline-offset: 3px
}

.site-nav {
  flex-wrap: nowrap;
  gap: clamp(10px, 1.3vw, 24px)
}

.site-nav>a,
.site-nav .nav-group>a {
  white-space: nowrap
}

.site-nav .nav-group>a {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.site-nav .nav-group>a::after {
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  content: "";
  transform: translateY(2px)
}

.nav-group {
  position: relative;
  padding: 22px 0
}

.nav-sub {
  display: none;
  position: absolute;
  left: -18px;
  top: 100%;
  min-width: 240px;
  padding: 10px;
  background: #252b29;
  border: 1px solid #545d58;
  border-radius: 12px;
  box-shadow: 0 18px 30px #0006;
  z-index: 20
}

.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
  display: grid
}

.nav-sub a {
  padding: 10px 12px;
  border-radius: 7px;
  white-space: nowrap
}

.nav-sub a:hover,
.nav-sub a:focus-visible {
  background: #39413d
}

.mobile-nav nav a.sub-link {
  padding-left: 22px;
  color: #d1d5d0;
  font-size: 15px
}

@media(max-width:1150px) {
  header .site-nav {
    display: none
  }

  .mobile-nav {
    display: block
  }
}

@media(max-width:700px) {
  header .head.wrap {
    gap: 8px
  }

  .brand img {
    width: 54px;
    height: 54px
  }

  header .contact {
    display: none
  }

  .mobile-nav nav a.sub-link {
    padding-left: 20px
  }

  .header-call {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 8px;
    font-size: 11px;
    white-space: normal
  }
}


/* Light brand header and image-led product links. */
header {
  background: #fff;
  border-bottom: 1px solid #d9d9d5;
  color: #202423
}

.site-nav>a,
.site-nav .nav-group>a {
  color: #252b29
}

.site-nav>a:hover,
.site-nav>a[aria-current],
.site-nav .nav-group>a:hover {
  color: #87613c
}

header .contact {
  color: #252b29;
  border-color: #aaa9a4
}

header .contact:hover {
  background: #252b29;
  color: #fff
}

.nav-sub {
  background: #fff;
  border-color: #d8d9d5;
  box-shadow: 0 18px 30px #0002
}

.nav-sub a {
  color: #252b29
}

.nav-sub a:hover,
.nav-sub a:focus-visible {
  background: #eeefec
}

.cards {
  align-items: stretch
}

.image-card {
  position: relative;
  display: block;
  min-height: 340px;
  padding: 0;
  overflow: hidden;
  background: #303632;
  border: 0;
  isolation: isolate
}

.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease
}

.image-card:hover img {
  transform: scale(1.045)
}

.image-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 16, 14, .9), rgba(10, 16, 14, .35) 52%, rgba(10, 16, 14, .06));
  z-index: 0
}

.card-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 340px;
  padding: 30px;
  color: #fff;
  letter-spacing: normal
}

.card-overlay small {
  font: 600 13px Inter, Arial, sans-serif;
  letter-spacing: .16em;
  color: #e1bf93
}

.card-overlay strong {
  font: 400 clamp(24px, 2.4vw, 34px) Georgia, serif;
  line-height: 1.14;
  max-width: 330px
}

.card-overlay b {
  font: 400 15px Inter, Arial, sans-serif;
  color: #e1bf93;
  margin-top: 12px
}

.pivot-card {
  grid-column: 1/-1;
  min-height: 280px
}

.pivot-card .card-overlay {
  min-height: 280px
}

.pivot-card img {
  object-position: center 48%
}

@media(max-width:1050px) {
  .mobile-nav summary {
    color: #252b29;
    border-color: #aeb1ad
  }

  .mobile-nav nav {
    background: #fff;
    border-color: #d9d9d5;
    box-shadow: 0 18px 32px #0002
  }

  .mobile-nav nav a {
    color: #252b29;
    border-color: #e1e1de
  }

  .mobile-nav nav a.sub-link {
    color: #525b55
  }

  .mobile-nav nav a[aria-current],
  .mobile-nav nav .mobile-contact {
    color: #87613c
  }
}

@media(max-width:700px) {

  .image-card,
  .card-overlay {
    min-height: 290px
  }

  .pivot-card,
  .pivot-card .card-overlay {
    min-height: 290px
  }
}


/* FAQ content layout. */
.faq-content {
  .faq-intro {
    max-width: 820px;
    margin: 0 0 56px;
    color: #d2d5d0;
    font-size: 19px;
    line-height: 1.65
  }
}

.faq-group {
  margin: 0 0 66px;

  h2 {
    margin: 0 0 28px
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.faq-item {
  border: 1px solid #4a4e4c;
  border-radius: 20px;
  background: #202525;
  padding: 26px 28px;

  h3 {
    font: 400 clamp(21px, 1.7vw, 27px)/1.25 Georgia, serif;
    margin: 0 0 16px;
    color: #f0eee9
  }

  p {
    color: #cbd1cc;
    font-size: 16px;
    line-height: 1.7;
    margin: 0
  }
}

@media(max-width:750px) {
  .faq-content .faq-intro {
    margin-bottom: 42px
  }

  .faq-group {
    margin-bottom: 48px
  }

  .faq-grid {
    grid-template-columns: 1fr
  }

  .faq-item {
    padding: 22px
  }
}

/* Benefits page and linked property icons. */
.benefit-hero {
  display: block;
  min-height: 0;
  background: #222727
}

.benefit-hero .hero-copy {
  max-width: 1050px;
  padding: clamp(54px, 7vw, 100px)
}

.benefit-hero h1 {
  max-width: 950px
}

.benefit-hero .lead {
  max-width: 760px
}

.benefit-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 60px;
  align-items: start;
  padding-bottom: 35px
}

.benefit-intro h2 {
  font: 400 clamp(32px, 3.2vw, 52px)/1.14 Georgia, serif;
  margin: 0
}

.benefit-intro p {
  max-width: 690px;
  color: #cbd1cc;
  font-size: 18px;
  line-height: 1.7;
  margin: 0
}

.benefit-section {
  padding-top: 15px
}

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

.benefit-card {
  background: #202525;
  border: 1px solid #4a4e4c;
  border-radius: 22px;
  padding: clamp(24px, 3vw, 40px);
  scroll-margin-top: 30px
}

.benefit-card>img {
  width: 56px;
  height: 56px;
  display: block;
  margin-bottom: 24px
}

.benefit-card h2 {
  font: 400 clamp(27px, 2.4vw, 38px)/1.18 Georgia, serif;
  margin: 0 0 20px
}

.benefit-card p {
  color: #d0d5d0;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px
}

.benefit-card .benefit-example {
  border-top: 1px solid #4a4e4c;
  padding-top: 17px;
  color: #cbb99e;
  margin: 0
}

.feature-icons figure {
  padding: 0;
  max-width: 300px
}

.feature-icons figure a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 132px;
  padding: 13px 17px;
  background: transparent;
  color: #e0ddd5;
  border-radius: 18px;
  text-decoration: none
}

.feature-icons figure a:hover,
.feature-icons figure a:focus-visible {
  background: #35403a;
  color: #fff
}

.feature-icons figure img {
  flex: none;
  width: 54px;
  height: 54px;
  object-fit: contain
}

.feature-icons figure span {
  width: 100%;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word
}

@media(max-width:1200px) and (min-width:1151px) {
  .site-nav {
    gap: 8px
  }

  .site-nav a {
    font-size: 13px
  }
}

@media(max-width:750px) {
  .benefit-intro {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .benefit-grid {
    grid-template-columns: 1fr
  }

  .benefit-card {
    padding: 24px
  }

  .benefit-hero .hero-copy {
    padding: 42px 26px
  }
}


/* Smart doors page. */
.smart-hero {
  display: block;
  min-height: 0
}

.smart-hero .hero-copy {
  max-width: 1100px;
  padding: clamp(48px, 7vw, 96px)
}

.smart-hero h1 {
  max-width: 970px;
  font-size: clamp(43px, 5vw, 74px)
}

.smart-hero .lead,
.smart-hero .hero-detail {
  max-width: 790px
}

.smart-intro,
.smart-cloud {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: start
}

.smart-intro h2,
.smart-cloud h2,
.smart-safety h2,
.smart-systems h2,
.smart-scenarios h2 {
  font: 400 clamp(32px, 3.1vw, 51px)/1.13 Georgia, serif;
  margin: 0 0 26px
}

.smart-intro>p,
.smart-cloud p,
.smart-systems p,
.scenario-heading>p {
  font-size: 17px;
  line-height: 1.7;
  color: #cbd1cc;
  margin: 0 0 18px
}

.smart-options,
.safety-grid,
.system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.smart-options article,
.safety-grid article,
.system-grid article {
  border: 1px solid #4a4e4c;
  border-radius: 22px;
  background: #202525;
  padding: clamp(24px, 3vw, 36px)
}

.smart-options h3,
.safety-grid h3,
.system-grid h3 {
  font: 400 clamp(23px, 2vw, 30px)/1.22 Georgia, serif;
  margin: 0 0 14px
}

.smart-options p,
.safety-grid p,
.system-grid p {
  font-size: 16px;
  line-height: 1.7;
  color: #cbd1cc;
  margin: 0
}

.option-num {
  display: block;
  color: #c9a579;
  font-size: 14px;
  letter-spacing: .14em;
  margin-bottom: 20px
}

.scenario-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 26px
}

.scenario-heading>p {
  max-width: 480px
}

.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px
}

.scenario-tabs button {
  font: inherit;
  font-size: 15px;
  color: #ddd;
  border: 1px solid #646d67;
  border-radius: 999px;
  background: transparent;
  padding: 12px 17px;
  cursor: pointer;
  min-height: 44px
}

.scenario-tabs button:is(.active, :hover) {
  color: #1c2121;
  background: #d6b384;
  border-color: #d6b384
}

.scenario-visual {
  border: 1px solid #515b55;
  border-radius: 24px;
  background: #202827;
  padding: clamp(25px, 4vw, 56px);
  min-height: 330px
}

.scenario-panel[hidden] {
  display: none
}

.flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px
}

.flow span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 82px;
  flex: 1;
  border: 1px solid #9a8264;
  border-radius: 16px;
  padding: 12px;
  color: #f4e5d2;
  font-size: 16px;
  line-height: 1.35
}

.flow i {
  display: block;
  position: relative;
  width: clamp(18px, 5vw, 80px);
  height: 2px;
  flex: none;
  background: #c9a579
}

.flow i:after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #c9a579;
  border-top: 2px solid #c9a579;
  transform: rotate(45deg)
}

.scenario-panel.active .flow i:before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f1d1a8;
  animation: flow-move 2.2s ease-in-out infinite
}

@keyframes flow-move {
  to {
    left: calc(100% - 8px)
  }
}

.scenario-panel h3 {
  font: 400 29px Georgia, serif;
  margin: 0 0 11px
}

.scenario-panel p {
  max-width: 890px;
  font-size: 17px;
  line-height: 1.65;
  color: #cbd1cc;
  margin: 0
}

.smart-cloud .smart-rule {
  border-left: 3px solid #d6b384;
  padding: 26px 30px;
  background: #252c29;
  border-radius: 0 18px 18px 0
}

.smart-rule h3 {
  font: 400 30px Georgia, serif;
  margin: 0 0 15px
}

.smart-rule p {
  margin: 0
}

.safety-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px
}

.system-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0
}

.system-grid a {
  display: inline-block;
  margin-top: 24px;
  color: #d6b384;
  text-decoration: underline;
  text-underline-offset: 4px
}

.systems-lead {
  max-width: 900px
}

.system-note {
  font-size: 14px;
  max-width: 900px
}

@media(max-width:1150px) {
  header .site-nav {
    display: none
  }

  .mobile-nav {
    display: block
  }

  .mobile-nav summary {
    color: #252b29;
    border-color: #aeb1ad
  }

  .mobile-nav nav {
    background: #fff;
    border-color: #d9d9d5;
    box-shadow: 0 18px 32px #0002
  }

  .mobile-nav nav a {
    color: #252b29;
    border-color: #e1e1de
  }

  .mobile-nav nav a.sub-link {
    color: #525b55
  }

  .mobile-nav nav a[aria-current],
  .mobile-nav nav .mobile-contact {
    color: #87613c
  }

}

@media(max-width:850px) {

  .smart-intro,
  .smart-cloud {
    grid-template-columns: 1fr
  }

  .scenario-heading {
    display: block
  }

  .safety-grid,
  .system-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:700px) {
  .smart-hero .hero-copy {
    padding: 42px 26px
  }

  .smart-options {
    grid-template-columns: 1fr
  }

  .flow {
    gap: 5px
  }

  .flow span {
    font-size: 13px;
    min-height: 75px;
    padding: 7px
  }

  .flow i {
    width: 16px
  }

  .scenario-visual {
    min-height: 375px
  }
}

@media(prefers-reduced-motion:reduce) {
  .scenario-panel.active .flow i:before {
    animation: none;
    left: calc(50% - 4px)
  }
}

/* Editorial imagery. */
.hero.image-led-hero {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  min-height: 560px;

  .hero-copy {
    padding: clamp(32px, 4.5vw, 68px);
    max-width: none
  }

  h1 {
    font-size: clamp(40px, 4.2vw, 65px)
  }
}

.editorial-image {
  position: relative;
  margin: 0;
  height: min(560px, calc(100svh - 138px));
  min-height: 0;
  align-self: start;
  overflow: hidden;

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
  }

  figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, #101918e8);
    padding: 42px 22px 20px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5
  }
}

.material-photo-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 54px;

  img {
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 20px
  }

  a {
    display: block;
    cursor: zoom-in
  }

  figcaption {
    font-size: 16px;
    line-height: 1.5
  }
}

.editorial-break {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  margin-top: 25px;
  margin-bottom: 45px;

  figure {
    margin: 0
  }

  img {
    width: 100%;
    display: block;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 24px
  }

  figcaption {
    font-size: 14px;
    line-height: 1.55;
    color: #aebbb1;
    padding-top: 13px
  }

  h2 {
    font: 400 clamp(34px, 3.3vw, 54px)/1.1 Georgia, serif;
    margin: 0 0 24px
  }

  p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.7;
    color: #cbd1cc
  }
}

@media(max-width:800px) {
  .hero.image-led-hero {
    display: flex;
    flex-direction: column-reverse
  }

  .editorial-image {
    height: 370px;
    min-height: 0
  }

  .hero.image-led-hero .hero-copy {
    padding: 36px 26px
  }

  .editorial-break {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .material-photo-strip {
    gap: 14px
  }
}

@media(max-width:550px) {
  .material-photo-strip {
    grid-template-columns: 1fr
  }

  .material-photo-strip img {
    aspect-ratio: 4/3;
    object-position: center
  }

  .editorial-image {
    height: 320px
  }
}

.project-solutions {
  margin: 70px 0 55px
}

.project-experience-years {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 2px solid #c5a77f
}

.project-experience-years strong {
  color: #eae8e2
}

.project-process,
.project-benefits {
  margin: 85px 0 65px
}

.project-process h2,
.project-benefits h2 {
  max-width: 860px;
  font: 400 clamp(34px, 3.2vw, 52px)/1.12 Georgia, serif;
  margin: 0 0 20px
}

.project-process-intro {
  max-width: 820px;
  color: #bdc1be;
  font-size: 18px;
  line-height: 1.7
}

.project-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid #4a4e4c;
  list-style: none
}

.project-process-list li {
  min-width: 0;
  padding: 22px 10px 24px 0;
  border-bottom: 1px solid #4a4e4c
}

.project-process-number {
  display: block;
  margin-bottom: 16px;
  color: #c5a77f;
  font-size: 13px
}

.project-process-list h3,
.project-benefit h3 {
  margin: 0 0 12px;
  font: 400 24px/1.2 Georgia, serif
}

.project-process-list p,
.project-benefit p {
  color: #bdc1be;
  line-height: 1.65
}

.project-benefits {
  padding-top: 45px;
  border-top: 1px solid #4a4e4c
}

.project-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px
}

.project-benefit {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid #4a4e4c
}

.project-benefit h3 {
  color: #eae8e2
}

.project-benefit .benefit-example {
  color: #aebbb1;
  font-size: 15px
}

.project-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
  border-top: 1px solid #4a4e4c
}

.project-solution {
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid #4a4e4c
}

.project-solution h3 {
  margin: 0 0 14px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400
}

.project-solution h3 a:hover {
  color: #c5a77f;
  text-decoration: underline;
  text-underline-offset: 4px
}

.project-solution p,
.project-functionality p:not(.eyebrow) {
  color: #bdc1be;
  line-height: 1.65
}

.project-solutions-intro {
  max-width: 760px;
  color: #bdc1be;
  font-size: 18px;
  line-height: 1.65
}

.project-solution-link {
  display: inline-block;
  margin-top: 14px;
  color: #c5a77f;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px
}

.project-functionality {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 80px);
  padding-top: 34px;
  border-top: 1px solid #4a4e4c
}

.project-functionality h2 {
  font: 400 clamp(30px, 3vw, 46px)/1.12 Georgia, serif;
  margin: 0 0 20px
}

.project-functionality .button {
  display: inline-flex;
  margin-top: 12px
}

@media(max-width:800px) {

  .project-process-list,
  .project-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .project-solutions-grid,
  .project-functionality {
    grid-template-columns: 1fr
  }
}

@media(max-width:550px) {

  .project-process-list,
  .project-benefits-grid {
    grid-template-columns: 1fr
  }
}

/* Use one compact navigation pattern below the desktop breakpoint. */
@media(max-width:1150px) {
  header .site-nav {
    display: none
  }

  .mobile-nav {
    display: block;
    position: static;
    order: 2;
    margin-left: 0;
    padding: 0;
    overflow: visible
  }

  .mobile-nav summary {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    min-width: 96px;
    height: 46px;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid #aeb1ad;
    border-radius: 23px;
    color: #252b29
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    content: ""
  }

  .menu-icon::before,
  .menu-icon::after {
    position: absolute
  }

  .menu-icon::before {
    top: -6px
  }

  .menu-icon::after {
    top: 6px
  }

  .mobile-nav[open] .menu-icon {
    background: transparent
  }

  .mobile-nav[open] .menu-icon::before {
    top: 0;
    transform: rotate(45deg)
  }

  .mobile-nav[open] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg)
  }

  .mobile-nav nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
    position: absolute;
    top: calc(100% + 1px);
    right: clamp(24px, 5vw, 80px);
    left: auto;
    width: min(calc(100vw - 48px), max(50vw, 390px));
    max-height: calc(100dvh - 96px);
    padding: 8px 18px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d9d9d5;
    box-shadow: 0 18px 32px #0002
  }

  .mobile-nav nav a,
  .mobile-nav nav a.sub-link {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid #e1e1de;
    color: #252b29;
    font-size: 16px;
    white-space: normal
  }

  .mobile-nav nav a.sub-link {
    padding-left: 18px;
    color: #525b55;
    font-size: 15px
  }

  .mobile-nav nav a[aria-current],
  .mobile-nav nav .mobile-contact {
    color: #87613c
  }
}