:root {
  --text: #303133;
  --accent: #c3a34c;
  --grid: #775a0d;
  --surface: #f7f7f7;
  --surface-alt: #eaeaea;
  --white: #ffffff;
  color: var(--text);
  background: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body { min-width: 320px; margin: 0; }

body { font-size: 18px; line-height: 31.5px; }

img { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 0.2em; }

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

.sr-only,
.info-panel h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding: 18px 5vw;
  background: var(--white);
}

.brand { display: block; flex: 0 0 auto; width: 36px; }
.brand img { width: 36px; height: auto; }

.main-navigation { display: flex; align-items: center; gap: 34px; }
.main-navigation a { font-size: 16px; line-height: 1; text-decoration: none; }
.main-navigation a:hover,
.main-navigation a[aria-current="page"] { color: var(--accent); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 23px;
  height: 2px;
  background: currentColor;
}
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { position: absolute; left: 0; content: ""; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

.intro {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 117px);
  padding: 0 5vw;
  background: var(--white);
}
.intro h1 {
  max-width: 100%;
  margin: -8.2rem 0 0;
  font-size: clamp(1.4rem, 1.75vw, 1.65rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.hero-name { color: var(--accent); }
.hero-description { color: #111111; }
.scroll-hint {
  position: absolute;
  right: 50%;
  bottom: 18px;
  display: flex;
  min-width: 80px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(50%);
  transition: opacity .25s ease, visibility .25s ease;
}
.scroll-hint svg { display: block; width: 22px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.scroll-hint circle { fill: currentColor; stroke: none; animation: scroll-dot 1.8s ease-in-out infinite; }
.js .scroll-hint.is-scrolled { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  75%, 100% { transform: translateY(13px); opacity: 0; }
}

.project-grid,
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-grid { background: var(--grid); }
.project-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--grid);
  color: var(--white);
  text-decoration: none;
}
.project-thumbnail { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.project-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px;
  background: rgb(195 163 76 / 63%);
  color: var(--white);
  text-align: center;
  opacity: 0;
  transition: opacity 180ms ease;
}
.project-caption strong { font-size: 18px; font-weight: 400; line-height: 1.3; }
.project-caption > span { font-size: 12px; font-weight: 600; }
.project-card:hover .project-caption,
.project-card:focus-visible .project-caption { opacity: 1; }

.information { padding: 270px 5vw 160px; background: var(--white); }
.info-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2px;
  margin-bottom: 72px;
  border-bottom: 1px solid #e7e7e7;
}
.info-tabs a {
  display: block;
  margin-bottom: -1px;
  padding: 0 24px 16px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}
.info-tabs a:hover,
.info-tabs a[aria-current="page"] { color: var(--accent); }
.info-tabs a[aria-current="page"] { border-bottom-color: var(--accent); }
.info-panels { max-width: 100%; }
.info-panel { margin: 0; }
.info-panel p { margin: 0 0 34px; font-size: 18px; line-height: 31.5px; }
.info-panel p:last-child { margin-bottom: 0; }
.service-list { margin: 0; padding: 0; list-style: none; }
.service-list li { display: flex; align-items: baseline; gap: 0.35em; margin-bottom: 20px; }
.service-list h3 {
  flex: 0 0 auto;
  margin: 0;
  color: var(--accent);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  text-transform: uppercase;
}
.service-list p { margin: 0; }
.info-panel .service-note { margin-top: 26px; text-transform: uppercase; }
.service-note a { color: var(--accent); text-decoration: none; }
.contact-primary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
  text-align: center;
}
.contact-portrait { justify-self: center; margin: 0; text-align: center; }
.contact-portrait-images { position: relative; width: 180px; aspect-ratio: 360 / 477; }
.contact-portrait-images img { display: block; width: 100%; height: 100%; object-fit: contain; }
.contact-portrait-images .portrait-color { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.contact-portrait figcaption { display: flex; align-items: center; flex-direction: column; gap: 4px; margin-top: 12px; line-height: 1.3; text-transform: uppercase; }
.contact-person-name { font-size: 13px; letter-spacing: .13em; }
.contact-person-title { font-size: 11px; letter-spacing: .13em; }
.contact-primary .contact-link { font-size: clamp(1.35rem, 2vw, 1.75rem); text-decoration: none; }
.contact-primary .contact-link:hover { color: var(--accent); }
.contact-address { margin-top: 35px; font-size: 17px; font-style: normal; text-align: center; }
.info-panel .contact-note { margin: 15px 0 0; font-size: 14px; line-height: 1.5; text-align: center; white-space: nowrap; }
.contact-note a { color: var(--accent); text-decoration: none; }
.contact-note a:hover { text-decoration: underline; }
@media (hover: hover) {
  .contact-portrait-images:hover .portrait-color { opacity: 1; }
}
[data-info-panel][hidden] { display: none; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 105px;
  padding: 24px 5vw;
  background: #050505;
  color: var(--white);
  font-size: 16px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-links { white-space: nowrap; }
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 2px;
  background: #050505;
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}
.back-to-top span { transform: translateY(4px); }
.hover-circle { display: none; }

.project-top {
  display: grid;
  grid-template-columns: minmax(0, 2.13fr) minmax(0, 1fr);
  align-items: start;
  gap: 54px;
  padding: 75px 2.5vw 88px;
}
.project-gallery { columns: 2; column-gap: 18px; }
.project-gallery > .gallery-item { break-inside: avoid; margin-bottom: 18px; }
.project-gallery.is-masonry { display: grid; columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.gallery-column { display: flex; min-width: 0; flex-direction: column; gap: 18px; }
.gallery-item { position: relative; display: block; min-width: 0; overflow: hidden; background: var(--surface-alt); cursor: pointer; }
.gallery-image { width: 100%; height: auto; }
.project-sidebar { position: sticky; top: 114px; min-width: 0; }
.project-sidebar h1 {
  margin: -3px 0 20px;
  color: #111111;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
}
.project-copy p { margin: 0 0 24px; font-size: 18px; line-height: 31.5px; }
.project-copy p:last-child { margin-bottom: 0; }
.project-sidebar::after { display: block; height: 1px; margin-top: 30px; background: #e6e6e6; content: ""; }
.project-top-single .project-gallery { display: block; columns: 1; }
.project-top-single .gallery-item { max-width: 100%; }

.page-heaven .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
}
.page-heaven .main-navigation a[aria-current="page"] { color: var(--text); }
.heaven-hero { position: relative; height: 75svh; min-height: 440px; overflow: hidden; }
.heaven-hero-parallax { position: absolute; inset: -40px 0; }
.heaven-hero-image { width: 100%; height: 100%; object-fit: cover; }
.heaven-hero-arrow {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateX(-50%);
  text-decoration: none;
}
.heaven-hero-arrow span { width: 17px; height: 17px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); filter: drop-shadow(0 1px 2px rgb(0 0 0 / 65%)); }
.heaven-content, .slider-project-content { --project-text-gap: 72px; max-width: 1440px; margin: 0 auto; padding: 72px 5vw 100px; }
.heaven-copy, .slider-project-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: 40px; margin-bottom: var(--project-text-gap); }
.heaven-copy { width: 100%; }
.slider-project-copy { max-width: 1050px; margin-inline: auto; }
.heaven-copy h1, .slider-project-copy h1 { margin: 0; color: #111; font-size: 48px; font-weight: 300; line-height: 1.2; }
.heaven-copy .project-copy p, .slider-project-copy .project-copy p { max-width: 75ch; }
.project-slider { margin: 0 auto 75px; }
.slider-viewport { position: relative; max-width: 1050px; margin: 0 auto; background: var(--white); }
.slider-sizer { display: none; }
.project-slide { margin: 0 0 26px; text-align: center; }
.project-slide .gallery-item { display: inline-block; max-width: 100%; background: transparent; }
.project-slide img { width: auto; max-width: 100%; max-height: 72svh; margin: 0 auto; object-fit: contain; }
.slider-ready .slider-viewport { overflow: hidden; touch-action: pan-y; }
.slider-ready .slider-sizer { display: block; width: 100%; height: auto; visibility: hidden; }
.slider-ready .slider-track { position: absolute; inset: 0; display: flex; height: 100%; transition: transform 0.5s ease; }
.slider-ready .slider-track.slider-no-transition { transition: none; }
.slider-ready .project-slide { flex: 0 0 100%; height: 100%; margin: 0; }
.slider-ready .project-slide .gallery-item { display: block; width: 100%; height: 100%; }
.slider-ready .project-slide img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.slider-track.slide-index-1 { transform: translateX(-100%); }
.slider-track.slide-index-2 { transform: translateX(-200%); }
.slider-track.slide-index-3 { transform: translateX(-300%); }
.slider-track.slide-index-4 { transform: translateX(-400%); }
.slider-track.slide-index-5 { transform: translateX(-500%); }
.slider-track.slide-index-6 { transform: translateX(-600%); }
.slider-track.slide-index-7 { transform: translateX(-700%); }
.slider-track.slide-index-8 { transform: translateX(-800%); }
.slider-track.slide-index-9 { transform: translateX(-900%); }
.slider-track.slide-index-10 { transform: translateX(-1000%); }
.slider-track.slide-index-11 { transform: translateX(-1100%); }
.slider-track.slide-index-12 { transform: translateX(-1200%); }
.slider-track.slide-index-13 { transform: translateX(-1300%); }
.slider-track.slide-index-14 { transform: translateX(-1400%); }
.slider-track.slide-index-15 { transform: translateX(-1500%); }
.slider-track.slide-index-16 { transform: translateX(-1600%); }
.slider-track.slide-index-17 { transform: translateX(-1700%); }
.slider-arrow { display: none; position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; padding: 0; border: 0; transform: translateY(-50%); place-items: center; background: #050505; color: var(--white); cursor: pointer; }
.slider-ready .slider-arrow { display: grid; }
.slider-previous { left: 0; }
.slider-next { right: 0; }
.slider-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-arrow:hover, .slider-arrow:focus-visible { background: var(--accent); }
.slider-dots { display: none; justify-content: center; flex-wrap: wrap; gap: 2px; max-width: 1050px; margin: 16px auto 0; }
.slider-ready .slider-dots { display: flex; }
.slider-dot { display: grid; width: 32px; height: 32px; padding: 0; border: 0; place-items: center; background: transparent; cursor: pointer; }
.slider-dot::before { width: 10px; height: 10px; border-radius: 50%; background: #c8c8c8; content: ""; }
.slider-dot[aria-pressed="true"]::before { background: var(--accent); }
.heaven-wide-image { margin: 0 0 60px; }
.heaven-wide-image .gallery-item { width: 100%; }
.heaven-wide-image img { width: 100%; height: auto; }
.heaven-plans { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: start; }
.heaven-plans img { width: 100%; height: auto; }
.js .project-layout-standard .project-gallery .gallery-item.reveal-pending { opacity: 0; transition: opacity 0.6s ease; }
.js .project-layout-standard .project-gallery .gallery-item.reveal-pending.is-visible { opacity: 1; }
.js .more-grid .project-card.reveal-pending { opacity: 0; transform: translateY(40px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
.js .more-grid .project-card.reveal-pending.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms !important; }
.reveal-delay-2 { transition-delay: 200ms !important; }
@media (prefers-reduced-motion: no-preference) {
  .js .heaven-hero-image { animation: heaven-zoom 20s ease-out 1 both; }
}
@keyframes heaven-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.parallax-step-0 { transform: translateY(0); }
.parallax-step-1 { transform: translateY(4px); }
.parallax-step-2 { transform: translateY(8px); }
.parallax-step-3 { transform: translateY(12px); }
.parallax-step-4 { transform: translateY(16px); }
.parallax-step-5 { transform: translateY(20px); }
.parallax-step-6 { transform: translateY(24px); }
.parallax-step-7 { transform: translateY(28px); }
.parallax-step-8 { transform: translateY(32px); }
.parallax-step-9 { transform: translateY(36px); }
.parallax-step-10 { transform: translateY(40px); }
.parallax-step-11 { transform: translateY(44px); }
.parallax-step-12 { transform: translateY(48px); }
.parallax-step-13 { transform: translateY(52px); }
.parallax-step-14 { transform: translateY(56px); }
.parallax-step-15 { transform: translateY(60px); }
.parallax-step-16 { transform: translateY(64px); }
.more-projects { border-top: 1px solid #ededed; padding: 84px 5vw 70px; }
.more-projects h2 { margin: 0 0 34px; font-size: 17px; font-weight: 400; }
.more-grid { gap: 36px; }
.project-neighbors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 2.5vw;
  border-top: 1px solid #ededed;
  background: #fafafa;
}
.project-neighbors a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}
.project-neighbors a:hover { color: var(--accent); }
.project-neighbors a > span[aria-hidden] { font-size: 24px; font-weight: 300; line-height: 1; }
.legal-page { min-height: 65vh; max-width: 920px; margin: 0 auto; padding: 80px 5vw; }
.legal-page h1 { font-size: clamp(2rem, 3.25vw, 3rem); font-weight: 300; }
.legal-content { overflow-wrap: anywhere; }
.legal-page-impressum { max-width: 1200px; }
.legal-page-impressum .legal-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.legal-content h1 { margin: 0 0 28px; }
.legal-content h2 { margin: 42px 0 14px; font-size: 1.25rem; font-weight: 400; line-height: 1.4; }
.recht-spalte > h2:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 24px; }
.legal-content ul, .legal-content ol { padding-left: 1.5em; }
.legal-content li { margin-bottom: 10px; }
.not-found-intro {
  display: flex;
  min-height: calc(100svh - 90px);
  align-items: center;
  padding: 80px 9.23vw 100px;
  background: var(--white);
}
.not-found-content { width: 100%; max-width: 1100px; margin: 0 auto; }
.not-found-brand {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.not-found h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(7rem, 20vw, 18rem);
  font-weight: 300;
  line-height: .85;
  letter-spacing: -.085em;
}
.not-found-message {
  margin: 40px 0 48px;
  padding-top: 24px;
  border-top: 1px solid var(--accent);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.4;
  text-transform: uppercase;
}
.not-found-links { display: flex; flex-wrap: wrap; gap: 16px 42px; }
.not-found-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}
.not-found-links a span { color: var(--accent); font-size: 22px; line-height: 1; }
.not-found-links a:hover { color: var(--accent); }

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 3.5rem 3.5rem 2rem;
  border: 0;
  background: rgb(20 20 20 / 96%);
  color: var(--white);
}
.lightbox::backdrop { background: rgb(20 20 20 / 96%); }
.lightbox-figure { display: flex; width: 100%; height: 100%; min-height: 0; margin: 0; align-items: center; flex-direction: column; gap: 12px; }
.lightbox-image { width: 100%; min-height: 0; flex: 1; object-fit: contain; }
.lightbox-caption { display: flex; max-width: 70ch; align-items: center; flex-direction: column; gap: 3px; color: #c6c6c6; font-size: 12px; line-height: 1.4; text-align: center; }
.lightbox-count { color: #a9a9a9; font-size: 11px; }
.lightbox button {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  background: rgb(20 20 20 / 55%);
  color: var(--white);
  font: 300 2rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-previous { top: 50%; left: 1rem; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 1rem; transform: translateY(-50%); }

.js .menu-toggle { display: none; }

@media (min-width: 1750px) {
  .project-layout-standard .project-gallery { columns: 3; }
  .project-layout-standard .project-gallery.is-masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item::before {
    position: absolute;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    content: "";
  }
  .gallery-item::before { inset: 0; background: rgb(80 80 80 / 24%); }
  .gallery-item:hover::before { opacity: 1; }
  .hover-circle {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    z-index: 25;
    width: 60px;
    height: 60px;
    pointer-events: none;
    visibility: hidden;
    transform: translate3d(calc(var(--cursor-x, -100px) - 50%), calc(var(--cursor-y, -100px) - 50%), 0);
    transition: visibility 0s .25s;
  }
  .hover-circle span {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
    white-space: pre-line;
    transform: scale(0);
    transition: transform .25s ease;
  }
  .hover-circle.is-visible { visibility: visible; transition: none; }
  .hover-circle.is-visible span { transform: scale(1); }
}

@media (max-width: 899px) {
  .heaven-copy, .slider-project-copy { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contact-primary { grid-template-columns: 1fr; gap: 16px; }
  .contact-portrait-images { width: 150px; }
  .contact-address { margin-top: 22px; }
  .info-panel .contact-note { max-width: 40ch; margin-inline: auto; white-space: normal; }
}

@media (max-width: 859px) {
  body { font-size: 16px; line-height: 28px; }
  .site-header { min-height: 70px; padding: 10px 9.23vw; }
  .brand,
  .brand img { width: 32px; }
  .js .menu-toggle { display: grid; place-items: center; }
  .js .main-navigation { display: none; }
  .js .site-header.nav-open .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px 5vw;
    background: var(--white);
    box-shadow: 0 12px 16px rgb(0 0 0 / 8%);
  }
  .js .site-header.nav-open .main-navigation a { padding: 10px 0; }
  .intro { min-height: calc(100svh - 92px); padding-inline: 9.23vw; }
  .intro h1 { max-width: 100%; margin-top: -3.625rem; font-size: clamp(1.35rem, 3.2vw, 1.75rem); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .information { padding: 100px 9.23vw 75px; }
  .info-tabs { margin-bottom: 54px; }
  .project-top { grid-template-columns: 1fr; gap: 0; padding: 90px 9.23vw 70px; }
  .project-gallery { columns: 1; column-gap: 0; grid-template-columns: 1fr; gap: 16px; grid-row: 2; }
  .project-gallery > .gallery-item { margin-bottom: 16px; }
  .project-sidebar { position: static; grid-row: 1; margin: 0 0 52px; }
  .project-sidebar h1, .heaven-copy h1, .slider-project-copy h1 { font-size: 36px; }
  .heaven-content, .slider-project-content { --project-text-gap: 70px; padding: 70px 9.23vw 85px; }
  .heaven-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .more-projects { padding: 75px 9.23vw 85px; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .legal-page-impressum .legal-content { grid-template-columns: 1fr; gap: 32px; }
  .not-found-intro { min-height: calc(100svh - 70px); padding: 70px 9.23vw; }
}

@media (max-width: 767px) {
  .back-to-top { bottom: calc(22px + env(safe-area-inset-bottom)); }
  body:has(.lightbox[open]) .back-to-top { display: none; }
}

@media (max-width: 560px) {
  .not-found h1 { font-size: clamp(6.75rem, 33vw, 10rem); }
  .not-found-message { margin: 32px 0 24px; }
  .not-found-links { gap: 4px 30px; }
  .intro h1 { max-width: 100%; font-size: 1.45rem; }
  .project-grid { grid-template-columns: 1fr; }
  .info-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; }
  .info-tabs a { margin-bottom: 0; padding: 0 13px 14px; border-bottom: 0; font-size: 11px; text-align: center; }
  .info-tabs a:last-child { grid-column: 1 / -1; }
  .info-panel p { font-size: 18px; line-height: 31.5px; }
  .service-list li { display: block; margin-bottom: 20px; }
  .service-list h3 { display: inline; font-size: 16px; }
  .service-list p { display: inline; }
  .contact-primary { gap: 12px; }
  .contact-primary .contact-link { font-size: 1.35rem; }
  .site-footer { flex-direction: column; justify-content: center; gap: 8px; min-height: 115px; padding-inline: 9.23vw; font-size: 14px; text-align: center; }
  .project-gallery { gap: 15px; }
  .project-sidebar h1, .heaven-copy h1, .slider-project-copy h1 { font-size: 32px; }
  .project-copy p { font-size: 16px; line-height: 28px; }
  .heaven-hero { min-height: 360px; }
  .slider-arrow { width: 44px; height: 44px; }
  .more-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-neighbors { padding: 0 5vw; }
  .neighbor-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0.01ms !important; }
  .hover-circle { display: none !important; }
  .js .project-layout-standard .project-gallery .gallery-item.reveal-pending,
  .js .more-grid .project-card.reveal-pending { opacity: 1 !important; transform: none !important; }
  .heaven-hero-parallax { transform: none !important; }
}
