/* HOME IN ITALY – ZENTRALES STYLESHEET | konsolidiert 22.11.2026
 * Wartung: Grundfarben/Seitenbreite unter :root und .wrap ändern.
 * Abschnitte: Header, Leistungen, Projekt, Diashows, Kontakt, Footer, Lightbox.
 * Die einzigen responsiven Abweichungen stehen gesammelt am Dateiende.
 * DE, IT und EN verwenden dieselbe Datei. Keine sprachspezifischen CSS-Kopien.
 * Bild- und Textbreiten grundsätzlich über die gemeinsame Inhaltsbreite steuern.
 */

:root {
    --bg: #FAFAFA;
    --red: #C53028;
    --ink: #222;
    --muted: #606060;
    --rule: #d7d7d7;
    --width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.55 "Open Sans",Arial,sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
    background: none;
}

figure {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    font-weight: 400;
}

a:hover,a:focus-visible {
    font-weight: 700 !important;
}

a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

p {
    margin: 0 0 14px;
}

h1,h2,h3,h4 {
    font-family: "Open Sans",Arial,sans-serif;
    letter-spacing: 0;
    line-height: 1.32;
    margin: 0 0 13px;
}

h1 {
    font-size: clamp(1.95rem,3vw,2.65rem);
    font-weight: 650;
}

h2 {
    font-size: clamp(1.38rem,2vw,1.75rem);
    font-weight: 650;
}

h3 {
    font-size: 1.06rem;
    font-weight: 650;
}

h4 {
    font-size: .96rem;
    font-weight: 650;
}

address {
    font-style: normal;
}

.wrap {
    width: min(calc(100% - 56px),var(--width));
    margin-inline: auto;
}

.muted,figcaption {
    color: var(--muted);
}

figcaption {
    font-size: .77rem;
    margin-top: 7px;
    line-height: 1.45;
}

.kicker,.eyebrow,.folio span {
    font-size: .7rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #555;
}

.kicker {
    margin: 0 0 8px;
}

.top-link {
    font-size: .78rem;
    white-space: nowrap;
    color: var(--red);
}

.top-link::before {
    content: "↑ ";
    font-size: 1rem;
}

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

.skip:focus {
    left: 12px;
    top: 12px;
    background: #fff;
    padding: 10px;
    z-index: 50;
}

.header {
    border-bottom: 1px solid var(--rule);
}

.header-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 17px 0;
}

.identity {
    font-size: 1.5rem;
    font-weight: 650;
    line-height: 1.2;
}

.identity-sub {
    font-size: .68rem;
    letter-spacing: .05em;
    margin-top: 3px;
}

.nav,.languages {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    font-family: "Open Sans",Arial,sans-serif;
    font-size: .82rem;
}

.nav a:hover,.nav a:focus-visible,.languages a:hover {
    font-weight: 700;
}

.languages {
    border-left: 1px solid var(--rule);
    padding-left: 16px;
    gap: 11px;
}

.languages a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.languages a[aria-current] {
    font-weight: 700;
}

.languages img {
    width: 25px;
    height: 16px;
    object-fit: cover;
}

.hero {
    padding: 35px 0 44px;
}

.hero-v4 {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 42px;
    align-items: center;
}

.hero-copy {
    max-width: 440px;
}

.eyebrow {
    margin-bottom: 17px;
}

.intro-v4 {
    font-size: 1.06rem;
    font-weight: 650;
    line-height: 1.5;
}

.hero-photo img {
    width: 100%;
    height: auto;
}

.text-link {
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.section {
    padding: 20px 0 45px;
    border-top: 1px solid var(--rule);
    scroll-margin-top: 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-bottom: 23px;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
}

.service-list article {
    border-top: 0;
    padding-top: 0;
    scroll-margin-top: 24px;
}

.service-list h3 {
    margin-bottom: 8px;
}

.service-list p {
    margin: 0;
}

.evidence {
    padding-top: 20px;
}

.sequence {
    display: block;
}

.story {
    padding: 28px 0 35px;
    border-top: 1px solid var(--rule);
    scroll-margin-top: 0;
}

.folio {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 15px;
}

.story-lead {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    margin-bottom: 19px;
}

.story-lead p {
    max-width: none;
    width: 100%;
}

.pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    align-items: start;
}

.pair figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.pair-second {
    margin-top: 22px;
}

.comparison-feature {
    display: block;
    gap: 20px;
}

.map-overview {
    max-width: none;
    margin-inline: auto;
    margin: 0 0 23px;
}

.map-overview img {
    width: 100%;
    height: auto;
}

.map-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.map-compare img {
    width: 100%;
    height: auto;
}

.supporting-map {
    max-width: 380px;
    margin-top: 18px;
}

.plan-feature {
    position: relative;
    margin: 20px 0 25px;
}

.plan-large img {
    width: 100%;
    height: auto;
}

.plan-overlay {
    position: static;
    top: 12px;
    left: 12px;
    width: 100%;
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: .86rem;
    line-height: 1.5;
    pointer-events: auto;
    margin: 0 0 18px;
}

.plan-overlay h4 {
    margin: 0 0 7px;
}

.plan-overlay p {
    margin: 0 0 8px;
}

.plan-overlay ol {
    padding-left: 21px;
    margin: 9px 0 0;
    columns: 2;
    column-gap: 45px;
}

.plan-overlay li {
    margin: 0 0 4px;
    break-inside: avoid;
    margin-bottom: 4px;
}

.plan-note {
    font-size: .75rem;
    color: #555;
}

.urban-follow {
    display: flex;
    gap: 14px;
    align-items: stretch;
    margin-top: 30px;
    flex-direction: column;
}

.urban-follow img {
    width: 100%;
}

.result-layout {
    display: grid;
    grid-template-columns: .55fr 1.45fr;
    gap: 35px;
    align-items: center;
}

.result-number {
    font-size: clamp(2.8rem,5vw,4.5rem);
    font-weight: 650;
    line-height: 1;
}

.result-number small {
    font-size: .55em;
}

.documents {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    gap: 32px;
}

.document-image img {
    width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: top left;
}

.lead {
    font-size: 1.04rem;
}

.portrait-section {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 50px;
}

.portrait-section img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
}

.quote {
    font-style: normal;
    margin: 0 0 22px;
    font-weight: 700;
}

.contact {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr) 220px;
    gap: 25px;
    align-items: start;
}

.contact-map img {
    width: 100%;
    height: auto;
}

.contact a:not(.top-link) {
    text-decoration: none;
    text-underline-offset: 3px;
    color: var(--red);
}

.footer {
    border-top: 1px solid var(--rule);
    padding: 0 0 15px;
}

.footer-in {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: .8rem;
    padding-top: 13px;
}

.legal {
    padding: 0 0 20px;
    font-size: .82rem;
}

.legal details {
    border-top: 1px solid var(--rule);
    padding: 10px 0;
}

.legal summary {
    cursor: pointer;
    color: var(--red);
}

.legal summary:hover {
    font-weight: 700;
}

.legal p {
    margin-top: 10px;
}

.image-link {
    display: block;
    cursor: zoom-in;
}

.image-link img {
    transition: none;
}

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.91) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 54px 12px 18px;
}

.lightbox-inner {
    width: max-content;
    max-width: min(98vw,1600px);
    max-height: calc(100dvh - 110px);
    overflow: auto;
    color: #fff;
    background: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
    scrollbar-width: thin;
}

.lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 155px);
    margin: auto;
    object-fit: contain;
    border: 0;
    background: transparent;
}

.lightbox-caption {
    font-size: .8rem;
    margin: 10px auto 0 !important;
    color: #C53028 !important;
    text-align: center;
    font-weight: 600;
}

.lightbox-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: none;
    width: 100%;
}

.lightbox-plan .lightbox-image {
    max-height: calc(100dvh - 355px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-plan-text {
    font-size: .8rem;
    line-height: 1.35;
    color: #fff;
    width: min(100%,1100px);
    background: transparent;
    border: 0;
    padding: 0;
}

.lightbox-plan-text h4 {
    color: #fff;
}

.lightbox-plan-text ol {
    columns: 2;
    column-gap: 30px;
    padding-left: 20px;
    margin: 4px 0;
}

.lightbox-plan-text li {
    break-inside: avoid;
    margin-bottom: 3px;
}

.lightbox-plan-text p {
    margin-bottom: 5px;
}

.lightbox-plan-text .plan-note {
    color: #ddd;
}

.lightbox-close {
    position: fixed;
    top: 11px !important;
    right: auto !important;
    color: var(--red) !important;
    font: 600 1rem "Open Sans",Arial,sans-serif;
    text-decoration: none;
    cursor: pointer;
    z-index: 1001;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.lightbox-close:hover,.lightbox-close:focus-visible {
    font-weight: 800;
    color: var(--red);
}

.lightbox:focus {
    outline: none;
}

body.modal-open {
    overflow: hidden;
}

.dorm-layout {
    display: block;
    gap: 32px;
}

.convent-panorama {
    width: 100%;
    margin: 12px 0 4px;
}

.convent-panorama img {
    display: block;
    width: 100%;
    height: auto;
}

.slideshow-duo {
    display: grid;
    grid-template-columns: minmax(0, 16fr) minmax(0, 6.75fr);
    gap: 22px;
    align-items: start;
    width: 100%;
}

.showcase h4 {
    margin: 0 0 11px;
    text-align: center;
}

.photo-slideshow {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.showcase.landscape .photo-slideshow {
    aspect-ratio: 16 / 9;
}

.showcase.portrait .photo-slideshow {
    aspect-ratio: 3 / 4;
}

.photo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease,visibility 1s;
    pointer-events: none;
}

.photo-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

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

.slide-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: .8rem;
    margin-top: 9px;
    align-items: start;
    min-height: 42px;
}

.pair-matched {
    align-items: start;
}

.pair-matched figure>a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 315px;
}

.pair-matched figure>a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-slideshow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.lightbox-slideshow .lightbox-image {
    max-height: calc(100dvh - 215px);
    max-width: 100%;
}

.lightbox-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    color: #C53028;
    font: 600 .95rem "Open Sans",Arial,sans-serif;
}

.lightbox-controls a {
    color: #C53028;
    cursor: pointer;
    text-decoration: none;
}

.lightbox-controls a:hover,.lightbox-controls a:focus-visible {
    font-weight: 800 !important;
}

.nav a,.hero-copy .text-link {
    color: var(--red);
    text-decoration: none;
    border: 0;
}

.nav a:hover,.hero-copy .text-link:hover {
    text-decoration: none;
    font-weight: 700 !important;
}

#vertraege {
    width: min(calc(100% - 56px), var(--width));
    max-width: var(--width);
    margin-inline: auto;
    padding-top: 28px;
    padding-bottom: 36px;
}

#vertraege .documents {
    align-items: start;
    gap: 18px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

#vertraege .document-image img {
    width: 100%;
    max-height: none;
    height: auto;
    object-fit: contain;
}

#projekt .section-heading {
    margin-bottom: 10px;
}

#projekt .sequence>.story:first-child {
    border-top: 0;
    padding-top: 16px;
}

#projekt .sequence>.story:first-child .story-lead h3 {
    margin-bottom: 13px;
}

#projekt .sequence>.story:first-child .story-lead p {
    max-width: none;
}

.showcase.landscape .photo-slide img,.showcase.portrait .photo-slide img {
    object-fit: contain;
    object-position: center;
}

.slide-meta>span:first-child {
    flex: 1;
    min-width: 0;
}

.slide-counter {
    flex-shrink: 0;
    white-space: nowrap;
}

.plan-large,.plan-large img {
    width: 100%;
}

.urban-follow>figure {
    width: 100%;
    margin-inline: auto;
    order: 1;
    max-width: 100%;
    margin: 0;
}

.urban-follow>div h3 {
    margin-bottom: 10px;
}

.lightbox:has(.lightbox-plan) {
    padding: 50px 12px 12px;
}

.lightbox-inner:has(.lightbox-plan) {
    width: 100%;
    max-width: 98vw;
    max-height: calc(100dvh - 70px);
    overflow: hidden;
}

.plan-zoom-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.plan-zoom-controls button {
    font: inherit;
    font-size: .83rem;
    padding: 5px 9px;
    border: 1px solid #aaa;
    background: #f6f6f6;
    color: #222;
    cursor: pointer;
}

.plan-zoom-controls button:hover {
    font-weight: 700;
}

.plan-viewport {
    width: 100%;
    height: calc(100dvh - 160px);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    text-align: center;
}

.lightbox-plan .plan-viewport .lightbox-image {
    display: block;
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    object-fit: fill;
    margin: 0 auto;
    cursor: grab;
}

.lightbox-plan .lightbox-caption {
    margin-top: 2px !important;
}

.nav a,.hero-copy .text-link,.bio .text-link,.contact a,.legal a {
    color: var(--red) !important;
    text-decoration: none !important;
    border: 0 !important;
}

.nav a:hover,.hero-copy .text-link:hover,.bio .text-link:hover,.contact a:hover,.legal a:hover {
    text-decoration: none !important;
    font-weight: 700 !important;
}

#vertraege .document-image {
    order: 1;
    width: 100%;
}

.project-intro {
    font-size: 1.05rem;
    max-width: none;
    margin: 0 0 23px;
    width: 100%;
}

.project-copy {
    columns: 2;
    column-gap: 42px;
    margin-bottom: 20px;
}

.project-copy p {
    break-inside: avoid;
    margin: 0 0 14px;
}

.full-lead {
    display: block;
    max-width: none;
    margin-bottom: 22px;
}

.full-lead p {
    max-width: none;
    width: 100%;
}

.full-lead h3 {
    margin-bottom: 10px;
}

.showcase .photo-slideshow {
    aspect-ratio: auto;
    width: 100%;
}

.showcase .photo-slide img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    object-position: center;
}

.showcase.landscape .photo-slide img {
    object-position: center;
}

.showcase.portrait .photo-slide img {
    object-position: center;
}

.plan-large {
    width: 100%;
}

.plan-composite {
    position: relative;
    width: 100%;
    container-type: inline-size;
}

.plan-composite .plan-overlay {
    position: absolute !important;
    top: 16% !important;
    left: 5% !important;
    width: 28% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
    pointer-events: none;
    font-size: clamp(7px,1.02cqw,15px);
    line-height: 1.36;
}

.plan-composite .plan-overlay h4 {
    font-size: 1.1em;
    line-height: 1.25;
    margin: 0 0 .45em;
}

.plan-composite .plan-overlay ol {
    columns: 1 !important;
    padding-left: 1.35em;
    margin: 0 !important;
}

.plan-composite .plan-overlay li {
    margin-bottom: .24em;
    break-inside: avoid;
}

.plan-composite>a {
    display: block;
}

.plan-composite>a img {
    display: block;
    width: 100%;
    height: auto;
}

.urban-follow>figure img {
    width: 100%;
    height: auto;
}

.contact a {
    display: inline-block;
    padding: 3px 0;
}

.footer .legal {
    padding: 0;
}

.footer .legal .wrap {
    width: min(calc(100% - 56px),var(--width));
    margin-inline: auto;
}

.lightbox-plan .plan-viewport {
    height: calc(100dvh - 155px);
    text-align: left;
}

.lightbox-plan .plan-zoom-composite {
    position: relative;
    width: 100%;
    container-type: inline-size;
    margin: 0 auto;
}

.lightbox-plan .plan-zoom-composite img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
}

.lightbox-plan .plan-zoom-composite .plan-overlay {
    position: absolute;
    top: 16%;
    left: 5%;
    width: 28%;
    max-width: none;
    color: #222;
    font-size: clamp(7px,1.02cqw,22px);
    line-height: 1.36;
    pointer-events: none;
}

.lightbox-plan .plan-zoom-composite .plan-overlay h4 {
    font-size: 1.1em;
    margin: 0 0 .45em;
    color: #222;
}

.lightbox-plan .plan-zoom-composite .plan-overlay ol {
    columns: 1 !important;
    margin: 0;
    padding-left: 1.35em;
}

.lightbox-plan .plan-zoom-composite .plan-overlay li {
    margin-bottom: .24em;
}

.quick-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 22px;
    row-gap: 9px;
    padding: 15px 0 21px;
    border-bottom: 1px solid var(--rule);
}

.quick-links a {
    font-size: .83rem;
    color: var(--red);
    white-space: nowrap;
}

.quick-label {
    font-size: .69rem;
    color: var(--muted);
    letter-spacing: .08em;
}

.combined-contact {
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
}

.combined-contact>h2 {
    margin-bottom: 21px;
}

.contact-map {
    width: 220px;
    max-width: 100%;
}

.story-lead.full-lead,.story-lead.full-lead p,.project-intro {
    max-width: none;
    width: 100%;
}

.section .wrap>p, #vertraege p, #projekt .story-lead p, #projekt .sequence>.story:first-child .story-lead, #projekt .sequence>.story:first-child .story-lead p, #projekt .project-copy, .urban-follow>div, .story-lead.full-lead p {
    max-width: none;
    width: 100%;
}

#projekt .sequence>.story:first-child .story-lead {
    display: block;
    max-width: none;
    margin: 0;
}

.showcase {
    min-width: 0;
}

.showcase .slide-meta {
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.showcase .slide-meta>span:first-child {
    flex: 1;
    text-align: center;
}

.showcase .slide-counter {
    flex: 0 0 auto;
}

#vertraege .documents>div {
    order: 0;
    max-width: none;
    width: 100%;
}

#vertraege p {
    max-width: none;
    width: 100%;
}

.urban-follow>div {
    max-width: none;
    margin-inline: auto;
    width: 100%;
    order: 0;
    margin: 0;
}

@media (max-width:1050px) {
    .header-in {
        flex-direction: column;
        align-items: start;
    }

    .nav {
        gap: 12px 16px;
    }

    .plan-overlay {
        position: static;
        width: 100%;
        max-width: none;
        padding: 10px 0;
        background: transparent;
        pointer-events: auto;
    }

    .plan-overlay ol {
        columns: 2;
        column-gap: 35px;
    }

    .lightbox-plan-text ol {
        columns: 2;
    }

    .lightbox-plan .lightbox-image {
        max-height: 45dvh;
    }

    .contact {
        grid-template-columns: minmax(0,1fr) minmax(0,.85fr) 180px;
    }

    .contact-map {
        width: 180px;
    }
}
@media (max-width:700px) {
    body {
        font-size: 14px;
    }

    .wrap {
        width: auto;
        max-width: none;
        margin-inline: 16px;
    }

    main, main section, main article, main .story, main .documents, main .story-lead, main .full-lead, main .project-copy, main .slideshow-duo, main .showcase {
        min-width: 0;
        max-width: 100%;
    }

    #vertraege {
        width: calc(100% - 32px);
        max-width: none;
        margin-inline: auto;
    }

    .languages {
        border-left: 0;
        padding-left: 0;
    }

    .hero-v4,.story-lead,.pair,.map-compare,.urban-follow,.documents,.portrait-section,.contact,.result-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero {
        padding: 26px 0 32px;
    }

    .section {
        padding: 14px 0 32px;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .story {
        padding: 23px 0 27px;
    }

    .section-heading {
        gap: 12px;
    }

    .plan-overlay ol {
        columns: 1;
    }

    .lightbox {
        padding: 52px 8px 12px;
    }

    .lightbox-inner {
        padding: 0;
        max-height: calc(100dvh - 70px);
    }

    .lightbox-close {
        right: 14px;
    }

    .lightbox-image {
        max-height: calc(100dvh - 100px);
    }

    .lightbox-plan-text ol {
        columns: 1;
    }

    .lightbox-plan .lightbox-image {
        max-height: 40dvh;
    }

    .dorm-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .slideshow-duo {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .showcase.portrait {
        max-width: 420px;
    }

    .pair-matched figure>a {
        height: auto;
    }

    .pair-matched figure>a img {
        height: auto;
    }

    .documents {
        grid-template-columns: 1fr;
    }

    .lightbox-slideshow .lightbox-image {
        max-height: calc(100dvh - 240px);
    }

    #vertraege .documents {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .urban-follow>figure,.urban-follow>div {
        width: 100%;
    }

    .plan-viewport {
        height: calc(100dvh - 175px);
    }

    .project-copy {
        columns: 1;
    }

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

    .plan-composite .plan-overlay {
        font-size: clamp(4px,.88cqw,9px);
    }

    .lightbox-plan .plan-zoom-composite .plan-overlay {
        font-size: clamp(5px,1.02cqw,18px);
    }

    .quick-links {
        column-gap: 15px;
        row-gap: 10px;
    }

    .quick-label {
        width: 100%;
    }

    .contact-map {
        width: 220px;
    }

    .combined-contact {
        margin-top: 30px;
        padding-top: 25px;
    }

    .footer .legal .wrap {
        width: calc(100% - 32px);
    }

    .showcase.landscape .photo-slideshow {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .showcase.portrait .photo-slideshow {
        aspect-ratio: 3 / 4;
        height: auto;
    }

    #vertraege .documents>div {
        max-width: none;
        width: 100%;
    }
}
@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    .dorm-slide {
        transition: none;
    }

    .photo-slide {
        transition: none;
    }
}
