* {
  font-family: 'Source Sans 3';
  text-decoration: none;
  color: rgb(0, 0, 0);
  scroll-behavior: smooth;
}
/* LIGHTBOX OVERLAY */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
  z-index: 9999;
  box-shadow: inset;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 80vw;
  max-height: 80vh;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  overflow: hidden;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.lightbox p {
  margin-top: 0.75rem;
  font-size: 1.4vh;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}


@media (orientation: landscape){
  #text-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 3vh;
    font-weight: 200;
    letter-spacing: 10px;
}
#image-container {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#image-container img {
  max-width: 4vw;
  max-height: auto;
  border-radius: 10px;
  z-index: 999;
}

h1{
  position: relative;
  margin-bottom: 2vh;
  font-size: 2vh;
  font-weight: 200;
  letter-spacing: 10px;
}

.container{
  padding-top: 20vh;
  padding-left: 10vw;
  width: 80vw;
}
.gallery-wrap {
  display: flex;
  flex-wrap: nowrap; /* Keeps items in a single line */
  width: 100%; /* Make sure the gallery stretches the full width */
  overflow: hidden;
}

.item {
  position: relative;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: flex 0.8s ease;
  padding-left: 0.5vw;
  padding-right: 0.5vw;
  overflow: visible;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto; 
}

.item img {
  width: auto; 
  height: 100%; 
  object-fit: cover;

}


.item:hover {
  flex-grow: 2;
  filter: saturate(1);
}
  .container {
    padding-top: 25vh;
    padding-left: 10vw;
    width: 80vw;
    height: 50vh;
  }

  .gallery-wrap {
    display: flex;
    flex-direction: row;
    width: 80vw;
    height: 40vh;
    gap: 0.05vw;
    overflow: visible;
    padding-bottom: 5vh;
  }

  .item {
    position: relative;
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: flex 0.8s ease;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    overflow: visible;
        filter: saturate(0);
  }


  .item-title {
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 1.5vh;
    font-weight: 200;
    letter-spacing: 5px;
    color: rgb(255, 255, 255);
    opacity: 0;
    text-decoration: none;
    transition: opacity 0.3s ease, letter-spacing 1.2s ease;
  }

  .item:hover .item-title {
    opacity: 1;
    letter-spacing: 11px; /* Increase letter spacing */
    transition: opacity 0.3s ease, letter-spacing 1s ease;
    transition-delay: 0.7s;
  }
  
  .item-title:hover {
    text-decoration: underline; 
  }
  
 
   .item-1 { 
    background-image: url('assets/landschaft/Steffi_14.jpg');
  }
  
  .item-2 { 
    background-image: url('assets/street/Steffi_3.jpeg');
  }
  
  .item-3 { 
    background-image: url('assets/architektur/Steffi_31.jpeg');
  }

  .item-4 { 
    background-image: url('assets/street/Steffi_15.jpeg');
  }

    .item-5 { 
    background-image: url('assets/architektur/Steffi_4.jpeg');
  }

    .item-6 { 
    background-image: url('assets/architektur//Steffi_19.jpeg');
  }

  .item-7 { 
    background-image: url('assets/architektur/Steffi_36.jpeg');
  }

    .item-8 { 
    background-image: url('assets/street/Steffi_28.jpeg');
  }
    .item-9 { 
    background-image: url('assets/architektur/Steffi_16.jpeg');
  }

  .item-10 { 
    background-image: url('assets/people/Steffi_30.jpg');
  }

  .item-11 { 
    background-image: url('assets/people/Steffi_32.jpg');
  }

  

.item-1:hover {
  flex-grow: 10; 
  filter: saturate(1);
}

.item-2:hover {
  flex-grow: 10;
  filter: saturate(1); 
}

.item-3:hover {
  flex-grow: 10; 
  filter: saturate(1);
}

.item-4:hover {
  flex-grow: 10; 
  filter: saturate(1);
}

.item-5:hover {
  flex-grow: 7; 
  filter: saturate(1);
}

.item-6:hover {
  flex-grow: 7;
  filter: saturate(1);
}

.item-7:hover {
  flex-grow: 10;
  filter: saturate(1);
}

.item-8:hover {
  flex-grow: 10;
  filter: saturate(1);
}

.item-9:hover {
  flex-grow: 5;
  filter: saturate(1);
}

.item-10:hover {
  flex-grow: 10;
  filter: saturate(1);
}

.item-11:hover {
  flex-grow: 10;
  filter: saturate(1);
}


.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown {
  position: relative;
  display: inline-block;
}

/* Button (wie ein Link) */
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.4vh;
    font-weight: 200;

}


/* Pfeil */
.arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Dropdown versteckt */
.dropdown-menu {
  display: none;
  text-align: left;
  position: absolute;
  left: 0;
  top: 120%;
  text-align: left;
  padding: 0;
  margin: 0;
  font-size: 1.3vh;
  line-height: 1.8;
}

/* Dropdown Links */
.dropdown-menu a {
  display: block;
    text-align: left;
}

  .dropdown-menu a {
    display: block;
    width: 100%;
    text-align: left !important;
    margin: 0;
  }

/* Offen */
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown.open .arrow {
  transform: rotate(180deg);
}
.gallery-menu {
  display: flex;
  align-items: center;
  width: 100%;          /* same width as gallery container */
  margin-top: 2vh;
  font-size: 1.4vh;
  font-weight: 200;
  letter-spacing: 10px;
  text-transform: uppercase;
}

/* each link gets 1/3 of the width */
.gallery-menu a {
  flex: 1;
  text-decoration: none;
  color: black;
}

/* left link */
.gallery-menu a:nth-child(1) {
  text-align: left;
}

/* middle link – perfectly centered */
.gallery-menu a:nth-child(2) {
  text-align: center;
}

/* right link */
.gallery-menu a:nth-child(3) {
  text-align: right;
}

.gallery-menu a:hover {
  color: red;
}


#Links{  
  width: 80vw;
  padding-top: 0vh;
  text-align:center;
  gap: auto;
  font-size: 2vh;
  font-weight: 200;
  letter-spacing: 10px;
  font-family: 'Source Sans 3';
  color: black;}


  #mobile {
    display: none;
  }

  section{height: 100vh;}
}

@media (orientation: portrait){
 #text-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 100vh; 
    position: relative;
    font-size: 2vh;
    font-weight: 200;
    letter-spacing: 10px;
    text-align: center;
  }

  #image-container {
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
  }

  #image-container img {
    max-width: 10vw;
    max-height: 10vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    display: block;
  }

  #text-animation::before {
    content: "";  /* Optional: Overlay, falls Text lesbar bleiben soll */
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* Text selbst über Signet, falls nötig */
  #text-animation > * {
    position: relative;
    z-index: 5; 
  }

  #gallery { 
    display: none;
  }

  #gallery { 
    display: none;
  }

  h1{
    font-size: 2vh;
    font-weight: 200;
    letter-spacing: 10px;
    padding-bottom: 4vh;
  }

  .mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh; 
  }

.item-container {
  width: 80vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  /* SCROLL-EFFEKT BASIS */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.item-container.in-view {
  opacity: 1;
  transform: translateY(0);
}

.item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 1.5vh;
  padding-bottom: 1.5vh;
  cursor: pointer; /* ganze Zeile klickbar */
}

.title {
  font-size: 1.5vh;
  color: #000000;
  font-weight: 200;
  letter-spacing: 2px;
  font-family: 'Source Sans 3', sans-serif;
  /* HIER: pointer-events wegnehmen, damit klickbar */
  pointer-events: auto;
}

/* Pfeil-Button */
.item-toggle {
  border: none;
  background: transparent;
  font-size: 2vh;
  line-height: 1;
  padding: 0;
  margin-left: 1vh;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

/* Drehe Pfeil, wenn geöffnet */
.item-container.details-open .item-toggle {
  transform: rotate(180deg);
}

.item-details {
  width: 100%;
  font-size: 1.3vh;
  font-weight: 200;
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.item-container.details-open .item-details {
  opacity: 1;
  max-height: 2000px;   /* FIX: project below now moves down */
  margin-bottom: 2vh;
}

.item-details p {
  margin: 0 0 1vh 0;
}

.item-details a {
  font-size: 1.3vh;
  text-decoration: underline;
}



  .item-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .item-container img:hover {
    transform: scale(1.01);
  }

  .title {
    font-size: 1.5vh;
    color: #000000;
    padding-top: 1.5vh;
    padding-bottom: 3vh; 
    font-weight: 200;
    letter-spacing: 2px;
    font-family: 'Source Sans 3', sans-serif;
    pointer-events: none;
  }

  @media (orientation: portrait){
  /* ... dein bisheriger Portrait-Code ... */

  .mobile-menu-list {
    width: 80vw;
    margin: 6vh auto 6vh auto;
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    font-size: 1.5vh;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 7vh;
  }

  .mobile-menu-list a {
    text-decoration: none;
    color: #000;
  }

  .mobile-menu-list a:hover {
    color: red; /* passt zu deinem globalen Hover-Stil */
  }
}
.vita-text {
  font-size: 1.5vh;
  line-height: 1.6;
  font-weight: 200;
}

/* Nur in der Vita: "strong" etwas stärker als Fließtext, aber nicht knallfett */
.vita-text strong {
  font-weight: 400; /* statt default ~700 */
}

/* Optional: Zitat etwas weicher statt fett */
.vita-text em {
  font-weight: 300;
  font-style: italic;
}


  section {height: auto;}
}



footer{
  padding-top: 0vh;
  text-align: center;
  font-size: 1.5vh;
  font-weight: 200;
  letter-spacing: 2px;
  font-family: 'Source Sans 3';
  color: black;
  


}
  a:link{  text-decoration: none;}
  a:hover{color: rgb(255, 0, 0);
          }
