/* =========================
   Zeilenbau Gestaltung
   styles/styles.css
   ========================= */

:root{
  --contentWidth: 1200px;
  --padX: 20px;
  --containerMax: calc(var(--contentWidth) + (var(--padX) * 2));

  --bp2: 700px;
  --bp3: 900px;
  --bpProject3: 1020px;
  --bpXL: 2054px;

  --spaceTop: 30px;
  --spaceLogoToTitle: 20px;
  --spaceTitleToContent: 17px;
  --spaceFooterTop: 25px;
  --spaceFooterBottom: 40px;
  --headerContentHeight: 140px;

  --fsMain: 30px;
  --lhTight: 1;
  --lhProjectTitle: 1.03;
  --wRegular: 400;
  --wBold: 900;

  --title3d-offset-strong: 1.2px;
  --title3d-offset-regular: 1px;
  --title3d-red-light: rgb(255, 25, 70);
  --title3d-cyan-light: rgb(0, 220, 255);
  --title3d-red-dark: rgb(255, 100, 140);
  --title3d-cyan-dark: rgb(80, 240, 255);
  --title3d-blend-light: multiply;
  --title3d-blend-dark: screen;
  --title3d-opacity-light: 1;
  --title3d-opacity-dark: 1;

  --space-title-to-image: 22px;
  --gridGap: 20px;
  --space-between-projects: var(--gridGap);
  --gapX: var(--gridGap);

  --projectGap: var(--gridGap);
  --projectGapWide: var(--gridGap);
  --projectImageOpticalTop: 4px;
  --main3Width: var(--contentWidth);
  --wide5Width: calc((5 * var(--main3Width) + 2 * var(--projectGapWide)) / 3);
  --flowFs: 18px;

  --logoSize: 60px;

  --bg: #ffffff;
  --fg: #000000;
  --fgMuted: rgba(0,0,0,0.4);

  --fade: 260ms;
  --ease: ease;

  color-scheme: light dark;
}

:root.theme-dark{
  --bg: #0b0b0b;
  --fg: #ffffff;
  --fgMuted: rgba(255,255,255,0.5);
}

html.page-cyan,
body.page-cyan{
  --bg: rgb(0, 158, 255);
}

html.page-yellow,
body.page-yellow{
  --bg: rgb(255, 210, 0);
}

*{ box-sizing: border-box; }

html,
body{
  height: 100%;
}

html{
  background: var(--bg);
}

body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: "MontserratLocal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-variant-numeric: oldstyle-nums;
  transition: none;
}

html.transitions-on body{
  transition:
    background-color var(--fade) var(--ease),
    color var(--fade) var(--ease);
}

a{
  color: inherit;
  text-decoration: none;
}

a:visited,
a:hover,
a:active,
a:focus{
  color: inherit;
  text-decoration: none;
}

a,
button{
  -webkit-tap-highlight-color: transparent;
}

@font-face{
  font-family: "MontserratLocal";
  src:
    url("../webfonts/montserrat-latin-400-normal.woff2?v=5bfbc99456e5") format("woff2"),
    url("../webfonts/montserrat-latin-400-normal.woff?v=8336eeaed318") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face{
  font-family: "MontserratLocal";
  src:
    url("../webfonts/montserrat-latin-700-normal.woff2?v=f9d9e65b1537") format("woff2"),
    url("../webfonts/montserrat-latin-700-normal.woff?v=ff51c769e51a") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face{
  font-family: "MontserratLocal";
  src:
    url("../webfonts/montserrat-latin-800-normal.woff2?v=ff5ebf74ba98") format("woff2"),
    url("../webfonts/montserrat-latin-800-normal.woff?v=5a8645a74e6c") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

@font-face{
  font-family: "MontserratLocal";
  src:
    url("../webfonts/montserrat-latin-900-normal.woff2?v=a816cd274f9c") format("woff2"),
    url("../webfonts/montserrat-latin-900-normal.woff?v=35e0733dae2c") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

.core{
  max-width: var(--containerMax);
  margin: 0 auto;
  padding-left: var(--padX);
  padding-right: var(--padX);
}

@media (min-width: 2054px){
  .home-5 .core{
    max-width: calc(var(--wide5Width) + (var(--padX) * 2));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: var(--projectGapWide);
    align-items: start;
  }

  .home-5 .site-header,
  .home-5 .site-footer{
    grid-column: 2 / span 3;
  }

  .home-5 main{
    grid-column: 1 / span 5;
  }
}

header.site-header{
  position: relative;
  padding-top: var(--spaceTop);
  padding-bottom: var(--spaceTitleToContent);
}

.project-navigation{
  --arrowSize: var(--logoSize);
  --arrowColor: var(--fgMuted);
  position: absolute;
  top: calc(var(--spaceTop) + var(--logoSize) - var(--arrowSize));
  right: 0;
  display: flex;
  gap: 20px;
  height: var(--arrowSize);
}
.project-navigation[hidden]{ display: none; }
.project-arrow,
.project-arrow:visited{
  display: block;
  width: calc(var(--arrowSize) * 352.37 / 512);
  height: var(--arrowSize);
  color: var(--arrowColor);
  -webkit-tap-highlight-color: transparent;
}
.project-arrow svg{ display: block; width: 100%; height: 100%; }
.project-next svg{ transform: rotate(180deg); }
.project-arrow[aria-disabled="true"]{ opacity: 0.25; cursor: default; pointer-events: none; }
.project-arrow[href]:focus-visible{ outline: 2px solid currentColor; outline-offset: 4px; color: var(--fg); }
.project-arrow[href].is-pressed{ color: var(--fg); }
.project-arrow[href].is-swipe-active{ color: var(--fg); }
@media (hover: hover) and (pointer: fine){
  .project-arrow[href]{ transition: color var(--fade) var(--ease); }
  .project-arrow[href]:hover{ color: var(--fg); }
}

.site-brand{
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: var(--headerContentHeight);
  gap: var(--spaceLogoToTitle);
  color: inherit;
}

.site-brand.no-logo{
  gap: 0;
}

.site-brand.no-logo .logo-stack{
  display: none;
}

.site-brand:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.logo-stack{
  position: relative;
  width: var(--logoSize);
  height: var(--logoSize);
  flex: 0 0 auto;
}

.logo-variant{
  position: absolute;
  inset: 0;
  width: var(--logoSize);
  height: var(--logoSize);
  opacity: 0;
  transition: opacity var(--fade) var(--ease);
}

.site-title{
  font-size: var(--fsMain);
  line-height: var(--lhTight);
  font-weight: var(--wBold);
  margin: 0;
  transition: color var(--fade) var(--ease);
}

@media (hover:hover) and (pointer:fine){
  .subpage .site-brand .site-title,
  .subpage .site-brand .logo-variant{
    transition-duration: var(--fade);
    transition-timing-function: var(--ease);
    transition-delay: 0ms;
  }
}

.home .site-title{ color: var(--fg); }
.home .logo-black{ opacity: 1; }
.home .logo-white,
.home .logo-grey40,
.home .logo-grey50{ opacity: 0; }

:root.theme-dark .home .logo-black{ opacity: 0; }
:root.theme-dark .home .logo-white{ opacity: 1; }

.subpage .site-title{ color: var(--fgMuted); }
.subpage .logo-grey40{ opacity: 1; }
.subpage .logo-grey50,
.subpage .logo-black,
.subpage .logo-white{ opacity: 0; }

:root.theme-dark .subpage .logo-grey40{ opacity: 0; }
:root.theme-dark .subpage .logo-grey50{ opacity: 1; }

@media (hover:hover) and (pointer:fine){
  .subpage .site-brand:hover .site-title{ color: var(--fg); }

  .subpage .site-brand:hover .logo-grey40,
  .subpage .site-brand:hover .logo-grey50,
  .subpage .site-brand:hover .logo-black,
  .subpage .site-brand:hover .logo-white{
    opacity: 0;
  }

  .subpage .site-brand:hover .logo-black{ opacity: 1; }

  :root.theme-dark .subpage .site-brand:hover .logo-black{ opacity: 0; }
  :root.theme-dark .subpage .site-brand:hover .logo-white{ opacity: 1; }
}

@media (pointer:coarse){
  .site-brand .site-title,
  .site-brand .logo-variant{
    transition: none;
  }

  .home .logo-grey40,
  .home .logo-grey50{
    opacity: 0 !important;
  }

  .subpage .logo-black,
  .subpage .logo-white{
    opacity: 0 !important;
  }
}

.masonry{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--space-between-projects);
  column-gap: var(--gapX);
}

@media (min-width: 700px){
  .masonry{ grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px){
  .masonry{ grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 2054px){
  .home-5 .masonry{ grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 700px){
  .masonry.is-masonry{
    position: relative;
    display: block;
    min-height: 20px;
  }

  .masonry.is-masonry .masonry-item{
    position: absolute;
    top: 0;
    left: 0;
    will-change: auto;
  }
}

@media (max-width: 699px){
  .masonry-item{
    position: relative !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    display: block;
    margin: 0 !important;
  }
}

.card{
  display: block;
}

@media (hover:hover) and (pointer:fine){
  .card{
    /* Minimal wirksamer Filter: Firefox soll die Karte gemeinsam rastern. */
    filter: opacity(0.999);
    transform: translateY(0);
    transition: transform var(--fade) var(--ease);
  }
}

.project-title,
.project-line-stack,
.project-line{
  font-size: var(--fsMain);
  line-height: var(--lhProjectTitle);
}

.project-title{
  margin: 0 0 var(--space-title-to-image) 0;
  color: var(--fgMuted);
  transition: color var(--fade) var(--ease);
  text-decoration: none;
}

.project-title .strong,
.project-title .regular{
  display: block;
}

.project-title .strong{ font-weight: var(--wBold); }
.project-title .regular{ font-weight: var(--wRegular); }

@media (hover:hover) and (pointer:fine){
  .masonry-item:hover .project-title{ color: var(--fg); }
}

.thumb img{
  width: 100%;
  height: auto;
  display: block;
}

.thumb img.preview:not([src]) { display: none; }

/* Hide the pending image and its shadow, not the title or the reserved space. */
.home .thumb.is-loading { visibility: hidden; }

@media (pointer: coarse) {
  .masonry-item.is-pressed .project-title,
  .footer-link.is-pressed,
  .subpage .site-brand.is-pressed .site-title {
    color: var(--fg);
    transition: none;
  }
  .subpage .site-brand.is-pressed .logo-grey40,
  .subpage .site-brand.is-pressed .logo-grey50 { opacity: 0; }
  .subpage .site-brand.is-pressed .logo-black { opacity: 1 !important; }
  :root.theme-dark .subpage .site-brand.is-pressed .logo-black { opacity: 0 !important; }
  :root.theme-dark .subpage .site-brand.is-pressed .logo-white { opacity: 1 !important; }
}

.masonry-item,
.thumb{
  overflow: visible;
}

@media (hover:hover) and (pointer:fine){
  .masonry-item{
    position: relative;
  }

  .masonry-item:hover{
    z-index: 5;
  }

}

@media (min-width: 700px) and (hover:hover) and (pointer:fine){
  .masonry-item:hover .card{
    transform: translateY(-4px);
  }
}

footer.site-footer{
  padding-top: var(--spaceFooterTop);
  padding-bottom: var(--spaceFooterBottom);
}

.footer-link,
.footer-text{
  font-size: var(--fsMain);
  line-height: var(--lhProjectTitle);
  font-weight: var(--wBold);
}

.footer-link{
  color: var(--fgMuted);
  transition: color var(--fade) var(--ease);
}

@media (hover:hover) and (pointer:fine){
  .footer-link:hover{ color: var(--fg); }
}

.footer-text{ color: var(--fg); }

.footer-text[aria-current="page"]{
  color: var(--fgMuted);
  opacity: 0.25;
}

.footer-credit-links .footer-link,
.footer-credit-links .footer-text{
  font-size: var(--flowFs);
  line-height: 1.32;
  font-weight: 800;
}

.project-shell{
  width: min(calc(100vw - (var(--padX) * 2)), var(--main3Width));
  margin: 0 auto;
  min-width: 0;
}

.project-main{
  min-height: 40vh;
}

@media (min-width: 2054px){
  .project-shell{
    width: min(calc(100vw - (var(--padX) * 2)), var(--wide5Width));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: var(--projectGapWide);
    align-items: start;
  }

  .shell-main{ grid-column: 2 / span 3; }
  .shell-full{ grid-column: 1 / span 5; }
  .project-main{ display: contents; }
}

.project-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--projectGap);
  align-items: start;
  margin-bottom: 8px;
}

@media (min-width: 700px){
  .project-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .sm-span-2{ grid-column: span 2; }
}

@media (min-width: 1020px){
  .project-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .md-span-2{ grid-column: span 2; }
  .md-span-3{ grid-column: span 3; }
}

.only-xl{
  display: none;
}

@media (min-width: 2054px){
  .project-grid{
    grid-template-columns: repeat(5, 1fr);
    gap: var(--projectGapWide);
  }

  .xl-span-1{ grid-column: span 1; }
  .xl-span-2{ grid-column: span 2; }
  .xl-span-3{ grid-column: span 3; }
  .xl-span-4{ grid-column: span 4; }
  .xl-span-5{ grid-column: span 5; }

  .tile-full{ grid-column: 1 / -1; }

  .tile-xl-offset-1,
  .xl-offset-1,
  .no-left-xl{
    grid-column-start: 2;
  }

  .tile-xl-end-core,
  .no-right-xl{
    grid-column-end: 5;
  }

  .only-xl{ display: block; }
}

figure{
  margin: 0;
}

.tile{
  margin: 0;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.tile-full{
  grid-column: 1 / -1;
}

.tile-empty{
  pointer-events: none;
}

.row-break{
  grid-column: 1 / -1;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.project-head-cell{
  min-width: 0;
}

.project-line-stack{ margin: 0; }

.project-line-stack > span{
  display: block;
  margin: 0;
}

.project-title-strong,
.project-title-regular{
  color: var(--fg);
  font-size: inherit;
}

.project-title-strong{ font-weight: var(--wBold); }
.project-title-regular{ font-weight: var(--wRegular); }

.text-weight-700,
.text-weight-700 span{
  font-weight: 700 !important;
}

.text-weight-800,
.text-weight-800 span{
  font-weight: 800 !important;
}

.text-weight-900,
.text-weight-900 span{
  font-weight: 900 !important;
}

.project-line-stack.is-3d{
  position: relative;
  isolation: isolate;
}

.project-line-stack.is-3d > span{
  position: relative;
  display: block;
}

.project-line-stack.is-3d .title-3d-source{
  position: relative;
  z-index: 1;
  visibility: hidden;
  pointer-events: none;
}

.project-line-stack.is-3d .title-3d-layer{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  line-height: inherit;
  font: inherit;
  letter-spacing: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  opacity: var(--title3d-opacity-light);
  mix-blend-mode: var(--title3d-blend-light);
}

:root.theme-dark .project-line-stack.is-3d .title-3d-layer{
  opacity: var(--title3d-opacity-dark);
  mix-blend-mode: var(--title3d-blend-dark);
}

.project-line-stack.is-3d:not(.is-3d-red-right) .title-3d-layer.left{
  color: var(--title3d-red-light);
}

.project-line-stack.is-3d:not(.is-3d-red-right) .title-3d-layer.right{
  color: var(--title3d-cyan-light);
}

:root.theme-dark .project-line-stack.is-3d:not(.is-3d-red-right) .title-3d-layer.left{
  color: var(--title3d-red-dark);
}

:root.theme-dark .project-line-stack.is-3d:not(.is-3d-red-right) .title-3d-layer.right{
  color: var(--title3d-cyan-dark);
}

.project-line-stack.is-3d.is-3d-red-right .title-3d-layer.left{
  color: var(--title3d-cyan-light);
}

.project-line-stack.is-3d.is-3d-red-right .title-3d-layer.right{
  color: var(--title3d-red-light);
}

:root.theme-dark .project-line-stack.is-3d.is-3d-red-right .title-3d-layer.left{
  color: var(--title3d-cyan-dark);
}

:root.theme-dark .project-line-stack.is-3d.is-3d-red-right .title-3d-layer.right{
  color: var(--title3d-red-dark);
}

.project-line-stack.is-3d > .project-title-strong .title-3d-layer.left{
  transform: translateX(calc(var(--title3d-offset-strong) * -1));
}

.project-line-stack.is-3d > .project-title-strong .title-3d-layer.right{
  transform: translateX(var(--title3d-offset-strong));
}

.project-line-stack.is-3d > .project-title-regular .title-3d-layer.left{
  transform: translateX(calc(var(--title3d-offset-regular) * -1));
}

.project-line-stack.is-3d > .project-title-regular .title-3d-layer.right{
  transform: translateX(var(--title3d-offset-regular));
}

@supports not (mix-blend-mode: multiply){
  .project-line-stack.is-3d .title-3d-layer{
    mix-blend-mode: normal;
  }

  .project-line-stack.is-3d:not(.is-3d-red-right) .title-3d-layer.left,
  .project-line-stack.is-3d.is-3d-red-right .title-3d-layer.right{
    color: var(--title3d-red-light);
    opacity: 0.96;
  }

  .project-line-stack.is-3d:not(.is-3d-red-right) .title-3d-layer.right,
  .project-line-stack.is-3d.is-3d-red-right .title-3d-layer.left{
    color: var(--title3d-cyan-light);
    opacity: 0.96;
  }
}

.break-space-xs{ margin-top: 4px !important; }
.break-space-sm{ margin-top: 8px !important; }
.break-space-md{ margin-top: 12px !important; }
.break-space-lg{ margin-top: 18px !important; }
.break-space-xl{ margin-top: 24px !important; }
.break-space-header{ margin-top: var(--spaceLogoToTitle) !important; }

/* Die erste Unterzeile gehoert typografisch direkt zum Titel.
   Abstandsklassen trennen erst weitere Infozeilen. */
.project-line-stack > .project-title-strong + .project-title-regular{
  margin-top: 0 !important;
}

.project-line{
  margin: 0;
}

.project-head-cell > .project-line{
  margin-bottom: var(--spaceLogoToTitle);
}

.project-head-cell > .project-line:last-child{
  margin-bottom: 0;
}

.project-text p{
  margin: 0 0 10px 0;
  font-size: var(--flowFs);
  line-height: 1.32;
  font-weight: var(--wRegular);
  color: var(--fg);
}

.project-text p:last-child{
  margin-bottom: 0;
}

.project-text strong{
  font-weight: var(--wBold);
}

.inline-arrow{
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.35em;
  vertical-align: -0.08em;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 4;
}

.inline-brand-mark{
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.38em;
  vertical-align: -0.14em;
  fill: currentColor;
}

.project-info p,
.project-info strong{
  margin: 0;
  font-size: var(--fsMain);
  line-height: var(--lhProjectTitle);
  font-weight: var(--wBold);
  color: var(--fg);
}

.meta-list p{
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 10px 0;
}

.meta-list p:last-child{
  margin-bottom: 0;
}

.meta-list span{
  margin: 0;
  font-size: var(--fsMain);
  line-height: var(--lhProjectTitle);
  font-weight: var(--wRegular);
  color: var(--fg);
}

.meta-list strong{
  margin: 0;
  font-size: var(--fsMain);
  line-height: var(--lhProjectTitle);
  font-weight: var(--wBold);
  color: var(--fg);
}

.tile-image picture{
  display: block;
  width: 100%;
}

.tile-image img{
  width: 100%;
  height: auto;
  display: block;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: transparent;
  font-size: 0;
}

html.project-images-monitored .project-main .tile-image img:not(.is-image-ready){
  visibility: hidden;
}

html.project-images-monitored .project-main .image-inset-shadow:not(:has(img.is-image-ready))::after{
  visibility: hidden;
}

.project-detail .tile-image{
  /* Optical alignment must not add height to every grid row. */
  position: relative;
  top: var(--projectImageOpticalTop);
}

:root {
  --image-shadow-value: 6px 6px 3px rgba(0, 0, 0, 0.40);
  --slideshow-hold: 3000ms;
  --slideshow-fade: 1000ms;
}

.slideshow-blend-stack { isolation: isolate; }
@supports (mix-blend-mode: plus-lighter) {
  .slideshow-blend-stack > img,
  .slideshow-blend-stack > picture { mix-blend-mode: plus-lighter; }
}
@keyframes slideshow-pair-base {
  0%, 37.5%, 100% { opacity: 1; }
  50%, 87.5% { opacity: 0; }
}
@keyframes slideshow-pair-overlay {
  0%, 37.5%, 100% { opacity: 0; }
  50%, 87.5% { opacity: 1; }
}

:root:not(.theme-dark) .image-shadow {
  filter: drop-shadow(var(--image-shadow-value));
}

.image-inset-shadow {
  position: relative;
}
.image-inset-shadow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset var(--image-shadow-value);
}

.tile-timeline{
  grid-column: span 1;
}

@media (min-width: 700px){
  .tile-timeline{
    grid-column: span 2;
  }
}

@media (min-width: 2054px){
  .tile-timeline{
    grid-column: span 3;
  }
}

/* =========================================================
   BAUSTEIN-KLASSEN – PROJEKTSEITE
   Reihenfolge entspricht der Dokumentation.
========================================================= */

.tile-b01{ grid-column: span 1; }
.tile-b02{ grid-column: span 1; }
.tile-b03{ grid-column: span 1; }
.tile-b04{ grid-column: span 1; }
.tile-b05{ grid-column: span 1; }
.tile-b06{ grid-column: span 1; }
.tile-b07{ grid-column: span 1; }
.tile-b08{ grid-column: span 1; }
.tile-b09{ grid-column: span 1; }
.tile-b10{ grid-column: span 1; }
.tile-b11{ grid-column: span 1; }
.tile-b12{ grid-column: span 1; }
.tile-b13{ grid-column: span 1; }
.tile-b14{ grid-column: span 1; }
.tile-b15{ grid-column: span 1; }
.tile-b16{ grid-column: span 1; }
.tile-b17{ grid-column: span 1; }
.tile-b18{ grid-column: span 1; }
.tile-b19{ grid-column: span 1; }
.tile-b20{ grid-column: span 1; }
.tile-b21{ grid-column: span 1; }
.tile-b22{ grid-column: span 1; }
.tile-b25{ grid-column: span 1; visibility: hidden; pointer-events: none; }

@media (min-width: 700px){
  .tile-b13,
  .tile-b14,
  .tile-b15,
  .tile-b16,
  .tile-b17,
  .tile-b18,
  .tile-b19{
    grid-column: span 2;
  }
}

@media (min-width: 1020px){
  .tile-b06,
  .tile-b07,
  .tile-b08,
  .tile-b09,
  .tile-b13,
  .tile-b14,
  .tile-b15,
  .tile-b16{
    grid-column: span 2;
  }

  .tile-b10,
  .tile-b11,
  .tile-b12,
  .tile-b17,
  .tile-b18,
  .tile-b19{
    grid-column: span 3;
  }
}

@media (min-width: 2054px){
  .tile-b01,
  .tile-b20,
  .tile-b21,
  .tile-b22,
  .tile-b25{
    grid-column: span 1;
  }

  .tile-b02,
  .tile-b06,
  .tile-b13{
    grid-column: span 2;
  }

  .tile-b03,
  .tile-b07,
  .tile-b10,
  .tile-b14,
  .tile-b17{
    grid-column: span 3;
  }

  .tile-b04,
  .tile-b08,
  .tile-b11,
  .tile-b15,
  .tile-b18{
    grid-column: span 4;
  }

  .tile-b05,
  .tile-b09,
  .tile-b12,
  .tile-b16,
  .tile-b19{
    grid-column: span 5;
  }

  .tile-b24{
    display: block;
    grid-column: span 1;
    pointer-events: none;
  }
}

@media (max-width: 2053.98px){
  .tile-b24{
    display: none !important;
  }
}

@media (min-width: 2054px){
  .tile-b20.tile-xl-offset-1,
  .tile-b21.tile-xl-offset-1,
  .tile-b22.tile-xl-offset-1{
    grid-column: 2 / span 1;
  }

  .tile-b20.tile-xl-offset-2,
  .tile-b21.tile-xl-offset-2,
  .tile-b22.tile-xl-offset-2{
    grid-column: 3 / span 1;
  }
}

@media (min-width: 700px) and (max-width: 1019.98px){
  .tile-b20.tile-start-col-2-md{
    grid-column: 2 / span 1;
  }
}

@media (min-width: 2054px){
  .tile-b20.tile-start-col-2-xl{
    grid-column: 2 / span 1;
  }

  .tile-b02.tile-xl-start-2,
  .tile-b06.tile-xl-start-2{
    grid-column: 2 / span 2;
  }

  .tile-b20.tile-xl-start-3{
    grid-column: 3 / span 1;
  }
}


/* Stadtkloster: Bildfolge fuer die abgestimmten 2-, 3- und 5-Spaltenansichten. */
@media (width < 700px) {
  .stadtkloster-grid > .project-head-cell { order: -1; }
}
@media (min-width: 700px) and (max-width: 1019.98px){
  .stadtkloster-grid > .stadtkloster-image-1{ grid-area: 1 / 1 / 2 / 3; }
  .stadtkloster-grid > .project-head-cell{ grid-area: 2 / 1 / 3 / 2; }
  .stadtkloster-grid > .stadtkloster-image-2{ grid-area: 3 / 1 / 4 / 3; }
  .stadtkloster-grid > .stadtkloster-image-3{ grid-area: 4 / 1 / 5 / 2; }
  .stadtkloster-grid > .project-text{ grid-area: 4 / 2 / 5 / 3; }
  .stadtkloster-grid > .stadtkloster-image-4{ grid-area: 5 / 2 / 6 / 3; }
}

@media (min-width: 1020px) and (max-width: 2053.98px){
  .stadtkloster-grid > .stadtkloster-image-1{ grid-area: 1 / 1 / 2 / 4; }
  .stadtkloster-grid > .project-head-cell{ grid-area: 2 / 1 / 3 / 2; }
  .stadtkloster-grid > .stadtkloster-image-2{ grid-area: 2 / 2 / 3 / 4; }
  .stadtkloster-grid > .project-text{ grid-area: 3 / 1 / 4 / 2; }
  .stadtkloster-grid > .stadtkloster-image-3{ grid-area: 3 / 2 / 4 / 3; }
  .stadtkloster-grid > .stadtkloster-image-4{ grid-area: 3 / 3 / 4 / 4; }
}

@media (min-width: 2054px){
  .stadtkloster-grid > .stadtkloster-image-1{ grid-area: 1 / 1 / 2 / 5; }
  .stadtkloster-grid > .project-head-cell{ grid-area: 2 / 2 / 3 / 3; }
  .stadtkloster-grid > .project-text{ grid-area: 2 / 3 / 3 / 4; }
  .stadtkloster-grid > .stadtkloster-image-2{ grid-area: 2 / 4 / 3 / 6; }
  .stadtkloster-grid > .stadtkloster-image-4{ grid-area: 3 / 3 / 4 / 4; }
  .stadtkloster-grid > .stadtkloster-image-3{ grid-area: 3 / 2 / 4 / 3; }
}

/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-link-row{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  margin-bottom:0;
  line-height:var(--lhProjectTitle);
}


.tile-image .image-placeholder {
  display: block;
  width: 100%;
}
