* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'auto-pro-new', 'Roboto', sans-serif;
  background: #ffffff;
  color: #111;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px max(64px, calc(50vw - 736px));

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 100;

  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);

  transition: top 0.5s ease, left 0.5s ease, right 0.5s ease,
              padding 0.5s ease, border-radius 0.5s ease,
              box-shadow 0.5s ease;
}

.navbar.scrolled {
  top: 12px;
  left: max(40px, 28vw);
  right: max(40px, 28vw);
  padding: 14px 28px;
  border-radius: 50px;
  background: rgba(235, 235, 235, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.navbar:has(.hamburger.open) {
  background: #111;
}

.navbar:has(.hamburger.open) .logo {
  color: #fff;
}

.hamburger.open span {
  background: #fff;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #111;
  z-index: 99;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 80px 25px 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 42px;
  font-weight: 300;
  color: #fff;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 18px;
  line-height: 1.4;
}

/* =========================
   HERO (FIXED SLIDER)
========================= */

.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 68px);
  overflow: hidden;
  margin-top: 68px;
}

/* TRACK */
.hero-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
}

/* SLIDES */
.hero-slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

picture.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide--top {
  object-position: center top;
}

picture.hero-slide--top img {
  object-position: center top;
}

/* =========================
   HOTZONE BUTTON SYSTEM
   (NEU: nur kleine Hoverbereiche)
========================= */

.hero-zone {
  position: absolute;
  top: 0;
  width: 120px;   /* ← HOVER-BREITE */
  height: 100%;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-zone-left {
  left: 0;
}

.hero-zone-right {
  right: 0;
}

/* BUTTONS (KEIN HINTERGRUND!) */
.hero-btn {
  border: none;
  background: none;

  font-size: 100px;
  font-weight: 300;
  line-height: 1;

  color: white;
  cursor: pointer;

  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;

  padding: 0;
}

/* NUR SICHTBAR IN HOTZONE */
.hero-zone:hover .hero-btn {
  opacity: 1;
}

/* leichtes Hover Feedback */
.hero-btn:hover {
  transform: scale(1.1);
}

/* =========================
   PROJECTS HEADING
========================= */

.projects-heading {
  max-width: 1600px;
  margin: 0 auto;
  padding: 68px 64px 0 64px;
  scroll-margin-top: 0;
}

.projects-heading h2 {
  font-size: 30px;
  font-weight: 700;
}

/* =========================
   PROJECT GRID
========================= */

.projects {
  max-width: 1600px;
  margin: 0 auto;
  padding: 15px 64px 140px 64px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 15px;
  row-gap: 70px;
}

.project-card {
  display: block;
  color: inherit;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 14px;
  transition: opacity 0.25s ease;
}

.project-card:hover img {
  opacity: 0.92;
}

.project-info h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
}

.project-info p {
  font-size: 18px;
  line-height: 1.4;
  color: #111;
}

/* =========================
   ABOUT
========================= */

.about {
  max-width: 1600px;
  margin: 0 auto;
  padding: 110px 64px 160px 64px;
}

.about-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.about-portrait {
  width: 20%;
  max-width: 260px;
  flex-shrink: 0;
  height: auto;
}

.about-text {
  flex: 1;
}

.about h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 20px;
}

.about p {
  font-size: 18px;
  line-height: 1.4;
  color: #444;
  max-width: 60ch;
}

/* =========================
   FOOTER
========================= */

/* =========================
   FOOTER (EDITORIAL STYLE)
========================= */

.footer {
  padding: 60px max(64px, calc(50vw - 736px)) 120px max(64px, calc(50vw - 736px));
  background: #000;
}


.footer-contact {
  text-align: left;
}

.footer-contact p {
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

.footer-spacer {
  height: 1em;
  display: block;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  opacity: 0.6;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) and (orientation: portrait) {

  .footer {
    padding: 40px 25px 120px 25px;
  }
}

/* =========================
   PROJECT PAGES
========================= */

.project-hero {
  margin-top: 68px;
}

.project-hero > img:first-child,
.project-hero > video:first-child {
  width: 100%;
  height: calc(100vh - 68px);
  object-fit: cover;
}

.project-hero > picture:first-child {
  display: block;
  width: 100%;
  height: calc(100vh - 68px);
}

.project-hero > picture:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mobile-img,
.mobile-only,
.landscape-only,
.tablet-landscape-break {
  display: none;
}

.hero-align--bottom-left {
  object-position: center bottom;
}

.project-intro {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 64px;
}

.project-intro h1 {
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 0;
}

.project-intro > h2 {
  margin-bottom: 20px;
}

.project-intro-columns {
  display: flex;
  gap: 100px;
  align-items: flex-start;
}

.project-intro-text {
  max-width: 60ch;
}

.project-intro-text p {
  font-size: 18px;
  line-height: 1.4;
}

.project-services {
  flex-shrink: 0;
  min-width: 160px;
  margin-left: 80px;
}

.project-services-label {
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #111;
  font-weight: 600;
  line-height: 1.4;
}

.project-services p {
  font-size: 16px;
  line-height: 1.4;
  color: #111;
}

.project-text p {
  font-size: 18px;
  line-height: 1.4;
}

.project-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 64px 140px 64px;
}

.project-content > img,
.project-content > picture {
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.grid-2--wide-left {
  grid-template-columns: 3fr 2fr;
  align-items: stretch;
}

.grid-2--wide-left img:first-child {
  width: 100%;
  height: auto;
}

.grid-2--wide-left img:last-child {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.grid-2--wide-left picture {
  display: block;
  width: 100%;
  height: 100%;
}

.grid-2--wide-left picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.grid-2--wide-right {
  grid-template-columns: 2fr 3fr;
  align-items: stretch;
}

.grid-2--wide-right img:first-child {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.grid-2--wide-right img:last-child {
  width: 100%;
  height: auto;
}

.grid-2--portrait {
  gap: 15px;
}

.grid-2--portrait img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.grid-2--natural-4-3 {
  grid-template-columns: 4fr 3fr;
}

.grid-2--natural-4-3 img {
  width: 100%;
  height: auto;
}

.grid-2--mmm34 {
  grid-template-columns: 32fr 25fr;
}

.grid-2--mmm34 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.grid-2--natural-5-6 {
  grid-template-columns: 43621fr 52218fr;
}

.grid-2--natural-5-6 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.grid-2--frauengold-sw {
  grid-template-columns: 7866593fr 9604800fr;
}

.grid-2--frauengold-sw img {
  width: 100%;
  height: auto;
}

.grid-4 {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 60px 100px 60px 100px;
}

.grid-4 img {
  height: calc((min(100vw, 1600px) - 448px) / 4 * 2.093);
  width: auto;
  flex: none;
}

.grid-3--instagram {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 90px 100px;
}

.grid-3--instagram img {
  height: calc((min(100vw, 1600px) - 448px) / 4 * 2.093);
  width: auto;
  flex: none;
}

.grid-2--instagram {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 60px auto;
}

.grid-2--instagram img {
  /* height = grid-4 column width × aspect ratio of website images */
  /* column width = (viewport − project-content padding 128px − grid-4 margin 200px − 3 gaps 120px) / 4 */
  height: calc((min(100vw, 1600px) - 448px) / 4 * 2.093);
  width: auto;
  flex: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) and (orientation: portrait) {

  .navbar {
    padding: 20px 25px;
  }

  .navbar.scrolled {
    top: 8px;
    left: 45px;
    right: 45px;
    border-radius: 50px;
    padding: 14px 20px;
    background: rgba(235, 235, 235, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .navbar:has(.hamburger.open) {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    padding: 20px 25px;
  }

  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: 55vh;
  }

  .hero-slide img,
  picture.hero-slide img {
    object-position: center center;
  }

  .projects-heading {
    padding: 68px 25px 0 25px;
  }

  .projects {
    grid-template-columns: 1fr;
    padding: 15px 25px 60px 25px;
    row-gap: 60px;
  }

  .about,
  footer {
    padding: 80px 25px;
  }

  footer {
    padding-bottom: 120px;
  }

  .about-inner {
    flex-direction: column;
    gap: 30px;
  }

  .about-portrait {
    width: 70%;
    max-width: none;
  }

  .picture-full {
    display: block;
  }

  .project-intro {
    padding: 35px 25px 50px 25px;
  }

  .project-intro h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .project-intro > h2 {
    font-size: 16px;
    line-height: 1.4;
  }

  .project-intro > h2 br {
    display: none;
  }

  .project-intro-columns {
    flex-direction: column;
    gap: 30px;
  }

  .project-services {
    margin-left: 0;
  }

  .project-services-label,
  .project-services p {
    font-size: 16px;
    line-height: 1.4;
    color: #707070;
  }

  .project-info h2,
  .project-info p,
  .project-intro-text p {
    font-size: 16px;
    line-height: 1.4;
  }

  .project-info h2 {
    margin-bottom: 0;
  }

  .project-content {
    padding: 0 25px 100px 25px;
  }

  .about h2,
  footer h2 {
    font-size: 25px;
  }

  .projects-heading h2 {
    font-size: 25px;
  }

  .about p {
    font-size: 16px;
    line-height: 1.4;
  }

  .footer-contact p {
    line-height: 1.4;
  }

  .project-hero img {
    height: 60vh;
  }

  .project-hero img.hero-align--bottom-left {
    object-position: center center;
  }

  .project-hero > picture:first-child {
    height: 60vh;
  }

  .hero-video {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .hide-mobile {
    display: none;
  }

  .hero-mobile-img {
    display: block;
    height: 60vh;
    object-fit: cover;
  }


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

  .grid-2--keep {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 40px 20px;
  }

  .grid-4 img {
    height: auto;
    width: 100%;
  }

  .grid-3--instagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 40px 20px;
  }

  .grid-3--instagram img {
    height: auto;
    width: 100%;
  }

  .grid-2--instagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 15px;
    margin: 40px 20px;
  }

  .grid-2--instagram img {
    height: auto;
    width: 100%;
  }
}

@media (min-width: 601px) and (max-width: 1100px) and (orientation: portrait) {

  /* Reset mobile portrait nav overrides */
  .navbar {
    padding: 20px 45px;
  }

  nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  /* Hero — mobile portrait settings */
  .hero {
    height: 55vh;
  }

  .hero-slide img,
  picture.hero-slide img {
    object-position: center center;
  }

  .hero-video {
    display: block;
  }

  .hero-mobile-img {
    display: none;
  }

  .mobile-only,
  .project-content > img.mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .tablet-landscape-break {
    display: none;
  }

  .hide-mobile {
    display: revert;
  }

  /* Reset projects heading */
  .projects-heading {
    padding: 68px 45px 0 45px;
  }

  /* Reset about */
  .about {
    padding: 80px 45px 130px 45px;
  }

  /* Reset footer */
  .footer {
    padding: 60px 45px 120px 45px;
    min-height: unset;
  }

  /* Reset about-inner */
  .about-inner {
    flex-direction: row;
    gap: 25px;
  }

  /* Reset about-portrait */
  .about-portrait {
    width: 20%;
    max-width: 260px;
  }

  /* Reset project-intro */
  .project-intro {
    padding: 40px 45px;
  }

  .project-intro > h2 br {
    display: revert;
  }

  /* Reset project-intro-columns */
  .project-intro-columns {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
  }

  /* Reset project-services */
  .project-services {
    margin-left: 0;
  }

  /* Reset project-content */
  .project-content {
    padding: 0 45px 140px 45px;
  }

  /* Project hero — desktop images, main page height */
  .project-hero img,
  .project-hero > video:first-child {
    height: 55vh;
  }

  .project-hero img.hero-align--bottom-left {
    object-position: center bottom;
  }

  .project-hero > picture:first-child {
    height: 55vh;
  }

  /* Reset grid-2 */
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2--wide-left {
    grid-template-columns: 3fr 2fr;
  }

  .grid-2--wide-right {
    grid-template-columns: 2fr 3fr;
  }

  .grid-2--natural-4-3 {
    grid-template-columns: 4fr 3fr;
  }

  .grid-2--mmm34 {
    grid-template-columns: 32fr 25fr;
  }

  .grid-2--natural-5-6 {
    grid-template-columns: 43621fr 52218fr;
  }

  .grid-2--frauengold-sw {
    grid-template-columns: 7866593fr 9604800fr;
  }

  /* Projects grid */
  .projects {
    grid-template-columns: repeat(3, 1fr);
    padding: 15px 45px 80px 45px;
    column-gap: 11px;
    row-gap: 70px;
  }

  .project-hero img.hero-align--bottom-left {
    object-position: center center;
  }

  .mmm-nowrap {
    white-space: nowrap;
  }

  /* Landscape styles */
  nav a {
    font-size: 17px;
  }

  .project-intro h1 {
    font-size: 35px;
    line-height: 1.2;
  }

  .project-intro > h2 {
    font-size: 18px;
    line-height: 1.4;
  }

  .mmm-subtitle {
    white-space: nowrap;
  }

  .project-services-label,
  .project-services p {
    font-size: 17px;
    line-height: 1.4;
    color: #111;
  }

  .project-intro-text {
    max-width: 50ch;
  }

  .project-info h2,
  .project-info p,
  .project-intro-text p {
    font-size: 17px;
    line-height: 1.4;
  }

  .about h2,
  footer h2 {
    font-size: 25px;
  }

  .projects-heading h2 {
    font-size: 25px;
  }

  .about p {
    font-size: 17px;
    line-height: 1.4;
    max-width: 50ch;
  }

  .footer-contact p {
    line-height: 1.4;
  }

  .hide-landscape {
    display: none;
  }

  .landscape-only {
    display: inline;
  }

  .picture-full {
    display: block;
  }

  .navbar {
    transition: left 0.5s ease, right 0.5s ease,
                padding 0.5s ease, border-radius 0.5s ease,
                box-shadow 0.5s ease;
  }

  .navbar.scrolled {
    left: 13vw;
    right: 13vw;
  }

  .project-content > img,
  .project-content > picture {
    margin-bottom: 15px;
  }

  .grid-2,
  .grid-2--portrait {
    gap: 15px;
    margin-bottom: 15px;
  }

  .grid-4 {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px;
  }

  .grid-4 img {
    height: calc((100vw - 90px - 80px - 75px) / 4 * 2.093);
    width: auto;
    flex: none;
  }

  .grid-3--instagram {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px;
  }

  .grid-3--instagram img {
    height: calc((100vw - 90px - 80px - 75px) / 4 * 2.093);
    width: auto;
    flex: none;
  }

  .grid-2--instagram {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px;
  }

  .grid-2--instagram img {
    height: calc((100vw - 90px - 80px - 75px) / 4 * 2.093);
    width: auto;
    flex: none;
  }

  .grid-2--wide-left picture {
    width: 100%;
    height: 100%;
    display: block;
  }

  .grid-2--wide-left picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .godepark-last-pair {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }

  .godepark-last-pair .grid-2--natural-5-6 {
    order: 2;
  }

  .godepark-last-pair .picture-full {
    order: 1;
  }

}

@media (max-width: 900px) and (orientation: landscape) {

  .project-intro h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .project-intro > h2 {
    font-size: 16px;
    line-height: 1.4;
  }

  .project-services-label,
  .project-services p {
    font-size: 16px;
    line-height: 1.4;
  }

  .project-info h2,
  .project-info p,
  .project-intro-text p {
    font-size: 16px;
    line-height: 1.4;
  }

  .about h2,
  footer h2 {
    font-size: 25px;
  }

  .projects-heading h2 {
    font-size: 25px;
  }

  .about p {
    font-size: 16px;
    line-height: 1.4;
    max-width: 50ch;
  }

  .footer-contact p {
    line-height: 1.4;
  }

  .hide-landscape {
    display: none;
  }

  .landscape-only {
    display: inline;
  }

  .grid-4 {
    gap: 20px;
    margin: 35px 100px;
  }

  .grid-4 img {
    height: calc((100vw - 200px - 60px) / 4 * 2.093);
  }

  .picture-full {
    display: block;
  }

  nav a {
    font-size: 16px;
  }

  .about-inner {
    gap: 25px;
  }

  .projects {
    padding-bottom: 80px;
  }

  .about {
    padding-top: 80px;
    padding-bottom: 130px;
  }

  .projects {
    column-gap: 11px;
  }

  .project-content > img,
  .project-content > picture {
    margin-bottom: 11px;
  }

  .grid-2,
  .grid-2--portrait {
    gap: 11px;
    margin-bottom: 11px;
  }

  .footer {
    min-height: 100vh;
  }

  .navbar {
    transition: left 0.5s ease, right 0.5s ease,
                padding 0.5s ease, border-radius 0.5s ease,
                box-shadow 0.5s ease;
  }

  .grid-3--instagram {
    gap: 20px;
    margin: 35px 100px;
    justify-content: center;
  }

  .grid-3--instagram img {
    height: calc((100vw - 200px - 60px) / 4 * 2.093);
    width: auto;
  }

  .grid-2--instagram {
    gap: 20px;
    margin: 35px 100px;
    justify-content: center;
  }

  .grid-2--instagram img {
    height: calc((100vw - 200px - 60px) / 4 * 2.093);
  }

  .grid-2--wide-left picture {
    width: 100%;
    height: 100%;
    display: block;
  }

  .grid-2--wide-left picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .project-intro h1 {
    font-size: 35px;
  }

  .project-intro > h2 {
    font-size: 18px;
    line-height: 1.4;
  }

  .navbar.scrolled {
    left: 13vw;
    right: 13vw;
  }

}

@media (min-width: 961px) and (max-width: 1400px) and (orientation: landscape) {

  .hero-slide img,
  picture.hero-slide img {
    object-position: center center;
  }

  .mobile-only,
  .project-content > img.mobile-only {
    display: none;
  }

  .landscape-only {
    display: inline;
  }

  .project-hero img.hero-align--bottom-left {
    object-position: center bottom;
  }

  .grid-4 {
    gap: 30px;
    margin: 50px 60px;
  }

  .grid-4 img {
    height: calc((100vw - 128px - 120px - 90px) / 4 * 2.093);
  }

  .grid-3--instagram {
    gap: 30px;
    margin: 50px 60px;
  }

  .grid-3--instagram img {
    height: calc((100vw - 128px - 120px - 90px) / 4 * 2.093);
  }

  .grid-2--instagram {
    gap: 30px;
    margin: 40px auto;
  }

  .grid-2--instagram img {
    height: calc((100vw - 128px - 120px - 90px) / 4 * 2.093);
  }

}