:root,
[data-bs-theme=light] {
  --ar-primary: #f1b200;
  --ar-primary-rgb: 241, 178, 0;
  --bs-primary: #f1b200;
  --bs-primary-rgb: 241, 178, 0;
  --ar-secondary: #717171;
  --ar-secondary-rgb: 113, 113, 113;
  --bs-secondary: #717171;
  --bs-secondary-rgb: 113, 113, 113;
  --ar-warning: #edcb50;
  --ar-warning-rgb: 237, 203, 80;
  --bs-warning: #edcb50;
  --bs-warning-rgb: 237, 203, 80;
  --ar-info: #3f7fca;
  --ar-info-rgb: 63, 127, 202;
  --bs-info: #3f7fca;
  --bs-info-rgb: 63, 127, 202;
  --ar-success: #3fca90;
  --ar-success-rgb: 63, 202, 144;
  --bs-success: #3fca90;
  --bs-success-rgb: 63, 202, 144;
  --ar-danger: #ed5050;
  --ar-danger-rgb: 237, 80, 80;
  --bs-danger: #ed5050;
  --bs-danger-rgb: 237, 80, 80;
  --ar-light: #eeeeee;
  --ar-light-rgb: 238, 238, 238;
  --bs-light: #eeeeee;
  --bs-light-rgb: 238, 238, 238;
  --ar-dark: #2d323a;
  --ar-dark-rgb: 45, 50, 58;
  --bs-dark: #2d323a;
  --bs-dark-rgb: 45, 50, 58;
  --ar-link-color: #f1b200;
  --ar-link-hover-color: #d89900;
  --bs-link-color: #f1b200;
  --bs-link-color-rgb: 241, 178, 0;
  --bs-link-hover-color: #d89900;
  --ar-body-font-family: 'Foundry Sans W01 Nrml', sans-serif;
  --ar-heading-font-family: 'Foundry Sans W01 Md', sans-serif;
  --ar-root-font-size: 1rem;
  --ar-body-font-size: 1rem;
  --ar-border-width: 1px;
  --ar-border-radius: 0rem;
  --ar-border-radius-sm: calc(var(--ar-border-radius) * 0);
  --ar-border-radius-lg: calc(var(--ar-border-radius) * 0);
  --ar-border-radius-xl: calc(var(--ar-border-radius) * 0);
  --ar-border-radius-xxl: calc(var(--ar-border-radius) * 2.25);
}
[data-bs-theme=light] {
  --ar-body-bg: #ffffff;
  --bs-body-bg: #ffffff;
  --ar-body-bg-rgb: 255, 255, 255;
  --bs-body-bg-rgb: 255, 255, 255;
  --ar-body-color: #666e70;
  --bs-body-color: #666e70;
  --ar-body-color-rgb: 102, 110, 112;
  --bs-body-color-rgb: 102, 110, 112;
  --ar-secondary-color: #858c97;
  --bs-secondary-color: #858c97;
  --ar-heading-color: #717171;
  --bs-heading-color: #717171;
  --ar-border-color: #e3e9ef;
  --bs-border-color: #e3e9ef;
}
[data-bs-theme=light] .card {
  --ar-card-bg: #ffffff;
}
.btn-primary {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #f1b200;
  --ar-btn-border-color: #f1b200;
  --ar-btn-hover-bg: #d89900;
  --ar-btn-hover-border-color: #d89900;
  --ar-btn-active-bg: #d89900;
  --ar-btn-active-border-color: #d89900;
  --ar-btn-disabled-bg: #f1b200;
  --ar-btn-disabled-border-color: #f1b200;
}
.btn-outline-primary {
  --ar-btn-color: #f1b200;
  --ar-btn-border-color: #f1b200;
  --ar-btn-hover-bg: #f1b200;
  --ar-btn-hover-border-color: #f1b200;
  --ar-btn-active-bg: #f1b200;
  --ar-btn-active-border-color: #f1b200;
  --ar-btn-disabled-color: #f1b200;
  --ar-btn-disabled-border-color: #f1b200;
}
.btn-secondary {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #717171;
  --ar-btn-border-color: #717171;
  --ar-btn-hover-bg: #585858;
  --ar-btn-hover-border-color: #585858;
  --ar-btn-active-bg: #585858;
  --ar-btn-active-border-color: #585858;
  --ar-btn-disabled-bg: #717171;
  --ar-btn-disabled-border-color: #717171;
}
.btn-outline-secondary {
  --ar-btn-color: #717171;
  --ar-btn-border-color: #717171;
  --ar-btn-hover-bg: #717171;
  --ar-btn-hover-border-color: #717171;
  --ar-btn-active-bg: #717171;
  --ar-btn-active-border-color: #717171;
  --ar-btn-disabled-color: #717171;
  --ar-btn-disabled-border-color: #717171;
}
.btn-warning {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #edcb50;
  --ar-btn-border-color: #edcb50;
  --ar-btn-hover-bg: #d4b237;
  --ar-btn-hover-border-color: #d4b237;
  --ar-btn-active-bg: #d4b237;
  --ar-btn-active-border-color: #d4b237;
  --ar-btn-disabled-bg: #edcb50;
  --ar-btn-disabled-border-color: #edcb50;
}
.btn-outline-warning {
  --ar-btn-color: #edcb50;
  --ar-btn-border-color: #edcb50;
  --ar-btn-hover-bg: #edcb50;
  --ar-btn-hover-border-color: #edcb50;
  --ar-btn-active-bg: #edcb50;
  --ar-btn-active-border-color: #edcb50;
  --ar-btn-disabled-color: #edcb50;
  --ar-btn-disabled-border-color: #edcb50;
}
.btn-info {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #3f7fca;
  --ar-btn-border-color: #3f7fca;
  --ar-btn-hover-bg: #2666b1;
  --ar-btn-hover-border-color: #2666b1;
  --ar-btn-active-bg: #2666b1;
  --ar-btn-active-border-color: #2666b1;
  --ar-btn-disabled-bg: #3f7fca;
  --ar-btn-disabled-border-color: #3f7fca;
}
.btn-outline-info {
  --ar-btn-color: #3f7fca;
  --ar-btn-border-color: #3f7fca;
  --ar-btn-hover-bg: #3f7fca;
  --ar-btn-hover-border-color: #3f7fca;
  --ar-btn-active-bg: #3f7fca;
  --ar-btn-active-border-color: #3f7fca;
  --ar-btn-disabled-color: #3f7fca;
  --ar-btn-disabled-border-color: #3f7fca;
}
.btn-success {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #3fca90;
  --ar-btn-border-color: #3fca90;
  --ar-btn-hover-bg: #26b177;
  --ar-btn-hover-border-color: #26b177;
  --ar-btn-active-bg: #26b177;
  --ar-btn-active-border-color: #26b177;
  --ar-btn-disabled-bg: #3fca90;
  --ar-btn-disabled-border-color: #3fca90;
}
.btn-outline-success {
  --ar-btn-color: #3fca90;
  --ar-btn-border-color: #3fca90;
  --ar-btn-hover-bg: #3fca90;
  --ar-btn-hover-border-color: #3fca90;
  --ar-btn-active-bg: #3fca90;
  --ar-btn-active-border-color: #3fca90;
  --ar-btn-disabled-color: #3fca90;
  --ar-btn-disabled-border-color: #3fca90;
}
.btn-danger {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #ed5050;
  --ar-btn-border-color: #ed5050;
  --ar-btn-hover-bg: #d43737;
  --ar-btn-hover-border-color: #d43737;
  --ar-btn-active-bg: #d43737;
  --ar-btn-active-border-color: #d43737;
  --ar-btn-disabled-bg: #ed5050;
  --ar-btn-disabled-border-color: #ed5050;
}
.btn-outline-danger {
  --ar-btn-color: #ed5050;
  --ar-btn-border-color: #ed5050;
  --ar-btn-hover-bg: #ed5050;
  --ar-btn-hover-border-color: #ed5050;
  --ar-btn-active-bg: #ed5050;
  --ar-btn-active-border-color: #ed5050;
  --ar-btn-disabled-color: #ed5050;
  --ar-btn-disabled-border-color: #ed5050;
}
.btn-light {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #eeeeee;
  --ar-btn-border-color: #eeeeee;
  --ar-btn-hover-bg: #d5d5d5;
  --ar-btn-hover-border-color: #d5d5d5;
  --ar-btn-active-bg: #d5d5d5;
  --ar-btn-active-border-color: #d5d5d5;
  --ar-btn-disabled-bg: #eeeeee;
  --ar-btn-disabled-border-color: #eeeeee;
}
.btn-outline-light {
  --ar-btn-color: #eeeeee;
  --ar-btn-border-color: #eeeeee;
  --ar-btn-hover-bg: #eeeeee;
  --ar-btn-hover-border-color: #eeeeee;
  --ar-btn-active-bg: #eeeeee;
  --ar-btn-active-border-color: #eeeeee;
  --ar-btn-disabled-color: #eeeeee;
  --ar-btn-disabled-border-color: #eeeeee;
}
.btn-dark {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #2d323a;
  --ar-btn-border-color: #2d323a;
  --ar-btn-hover-bg: #141921;
  --ar-btn-hover-border-color: #141921;
  --ar-btn-active-bg: #141921;
  --ar-btn-active-border-color: #141921;
  --ar-btn-disabled-bg: #2d323a;
  --ar-btn-disabled-border-color: #2d323a;
}
.btn-outline-dark {
  --ar-btn-color: #2d323a;
  --ar-btn-border-color: #2d323a;
  --ar-btn-hover-bg: #2d323a;
  --ar-btn-hover-border-color: #2d323a;
  --ar-btn-active-bg: #2d323a;
  --ar-btn-active-border-color: #2d323a;
  --ar-btn-disabled-color: #2d323a;
  --ar-btn-disabled-border-color: #2d323a;
}
.accordion-button:not(.collapsed)::after {
  --ar-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%23f1b200'%3e%3cpath%20d='M.5%206.3c.6-.6%201.6-.6%202.3%200l9.3%209.3%209.3-9.3c.6-.6%201.6-.6%202.3%200%20.6.6.6%201.6%200%202.3L13.3%2018.8c-.6.6-1.6.6-2.3%200L.8%208.5c-.9-.8-.9-1.6-.3-2.2z'/%3e%3c/svg%3e");
}
/* fuerst-moebel - site CSS (booost.theme_custom_css). Keep byte-identical with the
   registry: python3 specs/push_css.py [--check]. Values = live computed styles
   (specs/live-styles.txt, 2026-10-16). @@custom.css loads before the theme:
   selectors carry an extra element/class for specificity. */

/* content width 1040 px as live (x 200-1240 at 1440) */
@media (min-width: 1200px) {
  html body .container, html body .container-lg, html body .container-xl, html body .container-xxl {
    max-width: 1072px;
  }
  /* page rows: text at x 200, 1040 wide like live (header keeps its 16 px container gutter) */
  html body main .mosaic-grid-row.container { padding-left: 4px; padding-right: 4px; }
}

/* type: Foundry Sans, the live site's own files, unchanged in /media/fonts (user decision
   2026-10-28). Same three single-face families as live (no weight descriptor) and the same
   family + CSS weight per element as live: a weight >= 600 renders synthetic bold on both
   sides. Check: node specs/fonts.mjs > specs/fonts.md */
@font-face { font-family: "Foundry Sans W01 Nrml"; src: url("../media/fonts/FoundrySans-Normal.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Foundry Sans W01 Md"; src: url("../media/fonts/FoundrySans-Medium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Foundry Sans W01 Bd"; src: url("../media/fonts/FoundrySans-Bold.ttf") format("truetype"); font-display: swap; }
html body { font-size: 18px; line-height: 1.42; font-weight: 500; }
/* live renders with the browser's default smoothing (booost: antialiased, visibly thinner) */
html body, html body * { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
html body main p, html body main li { font-size: 22px; line-height: 28px; }
html body main h1, html body main .h1 { font-family: "Foundry Sans W01 Bd", sans-serif; font-size: 42px; line-height: 52px; font-weight: 300; letter-spacing: -1px; }
html body main h2, html body main .h2, html body main h4, html body main .h4,
html body main h5, html body main .h5 { font-family: "Foundry Sans W01 Md", sans-serif; font-weight: 400; }
html body main h2, html body main .h2 { font-size: 30px; line-height: 39px; }
html body main h3, html body main .h3 { font-family: "Foundry Sans W01 Bd", sans-serif; font-size: 22px; line-height: 28px; font-weight: 400; color: var(--bs-primary); }
html body main h6, html body main .h6 { font-family: "Foundry Sans W01 Bd", sans-serif; font-weight: 600; }
html body main h3 a { color: var(--bs-primary); text-decoration: none; }
html body main p a:not(.btn) { color: var(--bs-primary); font-family: "Foundry Sans W01 Md", sans-serif; font-weight: 700; }
html body main p a:not(.btn):hover { color: #be8c00; }

/* top bar 46 px: search field + social icons right, white on yellow, no boxes */
html body #topbar { padding-top: 6px; padding-bottom: 6px; min-height: 46px; }
html body #topbar .container { justify-content: flex-end !important; gap: 0 8px; }
html body #topbar form .col-12 { padding: 0; }
html body #topbar .search-field { background: transparent !important; border: 0; box-shadow: none;
  color: #fff; width: 130px; height: 34px; padding: 4px 8px; font-size: 14px; text-align: right; }
html body #topbar .search-field::placeholder { color: #fff; opacity: 1; }
html body #topbar .btn { background: transparent !important; border: 0 !important; box-shadow: none !important;
  color: #fff !important; width: 34px; height: 34px; padding: 0; font-size: 18px; margin: 0 !important; }

/* icons: the live theme's fontello glyphs (/media/fonts/fontello.woff, unchanged) in the
   top bar and colophon instead of the Bootstrap Icons set: search, Facebook, Instagram, LinkedIn */
@font-face { font-family: "fontello"; src: url("../media/fonts/fontello.woff") format("woff"); font-weight: normal; font-style: normal; font-display: block; }
html body #topbar .bi::before, html body #ui-colophon .bi::before { font-family: "fontello" !important; font-weight: normal !important; }
html body #topbar .bi-search::before { content: "\e51d"; font-size: 16px; }
html body #topbar .gap-1, html body #ui-colophon .gap-1 { gap: 0 !important; } /* live: 34 px icon pitch */
html body #ui-colophon .btn-icon { margin: 0 !important; }
html body #topbar .bi-facebook::before, html body #ui-colophon .bi-facebook::before { content: "\e465"; }
html body #topbar .bi-instagram::before, html body #ui-colophon .bi-instagram::before { content: "\e47b"; }
html body #topbar .bi-linkedin::before, html body #ui-colophon .bi-linkedin::before { content: "\e46e"; }

/* header 140 px: logo 20 px from the top, nav text below the logo line (baseline as live with Foundry Sans) */
html body header.navbar { padding-top: 20px; padding-bottom: 35px; min-height: 140px; align-items: flex-start; }
html body header.navbar .navbar-brand { padding-top: 0; padding-bottom: 0; }
html body header.navbar .navbar-nav { gap: 0 80px; align-self: flex-end; margin-bottom: -63px; margin-right: 13px; }
html body header.navbar .navbar-nav .nav-link { font-family: "Foundry Sans W01 Md", sans-serif; font-size: 22px; font-weight: 500; padding-left: 0; padding-right: 0; }
html[data-bs-theme="light"] body header.navbar .nav-link,
html:not([data-bs-theme]) body header.navbar .nav-link { color: #717171; }
html body header.navbar .nav-link:hover,
html body header.navbar .nav-link.active,
html body header.navbar .nav-item.active > .nav-link,
html body header.navbar .nav-link[aria-current] { color: #f1b200; }

/* footer + colophon #717171 (.bg-secondary does not follow theme_secondary) */
html body footer.footer, html body footer.footer.bg-secondary,
html body .colophon, html body #ui-colophon, html body #ui-colophon.bg-secondary { background-color: #717171 !important; }
html body footer.footer { color: #fff; padding-top: 40px; }
html body footer.footer p { font-family: "Foundry Sans W01 Md", sans-serif; font-size: 22px; line-height: 24px; font-weight: 500; color: #fff; }
html body footer.footer a { color: #fff; font-size: 18px; font-weight: 500; text-decoration: none; }
html body footer.footer a:hover { color: #f1b200; }
html body footer.footer h6, html body footer.footer h6 a,
html body footer.footer .card-header, html body footer.footer .portlet-header {
  color: #f1b200; font-family: "Foundry Sans W01 Bd", sans-serif; font-size: 18px; line-height: 24px; font-weight: 600; text-decoration: none;
}
html body footer.footer h6 { margin-bottom: 20px; }
html body footer.footer .card-body > h2 { color: #f1b200; font-family: "Foundry Sans W01 Bd", sans-serif; font-size: 18px; line-height: 24px; font-weight: 600; margin-bottom: 20px; padding: 0 !important; }
html body footer.footer a { font-family: "Foundry Sans W01 Md", sans-serif; font-weight: 500; }
html body footer.footer p + p { font-size: 18px; }
html body footer.footer a[href^="mailto:"] { color: #f1b200; font-family: "Foundry Sans W01 Bd", sans-serif; font-weight: 500; }
html body #ui-colophon { border-top: 1px solid #fff; }
html body #ui-colophon .nav-link, html body #ui-colophon .sponsor-text { color: #fff; font-family: "Foundry Sans W01 Nrml", sans-serif; font-size: 16px; font-weight: 500; }
html body #ui-colophon .btn { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #fff !important; width: 34px; height: 34px; padding: 0; font-size: 18px; }

/* yellow bands: keep the brand yellow inside dark-mode blocks (booost lightens it) */
html body .bg-primary, html body [data-bs-theme="dark"] .bg-primary,
html body .bg-primary[data-bs-theme="dark"] { background-color: #f1b200 !important; }
html body main .bg-primary p { color: #eee; }
html body main .bg-primary h2 { color: #fff; }

/* testimonial slider on yellow: no card, white quote, centred */
html body main .bg-primary .swiper .card,
html body main .bg-primary .card { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body main .bg-primary .card, html body main .bg-primary .card p,
html body main .bg-primary .card .card-text { color: #fff; text-align: center; }
html body main .bg-primary .card .card-title, html body main .bg-primary .card h3 {
  color: #717171; font-size: 18px; font-weight: 700;
}

/* news (view "Gallery", image type "Image with caption", since 2026-11-03): the whole figure is
   the link, hover zoom like live, square corners, caption = yellow bold title under the picture,
   pitch like live: picture, 10 px, title (32.4), 30 px to the next picture */
html body main .fm-news a.zoom-effect { text-decoration: none; }
html body main .fm-news .figure { display: block; margin: 0; }
html body main .fm-news .zoom-effect-wrapper { overflow: hidden; }
html body main .fm-news .zoom-effect-wrapper, html body main .fm-news .zoom-effect-wrapper .placeholder,
html body main .fm-news .figure-img { border-radius: 0 !important; margin-bottom: 0 !important; }
html body main .fm-news .figure-caption {
  display: block; margin: 10px 0 0; text-align: left !important;
  color: #f1b200 !important; font-family: "Foundry Sans W01 Bd", sans-serif;
  font-size: 18px !important; line-height: 32.4px !important; font-weight: 600 !important;
}
html body main .fm-news .row.g-4, html body main .fm-news.row.g-4 { --ar-gutter-y: 30px; --bs-gutter-y: 30px; }
/* hover zoom like live (scale 1.08, .2 s ease-out): booost adds zoom-effect-img only to
   card images and never triggers it on the content-overlay link or the figure, so the
   trigger comes from here for both listings */
html body main .fm-news .figure-img, html body main .fm-projects .card-hover img { transition: transform .2s ease-out; }
html body main .fm-news a:hover .figure-img, html body main .fm-projects .card-hover:hover img { transform: scale(1.08); }
html body main .fm-projects .card-hover { overflow: hidden; }

/* square pictures (live 333 x 333): the listings use the scale "square" (500 x 500 crop), no CSS */
/* project hover overlay (view "Grid: Content overlay", 2026-11-02) as live: white veil 0.85
   (dark mode: body background), yellow title Foundry Bd 22/28, fontello chevron 30 px below */
html body main .fm-projects .card-hover > .z-2 { border-radius: inherit !important; }
html body main .fm-projects .card-hover > .z-2 > .bg-black { background-color: var(--bs-body-bg) !important; opacity: .85 !important; }
html body main .fm-projects .card-hover > .z-2 > .text-center { padding: 0 24px; }
html body main .fm-projects .card-hover > .z-2 .text-white {
  color: #f1b200 !important; font-family: "Foundry Sans W01 Bd", sans-serif; font-size: 22px !important; line-height: 28px; font-weight: 400 !important; }
html body main .fm-projects .card-hover > .z-2 .text-white::after {
  content: "\e4dc"; display: block; margin-top: 11px; font-family: "fontello"; font-size: 30px; line-height: 1; font-weight: normal; }
html body main .fm-projects .masonry-grid-item { padding-bottom: 0 !important; margin-bottom: 20px !important; }
html body main .fm-intro h1 { margin-bottom: 58px; }

/* testimonial slider on yellow (template sets text-dark) */
html body main .bg-primary .swiper-slide p { color: #fff !important; font-size: 22px; line-height: 28px; text-align: center; }
html body main .bg-primary .swiper-slide .d-flex { justify-content: center; text-align: center; margin-top: 24px; }
html body main .bg-primary .swiper-slide .testimonial-title { color: #717171; font-family: "Foundry Sans W01 Bd", sans-serif; font-size: 16px; font-weight: 700; }
html body main .bg-primary .swiper-slide .text-body-secondary { color: #fff !important; font-size: 18px; }

/* slider bullets on the yellow band: the active one is primary-filled by default and vanished
   into the band (2026-11-02) - white like the quote text there */
html body main .bg-primary .swiper-pagination {
  --ar-carousel-pagination-bullet-active-bg: #fff; --ar-carousel-pagination-bullet-active-border-color: #fff; }

/* buttons: dark like live */
html body main .btn-dark { background-color: #2d323a; border-color: #24282e; color: #fff; }

/* title band on detail pages: full width #717171, 72 px, white h1 30 px, breadcrumb right 12 px */
html body main section.fm-titlebar {
  background-color: #717171 !important; box-shadow: 0 0 0 100vmax #717171; clip-path: inset(0 -100vmax);
  padding-top: 10px !important; padding-bottom: 10px !important; margin-bottom: 52px !important; }
html body main section.fm-titlebar > .row { align-items: center; }
html body main section.fm-titlebar > .row > div { margin-bottom: 0 !important; padding-bottom: 0 !important; }
html body main section.fm-titlebar h1 { color: #fff; font-family: "Foundry Sans W01 Md", sans-serif; font-size: 30px; line-height: 52px; font-weight: 700; letter-spacing: 0; }
html body main section.fm-titlebar .breadcrumb { justify-content: flex-end; margin: 0; padding: 0 !important; font-size: 12px; font-weight: 700; }
html body main section.fm-titlebar .breadcrumb-item, html body main section.fm-titlebar .breadcrumb-item a { color: #fff; text-decoration: none; }
html body main section.fm-titlebar .breadcrumb-item:first-child { display: none; }
html body main section.fm-titlebar .breadcrumb-item + .breadcrumb-item::before { color: #fff; }
html body main section.fm-titlebar .col-xl-3 { flex: 0 0 auto; width: auto; margin-left: auto; }

/* project filter: plain grey words, active yellow (live), no buttons */
html body main .fm-projects .masonry-filters { gap: 0 !important; padding-bottom: 44px !important; padding-top: 20px; }
html body main .fm-projects .masonry-filters .btn {
  background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  color: #717171 !important; font-size: 18px; font-weight: 900; padding: 5px 10px; line-height: 24px; }
/* live: 20 px between the words (10 px padding each), 39 px per line */
html body main .fm-projects .masonry-filters .nav-item { margin: 0 0 5px !important; }
html body main .fm-projects .masonry-filters .btn.active,
html body main .fm-projects .masonry-filters .btn:hover { color: #f1b200 !important; }

/* detail pages: no related strip (live has none), facts like live (label grey, values yellow) */
html body main section[class*="related-items-"] { display: none !important; }
/* the facts are the tags block rows (Branchen / Materialien / Produkte via booost.badge_metadata, since 2026-11-03): heading "Details" like live, label grey, values yellow in a row, comma separated, no underline */
html body.portaltype-portfolio main .booost-sidebar-block:has([class*="booost-tags-"]) > h3 > span { display: none; }
html body.portaltype-portfolio main .booost-sidebar-block:has([class*="booost-tags-"]) > h3::before { content: "Details"; }
html body main .booost-sidebar-block [class*="booost-tags-"] { display: block !important; position: relative; padding-left: 111px; font-size: 18px; line-height: 24px; margin-bottom: 12px; font-family: "Foundry Sans W01 Md", sans-serif; }
html body main .booost-sidebar-block [class*="booost-tags-"] > .h6 { position: absolute; left: 0; top: 0; font-family: "Foundry Sans W01 Md", sans-serif; font-size: 18px; line-height: 24px; font-weight: 400; color: #666e70; margin: 0; padding: 0; }
html body main .booost-sidebar-block [class*="booost-tags-"] > .nav-link { display: inline; color: #f1b200; font-weight: 500; padding: 0; margin: 0 !important; text-decoration: none; }
html body main .booost-sidebar-block [class*="booost-tags-"] > .nav-link:hover { text-decoration: underline; }
html body main .booost-sidebar-block [class*="booost-tags-"] > .nav-link:not(:last-child)::after { content: ","; }
html body main section.fm-titlebar > .row { flex-wrap: nowrap; }
html body main section.fm-titlebar > .row > .col-lg-8 { flex: 1 1 auto; width: auto; }
html body main section.fm-titlebar .breadcrumb, html body main section.fm-titlebar .breadcrumb-item, html body main section.fm-titlebar .breadcrumb a { font-size: 12px !important; line-height: 16px; }

/* team (Wir): square photos, left-aligned name 18 px grey + position 22 px like live */
html body main .tile-template-team-grid-view .card-hover { max-width: none !important; text-align: left !important; padding-bottom: 65px !important; }
html body main .tile-template-team-grid-view img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; height: auto !important; }
html body main .tile-template-team-grid-view .pt-4 { padding-top: 10px !important; padding-bottom: 0 !important; }
html body main .tile-template-team-grid-view h3 { color: #717171; font-family: "Foundry Sans W01 Md", sans-serif; font-size: 18px; line-height: 23px; font-weight: 400; margin-bottom: 4px !important; }
html body main .tile-template-team-grid-view .text-body-secondary { color: #000 !important; font-size: 22px; line-height: 28px; }

/* image bands: legacy imagefullwidth heights (parallax 35 % of the width; contact band 40 %) */
html body main .fm-band .jarallax > .position-relative { padding: 0 !important; }
html body main .fm-band-35 .ratio.d-md-block { --ar-aspect-ratio: 35%; }
html body main .fm-band-40 .ratio.d-md-block { --ar-aspect-ratio: 40%; }

/* testimonial band height like live (~300 px) */
html body main .bg-primary .tile-template-slider-testimonials-view .row { padding-top: 0 !important; margin-top: 0 !important; }
html body main .bg-primary .tile-template-slider-testimonials-view .card,
html body main .bg-primary .tile-template-slider-testimonials-view .card-body { padding: 0 !important; }
html body main .bg-primary .swiper-slide .ps-3 { padding-left: 0 !important; }

/* contact band with text: 40 % of the width, text in the 1040 column, big arrow button */
html body main .fm-band-40 .jarallax { min-height: 40vw; display: flex; align-items: center; padding: 0 !important; }
html body main .fm-band-40 .jarallax > .position-relative { width: 100%; max-width: 1072px; margin: 0 auto !important; padding: 0 16px !important; text-align: left !important; }
html body main .fm-band-40 .jarallax .my-5 { margin: 0 !important; padding: 0 40px !important; }
html body main .fm-band-40 p { font-family: "Foundry Sans W01 Nrml", sans-serif; font-size: 42px !important; line-height: 60px; gap: 0 42px !important; }
html body main .fm-band-40 p a.text-white { font-family: "Foundry Sans W01 Nrml", sans-serif; font-weight: 500; }
@media (min-width: 768px) { html body main .fm-band-40 .jarallax > .position-relative { top: -16px; } } /* live: text 16 px above the middle */
html body main .fm-band-40 .btn { width: 62px; height: 60px; padding: 0 !important; font-size: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 0; color: #fff !important; }

/* text rows: no extra bottom padding from the text-blocks grid */
html body main .mosaic-booost\.tiles\.text-tile .text-blocks > .row { padding-bottom: 0 !important; }

/* dark mode: the grey text colours above are light-mode values */
html[data-bs-theme="dark"] body main .booost-sidebar-block [class*="booost-tags-"] > .h6,
html[data-bs-theme="dark"] body main .tile-template-team-grid-view .text-body-secondary { color: var(--bs-body-color) !important; }
html[data-bs-theme="dark"] body main .tile-template-team-grid-view h3 { color: var(--bs-heading-color, #fff); }
html body main .btn-dark.btn-lg { padding: 10px 17px; font-size: 16px; font-weight: 400; line-height: 18px; }

/* ---- parity 2026-10-19 (390 pass; the first block applies to every width) ---- */

/* bold text: live #21252b / 600, white in the yellow bands (light mode only) */
html[data-bs-theme="light"] body main strong, html:not([data-bs-theme]) body main strong { color: #21252b; font-weight: 600; }
html body main .bg-primary strong { color: #fff; }

/* project detail text is the medium cut on live (Foundry Sans W01 Md) */
html body.portaltype-portfolio main .booost-detail-row p { font-family: "Foundry Sans W01 Md", sans-serif; font-weight: 500; }

/* listing headings (Neueste Projekte, Aktuelles, Geschäftsführung, Mitarbeiter): 30 px below like live */
html body main .tile-heading.h2 { margin-bottom: 30px !important; }

/* team: live shows no contact icons under the people */
html body main .tile-template-team-grid-view .team-social { display: none !important; }

/* video and map rows over the full width (live), video 41.67 % high, map 400 px */
html body main .mosaic-grid-row.container-fluid.px-0 > .mosaic-grid-cell { padding-left: 0; padding-right: 0; }
html body main .mosaic-grid-row.container-fluid.px-0 .ratio-21x9 { --ar-aspect-ratio: 41.667%; }
/* the two spacer divs per breakpoint make the 400 px; the map itself also carries d-lg-block and keeps h-100
   (hitting it too left a 200 px map over a 400 px frame, 2026-11-03) */
html body main .fm-map .d-xxl-block:not(.interactive-map), html body main .fm-map .d-xl-block:not(.interactive-map), html body main .fm-map .d-lg-block:not(.interactive-map) { height: 200px !important; }

/* project filter in dark mode: the live grey is a light-mode value */
html[data-bs-theme="dark"] body main .fm-projects .masonry-filters .btn:not(.active):not(:hover) { color: var(--bs-body-color) !important; }

@media (max-width: 991.98px) {
  /* header like live on phones: logo 250 x 76 at 20/20, bar 128 px, yellow 3-bar toggler */
  html body header.navbar { min-height: 128px; padding-bottom: 32px; }
  html body header.navbar .header-logo { height: 76px !important; width: auto; }
  html body header.navbar .navbar-toggler { --ar-navbar-toggler-color: #f1b200; margin-right: 16px; align-self: center; }
  html body header.navbar .navbar-toggler-icon,
  html body header.navbar .navbar-toggler-icon::before,
  html body header.navbar .navbar-toggler-icon::after { width: 22px !important; height: 3px; border-radius: 1.5px; background-color: #f1b200; }
  html body header.navbar .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon::before { top: -6.5px; }
  html body header.navbar .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon::after { bottom: -6.5px; }
  /* top bar: the social icons stay on phones (live), the search field does not */
  html body #topbar .d-none.d-lg-flex:not(form) { display: flex !important; }
  /* colophon: social icons on phones too */
  html body #ui-colophon .d-none.d-lg-flex { display: flex !important; }
}

@media (max-width: 767.98px) {
  /* image bands keep 35 % of the width on phones (live) */
  html body main .fm-band-35 .ratio.d-md-none { --ar-aspect-ratio: 35%; }
  /* no parallax on phones: the band shows the picture as a plain cover like live, not a
     zoomed slice (jarallax scales the picture to the viewport height) */
  html body main .fm-band .jarallax-img { position: absolute !important; top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important; margin-top: 0 !important; transform: none !important;
    background-size: cover !important; background-position: 50% 50% !important; }
  /* contact band: 317 px, small centred line, arrow below (live) */
  html body main .fm-band-40 .jarallax { min-height: 317px; align-items: flex-end; padding: 0 0 17px !important; }
  html body main .fm-band-40 .jarallax > .position-relative { padding: 0 !important; }
  html body main .fm-band-40 .jarallax .my-5 { padding: 0 !important; }
  html body main .fm-band-40 p { font-size: 16px !important; line-height: 16px; flex-direction: column; justify-content: center; gap: 22px !important; text-align: center; }
  html body main .fm-band-40 p a.text-white { font-weight: 700; }
  html body main .fm-band-40 .btn { width: 60px; height: 60px; border-color: #fff; }
  /* title band: title only, one line (live hides the breadcrumb on phones) */
  html body main section.fm-titlebar .col-lg-4 { display: none; }
  /* project filter: 3 lines on phones, first picture 50 px below the last line (live) */
  html body main .fm-projects .masonry-filters { padding-bottom: 29px !important; }
}

@media (max-width: 575.98px) {
  /* 20 px side gutter (live) instead of 12/16 */
  html body .container:not(.mosaic-grid-row) { padding-left: 20px; padding-right: 20px; }
  html body main .mosaic-grid-row.container { padding-left: 8px; padding-right: 8px; }
  /* colophon: year left, icons right, credit on its own line */
  html body #ui-colophon .colophon-tiles { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  html body #ui-colophon .colophon-tiles > div { margin-bottom: 0 !important; }
  html body #ui-colophon .colophon-tiles > div:nth-child(2) { order: 3; width: 100%; }
  html body #ui-colophon .colophon-tiles { row-gap: 8px; }
  html body #ui-colophon .navbar-sponsor { padding: 0; }
  html body #ui-colophon .navbar-sponsor .nav-link { padding: 0 !important; margin-left: 0 !important; }
  /* footer columns stacked: 50 px between them (live: 20 px paragraph + 30 px column) */
  html body footer.footer .row > .col { margin-bottom: 50px !important; }
  html body footer.footer .row > .col:last-child { margin-bottom: 0 !important; }
  /* team stacked: 512 px per person like live (picture 350 + name + role + 30 px) */
  html body main .tile-template-team-grid-view .card-hover { padding-bottom: 55px !important; }
}

/* ---- go-live check 2026-10-29 ---- */

/* Kontakt: newsletter (Brevo form as live, behind the consent facade): 60 px after the map,
   heading 26 px grey Foundry Bd, 50 px, form 1040 x 600, 20 px to the footer */
html body main .fm-newsletter { padding-top: 60px; padding-bottom: 20px; }
html body main .fm-newsletter h3 { color: #717171; font-size: 26px; line-height: 31.2px; margin-bottom: 50px; }
html body main .fm-newsletter iframe { display: block; width: 100%; max-width: 1040px; height: 600px; margin: 0 auto; }
html[data-bs-theme="dark"] body main .fm-newsletter h3 { color: var(--bs-heading-color, #fff); }
@media (max-width: 575.98px) {
  html body main .fm-newsletter { padding-top: 50px; }
  html body main .fm-newsletter h3 { margin-bottom: 40px; }
  html body main .fm-newsletter iframe { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
}

/* mobile menu like live: a #464646 panel over the content right under the header, search
   first, items white 18 px Foundry Nrml in 46 px rows (no active colour), hamburger stays */
@media (max-width: 991.98px) {
  html body header.navbar { position: sticky; }
  html body header.navbar .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; z-index: 1030;
    margin: 0 !important; padding: 20px 0 0; background-color: #464646; border-radius: 0 !important; box-shadow: none; }
  html body header.navbar .navbar-collapse .navbar-nav { margin: 0 !important; padding: 0 !important; width: 100%; gap: 0 !important; max-height: none; overflow: visible; }
  html body header.navbar .navbar-collapse .navbar-nav > li.d-lg-none { order: -1; margin: 0 !important; padding: 0 20px 20px !important; }
  html body header.navbar .navbar-collapse .navbar-nav > li.d-lg-none form { flex-wrap: nowrap; flex-direction: row-reverse; margin: 0; --ar-gutter-x: 0; --bs-gutter-x: 0; --ar-gutter-y: 0; --bs-gutter-y: 0; }
  html body header.navbar .navbar-collapse .navbar-nav > li.d-lg-none form > div { width: auto; padding: 0; margin: 0; }
  html body header.navbar .navbar-collapse .navbar-nav > li.d-lg-none form > div.col-9 { flex: 1 1 auto; }
  html body header.navbar .navbar-collapse .search-field { background-color: #464646 !important; border: 0; box-shadow: none;
    color: #fff; height: 34px; padding: 4px 0 4px 10px; font-size: 14px; }
  html body header.navbar .navbar-collapse .search-field::placeholder { color: #fff; opacity: 1; }
  html body header.navbar .navbar-collapse li.d-lg-none .btn { background: transparent !important; border: 0 !important; box-shadow: none !important;
    color: #fff !important; width: 31px; height: 34px; padding: 0 0 0 10px; font-size: 16px; text-align: left; }
  html body header.navbar .navbar-collapse li.d-lg-none .bi-search::before { font-family: "fontello" !important; content: "\e51d"; font-weight: normal !important; }
  html body header.navbar .navbar-collapse .nav-link,
  html body header.navbar .navbar-collapse .nav-link.active,
  html body header.navbar .navbar-collapse .nav-link:hover { color: #fff !important; font-family: "Foundry Sans W01 Nrml", sans-serif;
    font-size: 18px; font-weight: 500; line-height: 18px; padding: 14px 20px !important; }
  html body header.navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { transform: none; }
  html body header.navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before { top: -6.5px; opacity: 1; width: 22px; }
  html body header.navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after { bottom: -6.5px; transform: none; width: 22px; }
}

/* news detail: text over the full 1040 column like live (booost centres a 50rem reading column) */
@media (min-width: 992px) {
  html body.portaltype-news-item main .booost-detail-row > .col-lg:only-child { max-width: none; margin-left: 0; margin-right: 0; }
}
@media (min-width: 1200px) {
  html body.portaltype-news-item main section.container:has(> .booost-detail-row) { padding-left: 16px; padding-right: 16px; }
}

/* project detail like live: text 683 px at x 200, "Details" aside at x 913 (327 px), labels 111 px,
   facts in Foundry Md; the "Projektbeschreibung" label of the live template (booost has none) */
@media (min-width: 1200px) {
  html body.portaltype-portfolio main .booost-detail-row > .col-lg { flex: 0 0 695px; max-width: 695px; }
  html body.portaltype-portfolio main .booost-detail-row > aside { flex: 0 0 351px; max-width: 351px; margin-left: auto; }
}
html body.portaltype-portfolio main .booost-detail-row > aside h3 { line-height: 26px; margin-bottom: 19px !important; }
html body main .booost-sidebar-block [class*="booost-tags-"] { margin-bottom: 21px; }
@media (min-width: 992px) {
  /* live: 200 px white between "Fotos" and the footer */
  html body.portaltype-portfolio main section.container:has(> .booost-detail-row) { padding-bottom: 176px !important; }
}
html body.portaltype-portfolio main .booost-detail-row > .col-lg .mosaic-IRichTextBehavior-text-tile::before {
  content: "Projektbeschreibung"; display: block; margin-bottom: 10px;
  font-family: "Foundry Sans W01 Md", sans-serif; font-size: 20px; line-height: 26px; color: #717171; }
html[data-bs-theme="dark"] body.portaltype-portfolio main .booost-detail-row > .col-lg .mosaic-IRichTextBehavior-text-tile::before { color: var(--bs-heading-color, #fff); }

/* start intro: picture sizes as live ("nur gemeinsam" 525 x 122, 150-years picture 768 x 237) */
@media (min-width: 992px) {
  html body main .fm-intro img[src*="6b2869ea3e9f43bdb48f2d06a57f276d"] { width: 525px; height: auto; }
  html body main .fm-intro img[src*="1b7b4d6e13314724b0417e412ba911c3"] { width: 768px; height: auto; }
}

body.template-folder_contents,
body[class*="controlpanel"],
body.template-sharing,
body.template-historyview {
  --ar-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ar-heading-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
#edit-zone { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
