:root {
    --color-background: #97ad89;
    --color-text: #232323;
    --color-logo: #d0e0bb;
    --color-rule: #42503b;
    --font-body: 'Suisse Intl', Arial, Helvetica, sans-serif;
    --font-large: clamp(18px, 1.198vw, 23px);
    --font-small: 14px;
    --line-large: 1.2173913;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; scroll-behavior: smooth; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font: 400 var(--font-large)/var(--line-large) var(--font-body); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, h4, h5, h6, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
/* Headings on the design's size steps (70/50/23/18/14 px); h3 is the text size like the page titles. No bold, only Regular is loaded. */
h1, h2, h3, h4, h5, h6 { font: inherit; }
h1 { font-size: clamp(36px, 2.604vw, 50px); line-height: 1.1; }
h2 { font-size: clamp(28px, 1.875vw, 36px); line-height: 1.15; }
h4 { font-size: 18px; line-height: 21px; letter-spacing: .5px; }
h5, h6 { font-size: var(--font-small); line-height: 17px; letter-spacing: .5px; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; text-underline-offset: .17em; }
a:hover { text-decoration: underline; }
button, summary { color: inherit; font: inherit; }
button { border: 0; padding: 0; background: none; cursor: pointer; }
img { display: block; }
img:not([src$='.svg']) { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #232323; outline-offset: 5px; }
::selection { background: #d5e6c3; color: #1d1d1b; }
[hidden] { display: none !important; }
.asset-mobile, .caption-mobile { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-180%); padding: 12px 18px; background: white; z-index: 100; }
.skip-link:focus { transform: none; }
.page-header { position: relative; z-index: 10; }
.header-logo { position: fixed; left: 3.125%; top: calc(50vh - 40px); width: 230px; height: 76.241px; transform-origin: left center; }
.header-logo img { width: 230px; height: 76.2407px; }
.hamburger { position: fixed; right: 0; top: calc(50vh - 40px); width: 76px; height: 50px; }
.hamburger img { width: 76px; height: 50px; }
.hamburger:hover { filter: brightness(.97); }
.nav-primary { max-width: none; max-height: none; width: 100%; height: 100dvh; inset: 0; margin: 0; padding: 0; border: 0; background: transparent; color: var(--color-text); overflow: auto; }
.nav-primary::backdrop { background: rgba(0,0,0,.11); }
/* Menu slides in from the right and back out in 0.2 s, the backdrop fades. The whole dialog moves (it covers the
   viewport), not .nav-panel: a moved panel would also move its fixed close button. Open it has no translate, so the
   close button stays fixed while the menu scrolls. @starting-style is the look right before opening, allow-discrete
   keeps the closing dialog visible until the end. Without support (older browsers) it opens without effect. */
.nav-primary { translate: 100% 0; transition: translate .2s ease-out, overlay .2s allow-discrete, display .2s allow-discrete; }
.nav-primary::backdrop { opacity: 0; transition: opacity .2s, overlay .2s allow-discrete, display .2s allow-discrete; }
.nav-primary[open] { translate: none; }
.nav-primary[open]::backdrop { opacity: 1; }
@starting-style { .nav-primary[open] { translate: 100% 0; } .nav-primary[open]::backdrop { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nav-primary, .nav-primary::backdrop { transition: none; } }
.nav-panel { position: relative; margin-left: 48.75%; min-height: 100%; background: #fff; padding: 44px 40px 24px 50px; display: flex; flex-direction: column; }
.nav-close { position: fixed; right: 51.25%; top: calc(50vh - 40px); width: 86.8154px; height: 66px; }
.nav-close img { width: 86.8154px; height: 66px; }
.nav-top { display: grid; grid-template-columns: minmax(0, 1fr) 269px; gap: 24px; }
.nav-main { font-size: clamp(42px, 3.646vw, 70px); line-height: 1.1; }
.nav-main a { display: inline-block; }
.nav-contacts { padding-top: 11px; font-size: 18px; line-height: 21px; letter-spacing: .5px; }
.nav-contacts address { font-style: normal; }
.nav-social { margin-top: 55px; display: grid; gap: 5px; }
.nav-bottom { margin-top: auto; padding-top: 80px; }
.nav-statement { max-width: 458px; margin-bottom: 20px; font-size: 23px; line-height: 28px; }
.nav-contact-large { display: flex; flex-direction: column; font-size: clamp(25px, 3.646vw, 70px); line-height: 1.03; letter-spacing: -.025em; }
.nav-contact-large a { width: fit-content; overflow-wrap: anywhere; }
.nav-footer { position: absolute; right: 16px; bottom: 300px; display: flex; flex-direction: column; font-size: 12px; line-height: 15px; letter-spacing: .5px; writing-mode: vertical-rl; transform: rotate(180deg); }
.nav-social span { cursor: default; }
.home { height: 100vh; height: 100dvh; overflow: hidden; }
.home .page-container { position: relative; width: 100%; height: 100%; }
.home-visual, .home .cms_video_upload, .home .cms_video_upload video { display: block; width: 100%; height: 100%; object-fit: cover; }
.home .page-container::after { content: ''; position: absolute; inset: 0; background: #000; opacity: .2; pointer-events: none; }
.view-switch { position: absolute; top: 60px; right: 5.3%; display: flex; align-items: center; gap: 9px; font-size: 14px; line-height: 18px; letter-spacing: .5px; }
.view-switch a { padding-block: 8px; margin-block: -8px; }
/* Toggle drawn in CSS; the knob sits on the side of the current view (flipped for the list). */
.view-switch__track { position: relative; display: block; width: 32.4px; height: 17.28px; border: 1px solid currentColor; border-radius: 8.64px; }
.view-switch__track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 11.28px; height: 11.28px; border-radius: 50%; background: currentColor; }
.view-switch--list .view-switch__track { transform: scaleX(-1); }
.project-card { margin-bottom: 20px; scroll-margin-top: 24px; }
.project-heading { min-height: 55px; padding-top: 10px; border-top: 1px solid var(--color-rule); }
.project-heading h2 { font-size: var(--font-large); }
.project-heading__meta { font-size: 14px; line-height: 17px; letter-spacing: .5px; }
.project-heading__meta:nth-last-child(-n+2) { text-align: right; }
.project-gallery__image { position: relative; display: block; overflow: hidden; }
.project-gallery__image img { width: 100%; height: 100%; object-fit: cover; }
.project-gallery__image:hover img { opacity: .9; }
.project-gallery__image.crop-bath img { position: absolute; height: 157.59%; top: -50.05%; }
.project-gallery__image.crop-villa img { position: absolute; height: 112.07%; width: 160.32%; max-width: none; top: -12.07%; left: -30.16%; }
.project-gallery__image.crop-attic img { position: absolute; width: 100.22%; max-width: none; left: -.11%; }
.work-list .project-card { margin-bottom: 0; }
.work-list .project-heading { min-height: 53px; }
/* Page title as its own row (title element) above the intro; with the 10 px item margin 28 px to the texts. */
.page-title { color: #000; padding-bottom: 28px !important; }
/* Intro row of two text columns (the title is its own row above): both start at the same height. */
.intro-grid__main { color: #000; }
.intro-grid__aside { font-size: 14px; line-height: 17px; letter-spacing: .5px; color: #000; }
.team-list { margin-top: 58px; }
.accordion { border-top: 1px solid var(--color-rule); }
/* CMS accordion: cms.js sets .is-open on .cms_accordion; the CMS outputs no label, so it comes from CSS. */
.accordion .accordeon-headline { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; min-height: 49px; padding-top: 10px; cursor: pointer; }
.accordion .accordeon-headline > * { font: inherit; letter-spacing: inherit; }
.accordion .accordeon-headline::after { content: 'Mehr lesen'; font-size: 14px; line-height: 17px; letter-spacing: .5px; flex-shrink: 0; }
.accordion .is-open > .accordeon-headline::after { content: 'Schliessen'; }
/* The whole opened content (text, link, download rows), not only the text column. */
.accordion .accordeon-wrap { max-width: 926px; padding-top: 16px; padding-bottom: 34px; font-size: 18px; line-height: 21px; letter-spacing: .5px; color: #000; }
/* Row with two images (CMS row class). The grid replaces the template's inline column widths and
   the core's stacking below 460 px, hence !important; the caption is the image's «Legende». */
.before-after { max-width: 740px; margin-top: 24px; }
.before-after > .cms_column_group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.before-after > .cms_column_group::after { display: none; }
.before-after .cms_column { width: auto !important; margin: 0 !important; }
.before-after img { width: 100%; height: auto; }
.before-after .legende { margin-top: 8px; font-size: 14px; line-height: 17px; }
.services .page-content { min-height: 1352px; }
.team-row { border-top: 1px solid var(--color-rule); min-height: 55px; padding-top: 10px; }
.team-row > :not(:first-child), .team-row small { font-size: 14px; line-height: 17px; letter-spacing: .5px; }
.team-row > :not(:first-child) { text-align: right; }
.team-row small { margin-left: 10px; }
.team-row a { overflow-wrap: anywhere; }
.team-list .accordion { border-top: 0; }
.team-list .accordion summary { display: grid; }
.team-list .accordion__content { padding-bottom: 24px; }
.side-caption { position: absolute; left: 3.125%; top: 56px; max-width: 17%; font-size: 14px; line-height: 17px; letter-spacing: .5px; }
.side-caption h1 { font-size: 23px; line-height: 28px; letter-spacing: 0; margin-bottom: 28px; }
.side-caption a { overflow-wrap: anywhere; }
/* Project detail: CSS classes of the CMS row templates. Widths and gaps replace the templates' inline
   values (hence !important); the gaps count in the 10 px item margin. */
.cms_column.detail-intro__text { width: 66.07% !important; min-height: 416px; color: #000; }
.cms_column.detail-facts { width: 26.25% !important; margin-left: 7.68% !important; font-size: 14px; line-height: 17px; letter-spacing: .5px; color: #000; }
.cms_column:is(.detail-hero, .detail-portrait, .detail-small, .detail-wide, .detail-landscape) { margin: 0 0 52px !important; }
/* In a row with two images the second one sits at the right edge. */
.cms_column:is(.detail-portrait, .detail-small) + .cms_column:is(.detail-small, .detail-landscape) { float: right; }
.cms_column.detail-hero { width: 66.128% !important; }
.cms_column.detail-portrait { width: 34.716% !important; }
.cms_column.detail-small { width: 26.25% !important; }
.cms_column.detail-wide { width: 100% !important; }
.cms_column.detail-landscape { width: 66.0714% !important; }
:is(.detail-hero, .detail-portrait, .detail-small, .detail-wide, .detail-landscape) img { width: 100%; height: auto; object-fit: cover; }
.detail-hero img { aspect-ratio: 740.638/494; }
.detail-portrait img { aspect-ratio: 388.819/582.944; }
.detail-small img { aspect-ratio: 294/223.515; }
.detail-wide img { aspect-ratio: 1120/747.031; }
.detail-landscape img { aspect-ratio: 740/562.588; }
/* Person page: CSS classes of the CMS row templates. max-width, because the template writes width: 100% inline;
   the spacing counts in the templates' 10 px item margin and the 12 px column padding of the text template. */
.profile-intro { max-width: 67.9%; color: #000; }
.profile-photo img { width: 100%; height: auto; }
.trennlinie { margin: 37px 0 0; border: 0; border-top: 1px solid var(--color-rule); }
.publication-title .cms_item { min-height: 36px; }
.publication-title .cms_item > *, .publication-title .headline_cms > * { font-size: 23px; line-height: 28px; letter-spacing: 0; }
.publication-section__text { font-size: 18px; line-height: 21px; letter-spacing: .5px; max-width: 763px; color: #000; }
.publication-section__text a, .article-links a, .content-link a { text-decoration: underline; }
/* Document element: replaces the core file-type icon (cms.css) with a download icon in the text colour. */
.content-download a.file { display: inline-flex; align-items: center; gap: 12px; padding: 0; background: none; }
.content-download a.file::before { content: ''; flex-shrink: 0; width: 1em; height: 1em; background: currentColor; -webkit-mask: url(../images/download.svg) center / contain no-repeat; mask: url(../images/download.svg) center / contain no-repeat; }
.books { position: relative; margin-top: 10px; width: 66.0714%; aspect-ratio: 740/216; }
.book { position: absolute; top: 0; width: 29.189%; height: 100%; }
.book img { width: 100%; height: 100%; object-fit: cover; }
.book:first-child { left: 0; width: 22.973%; overflow: hidden; }
.book:first-child img { width: 127.06%; max-width: none; position: absolute; left: -27.06%; }
.book:nth-child(2) { left: 19.351%; }
.book:nth-child(3) { left: 44.469%; }
.book:nth-child(4) { right: 0; }
.publications-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 36px; row-gap: 24px; width: 66.0714%; margin-top: 12px; }
.publication-preview { display: flex; align-items: flex-end; gap: 7px; }
.publication-preview .cover { width: calc(100% - 25px); height: auto; aspect-ratio: 199/256.774; object-fit: cover; }
.publication-preview .download-icon { flex: 0 0 18px; width: 18px; height: 19px; }
.article-links { padding-top: 11px; font-size: 18px; line-height: 21px; letter-spacing: .5px; }
.lightbox { border: 0; padding: 55px 70px 45px; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: var(--color-background); color: #fff; }
.lightbox::backdrop { background: var(--color-background); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; }
.lightbox__image { max-width: 100%; max-height: calc(100% - 45px); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { font-size: 14px; line-height: 20px; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 22px; padding: 10px; font-size: 16px; }
.lightbox__prev, .lightbox__next { position: absolute; top: calc(50% - 25px); width: 50px; height: 50px; font-size: 34px; }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
.lightbox :focus-visible { outline-color: white; }
/* Rich text of the CMS text element: one blank line between blocks, lists and links that the reset above removes. */
.text > * + * { margin-top: calc(var(--line-large) * 1em); }
.text ul, .text ol { padding-left: 1.2em; }
.text ul { list-style: disc; }
.text ol { list-style: decimal; }
.text a { text-decoration: underline; }
.legal-content { max-width: 740px; }
.legal-content h1 { margin-bottom: 28px; }
.legal-content p + p { margin-top: 28px; }
.no-script-nav { padding: 20px; font-size: 18px; }
.no-script-nav a { margin-right: 20px; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
