:root {
  --graphite: #171a1d;
  --graphite-2: #22282d;
  --steel: #596168;
  --steel-on-dark: #b8c0c4;
  --mist: #dde1df;
  --paper: #f3f1eb;
  --white: #fff;
  --blue: #0072b9;
  --blue-dark: #0b5caa;
  --line: rgba(23, 26, 29, .2);
  --shell: min(1480px, calc(100vw - clamp(40px, 8vw, 144px)));
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--graphite);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-width: 320px; background: var(--paper); overflow-x: hidden; }
body, button, a { font-family: inherit; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { border: 0; }
address { font-style: normal; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed; z-index: 100; top: 8px; left: 12px; padding: 12px 16px;
  color: var(--white); background: var(--blue); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.prototype-strip { color: var(--mist); background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.16); font-size: .72rem; letter-spacing: .03em; }
.prototype-strip__inner { min-height: 34px; display: flex; align-items: center; gap: 9px; }
.prototype-strip strong { color: var(--white); font-weight: 700; }
.status-dot { width: 7px; height: 7px; background: var(--blue); display: inline-block; flex: 0 0 auto; }

.site-header { position: sticky; z-index: 20; top: 0; color: var(--white); background: rgba(23,26,29,.96); border-bottom: 1px solid rgba(255,255,255,.2); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand-link { display: block; width: 190px; flex: 0 0 auto; padding: 8px 10px; background: var(--white); }
.brand-link img { width: 100%; height: auto; }
.brand-link--footer { width: 180px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a:not(.nav-cta) { color: var(--mist); }
.site-nav a:not(.nav-cta):hover, .site-nav a:not(.nav-cta):focus-visible { color: var(--white); }
.nav-cta { color: var(--white); border: 1px solid rgba(255,255,255,.6); padding: 12px 16px; }
.nav-cta:hover, .nav-cta:focus-visible { color: var(--graphite); background: var(--white); }
.menu-toggle { display: none; color: var(--white); background: transparent; cursor: pointer; padding: 10px 0; }
.menu-toggle__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-right: 10px; }
.menu-toggle__icon { display: inline-flex; flex-direction: column; gap: 5px; vertical-align: middle; }
.menu-toggle__icon i { display: block; width: 22px; height: 1px; background: currentColor; }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(58px, 9vw, 132px) clamp(70px, 10vw, 140px); }
.hero__copy { padding-left: clamp(0px, 3vw, 52px); }
.eyebrow, .section-kicker, .footer-label { margin: 0 0 18px; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; }
.eyebrow { color: var(--blue-dark); }
h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: none; }
p { overflow-wrap: break-word; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.045em; }
h1 { max-width: 690px; font-size: clamp(3.2rem, 5.5vw, 6.25rem); line-height: .96; }
h2 { font-size: clamp(2.3rem, 4.4vw, 5.15rem); line-height: .98; }
h3 { font-size: clamp(1.55rem, 2.3vw, 2.35rem); line-height: 1.02; }
.hero__intro { max-width: 560px; margin: 32px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--steel); }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 13px 18px; border: 1px solid transparent; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.button span { font-size: 1.1rem; line-height: 0; }
.button--primary { color: var(--white); background: var(--blue); }
.button--primary:hover, .button--primary:focus-visible { background: var(--blue-dark); }
.button--secondary { color: var(--graphite); border-color: var(--graphite); background: transparent; }
.button--secondary:hover, .button--secondary:focus-visible { color: var(--white); background: var(--graphite); }
.button--standalone { margin-top: 42px; }
.hero__location { display: flex; align-items: center; gap: 11px; margin: 50px 0 0; color: var(--steel); font-size: .78rem; letter-spacing: .04em; }
.rule-mark { width: 34px; height: 1px; background: var(--blue); }
.media-frame { position: relative; overflow: hidden; background: var(--graphite); }
.media-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(23,26,29,.25); }
.media-poster { display: none; width: 100%; height: auto; object-fit: cover; }
.hero__media { width: min(100%, 800px); justify-self: end; margin: 0; }
.hero-video { width: 100%; max-width: 1280px; aspect-ratio: 1280 / 1080; object-fit: cover; object-position: 54% 52%; }
.hero__media figcaption, .reference-item figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; color: var(--steel); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.hero__media figcaption { color: var(--steel-on-dark); }

.working-method { background: var(--mist); border-block: 1px solid var(--line); }
.working-method__inner { padding-block: clamp(36px, 5vw, 66px); display: grid; grid-template-columns: 3fr 4fr 5fr; gap: 32px; align-items: start; }
.working-method h2 { font-size: clamp(2rem, 3vw, 3.4rem); }
.method-list { border-top: 1px solid var(--line); }
.method-list p { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding-block: 13px; margin: 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.method-list span, .system-panel__index { color: var(--blue-dark); font-size: .72rem; letter-spacing: .08em; font-weight: 700; }

.systems-section { padding-block: clamp(76px, 12vw, 164px); }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(230px, 5fr); gap: 42px; align-items: end; }
.section-heading__note { max-width: 420px; margin: 0 0 4px; color: var(--steel); line-height: 1.48; font-size: .96rem; }
.system-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(48px, 7vw, 88px); }
.system-panel { min-width: 0; padding-top: 18px; border-top: 2px solid var(--graphite); outline: none; transition: opacity 560ms var(--ease), transform 560ms var(--ease), border-color 220ms var(--ease); }
.system-panel:hover, .system-panel:focus-visible, .system-panel.is-active { border-color: var(--blue); }
.system-panel:not(.is-active) .system-panel__media { opacity: .72; }
.system-panel__index { margin-bottom: 18px; }
.system-panel__media video { width: 100%; max-width: 1280px; aspect-ratio: 16 / 9; object-fit: cover; }
.system-panel__body { padding-top: 22px; }
.system-panel__body .eyebrow { margin-bottom: 12px; }
.system-panel__body p:not(.eyebrow) { margin: 18px 0 22px; color: var(--steel); line-height: 1.5; font-size: .92rem; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--graphite); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.text-link:hover, .text-link:focus-visible { color: var(--blue-dark); }

.references-section { padding-block: clamp(74px, 10vw, 136px); background: var(--white); border-block: 1px solid var(--line); }
.reference-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: clamp(18px, 3vw, 48px); align-items: start; margin-top: clamp(48px, 7vw, 88px); }
.reference-item { min-width: 0; margin: 0; }
.reference-item--wide { margin-top: clamp(40px, 7vw, 100px); }
.reference-item__media { width: min(100%, 620px); }
.reference-item img { width: 100%; height: auto; object-fit: contain; }

.service-band { color: var(--white); background: var(--graphite); }
.service-band__inner { display: grid; grid-template-columns: 32px minmax(0, 5fr) minmax(0, 4fr) minmax(180px, 3fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(54px, 7vw, 96px); }
.service-band__marker { align-self: stretch; display: flex; align-items: center; }
.service-band__marker span { display: block; width: 1px; height: 100%; min-height: 120px; background: var(--blue); }
.section-kicker--light { color: var(--mist); }
.service-band h2 { font-size: clamp(2.2rem, 4vw, 4.5rem); }
.service-band__copy { margin: 0; color: var(--mist); line-height: 1.55; font-size: .94rem; }
.service-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.button--light { color: var(--graphite); background: var(--white); }
.button--light:hover, .button--light:focus-visible { color: var(--white); background: var(--blue); }
.text-link--light { color: var(--white); }
.text-link--light:hover, .text-link--light:focus-visible { color: var(--mist); }

.company-section { padding-block: clamp(76px, 11vw, 152px); }
.company-section__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 8vw, 132px); }
.company-section__copy { align-self: end; max-width: 500px; }
.company-section__copy p { margin: 0 0 26px; color: var(--steel); line-height: 1.55; font-size: 1.05rem; }

.contact-ending { color: var(--white); background: var(--blue-dark); }
.contact-ending__inner { min-height: 350px; display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; padding-block: clamp(60px, 8vw, 104px); }
.contact-ending h2 { max-width: 760px; }
.contact-ending__actions { display: flex; align-items: flex-start; flex-direction: column; gap: 22px; }
.button--on-dark { background: var(--white); color: var(--graphite); }
.button--on-dark:hover, .button--on-dark:focus-visible { background: var(--mist); }
.contact-email { color: var(--white); font-size: .96rem; text-underline-offset: 5px; }

.site-footer { color: var(--mist); background: var(--graphite); }
.site-footer__grid { display: grid; grid-template-columns: 2.1fr 1fr 1.2fr 1.4fr; gap: 36px; padding-block: 70px 60px; }
.site-footer__brand p { margin: 24px 0 0; color: var(--steel-on-dark); line-height: 1.55; font-size: .85rem; }
.site-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: .82rem; line-height: 1.4; }
.site-footer__column a:hover, .site-footer__column a:focus-visible { color: var(--white); }
.footer-label { color: var(--white); margin-bottom: 7px; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px 22px; border-top: 1px solid rgba(255,255,255,.2); color: var(--steel-on-dark); font-size: .68rem; letter-spacing: .04em; }
.site-footer__legal a { color: var(--mist); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.reveal { opacity: 1; transform: none; }
html.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
html.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
html.js-ready #referenzen .reveal { transform: translateY(24px); transition-duration: 480ms; }
html.js-ready #referenzen .reveal.is-visible { transform: translateY(0); }
html.js-ready .reveal[data-reveal-delay="1"] { transition-delay: 70ms; }
html.js-ready .reveal[data-reveal-delay="2"] { transition-delay: 140ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js-ready .reveal, html.js-ready .reveal.is-visible,
  html.js-ready #referenzen .reveal, html.js-ready #referenzen .reveal.is-visible { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  :root { --shell: calc(100vw - 64px); }
  .site-header__inner { min-height: 76px; }
  .site-nav { gap: 16px; font-size: .67rem; }
  .nav-cta { padding: 11px 12px; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 60px 88px; }
  .hero__copy { padding-left: 0; }
  .hero__media { justify-self: stretch; width: 100%; }
  .working-method__inner { grid-template-columns: 1fr 1.25fr; }
  .working-method__inner > .section-kicker { grid-column: 1 / -1; margin-bottom: -10px; }
  .system-stage { grid-template-columns: 1fr; gap: 48px; }
  .system-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .system-panel__index { grid-column: 1 / -1; margin-bottom: -6px; }
  .system-panel__body { padding-top: 0; }
  .service-band__inner { grid-template-columns: 24px 1fr 1fr; }
  .service-band__actions { grid-column: 2 / -1; flex-direction: row; align-items: center; }
  .reference-grid { gap: 20px; }
}

@media (min-width: 681px) and (max-width: 1024px) {
  .site-header__inner { gap: 16px; }
  .brand-link { width: 164px; }
  .header-project { margin-left: auto; white-space: nowrap; font-size: .72rem; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 18px 32px 24px; flex-direction: column; align-items: stretch; gap: 0; color: var(--white); background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.24); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 40px); }
  html.js-ready .reveal { transition-duration: 420ms; }
  html.js-ready #referenzen .reveal { transform: translateY(12px); transition-duration: 360ms; }
  html.js-ready #referenzen .reveal.is-visible { transform: translateY(0); }
  .prototype-strip { font-size: .65rem; }
  .prototype-strip__inner { min-height: 42px; line-height: 1.35; }
  .site-header__inner { min-height: 68px; gap: 10px; }
  .brand-link { width: 156px; }
  .header-project { min-height: 42px; margin-left: auto; padding: 9px 10px; gap: 7px; font-size: .61rem; letter-spacing: .04em; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 18px 20px 24px; flex-direction: column; align-items: stretch; gap: 0; color: var(--white); background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.24); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .site-nav .nav-cta { margin-top: 14px; padding: 14px 15px; border-color: rgba(255,255,255,.6); text-align: center; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.25rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.8rem); }
  .hero { padding-block: 48px 64px; }
  .hero__intro { margin-top: 24px; font-size: 1rem; }
  .action-row { margin-top: 28px; }
  .button { width: 100%; }
  .hero__location { margin-top: 34px; line-height: 1.4; }
  .hero__media figcaption, .reference-item figcaption { flex-direction: column; gap: 5px; }
  .working-method__inner, .section-heading--split, .company-section__grid, .contact-ending__inner { display: block; }
  .working-method__inner > .section-kicker { margin-bottom: 18px; }
  .method-list { margin-top: 32px; }
  .systems-section, .references-section { padding-block: 68px; }
  .section-heading__note { margin-top: 24px; }
  .system-stage { margin-top: 46px; gap: 50px; }
  .system-panel { display: block; padding-top: 14px; }
  .system-panel__index { margin-bottom: 14px; }
  .system-panel__body { padding-top: 20px; }
  .system-panel:not(.is-active) { opacity: 1; }
  .reference-grid { display: block; margin-top: 44px; }
  .reference-item, .reference-item--wide { width: min(100%, 620px); margin: 0 0 44px; }
  .button--standalone { margin-top: 0; }
  .service-band__inner { display: block; padding-block: 58px; }
  .service-band__marker { display: none; }
  .service-band__copy { margin-top: 26px; }
  .service-band__actions { display: flex; margin-top: 30px; }
  .company-section { padding-block: 72px; }
  .company-section h2 { font-size: 2rem; }
  .company-section__copy { margin-top: 28px; }
  .contact-ending__inner { padding-block: 62px; }
  .contact-ending__actions { margin-top: 34px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 42px 24px; padding-block: 58px 44px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__legal { flex-direction: column; gap: 10px; line-height: 1.45; }
}

@media (max-width: 360px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: auto; }
}

html:not(.js-ready) .menu-toggle { display: none; }
html:not(.js-ready) .site-header { position: static; }
html:not(.js-ready) .site-header__inner { flex-wrap: wrap; }
html:not(.js-ready) .site-nav {
  position: static;
  order: 4;
  display: flex;
  width: 100%;
  padding: 0 0 12px;
  flex-flow: row wrap;
  align-items: center;
  gap: 0 18px;
  background: transparent;
  border: 0;
}
html:not(.js-ready) .site-nav a { padding: 10px 0; border: 0; }
html:not(.js-ready) .media-frame video { display: none; }
html:not(.js-ready) .media-poster { display: block; }
html:not(.js-ready) .media-poster--hero { aspect-ratio: 1280 / 1080; object-position: 54% 52%; }
html:not(.js-ready) .system-panel__media .media-poster { aspect-ratio: 16 / 9; }

/* Service-family detail pages: the Metallbau route carries a visible 12-column construction grid. */
.family-page-body { background: var(--paper); }
.family-subpage-header { background: var(--mist); border-bottom: 1px solid var(--line); }
.family-subpage-header__inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.family-subpage-header .section-kicker { margin: 0; color: var(--blue-dark); }
.family-subpage-header__trail { margin: 0; color: var(--steel); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

.family-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(68px, 9vw, 126px) clamp(72px, 10vw, 138px); }
.family-hero__copy { padding-left: clamp(0px, 3vw, 52px); }
.family-hero__copy h1 { max-width: 680px; font-size: clamp(3rem, 5vw, 5.35rem); }
.family-hero__intro { max-width: 570px; margin: 30px 0 0; color: var(--steel); font-size: clamp(1.03rem, 1.45vw, 1.27rem); line-height: 1.52; }
.family-hero__location { display: flex; align-items: center; gap: 11px; margin: 46px 0 0; color: var(--steel); font-size: .78rem; letter-spacing: .04em; }
.family-hero__media { width: min(100%, 700px); justify-self: end; margin: 0; }
.family-hero__media img { width: min(100%, 700px); height: auto; object-fit: contain; }
.family-hero__media figcaption, .family-reference figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; color: var(--steel); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.family-hero__media figcaption span, .family-reference figcaption span { min-width: 0; overflow-wrap: anywhere; }
.family-hero__media figcaption span:first-child, .family-reference figcaption span:first-child { flex: 0 0 auto; white-space: nowrap; overflow-wrap: normal; }
.family-hero__media figcaption { color: var(--steel-on-dark); }

.family-profile { height: 18px; overflow: hidden; }
.family-profile__line { display: block; width: 100%; height: 2px; transform: scaleX(1); transform-origin: left center; background: var(--graphite); }
.family--metallbau .family-profile__line { background: var(--blue); }
.family--glasbau .family-profile__line { background: var(--blue); }
.family--tortechnik .family-profile__line { background: var(--blue); }
.js-ready .family-profile__line { transform: scaleX(.2); transition: transform 520ms var(--ease); }
.js-ready .family-profile__line.is-built { transform: scaleX(1); }

.family-scope { padding-block: clamp(72px, 10vw, 132px); background: var(--white); border-block: 1px solid var(--line); }
.family-scope__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.family-section-intro { grid-column: 1 / span 5; padding-right: clamp(0px, 3vw, 52px); }
.family-section-intro h2, .family-signals h2, .family-references h2, .family-related h2, .family-contact h2 { font-size: clamp(2.35rem, 4.2vw, 4.85rem); }
.family-section-intro > p:last-child { max-width: 430px; margin: 28px 0 0; color: var(--steel); line-height: 1.55; }
.family-scope__list { grid-column: 7 / -1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.family-scope__list li { min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 16px 16px 18px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.family-scope__list li:nth-child(3n) { padding-left: 16px; border-right: 0; }
.family-scope__list li:nth-child(3n + 2) { padding-left: 16px; }
.family-scope__list span, .family-signals__list span, .family-related__index { color: var(--blue-dark); font-size: .7rem; letter-spacing: .1em; font-weight: 700; }
.family-scope__list strong { min-width: 0; max-width: 190px; font-size: .98rem; line-height: 1.18; overflow-wrap: normal; word-break: normal; hyphens: none; }

.family-signals { padding-block: clamp(72px, 10vw, 132px); background: var(--mist); border-bottom: 1px solid var(--line); }
.family-signals__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.family-signals__grid > div { grid-column: 1 / span 6; }
.family-signals__list { grid-column: 8 / -1; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.family-signals__list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); }
.family-signals__list strong { font-size: 1rem; }

.family-references { padding-block: clamp(76px, 11vw, 146px); background: var(--white); border-bottom: 1px solid var(--line); }
.family-references__heading { display: grid; grid-template-columns: 7fr 5fr; gap: 42px; align-items: end; }
.family-references__heading > p { max-width: 450px; margin: 0 0 4px; color: var(--steel); line-height: 1.55; }
.family-reference-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) 24px; align-items: start; margin-top: clamp(52px, 7vw, 92px); }
.family-reference { min-width: 0; margin: 0; }
.family-reference__media { width: 100%; }
.family-reference__media img { width: 100%; height: auto; object-fit: contain; }
.family-reference--hero { grid-column: 1 / span 4; }
.family-reference--wide { grid-column: 5 / span 4; margin-top: clamp(28px, 5vw, 72px); }
.family-reference--offset { grid-column: 9 / span 4; }
.family-reference--detail { grid-column: span 3; }
.family-reference:nth-child(4) { grid-column: 2 / span 3; }
.family-reference:nth-child(5) { grid-column: 5 / span 3; }
.family-reference:nth-child(6) { grid-column: 8 / span 3; }
.family-reference:nth-child(7) { grid-column: 10 / span 3; margin-top: clamp(28px, 4vw, 62px); }

.family-related { padding-block: clamp(72px, 10vw, 128px); background: var(--paper); }
.family-related__heading { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; }
.family-related__heading .section-kicker { grid-column: 1 / -1; margin-bottom: -12px; }
.family-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 54px; }
.family-related__link { display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 18px; align-items: start; min-height: 126px; padding: 20px 0; color: var(--graphite); border-top: 2px solid var(--graphite); text-decoration: none; }
.family-related__link:hover, .family-related__link:focus-visible { color: var(--blue-dark); border-color: var(--blue); }
.family-related__link strong, .family-related__link small { display: block; }
.family-related__link strong { font-size: 1.45rem; }
.family-related__link small { margin-top: 10px; color: var(--steel); font-size: .86rem; line-height: 1.4; }

.family-contact { color: var(--white); background: var(--blue-dark); }
.family-contact__inner { min-height: 330px; display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; padding-block: clamp(60px, 8vw, 104px); }
.family-contact__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.button--on-dark { background: var(--white); color: var(--graphite); }
.button--on-dark:hover, .button--on-dark:focus-visible { background: var(--mist); }

@media (max-width: 1024px) {
  .family-hero { grid-template-columns: 1fr; gap: 44px; padding-block: 60px 88px; }
  .family-hero__copy { padding-left: 0; }
  .family-hero__media { justify-self: stretch; width: min(100%, 700px); }
  .family-scope__grid, .family-signals__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .family-section-intro { grid-column: 1 / span 3; }
  .family-scope__list { grid-column: 4 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-scope__list li { min-width: 0; }
  .family-scope__list li, .family-scope__list li:nth-child(3n), .family-scope__list li:nth-child(3n + 2) { padding-left: 0; padding-right: 16px; border-right: 1px solid var(--line); }
  .family-scope__list li:nth-child(2n) { padding-left: 16px; padding-right: 0; border-right: 0; }
  .family-signals__grid > div { grid-column: 1 / span 4; }
  .family-signals__list { grid-column: 5 / -1; }
  .family-reference-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .family-reference--hero { grid-column: 1 / span 4; }
  .family-reference--wide { grid-column: 5 / span 4; }
  .family-reference--offset { grid-column: 1 / span 4; }
  .family-reference--detail, .family-reference:nth-child(4), .family-reference:nth-child(5), .family-reference:nth-child(6), .family-reference:nth-child(7) { grid-column: span 4; margin-top: 0; }
  .family-reference:nth-child(4), .family-reference:nth-child(6) { grid-column: 1 / span 4; }
  .family-reference:nth-child(5), .family-reference:nth-child(7) { grid-column: 5 / span 4; }
}

@media (max-width: 680px) {
  .family-subpage-header__inner { min-height: 52px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .family-subpage-header__trail { font-size: .66rem; }
  .family-hero { padding-block: 48px 66px; }
  .family-hero__copy h1 { font-size: clamp(2.8rem, 12.3vw, 4.25rem); }
  .family-hero__intro { margin-top: 24px; font-size: 1rem; }
  .family-hero__location { margin-top: 34px; line-height: 1.4; }
  .family-hero__media figcaption, .family-reference figcaption { flex-direction: column; gap: 5px; }
  .family-scope, .family-signals, .family-references, .family-related { padding-block: 68px; }
  .family-scope__grid, .family-signals__grid, .family-references__heading, .family-related__heading, .family-contact__inner { display: block; }
  .family-related__heading .section-kicker { margin-bottom: 18px; }
  .family-section-intro { padding-right: 0; }
  .family-section-intro > p:last-child { margin-top: 24px; }
  .family-scope__list { display: block; margin-top: 38px; }
  .family-scope__list li, .family-scope__list li:nth-child(3n), .family-scope__list li:nth-child(3n + 2) { min-height: 74px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 10px; padding: 14px 0; border-right: 0; }
  .family-scope__list strong { max-width: none; }
  .family-signals__list { margin-top: 38px; }
  .family-signals__list li { min-height: 62px; }
  .family-references__heading > p { margin-top: 24px; }
  .family-reference-grid { display: block; margin-top: 46px; }
  .family-reference, .family-reference--wide, .family-reference--offset, .family-reference:nth-child(4), .family-reference:nth-child(5), .family-reference:nth-child(6), .family-reference:nth-child(7) { width: min(100%, 620px); margin: 0 0 46px; }
  .family-reference:last-child { margin-bottom: 0; }
  .family-related__grid { display: block; margin-top: 42px; }
  .family-related__link { min-height: 104px; margin-bottom: 22px; }
  .family-contact__inner { padding-block: 62px; }
  .family-contact__actions { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .family-profile__line { transform: scaleX(1); transition-duration: .001ms; }
}

/* Glasbau detail route: transparency is revealed by a restrained image mask, never by a translucent card effect. */
.family--glasbau .family-hero {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  padding-block: clamp(82px, 11vw, 154px) clamp(88px, 12vw, 166px);
}
.family--glasbau .family-hero__copy { padding-left: clamp(0px, 2vw, 34px); }
.family--glasbau .family-hero__copy h1 { max-width: 620px; }
.family--glasbau .family-hero__intro { max-width: 600px; }
.family--glasbau .family-hero__media { max-width: 700px; }
.family--glasbau .family-hero__media::before {
  content: "GLAS / 02";
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(23,26,29,.88);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.family--glasbau .family-hero__media img[data-glass-reveal],
.family--glasbau .family-reference__media img[data-glass-reveal] {
  clip-path: inset(0);
}
html.js-ready .family--glasbau .family-hero__media img[data-glass-reveal],
html.js-ready .family--glasbau .family-reference__media img[data-glass-reveal] {
  clip-path: inset(0 0 0 8%);
  transition: clip-path 600ms var(--ease);
}
html.js-ready .family--glasbau img[data-glass-reveal].is-visible { clip-path: inset(0); }

.family--glasbau .family-scope { background: var(--paper); }
.family--glasbau .family-scope__grid {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 7vw, 112px);
}
.family--glasbau .family-section-intro { grid-column: 1; padding-right: 0; }
.family--glasbau .family-scope__list {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--line);
}
.family--glasbau .family-scope__list li,
.family--glasbau .family-scope__list li:nth-child(3n),
.family--glasbau .family-scope__list li:nth-child(3n + 2) {
  min-height: 104px;
  padding: 15px 0 18px;
  border-right: 0;
}
.family--glasbau .family-scope__list li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
.family--glasbau .family-scope__list strong { max-width: 220px; }
.family--glasbau .family-signals { background: var(--white); }
.family--glasbau .family-signals__grid { align-items: start; }
.family--glasbau .family-signals__list { border-top-color: rgba(23,26,29,.28); }
.family--glasbau .family-references { background: var(--paper); }
.family--glasbau .family-reference-grid { column-gap: clamp(24px, 4vw, 64px); }
.family--glasbau .family-reference--hero { grid-column: 1 / span 5; }
.family--glasbau .family-reference--wide { grid-column: 7 / span 3; margin-top: clamp(44px, 8vw, 116px); }
.family--glasbau .family-reference--offset { grid-column: 10 / span 3; margin-top: 0; }
.family--glasbau .family-reference--detail { grid-column: span 3; }
.family--glasbau .family-reference:nth-child(4) { grid-column: 2 / span 3; }
.family--glasbau .family-reference:nth-child(5) { grid-column: 5 / span 3; margin-top: clamp(36px, 6vw, 82px); }
.family--glasbau .family-reference:nth-child(6) { grid-column: 8 / span 3; }
.family--glasbau .family-reference:nth-child(7) { grid-column: 10 / span 3; margin-top: clamp(36px, 6vw, 82px); }

@media (max-width: 1024px) {
  .family--glasbau .family-hero { grid-template-columns: 1fr; gap: 52px; padding-block: 70px 98px; }
  .family--glasbau .family-hero__media { justify-self: end; }
  .family--glasbau .family-scope__grid, .family--glasbau .family-signals__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
  .family--glasbau .family-section-intro { grid-column: 1 / span 3; }
  .family--glasbau .family-scope__list { grid-column: 4 / -1; }
  .family--glasbau .family-scope__list li:nth-child(2n) { padding-left: 16px; }
  .family--glasbau .family-reference-grid { column-gap: 20px; }
  .family--glasbau .family-reference--wide { grid-column: 6 / span 3; margin-top: 44px; }
  .family--glasbau .family-reference--offset { grid-column: 1 / span 4; margin-top: 0; }
  .family--glasbau .family-reference--detail,
  .family--glasbau .family-reference:nth-child(4),
  .family--glasbau .family-reference:nth-child(5),
  .family--glasbau .family-reference:nth-child(6),
  .family--glasbau .family-reference:nth-child(7) { grid-column: span 4; margin-top: 0; }
}

@media (max-width: 680px) {
  .family--glasbau .family-hero { padding-block: 54px 74px; }
  .family--glasbau .family-hero__media { width: min(100%, 700px); }
  html.js-ready .family--glasbau .family-hero__media img[data-glass-reveal],
  html.js-ready .family--glasbau .family-reference__media img[data-glass-reveal] { transition-duration: 420ms; }
  .family--glasbau .family-scope__grid, .family--glasbau .family-signals__grid { display: block; }
  .family--glasbau .family-scope__list { display: block; margin-top: 42px; }
  .family--glasbau .family-scope__list li,
  .family--glasbau .family-scope__list li:nth-child(3n),
  .family--glasbau .family-scope__list li:nth-child(3n + 2),
  .family--glasbau .family-scope__list li:nth-child(2n) {
    min-height: 74px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .family--glasbau .family-scope__list strong { max-width: none; }
  .family--glasbau .family-reference-grid { display: block; }
  .family--glasbau .family-reference,
  .family--glasbau .family-reference--wide,
  .family--glasbau .family-reference--offset,
  .family--glasbau .family-reference:nth-child(4),
  .family--glasbau .family-reference:nth-child(5),
  .family--glasbau .family-reference:nth-child(6),
  .family--glasbau .family-reference:nth-child(7) { width: min(100%, 620px); margin: 0 0 48px; }
  .family--glasbau .family-reference:last-child { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-ready .family--glasbau img[data-glass-reveal] {
    clip-path: inset(0);
    transition-duration: .001ms;
  }
}

/* Tortechnik detail route: a vertical opening sequence keeps the technical list and service link in view. */
.family--tortechnik .family-hero {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 92px);
  padding-block: clamp(76px, 10vw, 138px) clamp(82px, 11vw, 150px);
}
.family--tortechnik .family-hero__copy { padding-left: clamp(0px, 2vw, 34px); }
.family--tortechnik .family-hero__copy h1 { max-width: 660px; }
.family--tortechnik .family-hero__intro { max-width: 620px; }
.family--tortechnik .family-hero__media { max-width: 700px; }
.family--tortechnik .family-hero__media::before {
  content: "TOR / 03";
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(23,26,29,.88);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.family--tortechnik .family-hero__media img { object-position: center 48%; }

.family--tortechnik .family-scope { background: var(--mist); }
.family--tortechnik .family-scope__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.family--tortechnik .family-section-intro { grid-column: 1; padding-right: 0; }
.family--tortechnik .family-scope__list {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  border-top-color: rgba(23,26,29,.3);
}
.family--tortechnik .family-scope__list li,
.family--tortechnik .family-scope__list li:nth-child(3n),
.family--tortechnik .family-scope__list li:nth-child(3n + 2) {
  min-height: 104px;
  padding: 15px 0 18px;
  border-right: 0;
}
.family--tortechnik .family-scope__list li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
.family--tortechnik .family-scope__list strong { max-width: 220px; }

.family--tortechnik .family-signals { background: var(--paper); }
.family--tortechnik .family-signals__grid { align-items: start; }
.family--tortechnik .family-signals__lead {
  max-width: 430px;
  margin: 26px 0 0;
  color: var(--steel);
  line-height: 1.55;
}
.family--tortechnik .family-signals__list { border-top-color: rgba(23,26,29,.28); }

.tor-service { color: var(--white); background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.16); }
.tor-service__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(72px, 10vw, 132px);
}
.tor-service h2 { max-width: 560px; font-size: clamp(2.35rem, 4.2vw, 4.85rem); }
.tor-service .section-kicker { color: var(--mist); }
.tor-service__copy { max-width: 620px; }
.tor-service__copy > p { margin: 0; color: var(--mist); line-height: 1.55; }
.tor-service__tasks { margin: 28px 0 30px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.24); }
.tor-service__tasks li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.24); color: var(--mist); font-size: .92rem; line-height: 1.45; }
.tor-service .text-link { color: var(--white); }
.tor-service .text-link:hover, .tor-service .text-link:focus-visible { color: var(--mist); }

.family--tortechnik .family-references { background: var(--white); }
.family--tortechnik .family-reference-grid {
  position: relative;
  column-gap: clamp(24px, 4vw, 64px);
}
.family--tortechnik .family-reference-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
}
.family--tortechnik .family-reference {
  position: relative;
  z-index: 1;
  background: var(--white);
}
.family--tortechnik .family-reference::before {
  content: attr(data-sequence);
  position: absolute;
  z-index: 2;
  top: -11px;
  left: 0;
  min-width: 36px;
  padding: 5px 8px;
  color: var(--blue-dark);
  background: var(--white);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.family--tortechnik .family-reference--hero { grid-column: 1 / span 5; }
.family--tortechnik .family-reference--wide { grid-column: 8 / span 4; margin-top: clamp(56px, 8vw, 122px); }
.family--tortechnik .family-reference--offset { grid-column: 2 / span 4; margin-top: clamp(18px, 3vw, 44px); }
.family--tortechnik .family-reference--detail { grid-column: span 4; }
.family--tortechnik .family-reference:nth-child(4) { grid-column: 7 / span 4; margin-top: clamp(42px, 6vw, 88px); }
.family--tortechnik .family-reference:nth-child(5) { grid-column: 1 / span 4; margin-top: clamp(20px, 3vw, 44px); }
.family--tortechnik .family-reference:nth-child(6) { grid-column: 8 / span 4; margin-top: clamp(42px, 6vw, 88px); }
.family--tortechnik .family-reference:nth-child(7) { grid-column: 3 / span 4; margin-top: clamp(20px, 3vw, 44px); }
.family--tortechnik .family-reference:nth-child(8) { grid-column: 7 / span 4; margin-top: clamp(42px, 6vw, 88px); }

.family--tortechnik [data-tor-reveal] { transform: translateY(0); }
html.js-ready .family--tortechnik [data-tor-reveal] {
  transform: translateY(8%);
  transition: transform 560ms var(--ease);
}
html.js-ready .family--tortechnik [data-tor-reveal].is-visible { transform: translateY(0); }

@media (max-width: 1024px) {
  .family--tortechnik .family-hero { grid-template-columns: 1fr; gap: 52px; padding-block: 70px 98px; }
  .family--tortechnik .family-hero__media { justify-self: end; }
  .family--tortechnik .family-scope__grid,
  .family--tortechnik .family-signals__grid,
  .tor-service__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
  .family--tortechnik .family-section-intro,
  .tor-service__grid > :first-child { grid-column: 1 / span 3; }
  .family--tortechnik .family-scope__list,
  .tor-service__copy { grid-column: 4 / -1; }
  .family--tortechnik .family-scope__list li:nth-child(2n) { padding-left: 16px; }
  .family--tortechnik .family-reference-grid { column-gap: 20px; }
  .family--tortechnik .family-reference--hero { grid-column: 1 / span 4; }
  .family--tortechnik .family-reference--wide { grid-column: 5 / span 4; margin-top: 44px; }
  .family--tortechnik .family-reference--offset { grid-column: 1 / span 4; margin-top: 0; }
  .family--tortechnik .family-reference--detail,
  .family--tortechnik .family-reference:nth-child(4),
  .family--tortechnik .family-reference:nth-child(5),
  .family--tortechnik .family-reference:nth-child(6),
  .family--tortechnik .family-reference:nth-child(7),
  .family--tortechnik .family-reference:nth-child(8) { grid-column: span 4; margin-top: 0; }
  .family--tortechnik .family-reference:nth-child(4),
  .family--tortechnik .family-reference:nth-child(6),
  .family--tortechnik .family-reference:nth-child(8) { grid-column: 5 / span 4; }
}

@media (max-width: 680px) {
  .family--tortechnik .family-hero { padding-block: 54px 74px; }
  .family--tortechnik .family-scope__grid,
  .family--tortechnik .family-signals__grid,
  .tor-service__grid { display: block; }
  .family--tortechnik .family-scope__list { display: block; margin-top: 42px; }
  .family--tortechnik .family-scope__list li,
  .family--tortechnik .family-scope__list li:nth-child(3n),
  .family--tortechnik .family-scope__list li:nth-child(3n + 2),
  .family--tortechnik .family-scope__list li:nth-child(2n) {
    min-height: 74px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .family--tortechnik .family-scope__list strong { max-width: none; }
  .tor-service__copy { margin-top: 36px; }
  .family--tortechnik .family-reference-grid { display: block; }
  .family--tortechnik .family-reference-grid::before { display: none; }
  .family--tortechnik .family-reference,
  .family--tortechnik .family-reference--wide,
  .family--tortechnik .family-reference--offset,
  .family--tortechnik .family-reference:nth-child(4),
  .family--tortechnik .family-reference:nth-child(5),
  .family--tortechnik .family-reference:nth-child(6),
  .family--tortechnik .family-reference:nth-child(7),
  .family--tortechnik .family-reference:nth-child(8) { width: min(100%, 620px); margin: 0 0 48px; }
  .family--tortechnik .family-reference:last-child { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-ready .family--tortechnik [data-tor-reveal] {
    transform: translateY(0);
    transition-duration: .001ms;
  }
}

/* Service route: urgency is a clear line and phone path, not an alarm colour or dashboard. */
.service-page { background: var(--paper); }
.service-hero { color: var(--white); background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.18); }
.service-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-block: clamp(52px, 7vw, 96px) clamp(56px, 7vw, 100px); }
.service-hero__copy { grid-column: 1 / span 7; min-width: 0; }
.service-hero .eyebrow--light { color: var(--mist); }
.service-hero h1 { max-width: 760px; color: var(--white); font-size: clamp(3rem, 6.2vw, 6.6rem); }
.service-hero__intro { max-width: 650px; margin: 30px 0 0; color: var(--mist); font-size: clamp(1.04rem, 1.45vw, 1.28rem); line-height: 1.5; }
.service-hero__rule { margin-top: clamp(38px, 5vw, 64px); }
.service-line { display: block; width: 100%; height: 2px; transform: scaleX(1); transform-origin: left center; background: var(--blue); }
html.js-ready .service-line { transform: scaleX(.15); transition: transform 420ms var(--ease); }
html.js-ready .service-line.is-built { transform: scaleX(1); }
.service-hero .action-row { margin-top: 26px; }
.service-hero .button--primary { background: var(--blue); }
.service-hero__contact { grid-column: 9 / -1; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; min-width: 0; padding: 22px 0 4px 24px; border-left: 1px solid rgba(255,255,255,.28); }
.service-hero__contact .section-kicker { margin-bottom: 6px; }
.service-hero__phone { color: var(--white); font-size: clamp(1.7rem, 2.8vw, 3rem); font-weight: 700; letter-spacing: -.04em; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.service-hero__phone:hover, .service-hero__phone:focus-visible { color: var(--mist); }
.service-hero__availability, .service-hero__scope { margin: 0; color: var(--mist); font-size: .86rem; line-height: 1.4; }
.service-hero__scope { color: var(--steel-on-dark); }

.service-intro { background: var(--white); border-bottom: 1px solid var(--line); }
.service-intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: clamp(68px, 9vw, 124px); }
.service-intro__grid > :first-child { grid-column: 1 / span 5; }
.service-intro h2, .service-section-heading h2, .service-options h2, .service-locations h2, .service-form-section h2 { font-size: clamp(2.35rem, 4vw, 4.8rem); }
.service-intro__copy { grid-column: 7 / -1; max-width: 620px; }
.service-intro__copy p { margin: 0 0 24px; color: var(--steel); line-height: 1.58; }
.service-intro__copy p:last-of-type { margin-bottom: 26px; }
.service-intro__source { color: var(--graphite); font-weight: 700; }

.service-tasks { padding-block: clamp(72px, 10vw, 138px); background: var(--paper); border-bottom: 1px solid var(--line); }
.service-section-heading { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.service-section-heading > :first-child { grid-column: 1 / span 5; }
.service-section-heading > p { grid-column: 7 / -1; max-width: 540px; margin: 0 0 4px; color: var(--steel); line-height: 1.55; }
.service-task-list { width: min(100%, 900px); margin: clamp(48px, 7vw, 88px) 0 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-task-list li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 76px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.service-task-list__index { color: var(--blue-dark); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.service-task-list strong { font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.3; }

.service-options { padding-block: clamp(72px, 10vw, 132px); background: var(--mist); border-bottom: 1px solid var(--line); }
.service-options__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.service-options__grid > :first-child { grid-column: 1 / span 5; }
.service-options__lead { max-width: 470px; margin: 26px 0 0; color: var(--steel); line-height: 1.55; }
.service-options__list { grid-column: 7 / -1; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-options__list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 68px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.service-options__list span { color: var(--blue-dark); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.service-options__list strong { line-height: 1.35; }

.service-locations { padding-block: clamp(72px, 10vw, 132px); background: var(--white); border-bottom: 1px solid var(--line); }
.service-section-heading--locations > :first-child { grid-column: 1 / span 6; }
.service-section-heading--locations > p { grid-column: 8 / -1; }
.service-location-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 84px); }
.service-location { min-width: 0; padding-top: 16px; border-top: 2px solid var(--graphite); }
.service-location--hq { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; line-height: 1.45; }
.service-location--points { grid-column: 7 / -1; }
.service-location__label { margin-bottom: 12px; color: var(--blue-dark); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-location--hq strong { font-size: 1.3rem; }
.service-location--hq a { margin-top: 12px; text-underline-offset: 4px; }
.service-location--hq a:hover, .service-location--hq a:focus-visible { color: var(--blue-dark); }
.service-location--points ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-location--points li { min-height: 58px; display: flex; align-items: center; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.service-location--points li:nth-child(3n) { padding-left: 14px; border-right: 0; }
.service-location--points li:nth-child(3n + 2) { padding-left: 14px; }
.service-location--points::after { content: "Öffentlich genannte Orte · keine Reaktions- oder Niederlassungsgarantie"; display: block; margin-top: 18px; color: var(--steel); font-size: .82rem; line-height: 1.45; }

.service-form-section { padding-block: clamp(72px, 10vw, 132px); background: var(--mist); }
.service-form-section__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.service-form-section__copy { grid-column: 1 / span 4; }
.service-form-section__copy > p:not(.section-kicker) { max-width: 430px; margin: 26px 0 0; color: var(--steel); line-height: 1.55; }
.service-form-section__contact a { color: var(--graphite); text-underline-offset: 4px; }
.service-form-section__contact a:hover, .service-form-section__contact a:focus-visible { color: var(--blue-dark); }
.service-form { grid-column: 6 / -1; padding: clamp(24px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); }
.service-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.service-form__field { min-width: 0; }
.service-form__field--full { grid-column: 1 / -1; }
.service-form label { display: block; margin-bottom: 8px; color: var(--graphite); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.service-form input, .service-form textarea { width: 100%; min-height: 48px; padding: 12px 13px; color: var(--graphite); background: var(--paper); border: 1px solid rgba(23,26,29,.42); border-radius: 0; font: inherit; font-size: .95rem; }
.service-form textarea { min-height: 132px; resize: vertical; }
.service-form input:focus, .service-form textarea:focus { border-color: var(--blue-dark); outline: 3px solid rgba(0,114,185,.2); outline-offset: 2px; }
.service-form input[aria-invalid="true"], .service-form textarea[aria-invalid="true"] { border-color: var(--blue-dark); }
.service-form__error { display: block; min-height: 18px; margin-top: 5px; color: var(--blue-dark); font-size: .78rem; line-height: 1.35; }
.service-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.service-form__actions .button { cursor: pointer; }
.service-form__status { flex: 1 1 180px; margin: 0; color: var(--graphite); font-size: .86rem; font-weight: 700; }
.service-form__note { flex-basis: 100%; margin: -3px 0 0; color: var(--steel); font-size: .75rem; }

@media (max-width: 1024px) {
  .service-hero__grid, .service-intro__grid, .service-section-heading, .service-options__grid, .service-location-grid, .service-form-section__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .service-hero__copy { grid-column: 1 / -1; }
  .service-hero__contact { grid-column: 1 / -1; min-height: 0; margin-top: 26px; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
  .service-intro__grid > :first-child, .service-options__grid > :first-child { grid-column: 1 / span 3; }
  .service-intro__copy, .service-options__list { grid-column: 4 / -1; }
  .service-section-heading > :first-child { grid-column: 1 / span 3; }
  .service-section-heading > p { grid-column: 4 / -1; }
  .service-tasks .service-section-heading { display: block; }
  .service-tasks .service-section-heading > p { max-width: 540px; margin-top: 24px; }
  .service-section-heading--locations > :first-child { grid-column: 1 / span 4; }
  .service-section-heading--locations > p { grid-column: 6 / -1; }
  .service-location--hq { grid-column: 1 / span 4; }
  .service-location--points { grid-column: 5 / -1; }
  .service-form-section__copy { grid-column: 1 / span 3; }
  .service-form { grid-column: 4 / -1; }
  .service-form-section__grid { display: block; }
  .service-form-section__copy { max-width: 620px; }
  .service-form { margin-top: 40px; }
}

@media (max-width: 680px) {
  .service-hero__grid, .service-intro__grid, .service-section-heading, .service-options__grid, .service-location-grid, .service-form-section__grid { display: block; }
  .service-hero__grid { padding-block: 48px 60px; }
  .service-hero h1 { font-size: clamp(2.85rem, 13vw, 4.2rem); }
  .service-hero__intro { margin-top: 24px; font-size: 1rem; }
  .service-hero__rule { margin-top: 38px; }
  html.js-ready .service-line { transform: scaleX(.45); transition-duration: 300ms; }
  .service-hero .action-row { margin-top: 24px; }
  .service-hero .action-row .text-link { min-height: 44px; }
  .service-hero__contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin-top: 34px; padding-top: 20px; }
  .service-hero__contact .section-kicker { grid-column: 1 / -1; }
  .service-hero__phone { grid-column: 1 / -1; font-size: 2rem; }
  .service-hero__availability, .service-hero__scope { align-self: start; }
  .service-intro, .service-tasks, .service-options, .service-locations, .service-form-section { padding-block: 68px; }
  .service-intro__copy, .service-options__list, .service-form { margin-top: 34px; }
  .service-section-heading > p, .service-section-heading--locations > p { margin-top: 22px; }
  .service-task-list { margin-top: 42px; }
  .service-task-list li { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; min-height: 74px; }
  .service-task-list strong { font-size: 1rem; }
  .service-options__lead { margin-top: 24px; }
  .service-location--hq, .service-location--points { margin-top: 38px; }
  .service-location--hq { margin-top: 42px; }
  .service-location--points ul { display: flex; flex-direction: column; }
  .service-location--points li, .service-location--points li:nth-child(3n), .service-location--points li:nth-child(3n + 2) { min-height: 52px; padding: 12px 0; border-right: 0; }
  .service-form-section__copy > p:not(.section-kicker) { margin-top: 24px; }
  .service-form { padding: 22px 18px; }
  .service-form__fields { display: block; }
  .service-form__field { margin-bottom: 18px; }
  .service-form__field:last-child { margin-bottom: 0; }
  .service-form__actions { display: block; }
  .service-form__actions .button { width: 100%; }
  .service-form__status { margin-top: 18px; }
  .service-form__note { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-ready .service-line { transform: scaleX(1); transition-duration: .001ms; }
}

/* Referenzen: scoped archive composition and filter states. */
.archive-page { background: var(--paper); }
.archive-hero { color: var(--white); background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.18); }
.archive-hero__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-block: clamp(64px, 9vw, 128px) clamp(72px, 10vw, 142px); }
.archive-hero__copy { grid-column: 1 / span 7; }
.archive-hero h1 { max-width: 760px; }
.archive-hero__intro { max-width: 620px; margin: 30px 0 0; color: var(--mist); font-size: clamp(1.02rem, 1.5vw, 1.28rem); line-height: 1.5; }
.archive-hero__location { display: flex; align-items: center; gap: 11px; margin: 48px 0 0; color: var(--steel-on-dark); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.archive-hero .rule-mark { background: var(--blue); }
.archive-hero__aside { grid-column: 9 / -1; padding-left: clamp(0px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.24); }
.archive-hero__aside-label { margin: 0 0 20px; color: var(--mist); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; }
.archive-stats { display: grid; gap: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.22); }
.archive-stats div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.archive-stats dt { color: var(--white); font-size: 2rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.archive-stats dd { margin: 0; color: var(--steel-on-dark); font-size: .78rem; line-height: 1.35; }
.archive-hero__aside-note { margin: 20px 0 0; color: var(--steel-on-dark); font-size: .72rem; line-height: 1.5; }

.archive-controls { background: var(--white); border-bottom: 1px solid var(--line); }
.archive-controls__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 28px 48px; align-items: end; padding-block: clamp(46px, 6vw, 76px); }
.archive-controls__heading h2 { max-width: 580px; font-size: clamp(2.1rem, 3.8vw, 4.3rem); }
.archive-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: flex-end; }
.archive-filter { min-height: 48px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 15px; color: var(--graphite); background: transparent; border: 1px solid rgba(23,26,29,.42); cursor: pointer; font: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.archive-filter span { color: var(--steel); font-size: .68rem; }
.archive-filter:hover, .archive-filter:focus-visible { color: var(--white); background: var(--graphite); border-color: var(--graphite); }
.archive-filter:hover span, .archive-filter:focus-visible span { color: var(--mist); }
.archive-filter[aria-pressed="true"], .archive-filter.is-active { color: var(--white); background: var(--blue); border-color: var(--blue); }
.archive-filter[aria-pressed="true"] span, .archive-filter.is-active span { color: var(--white); }
.archive-filter-fallback { display: none; grid-column: 1 / -1; margin: 0; color: var(--steel); font-size: .84rem; line-height: 1.5; }
.archive-filter-summary { grid-column: 1 / -1; margin: 0; color: var(--steel); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
html:not(.js-ready) .archive-filters { display: none; }
html:not(.js-ready) .archive-filter-fallback { display: block; }

.archive-category { padding-block: clamp(76px, 10vw, 144px); border-bottom: 1px solid var(--line); }
.archive-category[data-archive-group="glasbau"] { background: var(--white); }
.archive-category__heading { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px 24px; align-items: end; padding-bottom: clamp(42px, 6vw, 78px); }
.archive-category__heading .section-kicker { grid-column: 1 / span 4; grid-row: 1; margin: 0; }
.archive-category__heading h2 { grid-column: 1 / span 7; grid-row: 2; }
.archive-category__heading > p:last-child { grid-column: 9 / -1; grid-row: 2; max-width: 420px; margin: 0 0 5px; color: var(--steel); line-height: 1.55; }
.archive-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(30px, 4vw, 62px) 24px; align-items: start; }
.archive-item { min-width: 0; margin: 0; opacity: 1; transform: translateY(0); transition: opacity 240ms var(--ease), transform 240ms var(--ease); }
.archive-item.is-filtering { opacity: .35; transform: translateY(8px); }
.archive-item--wide { grid-column: span 7; }
.archive-item--standard { grid-column: span 5; }
.archive-item--detail { grid-column: span 4; }
.archive-item--offset { margin-top: clamp(22px, 4vw, 66px); }
.archive-item__media { width: 100%; background: var(--mist); }
.archive-item__media img { width: 100%; max-width: var(--archive-max-width); height: auto; object-fit: contain; }
.archive-item figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; color: var(--steel); font-size: .68rem; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.archive-item figcaption span:first-child { min-width: 0; overflow-wrap: anywhere; }
.archive-item figcaption span:last-child { flex: 0 0 auto; white-space: nowrap; color: var(--blue-dark); }
.archive-item[hidden], .archive-category[hidden] { display: none; }

.archive-contact { color: var(--white); background: var(--blue-dark); }
.archive-contact__inner { min-height: 350px; display: grid; grid-template-columns: 7fr 5fr; gap: 42px; align-items: center; padding-block: clamp(64px, 8vw, 108px); }
.archive-contact h2 { max-width: 720px; }
.archive-contact__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.archive-contact__actions p { max-width: 390px; margin: 0; color: var(--mist); line-height: 1.55; font-size: .92rem; }
.archive-contact .text-link--light { color: var(--white); }

@media (max-width: 1024px) {
  .archive-hero__inner, .archive-category__heading { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .archive-hero__copy { grid-column: 1 / span 5; }
  .archive-hero__aside { grid-column: 6 / -1; }
  .archive-controls__inner { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
  .archive-controls__heading { grid-column: 1 / span 3; }
  .archive-filters { grid-column: 4 / -1; justify-content: flex-start; }
  .archive-category__heading .section-kicker { grid-column: 1 / span 3; }
  .archive-category__heading h2 { grid-column: 1 / span 5; }
  .archive-category__heading > p:last-child { grid-column: 6 / -1; }
  .archive-item--wide { grid-column: span 5; }
  .archive-item--standard { grid-column: span 4; }
  .archive-item--detail { grid-column: span 3; }
  .archive-item figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .archive-item figcaption span:first-child { overflow-wrap: normal; word-break: normal; hyphens: none; }
  .archive-contact__inner { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .archive-contact__inner > :first-child { grid-column: 1 / span 5; }
  .archive-contact__actions { grid-column: 6 / -1; }
}

@media (max-width: 680px) {
  .archive-hero__inner, .archive-controls__inner, .archive-category__heading, .archive-contact__inner { display: block; }
  .archive-hero__inner { padding-block: 52px 66px; }
  .archive-hero h1 { font-size: clamp(2.85rem, 13vw, 4.2rem); }
  .archive-hero__intro { margin-top: 24px; font-size: 1rem; }
  .archive-hero__location { margin-top: 36px; }
  .archive-hero__aside { margin-top: 52px; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.24); border-left: 0; }
  .archive-controls__inner { padding-block: 56px 52px; }
  .archive-controls__heading h2 { font-size: clamp(2.15rem, 11vw, 3.6rem); }
  .archive-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 34px; }
  html:not(.js-ready) .archive-filters { display: none; }
  .archive-filter { width: 100%; justify-content: space-between; padding-inline: 12px; }
  .archive-filter-summary { margin-top: 18px; }
  .archive-category { padding-block: 68px 76px; }
  .archive-category__heading h2 { margin-top: 16px; }
  .archive-category__heading > p:last-child { margin-top: 22px; }
  .archive-grid { display: block; }
  .archive-item, .archive-item--offset { margin: 0 0 48px; }
  .archive-item:last-child { margin-bottom: 0; }
  .archive-item.is-filtering { transform: translateY(4px); }
  .archive-item figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .archive-contact__inner { min-height: 0; padding-block: 68px 76px; }
  .archive-contact__actions { margin-top: 34px; }
  .archive-contact__actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-ready .archive-item, html.js-ready .archive-item.is-filtering { opacity: 1; transform: none; transition-duration: .001ms; }
}

/* Company / contact / legal family: same TANTEC grid, calmer route-specific compositions. */
.company-page__main,
.contact-page__main,
.legal-page__main { background: var(--paper); }

.company-hero,
.contact-hero { color: var(--white); background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.18); }
.company-hero__grid,
.contact-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-block: clamp(64px, 9vw, 126px) clamp(72px, 10vw, 138px); }
.company-hero__copy { grid-column: 1 / span 7; }
.company-hero h1,
.contact-hero h1 { max-width: 800px; color: var(--white); font-size: clamp(3rem, 6vw, 6.35rem); }
.company-page .eyebrow--light,
.contact-page .eyebrow--light { color: var(--mist); }
.company-hero__intro,
.contact-hero__intro { max-width: 650px; margin: 30px 0 0; color: var(--mist); font-size: clamp(1.04rem, 1.45vw, 1.26rem); line-height: 1.52; }
.company-hero .action-row { margin-top: 30px; }
.company-hero .text-link--light { color: var(--white); }
.company-hero .text-link--light:hover,
.company-hero .text-link--light:focus-visible { color: var(--mist); }
.company-hero__aside { grid-column: 9 / -1; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding-left: clamp(0px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.24); }
.company-hero__logo { display: block; width: min(100%, 185.452px); height: auto; margin-bottom: clamp(32px, 5vw, 68px); }
.company-facts { display: grid; gap: 0; margin: 0; }
.company-facts div { display: grid; grid-template-columns: minmax(92px, 1fr) minmax(0, 1.5fr); gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.22); }
.company-facts dt { color: var(--steel-on-dark); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.company-facts dd { margin: 0; color: var(--white); font-size: .9rem; line-height: 1.45; }
.company-facts dd span { display: block; }

/* JS is opt-in: no-JS keeps every company detail in the final state. */
.company-page .cc-reveal { opacity: 1; transform: translateY(0); }
html.js-ready .company-page .cc-reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
html.js-ready .company-page .cc-reveal.is-visible { opacity: 1; transform: translateY(0); }
html.js-ready .company-page [data-reveal-delay="1"] { transition-delay: 70ms; }

.company-method { background: var(--white); border-bottom: 1px solid var(--line); }
.company-method__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: clamp(76px, 10vw, 138px); }
.company-section-heading { grid-column: 1 / span 5; }
.company-section-heading h2,
.company-profile__copy h2,
.company-identity h2,
.company-membership h2,
.company-contact-ending h2,
.contact-project h2,
.contact-service h2,
.contact-location h2,
.contact-form-section h2,
.legal-article h2 { font-size: clamp(2.35rem, 4.2vw, 4.8rem); }
.company-method__copy { grid-column: 7 / -1; max-width: 650px; }
.company-method__copy > p { max-width: 520px; margin: 0 0 38px; color: var(--steel); line-height: 1.58; }
.company-method__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.company-method__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 70px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.company-method__list span { color: var(--blue-dark); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.company-method__list strong { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.35; }

.company-profile { background: var(--mist); border-bottom: 1px solid var(--line); }
.company-profile__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding-block: clamp(72px, 10vw, 134px); }
.company-profile__portrait { grid-column: 1 / span 5; }
.company-profile__portrait figure { width: min(100%, 300px); margin: 0; }
.company-portrait-frame { width: 300px; max-width: 100%; background: var(--white); }
.company-portrait-frame img { display: block; width: 100%; max-width: 300px; height: auto; }
.company-profile__portrait figcaption { display: flex; flex-direction: column; gap: 5px; padding-top: 11px; color: var(--steel); font-size: .68rem; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.company-profile__portrait figcaption span:last-child { color: var(--graphite); font-weight: 700; }
.company-profile__copy { grid-column: 7 / -1; max-width: 620px; }
.company-profile__copy > p:not(.section-kicker) { max-width: 560px; margin: 28px 0; color: var(--steel); line-height: 1.58; }
.company-profile__copy .text-link { color: var(--graphite); }
.company-profile__copy .text-link:hover,
.company-profile__copy .text-link:focus-visible { color: var(--blue-dark); }

.company-identity { background: var(--paper); border-bottom: 1px solid var(--line); }
.company-identity__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: clamp(72px, 9vw, 124px); }
.company-identity__grid > :first-child { grid-column: 1 / span 5; }
.company-identity__details { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.company-identity__details > * { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 17px 0 20px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.company-identity__details > :last-child { grid-column: 1 / -1; }
.company-detail-label { color: var(--blue-dark); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.company-identity__details a { color: var(--graphite); width: fit-content; text-underline-offset: 4px; overflow-wrap: anywhere; }
.company-identity__details a:hover,
.company-identity__details a:focus-visible { color: var(--blue-dark); }
.company-identity__details p { margin: 0; }

.company-membership,
.contact-service { color: var(--white); background: var(--blue-dark); border-bottom: 1px solid rgba(255,255,255,.18); }
.company-membership__inner { min-height: 310px; display: grid; grid-template-columns: 7fr 5fr; gap: 42px; align-items: center; padding-block: clamp(64px, 8vw, 108px); }
.company-membership h2 { max-width: 720px; }
.company-membership__mark { display: flex; align-items: center; gap: 22px; max-width: 450px; }
.company-membership__mark img { display: block; flex: 0 0 102px; width: 102px; height: auto; }
.company-membership__mark p { margin: 0; color: var(--mist); font-size: .88rem; line-height: 1.52; }
.company-membership__mark strong { color: var(--white); }

/* Contact route: project and emergency routes remain visibly separate. */
.contact-hero__copy { grid-column: 1 / span 7; }
.contact-hero__brand { grid-column: 9 / -1; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding-left: clamp(0px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.24); }
.contact-hero__brand img { display: block; width: min(100%, 185.452px); height: auto; }
.contact-hero__brand p { margin: 0; color: var(--steel-on-dark); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-hero__rule { max-width: 650px; margin-top: clamp(38px, 5vw, 64px); }
.contact-line { background: var(--blue); }

.contact-project { background: var(--white); border-bottom: 1px solid var(--line); }
.contact-project__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: clamp(76px, 10vw, 132px); scroll-margin-top: 80px; }
.contact-project__heading { grid-column: 1 / span 5; }
.contact-project__copy { grid-column: 7 / -1; max-width: 630px; }
.contact-project__copy > p { margin: 0 0 34px; color: var(--steel); line-height: 1.58; }
.contact-direct-links { border-top: 1px solid var(--line); }
.contact-direct-link { display: grid; grid-template-columns: 92px minmax(0, 1fr) 20px; gap: 14px; align-items: center; min-height: 68px; padding: 13px 0; color: var(--graphite); border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-direct-link span:first-child { color: var(--blue-dark); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-direct-link strong { font-size: clamp(1rem, 1.5vw, 1.2rem); overflow-wrap: anywhere; }
.contact-direct-link span:last-child { color: var(--blue-dark); text-align: right; }
.contact-direct-link:hover strong,
.contact-direct-link:focus-visible strong { text-decoration: underline; text-underline-offset: 4px; }

.contact-service__grid { min-height: 330px; display: grid; grid-template-columns: 7fr 5fr; gap: 42px; align-items: center; padding-block: clamp(64px, 8vw, 108px); }
.contact-service h2 { max-width: 720px; }
.contact-service__copy { max-width: 460px; }
.contact-service__copy p { margin: 0 0 28px; color: var(--mist); line-height: 1.55; }
.contact-service .button--on-dark { background: var(--white); color: var(--graphite); }
.contact-service .button--on-dark:hover,
.contact-service .button--on-dark:focus-visible { background: var(--mist); }

.contact-location { background: var(--paper); border-bottom: 1px solid var(--line); }
.contact-location__grid { display: grid; grid-template-columns: 52px 5fr 5fr; gap: 24px; align-items: start; padding-block: clamp(72px, 9vw, 124px); }
.contact-location__mark { padding-top: 4px; }
.contact-location__mark img { display: block; width: min(43.103px, 100%); height: auto; }
.contact-location h2 { max-width: 500px; }
.contact-location__address { display: flex; flex-direction: column; gap: 7px; margin: 0; padding-top: 3px; line-height: 1.45; }
.contact-location__address a { width: fit-content; color: var(--graphite); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-location__address a:first-of-type { margin-top: 14px; }
.contact-location__address a:hover,
.contact-location__address a:focus-visible { color: var(--blue-dark); }

.contact-form-section { background: var(--mist); }
.contact-form-section__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; padding-block: clamp(76px, 10vw, 134px); }
.contact-form-section__copy { grid-column: 1 / span 4; }
.contact-form-section__copy > p:not(.section-kicker) { max-width: 440px; margin: 26px 0 0; color: var(--steel); line-height: 1.55; }
.contact-form-section__copy .contact-form-section__note { margin-top: 18px; color: var(--graphite); font-size: .82rem; }
.contact-form { grid-column: 6 / -1; }
.contact-form .service-form__actions .button { cursor: pointer; }

/* Legal route: narrow reading measure and an explicit prototype boundary. */
.legal-page { background: var(--paper); }
.legal-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.legal-hero__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; padding-block: clamp(72px, 10vw, 132px) clamp(80px, 11vw, 144px); }
.legal-hero h1 { font-size: clamp(3.2rem, 6vw, 6.5rem); }
.legal-hero__intro { max-width: 570px; margin: 0 0 4px; color: var(--steel); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; }
.legal-article { background: var(--paper); }
.legal-article__layout { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(42px, 7vw, 110px); align-items: start; padding-block: clamp(78px, 10vw, 144px); }
.legal-article__aside { position: sticky; top: 112px; max-width: 310px; }
.legal-article__aside > p:not(.section-kicker) { margin: 24px 0 26px; color: var(--steel); line-height: 1.55; }
.legal-article__content { max-width: 820px; min-width: 0; }
.legal-article h2 { margin-bottom: 42px; }
.legal-facts { margin: 0; border-top: 1px solid var(--line); }
.legal-facts > div { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 2fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal-facts dt { color: var(--blue-dark); font-size: .68rem; font-weight: 700; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.legal-facts dd { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.legal-facts dd > span { display: block; }
.legal-facts a { color: var(--graphite); text-underline-offset: 4px; }
.legal-facts a:hover,
.legal-facts a:focus-visible { color: var(--blue-dark); }
.legal-prototype-note,
.legal-source-note { margin-top: clamp(56px, 8vw, 98px); padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); }
.legal-prototype-note { color: var(--white); background: var(--graphite); border-color: var(--graphite); }
.legal-prototype-note h3,
.legal-source-note h3 { max-width: 620px; margin: 20px 0 20px; font-size: clamp(1.55rem, 2.5vw, 2.45rem); line-height: 1.12; }
.legal-prototype-note .section-kicker { color: var(--mist); }
.legal-prototype-note p:not(.section-kicker) { max-width: 670px; margin: 0 0 16px; color: var(--mist); line-height: 1.58; }
.legal-prototype-note p:last-child { margin-bottom: 0; }
.legal-source-note { background: var(--white); }
.legal-source-note p:not(.section-kicker) { max-width: 670px; margin: 0; color: var(--steel); line-height: 1.58; }
.company-page .site-footer__brand p span,
.contact-page .site-footer__brand p span,
.legal-page .site-footer__brand p span,
.company-page .site-footer address span,
.contact-page .site-footer address span,
.legal-page .site-footer address span { display: block; }
.company-page .site-footer address,
.contact-page .site-footer address,
.legal-page .site-footer address { display: flex; flex-direction: column; gap: 2px; }

@media (max-width: 1024px) {
  .company-hero__grid, .contact-hero__grid, .company-method__grid, .company-profile__grid, .company-identity__grid, .contact-project__grid, .contact-location__grid, .contact-form-section__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .company-hero__copy, .contact-hero__copy { grid-column: 1 / span 5; }
  .company-hero__aside, .contact-hero__brand { grid-column: 6 / -1; }
  .company-section-heading { grid-column: 1 / span 3; }
  .company-method__copy { grid-column: 4 / -1; }
  .company-profile__portrait { grid-column: 1 / span 3; }
  .company-profile__copy { grid-column: 4 / -1; }
  .company-identity__grid > :first-child { grid-column: 1 / span 3; }
  .company-identity__details { grid-column: 4 / -1; }
  .contact-project__heading { grid-column: 1 / span 3; }
  .contact-project__copy { grid-column: 4 / -1; }
  .contact-location__grid { grid-template-columns: 52px 3fr 4fr; }
  .contact-form-section__copy { grid-column: 1 / span 3; }
  .contact-form { grid-column: 4 / -1; }
  .contact-form-section__grid { display: block; }
  .contact-form-section__copy { max-width: 620px; }
  .contact-form { margin-top: 40px; }
  .legal-hero__inner { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
  .legal-hero__inner > :first-child { grid-column: 1 / span 3; }
  .legal-hero__intro { grid-column: 4 / -1; }
  .legal-hero__inner { display: block; }
  .legal-hero__intro { max-width: 620px; margin-top: 24px; }
  .legal-article__layout { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
  .legal-article__aside { grid-column: 1 / span 3; }
  .legal-article__content { grid-column: 4 / -1; }
  .legal-facts > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@media (max-width: 680px) {
  .company-hero__grid, .contact-hero__grid, .company-method__grid, .company-profile__grid, .company-identity__grid, .contact-project__grid, .contact-location__grid, .contact-form-section__grid, .legal-hero__inner, .legal-article__layout { display: block; }
  .company-hero__grid, .contact-hero__grid { padding-block: 52px 68px; }
  .company-hero h1, .contact-hero h1 { font-size: clamp(2.75rem, 12.5vw, 4.25rem); }
  .company-hero__intro, .contact-hero__intro { margin-top: 24px; font-size: 1rem; }
  .company-hero .action-row { margin-top: 24px; }
  .company-hero__aside, .contact-hero__brand { margin-top: 52px; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.24); border-left: 0; }
  .company-hero__logo { margin-bottom: 32px; }
  .company-facts div { grid-template-columns: minmax(88px, 1fr) minmax(0, 2fr); }
  .company-method, .company-profile, .company-identity, .company-membership, .contact-project, .contact-service, .contact-location, .contact-form-section, .legal-article { padding-block: 68px; }
  .company-section-heading, .company-method__copy, .company-profile__portrait, .company-profile__copy, .company-identity__grid > :first-child, .company-identity__details, .contact-project__heading, .contact-project__copy, .contact-form-section__copy, .contact-form, .legal-hero__inner > :first-child, .legal-hero__intro, .legal-article__aside, .legal-article__content { width: auto; }
  .company-method__copy, .company-profile__copy, .company-identity__details, .contact-project__copy, .contact-form, .legal-hero__intro, .legal-article__content { margin-top: 34px; }
  .company-profile__portrait figure { width: min(100%, 300px); }
  .company-profile__copy > p:not(.section-kicker) { margin-top: 24px; }
  .company-identity__details { display: block; }
  .company-identity__details > :last-child { margin-top: 0; }
  .company-membership__inner, .contact-service__grid { display: block; min-height: 0; padding-block: 0; }
  .company-membership__mark, .contact-service__copy { margin-top: 34px; }
  .company-membership__mark { align-items: flex-start; }
  .contact-direct-link { grid-template-columns: 72px minmax(0, 1fr) 18px; gap: 10px; }
  .contact-location__grid { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .contact-location__heading { grid-column: 2; }
  .contact-location__address { grid-column: 2; margin-top: 28px; }
  .contact-location__mark { grid-column: 1; grid-row: 1 / span 2; }
  .contact-form-section__copy, .contact-form { margin-top: 0; }
  .contact-form { margin-top: 34px; }
  .legal-hero__inner { padding-block: 60px 72px; }
  .legal-hero__intro { margin-top: 24px; }
  .legal-article { padding-block: 0 68px; }
  .legal-article__aside { position: static; max-width: none; }
  .legal-article__content { margin-top: 64px; }
  .legal-article h2 { margin-bottom: 34px; }
  .legal-facts > div { display: block; }
  .legal-facts dd { margin-top: 9px; }
  .legal-prototype-note, .legal-source-note { margin-top: 52px; padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-ready .company-page .cc-reveal,
  html.js-ready .company-page .cc-reveal.is-visible { opacity: 1; transform: none; transition-duration: .001ms; }
}

@media (max-width: 360px) {
  .header-project { display: none; }
  .service-band__actions { flex-direction: column; align-items: flex-start; }
  h2,
  .family-signals h2,
  .family-related h2,
  .service-intro h2,
  .service-section-heading h2,
  .service-options h2,
  .service-locations h2,
  .service-form-section h2,
  .company-membership h2,
  .contact-form-section h2 { font-size: 1.85rem; }
  .legal-hero h1 { font-size: 2.55rem; }
  #company-title { font-size: 1.8rem; }
  .company-membership__mark { flex-direction: column; }
  .company-facts div { display: block; }
  .company-facts dd { margin-top: 7px; }
  .family--metallbau .family-hero h1 { font-size: 2.2rem; }
}

