/* Mobile document content only. Home, 3D pages and widths >=768px keep their styles. */
@media (max-width:767px) {
  body.spatial-unified:not(.spatial-technical) .document-main {
    --doc-gutter:16px;
  }

  body.spatial-unified:not(.spatial-technical) .document-main :is(.pb-page-title,.pb-page-intro,.pb-project-title,.service-detail-copy,.service-detail-photo,.inquiry-panel,.contact-aside) {
    min-width:0;
  }

  body.spatial-unified:not(.spatial-technical) .page-hero {
    padding:22px 0 32px;
  }

  body.spatial-unified:not(.spatial-technical) .breadcrumbs {
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    margin-bottom:24px;
    font-size:11px;
    line-height:1.7;
  }

  body.spatial-unified:not(.spatial-technical) .pb-page-heading {
    grid-template-columns:minmax(0,1fr);
    gap:22px;
    align-items:start;
  }

  body.spatial-unified:not(.spatial-technical) .page-hero h1 {
    max-width:100%;
    font-size:clamp(32px,6.4vw,52px);
    line-height:1.1;
    letter-spacing:-.045em;
    word-break:normal;
    overflow-wrap:break-word;
    hyphens:auto;
    text-wrap:balance;
  }

  body.spatial-unified:not(.spatial-technical)[data-document=leistung] .page-hero h1 {
    font-size:clamp(29px,5vw,44px);
    line-height:1.15;
    overflow-wrap:break-word;
    hyphens:auto;
  }

  body.spatial-unified:not(.spatial-technical)[data-document=leistung] .page-hero h1 .heading-accent {
    white-space:normal;
  }

  body.spatial-unified:not(.spatial-technical) .page-hero .hero-lead {
    max-width:62ch;
    margin-top:0;
    font-size:15px;
    line-height:1.8;
  }
  body.spatial-unified:not(.spatial-technical) .hero-actions {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }

  body.spatial-unified:not(.spatial-technical) .page-section {
    padding-block:38px;
  }

  body.spatial-unified:not(.spatial-technical) .section-heading {
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    gap:16px;
    margin-bottom:26px;
  }

  body.spatial-unified:not(.spatial-technical) .section-heading .section-lead {
    max-width:64ch;
    font-size:14px;
    line-height:1.8;
  }

  body.spatial-unified:not(.spatial-technical) .section-nav .container {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:8px;
    padding-block:10px;
  }

  body.spatial-unified:not(.spatial-technical) .section-nav a {
    flex:0 0 auto;
    min-height:44px;
    padding:7px 14px;
    border:1px solid #c6dae833;
    border-radius:24px;
    font-size:12px;
    white-space:nowrap;
    scroll-snap-align:start;
  }

  body.spatial-unified:not(.spatial-technical) :is(.planning-layout,.project-description,.contact-layout,.privacy-layout,.legal-layout) {
    grid-template-columns:minmax(0,1fr);
    gap:30px;
  }

  body.spatial-unified:not(.spatial-technical) .service-detail-feature {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:26px;
  }

  body.spatial-unified:not(.spatial-technical) .service-detail-photo {
    order:-1;
  }

  body.spatial-unified:not(.spatial-technical) .service-detail-photo img {
    height:auto;
    aspect-ratio:16/10;
  }

  body.spatial-unified:not(.spatial-technical) .service-applications {
    grid-template-columns:minmax(0,1fr);
  }

  body.spatial-unified:not(.spatial-technical)[data-document=leistung] .service-applications .service-detail {
    display:grid;
    grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);
    gap:22px;
    padding:24px 0;
    border:0;
    border-bottom:1px solid #c6dae82b;
  }

  body.spatial-unified:not(.spatial-technical)[data-document=leistung] .service-applications .service-detail:last-child {
    padding-bottom:0;
    border-bottom:0;
  }

  body.spatial-unified:not(.spatial-technical) .system-cards {
    display:grid;
    grid-template-columns:minmax(0,1fr);
  }

  body.spatial-unified:not(.spatial-technical) :is(.system-card,.system-card:first-child,.system-card:last-child) {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
    min-width:0;
    padding:26px 0;
    border:0;
    border-bottom:1px solid #c6dae82b;
  }

  body.spatial-unified:not(.spatial-technical) .system-card h3 {
    font-size:clamp(22px,4.1vw,28px);
    line-height:1.25;
    overflow-wrap:break-word;
    hyphens:auto;
  }

  body.spatial-unified:not(.spatial-technical) .system-card-links {
    gap:5px;
    margin-top:0;
  }

  body.spatial-unified:not(.spatial-technical) .system-card-links .text-link {
    min-height:44px;
    max-width:100%;
    line-height:1.6;
  }

  body.spatial-unified:not(.spatial-technical) .service-notes-content {
    grid-template-columns:minmax(0,1fr);
    gap:20px;
  }

  body.spatial-unified:not(.spatial-technical) .process-list li {
    grid-template-columns:26px minmax(0,1fr);
    gap:14px;
    padding:23px 0;
  }

  body.spatial-unified:not(.spatial-technical) .process-list h3 {
    font-size:20px;
    line-height:1.35;
    margin-bottom:10px;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-title h1 {
    font-size:clamp(29px,5.8vw,48px);
    line-height:1.12;
    overflow-wrap:break-word;
    hyphens:auto;
  }

  body.spatial-unified:not(.spatial-technical) .project-facts {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 22px;
    margin-top:24px;
    padding-top:20px;
  }

  body.spatial-unified:not(.spatial-technical) .project-facts :is(dt,dd) {
    overflow-wrap:anywhere;
  }

  body.spatial-unified:not(.spatial-technical) .reference-cover img {
    height:auto;
    max-height:none;
    aspect-ratio:16/10;
  }

  body.spatial-unified:not(.spatial-technical) .quantity-panel {
    padding:24px;
    border-radius:16px;
  }

  body.spatial-unified:not(.spatial-technical) .quantity-panel dl {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 24px;
  }

  body.spatial-unified:not(.spatial-technical) .gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 18px;
  }

  body.spatial-unified:not(.spatial-technical) .gallery-item:first-child {
    grid-column:1/-1;
  }

  body.spatial-unified:not(.spatial-technical) .gallery-item:first-child a {
    aspect-ratio:16/9;
  }

  body.spatial-unified:not(.spatial-technical) .gallery-item figcaption {
    font-size:12px;
    line-height:1.65;
    margin-top:10px;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:24px;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register .pb-project-row {
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    gap:16px;
    padding:0 0 18px;
    border:1px solid var(--line,#c6dae82b);
    border-radius:14px;
    overflow:hidden;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register .pb-row-image {
    grid-column:1;
    grid-row:auto;
    width:100%;
    height:auto;
    aspect-ratio:16/9;
    border:0;
    border-radius:0;
    box-shadow:none;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register :is(.pb-row-title,.pb-row-scope,.pb-row-action) {
    grid-column:1;
    min-width:0;
    margin-inline:18px;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register .pb-row-title h2 {
    font-size:23px;
    line-height:1.3;
    letter-spacing:-.025em;
    margin-bottom:8px;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register .pb-row-title .project-location {
    font-size:11px;
    line-height:1.6;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register .pb-row-title p:not(.project-location) {
    font-size:13px;
    line-height:1.75;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register .pb-row-scope {
    padding-top:14px;
    border-top:1px solid var(--line,#c6dae82b);
    font-size:13px;
    line-height:1.7;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register .pb-row-number {
    display:none;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-register .pb-row-action {
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:44px;
    font-size:13px;
    line-height:1.6;
  }

  body.spatial-unified:not(.spatial-technical) .inquiry-panel.surface-light {
    padding:26px;
    border-radius:18px;
  }

  body.spatial-unified:not(.spatial-technical) :is(.contact-form,.application-form) {
    width:100%;
    min-width:0;
    margin-top:24px;
    scroll-margin-top:24px;
  }

  body.spatial-unified:not(.spatial-technical) :is(.contact-form,.application-form) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
    min-height:52px;
    font-size:16px;
    line-height:1.5;
  }

  body.spatial-unified:not(.spatial-technical) :is(.inquiry-selection,.inquiry-fallback,.inquiry-copy,.application-status,.inquiry-status) {
    max-width:100%;
    overflow-wrap:anywhere;
  }

  body.spatial-unified:not(.spatial-technical) .contact-aside {
    padding:26px;
    border-radius:18px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-aside :is(dd,a) {
    overflow-wrap:anywhere;
  }

  body.spatial-unified:not(.spatial-technical) .company-section {
    grid-template-columns:180px minmax(0,1fr);
    align-items:start;
    gap:28px;
    margin-block:16px 24px;
    padding-block:32px;
  }

  body.spatial-unified:not(.spatial-technical) .company-section .company-portrait-photo {
    width:100%;
    height:auto;
    aspect-ratio:1;
  }

  body.spatial-unified:not(.spatial-technical) .career-columns {
    display:block;
  }

  body.spatial-unified:not(.spatial-technical) .career-columns>section {
    padding-block:24px;
  }

  body.spatial-unified:not(.spatial-technical) .career-columns #stellen.surface-light {
    margin-top:16px;
    padding:26px;
  }

  body.spatial-unified:not(.spatial-technical) .privacy-layout aside {
    position:static;
    padding-bottom:24px;
    border-bottom:1px solid #c6dae82b;
  }

  body.spatial-unified:not(.spatial-technical) :is(.privacy-topic,.legal-layout) p {
    font-size:14px;
    line-height:1.85;
    overflow-wrap:anywhere;
  }

  body.spatial-unified:not(.spatial-technical) .privacy-topic {
    padding-bottom:28px;
    margin-bottom:28px;
  }

  body.spatial-unified:not(.spatial-technical) :is(.legal-notes>summary,.service-background>summary,.service-notes>summary,.faq-list summary,.job summary) {
    min-height:52px;
    line-height:1.6;
    padding-block:14px;
  }

  body.spatial-unified:not(.spatial-technical) .subpage-cta .container {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:24px;
  }

  body.spatial-unified:not(.spatial-technical) .service-detail-cta h2>span {
    white-space:normal;
  }
}

@media (max-width:600px) {
  body.spatial-unified:not(.spatial-technical) .document-main {
    --doc-gutter:16px;
  }

  body.spatial-unified:not(.spatial-technical) .page-hero {
    padding:20px 0 28px;
  }

  body.spatial-unified:not(.spatial-technical) .page-hero h1 {
    font-size:clamp(29px,8vw,42px);
    line-height:1.12;
  }

  body.spatial-unified:not(.spatial-technical)[data-document=leistung] .page-hero h1 {
    font-size:clamp(23px,6.2vw,36px);
    line-height:1.2;
  }

  body.spatial-unified:not(.spatial-technical) .pb-project-title h1 {
    font-size:clamp(25px,6.5vw,38px);
    line-height:1.15;
    hyphens:auto;
  }

  body.spatial-unified:not(.spatial-technical) .page-hero .hero-lead {
    font-size:14px;
    line-height:1.8;
  }

  body.spatial-unified:not(.spatial-technical) .hero-actions {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    margin-top:22px;
  }

  body.spatial-unified:not(.spatial-technical) :is(.hero-actions,.subpage-cta) .button {
    width:100%;
    min-height:50px;
    white-space:normal;
    line-height:1.6;
  }

  body.spatial-unified:not(.spatial-technical) .page-section {
    padding-block:32px;
  }

  body.spatial-unified:not(.spatial-technical) .page-section h2 {
    font-size:clamp(26px,7.2vw,34px);
    line-height:1.2;
    letter-spacing:-.035em;
  }

  body.spatial-unified:not(.spatial-technical) .section-heading {
    margin-bottom:24px;
    gap:14px;
  }

  body.spatial-unified:not(.spatial-technical) .service-projects {
    grid-template-columns:minmax(0,1fr);
    gap:28px;
  }

  body.spatial-unified:not(.spatial-technical) .service-project-photo img {
    height:auto;
    aspect-ratio:16/10;
  }

  body.spatial-unified:not(.spatial-technical) .service-project-photo figcaption {
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
    padding-top:12px;
  }

  body.spatial-unified:not(.spatial-technical) .service-project-photo figcaption>a {
    min-height:44px;
  }

  body.spatial-unified:not(.spatial-technical)[data-document=leistung] .service-applications .service-detail {
    grid-template-columns:minmax(0,1fr);
    gap:14px;
    padding:24px 0;
  }

  body.spatial-unified:not(.spatial-technical)[data-document=leistung] .service-applications h3 {
    font-size:24px;
    line-height:1.3;
  }

  body.spatial-unified:not(.spatial-technical) .system-card h3 {
    font-size:clamp(22px,6.8vw,28px);
    line-height:1.3;
  }

  body.spatial-unified:not(.spatial-technical) .service-notes>summary {
    gap:16px;
    font-size:14px;
  }

  body.spatial-unified:not(.spatial-technical) :is(.service-notes-content,.service-other-systems) {
    grid-column:auto;
  }

  body.spatial-unified:not(.spatial-technical) .project-facts {
    gap:16px;
  }

  body.spatial-unified:not(.spatial-technical) .project-facts dd {
    font-size:13px;
    line-height:1.65;
  }

  body.spatial-unified:not(.spatial-technical) .quantity-panel {
    padding:22px;
  }

  body.spatial-unified:not(.spatial-technical) .quantity-panel dl {
    grid-template-columns:minmax(0,1fr);
  }

  body.spatial-unified:not(.spatial-technical) .gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 12px;
  }

  body.spatial-unified:not(.spatial-technical) .gallery-item a {
    aspect-ratio:4/3;
    border-radius:10px;
  }

  body.spatial-unified:not(.spatial-technical) .inquiry-panel.surface-light {
    padding:22px 18px;
    border-radius:16px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-form .form-grid {
    grid-template-columns:minmax(0,1fr);
    gap:22px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-form .field-wide {
    grid-column:auto;
  }

  body.spatial-unified:not(.spatial-technical) .contact-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.copy-text) {
    padding:13px 12px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-form .planning-support {
    min-height:44px;
    align-items:flex-start;
    line-height:1.7;
    padding-block:8px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-form .planning-support input {
    margin-top:3px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-form .button {
    width:100%;
  }

  body.spatial-unified:not(.spatial-technical) :is(.inquiry-selection,.inquiry-fallback,.inquiry-copy) {
    padding:16px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-aside {
    padding:24px 22px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-aside h2 {
    font-size:28px;
  }

  body.spatial-unified:not(.spatial-technical) .contact-aside a[href^="tel:"],
  body.spatial-unified:not(.spatial-technical) .contact-aside a[href^="mailto:"] {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    max-width:100%;
  }

  body.spatial-unified:not(.spatial-technical) .company-section {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    padding-block:30px;
  }

  body.spatial-unified:not(.spatial-technical) .company-section .company-portrait-photo {
    width:min(100%,280px);
    justify-self:start;
  }

  body.spatial-unified:not(.spatial-technical) .company-section h2 {
    font-size:clamp(26px,7vw,34px);
    line-height:1.2;
  }

  body.spatial-unified:not(.spatial-technical) .company-section a {
    display:flex;
    width:max-content;
    max-width:100%;
    min-height:46px;
    margin:0;
    overflow-wrap:anywhere;
  }

  body.spatial-unified:not(.spatial-technical) .career-columns :is(.application-choice,.application-grid,.application-uploads) {
    grid-template-columns:minmax(0,1fr);
    gap:22px;
  }

  body.spatial-unified:not(.spatial-technical) .career-columns .application-choice {
    gap:12px;
  }

  body.spatial-unified:not(.spatial-technical) .application-option>span {
    min-height:0;
    padding:18px 18px 18px 46px;
  }

  body.spatial-unified:not(.spatial-technical) .application-option strong {
    font-size:18px;
    line-height:1.4;
    overflow-wrap:break-word;
  }

  body.spatial-unified:not(.spatial-technical) .application-fields>legend {
    max-width:100%;
    font-size:20px;
    line-height:1.4;
    margin-bottom:20px;
  }

  body.spatial-unified:not(.spatial-technical) .application-content :is(label,.application-trades>legend) {
    font-size:13px;
    line-height:1.7;
  }

  body.spatial-unified:not(.spatial-technical) .application-trades label {
    min-height:44px;
    align-items:center;
  }

  body.spatial-unified:not(.spatial-technical) .application-submit {
    width:100%;
    min-height:52px;
    padding-inline:20px;
    font-size:13px;
    line-height:1.6;
  }

  body.spatial-unified:not(.spatial-technical) .career-columns #stellen.surface-light {
    margin-top:20px;
    padding:22px 18px;
  }

  body.spatial-unified:not(.spatial-technical) .job summary h3 {
    font-size:20px;
    line-height:1.4;
  }

  body.spatial-unified:not(.spatial-technical) .job-body p {
    font-size:14px;
    line-height:1.8;
  }

  body.spatial-unified:not(.spatial-technical) :is(.privacy-topic h2,.legal-layout h2) {
    font-size:clamp(23px,6.3vw,28px);
    line-height:1.35;
    letter-spacing:-.025em;
  }

  body.spatial-unified:not(.spatial-technical) .subpage-cta {
    padding-block:34px;
  }

  body.spatial-unified:not(.spatial-technical) .subpage-cta h2 {
    font-size:clamp(25px,6.8vw,34px);
    line-height:1.2;
    overflow-wrap:break-word;
    hyphens:auto;
  }
}
