/* --- 1. GLOBALE RESETS & SCROLL-BUG-FIX --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Verhindert hässliche seitliche Scrollbalken auf Mobile */
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #2f3232;
}

#background {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120dvh;
  background-image: url('images/backgrounds/portrait_sideview_verdon.jpg'); /* Hintergrundbild */
  background-size: cover;
  background-position: center;
  filter: blur(9px) brightness(0.35);
  z-index: -1;
}

#background-mighty-wings {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120dvh;
    background-image: url('portfolio/Mighty_Wings/mighty_wings_bw_pburmester.jpg'); /* Hintergrundbild */
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.35);
    z-index: -1;
}

#background-the-art-of-light {
    position: fixed;
    top: -15%;
    left: -10%;
    width: 120%;
    height: 120dvh;
    background-image: url('portfolio/The_art_of_light_2025/_1785499.jpg'); /* Hintergrundbild */
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.35);
    z-index: -1;
}

#background-masters-of-the-air {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120dvh;
    background-image: url('portfolio/masters_of_the_air/the_shadows_echo-1.jpg'); /* Hintergrundbild */
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.35);
    z-index: -1;
}

#background_forms{
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120dvh;
  background-image: url('images/backgrounds/portrait_sideview_verdon.jpg'); /* Hintergrundbild */
  background-size: cover;
  background-position: center;
  filter: blur(9px) brightness(0.35);
  z-index: -1;
}


/* --- 2. HEADER NAVIGATION --- */
.main-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-top: calc(20px + env(safe-area-inset-top)); 
  padding-bottom: 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  padding: 10px 15px;
  gap: 3px;
}

.nav-links a {
  color: rgba(223, 223, 223, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 7px 13px;
  border-radius: 50px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  border-radius: 50px;
  backdrop-filter: url(#liquid-prism-intense2);
  -webkit-backdrop-filter: url(#liquid-prism-intense2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transform: scale(1.05);
  padding: 7px 13px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.current a {
  padding: 7px 13px;
  border-radius: 50px;
  backdrop-filter: url(#liquid-prism-intense2);
  -webkit-backdrop-filter: url(#liquid-prism-intense2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s ease;
}

/* --- 3. HERO SECTION --- */
.split-hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.hero-overlay-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
  width: 90%;
  max-width: 2000px;
}

.sub-title {
  text-transform: uppercase;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 6px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.main-title {
  text-transform: uppercase;
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.description {
  font-size: clamp(0.5rem, 1vw, 1.3rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 65px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.cta-button {
  backdrop-filter: url(#liquid-prism-intense2);
  -webkit-backdrop-filter: url(#liquid-prism-intense2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  transition: all 0.3s ease;
  text-transform: uppercase;
  pointer-events: auto;
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 50px;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  margin-bottom: 20px;
  margin-right: 10px;
  margin-left: 10px;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  cursor: pointer;
}

/* --- 4. SECTIONS LAYOUT GENERAL --- */
.section-container {
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* --- 5. ABOUT SECTION --- */
.about-section {
  background-color: #0f0b09;
  box-shadow: 0 -12px 25px rgba(0, 0, 0, 0.5);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.text-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: transform 0.3s;
}

.text-link:hover {
  transform: translateX(5px);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  filter: enhance(contrast(1.4) brightness(0.5));
}

/* --- ABOUT MORE TOGGLE STYLES --- */
.about-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.about-more.is-expanded {
  max-height: 900px; /* Ausreichend Höhe für den zusätzlichen Text */
  opacity: 1;
  margin-top: 15px;
}

/* --- 6. PORTFOLIO ALBEN --- */
.portfolio-section {
  background-color: #0b0705;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.album-card {
  background-color: #140f0c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.album-card:hover {
  transform: translateY(-8px);
}

.album-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.album-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.album-card:hover {
  transform: scale(1.05);
}

.album-info {
  padding: 25px;
}

.album-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.album-info p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.album-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- 5. CONTACT SECTION --- */
.contact-section {
  background-color: #0f0b09;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.contact-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.contact-section a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

.text-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: transform 0.3s;
}

.text-link:hover {
  transform: translateX(5px);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  filter: enhance(contrast(1.4) brightness(0.5));
}

/* --- ABOUT MORE TOGGLE STYLES --- */
.about-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.about-more.is-expanded {
  max-height: 900px; /* Ausreichend Höhe für den zusätzlichen Text */
  opacity: 1;
  margin-top: 15px;
}


/* --- 7. SOCIAL SECTION --- */
.social-section {
  text-align: center;
  padding: 80px 20px;
}

.social-section h5 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.6);
}

.social-buttons-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.button_instagram {
  cursor: pointer; 
  justify-content: center; 
  align-items: center; 
  display: flex; 
  width: 70px; 
  height: 70px; 
  overflow: hidden; 
  padding: 0; 
  backdrop-filter: url(#liquid-prism-intense2);
  -webkit-backdrop-filter: url(#liquid-prism-intense2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.button_instagram img {
  width: 35px; 
  height: 35px; 
  object-fit: contain; 
}

.button_instagram:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* --- ALBUM GRID STYLES --- */
.image-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 12-Spalten-Raster für Desktop */
  gap: 25px;
  max-width: 1400px;
  margin: 40px auto 80px auto;
  padding: 70px 40px;
  align-items: start;
}

.image-container {
  grid-column: span 4; /* Querformat nimmt 4 von 12 Spalten ein (3 Bilder pro Reihe) */
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background-color: #140f0c;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-container:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.image-container img.main-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.image-container img.watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
  pointer-events: none;
}

/* Spezieller Style für Hochformat-Kacheln (Desktop) */
.image-container.portrait {
  grid-column: span 3; /* Hochformat nimmt 3 von 12 Spalten ein (4 Bilder pro Reihe) */
  max-width: 100%;      /* Volle Breite der schmaleren 3-Spalten-Zone nutzen */
  margin: 0;
}

/* RESPONSIVE ANPASSUNGEN (Tablets & Smartphones) */
@media (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr); /* Auf Tablets 2 Spalten */
    gap: 20px;
  }

  .image-container,
  .image-container.portrait {
    grid-column: span 1; /* Beide Formate nehmen auf Tablets gleich viel Platz ein */
  }
}

@media (max-width: 600px) {
  .image-grid {
    grid-template-columns: 1fr; /* Auf Smartphones 1 Spalte */
    gap: 15px;
    padding: 0 20px;
  }
}

.album-section {
  background-color: #0f0b09;
  box-shadow: 0 -12px 25px rgba(0, 0, 0, 0.5);
  padding-bottom: 30px;
}

.arrow-down {
  position: absolute;
  background: none;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  top: 85vh;
  top: 85dvh;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  /* Dreht das Zeichen um 90 Grad nach unten */
  transform: rotate(90deg);
  display: inline-block;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.9);
}

.arrow-down:hover {
  color: #ffffff;
  /* Behält die 90-Grad-Drehung bei und skaliert beim Hover */
  transform: rotate(90deg) scale(1.2);
  text-shadow: 0px 6px 15px rgba(0, 0, 0, 1);
}

/* --- 5. FINE ART SECTION --- */
.fine-art-section {
  background-color: #0f0b09;
  box-shadow: 0 -12px 25px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.fine-art-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.fine-art-text h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.fine-art-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.fine-art-text .text-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: transform 0.3s;
}

.fine-art-text .text-link:hover {
  transform: translateX(5px);
}

.fine-art-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  filter: enhance(contrast(1.4) brightness(0.5));
}

/* --- 5. OTHER PRODUCTS SECTION --- */
.other-products-section {
  background-color: #0b0705; 
  margin: 0;
}

.other-products-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.other-products-text h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.other-products-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.other-products-text .text-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: transform 0.3s;
}

.other-products-text .text-link:hover {
  transform: translateX(5px);
}

.other-products-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  filter: enhance(contrast(1.4) brightness(0.5));
}

/* Shop Grid */

.shop-grid {

    margin-top: var(--margin-top); position: relative;
    align-items: center; justify-content: center;
   
    --gap: 50px;
    --num-cols:2;
    --row-hight: auto;
    --margin-top: 5px;
   
    box-sizing: border-box;
    padding: var(--gap);

    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: var(--row-hight);
    gap: var(--gap);
}



@media screen and (max-width: 768px) {
    .shop-grid {
        --num-cols: 1;
        --margin-top: 0px;
        gap: 20px;
        margin-left: 0; margin-right: 0;
        backdrop-filter: none;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
    }
    .shop-grid > p {
        padding: 30px 20px;
        font-size: xx-large;
        backdrop-filter: none;
    }
     .shop-grid > a img {
        --width: 100%;
        --hight: auto;
        backdrop-filter: none;
    }
    
}

.shop-grid > a img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 1;
    z-index: 2;
}

.shop-grid-col-1{ grid-column: span 1;}
.shop-grid-row-1{ grid-row: span 1;}


/* --- 7. DISCLAIMER SECTION --- */
.disclaimer-section {
  background-color: #0f0b09;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.disclaimer-section a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.disclaimer-section p {
  margin-bottom: 10px;
}

.button_revoke{
  backdrop-filter: url(#liquid-prism-intense2);
  -webkit-backdrop-filter: url(#liquid-prism-intense2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  transition: all 0.3s ease;
  text-transform: uppercase;
  pointer-events: auto;
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 50px;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  margin-top: 20px;
}

.button_revoke:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  cursor: pointer;
}

.hidden-products {
  /* Spannt sich im Haupt-Grid (.shop-grid) über alle Spalten */
  grid-column: 1 / -1; 
  width: 100%;
  
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 
    max-height 0.6s ease,
    opacity 0.4s ease,
    visibility 0s linear 0.6s;
}

/* Wenn ausgeklappt: Genau dasselbe Grid-Layout wie das Haupt-Grid annehmen */
.hidden-products.is-visible {
  display: grid !important;
  grid-template-columns: repeat(var(--num-cols, 2), 1fr);
  gap: var(--gap, 50px);
  
  max-height: 10000px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    max-height 0.6s ease,
    opacity 0.4s ease,
    visibility 0s linear 0s;
}

/* Auf Mobilgeräten auf 1 Spalte zurückfallen */
@media screen and (max-width: 768px) {
  .hidden-products.is-visible {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Container für den Show More Button explizit zentrieren */
.load-more-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* --- 8. FOOTER --- */
.main-footer {
  background-color: #070504;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 60px;
  padding-bottom: calc(60px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 25px rgba(0, 0, 0, 0.5);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 40px;
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin-top: 15px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-links h4 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-revoke {
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-revoke:hover {
  color: #ffffff;
  cursor: pointer;
}

/* --- BURGER MENU STYLING (Standardmäßig versteckt) --- */
.burger-menu {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 150;
  padding: 0;
}

.burger-menu .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.burger-menu .bar:nth-child(1) {
  top: 0;
}

.burger-menu .bar:nth-child(2) {
  top: 9px;
}

.burger-menu .bar:nth-child(3) {
  top: 18px;
}

/* --- LIGHTBOX STYLES --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

/* Wird von JavaScript aktiviert, wenn ein Bild angeklickt wird */
.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: calc(100% - 60px);     /* Garantiert 30px Abstand zum linken und rechten Bildschirmrand */
    max-width: 1200px;            /* Verhindert, dass die Box auf großen Bildschirmen zerreißt */
    max-height: calc(100vh - 40px); /* 20px Abstand nach oben und unten */
    display: flex;
    flex-direction: column;       /* Zwingt Bild und Shopify-Teil STRENG UNTEREINANDER */
    align-items: center;          /* Zentriert Bild und Shopify horizontal perfekt mittig */
    justify-content: flex-start;
    gap: 30px;                    /* Fester Abstand zwischen Bild und Shopify-Button */
    overflow-y: auto;             /* Erlaubt Scrollen, falls der Bildschirm zu niedrig ist */
    padding: 20px 0;
    box-sizing: border-box;
    
    /* Dezent gestaltete Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

#lightbox-content-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80dvh;                 /* Gibt dem Bild stabil 55% der Bildschirmhöhe */
    min-height: 250px;            /* Verhindert das Zusammenbrechen auf Handys */
    flex-shrink: 0;               /* Verhindert, dass das Bild gestaucht wird */
}

/* Das vergrößerte Hauptbild nimmt nun den optimalen Platz ein */
.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;          /* Behält Proportionen bei und schneidet nichts ab */
    border-radius: 4px;
}

/* Das schützende Wasserzeichen skaliert exakt synchron mit dem Bild */
.lightbox-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    pointer-events: pointer; 
    opacity: 0.01; 
    z-index: 5; 
    border-radius: 4px;
}

/* Sitzt nun sauber zentriert unter dem Bild-Container */
#lightbox-shopify-container {
    width: 100%;
    max-width: 500px;             /* Begrenzt die Breite des Shopify-Widgets für ein schönes Layout */
    display: flex;
    justify-content: center;
    height: 280px;
    min-height: 280px; 
    flex-shrink: 0;               /* Schützt die Box vor dem Zusammendrücken */
    color: white;
}

/* Zwingt das Shopify-Fenster, die exakte Höhe zu nutzen */
#lightbox-shopify-container iframe {
    width: 100% !important;
    height: 280px !important;
    border: none !important;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 50px;
    font-weight: 200;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10002;               /* Garantiert, dass das 'X' über allen Elementen liegt */
}
.close-lightbox:hover {
    color: white;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 40px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.9), 0px 1px 3px rgba(0, 0, 0, 0.7);
    z-index: 10001;
}

.lightbox-arrow:hover {
    color: white;
    transform: translateY(-50%) scale(1.2);
    text-shadow: 0px 6px 15px rgba(0, 0, 0, 1);
}
.left-arrow { left: 30px; }
.right-arrow { right: 30px; }

/* --- 9. MOBILE ADAPTABILITY --- */
@media (max-width: 768px) {

  .burger-menu {
    display: block; /* Zeigt den Burger auf Mobile an */
  }

  /* INTERAKTIVE ANIMATION: Drei Striche werden zum exakt zentrierten X */
  .burger-menu.toggle .bar:nth-child(1) {
    top: -9px;
    transform: rotate(45deg);
  }

  .burger-menu.toggle .bar:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.toggle .bar:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Versteckt das Menü außerhalb des Bildschirms */
    width: 75%;
    height: 100vh;
    background-color: rgba(15, 11, 9, 0.98); /* Dunkler, edler Hintergrund */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 140;
  }

  /* Wenn das Menü aktiv ist, rutscht es herein */
  .nav-links.nav-active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem; /* Angemessene Größe statt gigantischer 3rem */
  }

  /* INTERAKTIVE ANIMATION: Drei Striche werden zum X */
  .burger-menu.toggle .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .burger-menu.toggle .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .burger-menu.toggle .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-links a:hover,
  .nav-links a.active {
    padding: 10px 18px;
  }

  /* Logo auf Mobilgeräten in normaler, sauberer Größe belassen */
  .logo img {
    height: 30px;
  }

  /* CTA-Buttons auf Smartphones kompakt und proportional halten */
  .cta-button {
    font-size: 0.65rem;
    padding: 10px 22px;
    font-weight: 700;
  }
  
  .main-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .sub-title {
    font-size: 0.7rem;
    letter-spacing: 4px;
  }
  
  .description {
    font-size: 0.75rem;
    margin-bottom: 40px;
  }

  /* Reduziert den enormen vertikalen Abstand der Sektionen auf Mobilgeräten */
  .section-container {
    padding: 50px 20px; 
  }

  /* Passt die Größe und den Abstand der Überschriften in den Textbereichen an */
  .about-text h2,
  .contact-text h2,
  .fine-art-text h2,
  .disclaimer-text,
  .other-products-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  /* Passt den Fließtext und dessen Zeilenabstand/Margin an */
  .about-text p,
  .contact-text p,
  .fine-art-text p,
  .other-products-text p,
  .disclaimer-text p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .album-grid,
  .about-grid,
  .fine-art-grid,
  .other-products-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img,
  .fine-art-image img,
  .other-products-image img {
    height: 300px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  /* Verkleinert den Instagram-Button und das Icon auf Mobilgeräten */
  .button_instagram {
    width: 50px;
    height: 50px;
  }

  .button_instagram img {
    width: 25px;
    height: 25px;
  }
}


/* --- KUNDEN DOWNLOAD GALERIE --- */
.gallery-section {
  background-color: #0f0b09;
  padding: 40px 0 80px 0;
}

/* Aktionsleiste oberhalb des Grids */
.selection-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 28px;
  border-radius: 16px;
  margin-bottom: 35px;
}

.selection-info {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.selection-info span {
  font-weight: 700;
  color: #ffffff;
}

.selection-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Galerie Buttons */
.gallery-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.gallery-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.gallery-btn.primary {
  background: #ffffff;
  color: #0f0b09;
  border-color: #ffffff;
}

.gallery-btn.primary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.gallery-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Fortschrittsbalken */
.progress-container {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: #ffffff;
  transition: width 0.2s ease;
}

/* Grid Layout */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.download-card {
  background: #140f0c;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.download-card.selected {
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: #070504;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.download-card:hover .card-image-wrapper img {
  transform: scale(1.04);
}

/* Checkbox-Overlay auf den Bildern */
.checkbox-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.photo-checkbox {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.checkmark {
  color: #000;
  font-size: 16px;
  font-weight: bold;
  display: none;
}

.download-card.selected .checkbox-overlay {
  background: #ffffff;
  border-color: #ffffff;
}

.download-card.selected .checkmark {
  display: block;
}

/* Footer der Karte */
.card-footer {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #140f0c;
}

.file-name {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}

.single-download-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.single-download-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .selection-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .selection-actions {
    justify-content: center;
  }

  .client-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
  }
}