@charset "UTF-8";

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

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 1; }
}

/* Fade Out */
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Klasse für Fade In */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Klasse für Fade Out */
.fade-out {
  animation: fadeOut 1s ease forwards;
}

body {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body, html {
  height: 100%;
  font-family: 'Georgia', serif;
  background-color:white;
  color: white;
}

/* Header */
header {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
  padding: 30px 20px 20px;
  margin-top: -10px;
  font-style: italic;
  font-size: 18px;
  z-index: 10; /* <-- höher als Navbar (die hat 5) */
  pointer-events: none; /* lässt Klicks durch, aber bleibt sichtbar */
  color: white;
}

@media (max-width: 768px) {
  header {
    margin-top: -13px;
  }
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
  z-index: 5;

  background-color: rgba(188, 188, 188, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 12px 12px;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* Menü Checkbox verstecken */
#nav-toggle {
  display: none;
}

/* --- BURGER ICON --- */
.menu-icon {
  cursor: pointer;
  z-index: 20;
  display: inline-block;
}

.menu-icon svg {
  fill: none;
  stroke: white;
  stroke-width: 6;
  stroke-linecap: round;
  transition: all 0.4s ease;
}

/* Linien für Burger -> X Animation */
.menu-icon .line {
  transition: all 0.4s ease;
}

/* Aktiv: top Linie rotiert */
#nav-toggle:checked + .menu-icon svg .line.top {
  transform: rotate(45deg);
  transform-origin: 50% 50%;
}

/* Aktiv: middle Linie verschwindet */
#nav-toggle:checked + .menu-icon svg .line.middle {
  opacity: 0;
}

/* Aktiv: bottom Linie rotiert */
#nav-toggle:checked + .menu-icon svg .line.bottom {
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
}

/* --- OVERLAY --- */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(19px);        /* richtiges Blur */
  -webkit-backdrop-filter: blur(19px); /* Safari Unterstützung */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;      /* vertikal zentrieren */
  justify-content: center;  /* horizontal zentrieren */
  z-index: 15;
}

#nav-toggle:checked ~ .navbar .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* --- MENÜ-INHALT --- */
.menu-content {
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* mittig innerhalb Overlay */
}

.menu-content ul {
  list-style: none;
  margin: 10px 0; /* gleichmäßiger vertikaler Abstand */
  padding: 0; /* keine extra Abstände unten */
  font-weight: bold;
}

.menu-content ul li {
  margin: 0px 0; /* gleichmäßiger vertikaler Abstand */
  padding: 20px;     /* entfernt zusätzliches Padding */
}

.menu-content ul li a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover / Fokus */
.menu-content ul li a:hover,
.menu-content ul li a:focus {
  color: #ddd;
  outline: none;
}

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

.dropdown-label {
  color: white;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  gap: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  position: relative;
  z-index: 3;
}

/* Dropdown Menü */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  list-style: none;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(19px);        /* richtiges Blur */
  -webkit-backdrop-filter: blur(19px); /* Safari Unterstützung */
  border-radius: 12px;
  display: none;
  text-align: center;
  z-index: 10;
  box-shadow: none;
  border: none;
  min-width: 200px;
}

/* Dropdown sichtbar, wenn aktiv */
#portfolio-toggle:checked + .dropdown-label + .dropdown-menu {
  display: block;
  animation: dropdownFade 0.25s ease forwards;
}

/* Dropdown Links */
.dropdown-menu li {
  margin: 8px 0; /* gleichmäßige, etwas kleinere Abstände */
}

.dropdown-menu li a {
  display: block;
  color: white;
  font-size: 20px;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.dropdown-menu li a:hover {
  color: #ddd;
}

/* --- ANIMATION --- */
@keyframes dropdownFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* --- RESPONSIVE ANPASSUNGEN --- */
@media (max-width: 768px) {
  .menu-content ul li a {
    font-size: 20px;
  }

  .dropdown-label {
    font-size: 20px;
  }

  .dropdown-menu li a {
    font-size: 18px;
  }
}


/* Pfeil drehen */
#portfolio-toggle:checked + .dropdown-label .arrow {
  transform: rotate(180deg) translateY(-1px);
  transition: transform 0.3s ease;
}

/* Animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}




.slideshow-container {
  width: 100%;
  height: 100vh; /* volle Höhe */
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Desktop-Bilder */
/* 1-8 -> ASB */
.slide-1 { background-image: url("Portfolio/ASB/Slideshow/Desktop/ASB_Slideshow_1.jpg"); }
.slide-2 { background-image: url("Portfolio/ASB/Slideshow/Desktop/ASB_Slideshow_2.jpg"); }
.slide-3 { background-image: url("Portfolio/ASB/Slideshow/Desktop/ASB_Slideshow_3.jpg"); }
.slide-4 { background-image: url("Portfolio/ASB/Slideshow/Desktop/ASB_Slideshow_4.jpg"); }
.slide-5 { background-image: url("Portfolio/ASB/Slideshow/Desktop/ASB_Slideshow_5.jpg"); }
.slide-6 { background-image: url("Portfolio/ASB/Slideshow/Desktop/ASB_Slideshow_6.jpg"); }
.slide-7 { background-image: url("Portfolio/ASB/Slideshow/Desktop/ASB_Slideshow_7.jpg"); }
.slide-8 { background-image: url("Portfolio/ASB/Slideshow/Desktop/ASB_Slideshow_8.jpg"); }

/* 9-16 -> Konzerte */
.slide-9 { background-image: url("Portfolio/Konzerte/Desktop/Konzert_SlideShow_Desktop_1.jpg"); }
.slide-10 { background-image: url("Portfolio/Konzerte/Desktop/Konzert_SlideShow_Desktop_2.jpg"); }
.slide-11 { background-image: url("Portfolio/Konzerte/Desktop/Konzert_SlideShow_Desktop_3.jpg"); }
.slide-12 { background-image: url("Portfolio/Konzerte/Desktop/Konzert_SlideShow_Desktop_4.jpg"); }
.slide-13 { background-image: url("Portfolio/Konzerte/Desktop/Konzert_SlideShow_Desktop_5.jpg"); }
.slide-14 { background-image: url("Portfolio/Konzerte/Desktop/Konzert_SlideShow_Desktop_6.jpg"); }
.slide-15 { background-image: url("Portfolio/Konzerte/Desktop/Konzert_SlideShow_Desktop_7.jpg"); }
.slide-16 { background-image: url("Portfolio/Konzerte/Desktop/Konzert_SlideShow_Desktop_8.jpg"); }

/* 17-20 -> ÜberMich */
.slide-17 { background-image: url("UeberMich/SlideShow/Desktop/SlideShowDesktop1.jpg"); }
.slide-18 { background-image: url("UeberMich/SlideShow/Desktop/SlideShowDesktop2.jpg"); }
.slide-19 { background-image: url("UeberMich/SlideShow/Desktop/SlideShowDesktop3.jpg"); }
.slide-20 { background-image: url("UeberMich/SlideShow/Desktop/SlideShowDesktop4.jpg"); }

/* 21-26 -> Virtuelle Fotografie */
.slide-21 { background-image: url("Portfolio/VirtuelleFotografie/Desktop/VirtFoto_Desktop_1.jpg"); }
.slide-22 { background-image: url("Portfolio/VirtuelleFotografie/Desktop/VirtFoto_Desktop_2.jpg"); }
.slide-23 { background-image: url("Portfolio/VirtuelleFotografie/Desktop/VirtFoto_Desktop_3.jpg"); }
.slide-24 { background-image: url("Portfolio/VirtuelleFotografie/Desktop/VirtFoto_Desktop_4.jpg"); }
.slide-25 { background-image: url("Portfolio/VirtuelleFotografie/Desktop/VirtFoto_Desktop_5.jpg"); }
.slide-26 { background-image: url("Portfolio/VirtuelleFotografie/Desktop/VirtFoto_Desktop_6.jpg"); }

/* 27 -> Grubhof */
.slide-27 { background-image: url("Portfolio/Grubhof/Hero_Desktop_Grubhof.jpg"); }
  
/* 28 -> Interstellar Intruder */
.slide-28 { background-image: url("Portfolio/InterstellarIntruder/Hero_Desktop_Diplomarbeit.jpg"); }

/* 29 -> Alpenausfahrt */
.slide-29 { background-image: url("Portfolio/Alpenausfahrt/Hero_Desktop_Alpenausfahrt.jpg"); }

/* 30 -> Simple */
.slide-30 { background-image: url("Portfolio/Simple/Hero_Dekstop_Simple.jpg"); }


/* Mobile-Bilder */
@media (max-width: 768px) {
  .slideshow-container {
    height: 100vh; /* volle Höhe auch am Handy */
  }
  /* 1-8 -> ASB */
  .slide-1 { background-image: url("Portfolio/ASB/Slideshow/Mobile/ASB_Slideshow_mobile_1.jpg"); }
  .slide-2 { background-image: url("Portfolio/ASB/Slideshow/Mobile/ASB_Slideshow_mobile_2.jpg"); }
  .slide-3 { background-image: url("Portfolio/ASB/Slideshow/Mobile/ASB_Slideshow_mobile_3.jpg"); }
  .slide-4 { background-image: url("Portfolio/ASB/Slideshow/Mobile/ASB_Slideshow_mobile_4.jpg"); }
  .slide-5 { background-image: url("Portfolio/ASB/Slideshow/Mobile/ASB_Slideshow_mobile_5.jpg"); }
  .slide-6 { background-image: url("Portfolio/ASB/Slideshow/Mobile/ASB_Slideshow_mobile_6.jpg"); }
  .slide-7 { background-image: url("Portfolio/ASB/Slideshow/Mobile/ASB_Slideshow_mobile_7.jpg"); }
  .slide-8 { background-image: url("Portfolio/ASB/Slideshow/Mobile/ASB_Slideshow_mobile_8.jpg"); }

  /* 9-16 -> Konzerte */
  .slide-9 { background-image: url("Portfolio/Konzerte/Mobile/Konzert_SlideShow_Mobile_1.jpg"); }
  .slide-10 { background-image: url("Portfolio/Konzerte/Mobile/Konzert_SlideShow_Mobile_2.jpg"); }
  .slide-11 { background-image: url("Portfolio/Konzerte/Mobile/Konzert_SlideShow_Mobile_3.jpg"); }
  .slide-12 { background-image: url("Portfolio/Konzerte/Mobile/Konzert_SlideShow_Mobile_4.jpg"); }
  .slide-13 { background-image: url("Portfolio/Konzerte/Mobile/Konzert_SlideShow_Mobile_5.jpg"); }
  .slide-14 { background-image: url("Portfolio/Konzerte/Mobile/Konzert_SlideShow_Mobile_6.jpg"); }
  .slide-15 { background-image: url("Portfolio/Konzerte/Mobile/Konzert_SlideShow_Mobile_7.jpg"); }
  .slide-16 { background-image: url("Portfolio/Konzerte/Mobile/Konzert_SlideShow_Mobile_8.jpg"); }

  /* 17-20 -> ÜberMich */
  .slide-17 { background-image: url("UeberMich/SlideShow/Handy/SlideShow_Mobile_1.jpg"); }
  .slide-18 { background-image: url("UeberMich/SlideShow/Handy/SlideShow_Mobile_2.jpg"); }
  .slide-19 { background-image: url("UeberMich/SlideShow/Handy/SlideShow_Mobile_3.jpg"); }
  .slide-20 { background-image: url("UeberMich/SlideShow/Handy/SlideShow_Mobile_4.jpg"); }

  /* 21-26 -> Virtuelle Fotografie */
  .slide-21 { background-image: url("Portfolio/VirtuelleFotografie/Mobile/VirtFoto_Mobile_1.jpg"); }
  .slide-22 { background-image: url("Portfolio/VirtuelleFotografie/Mobile/VirtFoto_Mobile_2.jpg"); }
  .slide-23 { background-image: url("Portfolio/VirtuelleFotografie/Mobile/VirtFoto_Mobile_3.jpg"); }
  .slide-24 { background-image: url("Portfolio/VirtuelleFotografie/Mobile/VirtFoto_Mobile_4.jpg"); }
  .slide-25 { background-image: url("Portfolio/VirtuelleFotografie/Mobile/VirtFoto_Mobile_5.jpg"); }
  .slide-26 { background-image: url("Portfolio/VirtuelleFotografie/Mobile/VirtFoto_Mobile_6.jpg"); }

/* 27 -> Grubhof */
.slide-27 { background-image: url("Portfolio/Grubhof/Hero_Mobile_Grubhof.jpg"); }
  
/* 28 -> Interstellar Intruder */
.slide-28 { background-image: url("Portfolio/InterstellarIntruder/Hero_Mobile_Displomarbeit.jpg"); }


/* 29 -> Alpenausfahrt */
.slide-29 { background-image: url("Portfolio/Alpenausfahrt/Hero_Mobile_Alpenausfahrt.jpg  "); }

/* 30 -> Simple */
.slide-30 { background-image: url("Portfolio/Simple/Hero_Mobile_Simple.jpg"); }

}



.textbox {
  margin: 20px 20px; /* Abstand nach außen */
  padding: 40px 80px;
  background: rgba(35, 35, 35, 0.6); /* transparenter, damit Blur sichtbar ist */
  backdrop-filter: blur(10px); /* Blur-Effekt auf den Hintergrund */
  -webkit-backdrop-filter: blur(10px); /* Safari-Kompatibilität */
  color: white;
  font-size: 18px;
  font-style: italic;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25); /* sanfter Schatten */
  text-align: center;
  line-height: 1.6;
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.textbox.Alpenausfahrt {
  background-color: #13426aab;
}

.textbox.Grubhof {
  background-color: #afb6bb;
}

.textbox.II {
  background-color: #7e6262;
}

.textbox.Simple {
  background-color: #485253;
}

.textbox.custom-box {
  background-color: #f5f5f5; /* gleiche Farbe wie die Textbox */
  border: 1px solid #ccc;     /* Rahmen wie die Textbox */
  border-radius: 10px;        /* abgerundete Ecken */
  padding: 0px;              /* Innenabstand */         /* optional, damit es nicht zu breit wird */
  margin-right: 20px ; 
  margin-left: 55px ;           /* zentriert auf der Seite */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* optionaler Schatten */
}

.textbox.custom-box img {
  width: 100%;       /* Bild passt sich der Box an */
  height: auto;
  border-radius: 10px; /* passt zu den Box-Ecken */
}

.background {
  background-color: #686868;
  padding-bottom: 30px;
}

/* ==== Bildbox im Stil der Textbox ==== */
.textbox-imagebox {
  position: relative;
  margin: 20px 55px;
  padding: 0;
  background: black;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: transform 0.3s ease;

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

.textbox-imagebox a {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.textbox-imagebox img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* ==== Overlay-Text ==== */
.textbox-imagebox a::after {
  content: "Website ansehen";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 30px 50px;
  border-radius: 10px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
}

/* ==== Hover-Effekte (Desktop) ==== */
.textbox-imagebox a:hover img {
  transform: scale(1.05);
  filter: brightness(85%);
}

.textbox-imagebox a:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

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

/* Tablets */
@media (max-width: 900px) {

  .textbox.custom-box {
    margin: 20px 20px;
    width: calc(100% - 40px);
  }

  .textbox, .iFrame {
    margin: 20px 20px;
    width: calc(100% - 40px);
  }

  .textbox {
    padding: 30px 20px;
    font-size: 16px;
  }

  .styled-iframe {
    height: 800px;
  }

  .textbox-imagebox {
    margin: 20px 20px;
    width: calc(100% - 40px);
  }

  /* 🔹 Overlay-Text IMMER sichtbar auf Tablets */
  .textbox-imagebox a::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  /* 🔹 Kein Hover-Zoom auf Tablets */
  .textbox-imagebox a img {
    filter: brightness(85%);
  }
}

/* Smartphones */
@media (max-width: 500px) {

  .textbox.custom-box {
    margin: 15px 10px;
    width: calc(100% - 20px);
  }
  
  .textbox .iFrame {
    margin: 15px 10px;
    width: calc(100% - 20px);
  }

  .textbox {
    padding: 20px 10px;
    font-size: 14px;
  }

  .styled-iframe {
    height: 600px;
  }

  .textbox-imagebox {
    margin: 15px 10px;
    width: calc(100% - 20px);
  }

  /* 🔹 Overlay-Text IMMER sichtbar auf Smartphones */
  .textbox-imagebox a::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    font-size: 1.1rem;
    padding: 20px 35px;
  }

  /* 🔹 Kein Hover-Zoom auf Smartphones */
  .textbox-imagebox a img {
    filter: brightness(85%);
  }
}





/* Hero Section */
.hero {
  height: 100vh;
  background-image: url("Startseite/TitelbildDesktop.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;  /* Text am unteren Rand */
  justify-content: center;
  padding-bottom: 50px;   /* Abstand nach unten */
  position: relative;
}

.hero h1 {
  font-size: 32px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border-radius: 10px;
  font-style: italic;
  max-width: 90%;
  text-align: center;
  color: white;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero {
    background-image: url("Startseite/TitelbildHandy.jpg");
    padding-bottom: 30px;
  }
  
  .hero h1 {
    font-size: 24px;
    padding: 8px 15px;
    max-width: 95%;
  }
}

/* Section Container */
.section {
  display: flex;
  flex-wrap: wrap;
}




/* Quadratischer Bild-Container */
.section picture {
  width: 50%;
  aspect-ratio: 1 / 1; /* 1:1 Verhältnis */
  overflow: hidden; /* falls Bild größer ist */
}

.section img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt den Container */
  display: block;
}

/* Textblock Styling */
.section .text-block {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 16px;
  font-style: italic;
  color: white;
  background: rgba(87, 87, 87, 0.7); /* transparenter für mehr Hintergrund */
  backdrop-filter: blur(10px); /* stärkerer Blur-Effekt */
  -webkit-backdrop-filter: blur(10px); /* Safari-Kompatibilität */
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* leichter Tiefeneffekt */
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}


@media (max-width: 768px) {
  .textbox {
    padding: 20px; /* weniger Innenabstand am Handy */
  }
}

/* Button Styling */
.button {
  margin-top: 20px;
  border: 1px solid white;
  padding: 10px 20px;
  background: none;
  color: white;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.6s ease, color 0.6s ease;
  border-radius: 10px;
}

.button:hover {
  background-color: white;
  color: #000000;
}

/* Handy-Modus: Bild und Text untereinander */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
  }

  .section picture,
  .section img,
  .section .text-block {
    width: 100%;
  }

  .section picture {
    aspect-ratio: auto; /* Bild normal anzeigen */
    order: -1; /* Bild immer zuerst */
  }

  .section img {
    height: auto;
  }

  .section .text-block {
    padding: 20px; /* Weniger Padding für Mobile */
    text-align: center;
  }
}


/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: rgb(0, 0, 0);
}

.instagram-icon {
  color: black;
  font-size: 18px;
  vertical-align: middle;
  transition: color 0.3s ease;
}

.instagram-icon:hover,
.instagram-icon:focus {
  color: #833AB4; /* optional: Instagram-Farbverlauf-lila als Hover */
  outline: none;
}

/* ==== GALERIE ==== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  grid-auto-rows: 400px;
  grid-gap: 15px;
  padding: 15px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Responsives Layout */
@media (max-width: 768px) {
  .gallery {
    display: block;
  }
  .gallery-item {
    margin-bottom: 15px;
  }
  .gallery-item img {
    height: auto;
  }
}

.gallery-item figure {
  position: relative;
  margin: 0;
  height: 100%;
  border-radius: 12px;
}

.gallery-item figcaption {
  position: absolute;
  border-radius: 12px;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 15px;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.3;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  box-sizing: border-box;
  border-radius: 0 0 10px 10px;
  
}


/* ==== LIGHTBOX (angepasst) ==== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 3000;
  animation: fadeIn 0.3s ease forwards;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

}

/* Lightbox sichtbar */
.lightbox.show {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Bild in der Lightbox */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  animation: scaleUp 0.25s ease;
}

/* Close / Navigation Buttons */
.close, .prev, .next {
  position: absolute;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s ease;
  opacity: 0.7;
  z-index: 3100; /* höher als Lightbox */
}

.close { top: 25px; right: 35px; }
.prev, .next {
  top: 50%;
  transform: translateY(-50%);
}
.prev { left: 50px; }
.next { right: 50px; }

.close:hover, .prev:hover, .next:hover { 
  opacity: 1;
}

/* ==== Animationen ==== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}



.projects {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
}

.project {
  position: relative;
  display: block;
  height: 600px; /* höherer Bilderstreifen */
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.project.ASB {
margin-left : 20px;
margin-right: 20px;
margin-bottom: 20px;
}

.project:hover {
  transform: scale(1.005);
}

/* Overlay */
.project .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  transition: background 0.3s ease;
  z-index: 1;
}

.project:hover .overlay {
  background: rgba(0,0,0,0.35);
}

/* Text-Inhalt dauerhaft sichtbar mit animiertem Glasmorphism */
.project .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;

  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 25px 35px;
  max-width: 80%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);

  transition: backdrop-filter 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.project:hover .content {
  background: rgba(0,0,0,0.35); /* leicht dunkler bei Hover */
  backdrop-filter: blur(8px); /* Blur leicht stärker */
  transform: translate(-50%, -50%) scale(1.02); /* sanfte Vergrößerung */
}

/* Titel */
.project h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 0px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  transition: transform 0.3s ease;
}

/* Beschreibung */
.project p {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .project {
    height: 250px;
  }

  .project .content {
    padding: 20px 25px;
  }

  .project h2 {
    font-size: 22px;
  }

  .project p {
    font-size: 14px;
  }
}

.kontakt {
    max-width: 700px;
    margin: 120px auto;
    padding: 50px;
    background: rgb(107, 107, 107, 0.9);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

.kontakt h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.kontakt p {
    color: #ffffff;
    margin-bottom: 40px;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #000;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    outline: none;
}

.btn {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.social-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #666;
}


.reel-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 0;
}

.reel-item {
  flex: 0 0 auto;
  width: 300px; /* Breite pro Reel */
  scroll-snap-align: start;
}

.carousel {
  position: relative;
  width: 400px;
  height: 600px;
  overflow: visible;
  perspective: 1000px;
}

.carousel-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

.carousel-track img {
  position: absolute;
  width: 380px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* iFrame Container */
.iFrame {
  margin: 20px 55px;                   
}

/* Einheitliches iFrame Styling */
.styled-iframe {
  display: block;
  width: 100%;
  height: 90vh;                        
  border: none;
  border-radius: 12px;
  overflow: hidden;

  background: rgba(61, 61, 61, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

/* PDF-Viewer Wrapper */
.pdf-viewer {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Responsive Anpassungen für Tablets */
@media (max-width: 900px) {
  .textbox, .iFrame {
    margin: 20px 20px;                  
    width: calc(100% - 40px);           
  }
  .textbox {
    padding: 30px 20px;                 
    font-size: 16px;                     
  }
  .styled-iframe {
    height: 800px;   
  }
}

/* Responsive Anpassungen für Smartphones */
@media (max-width: 500px) {
  .textbox, .iFrame {
    margin: 15px 10px;                  
    width: calc(100% - 20px);           
  }
  .textbox {
    padding: 20px 10px;
    font-size: 14px;
  }
  .styled-iframe {
    height: 600px;   
  }
}



.gallery-box {
  position: relative;
  display: inline-block;         /* verhindert unerwünschte Extra-Höhe */
  vertical-align: top;           /* gleicht minimale Zeilenlücken aus */
  overflow: hidden;              /* schneidet eventuelle Überhänge ab */
  clip-path: inset(0 round 12px);/* Abrundung & Schattenbegrenzung */
  margin: 30px 55px;
  background: rgba(35, 35, 35, 0.0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

/* Link & Bild */
.gallery-box > a {
  position: relative;
  display: block;      /* verhindert Inline-Lücken */
  line-height: 0;      /* entfernt Restlücke unter dem Bild */
  border-radius: 12px;
  overflow: hidden;
}

.gallery-box > a img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Overlay (nur leicht sichtbar) */
.gallery-box > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(0px);
  background: rgba(0, 0, 0, 0);
  transition: backdrop-filter 0.4s ease, background 0.4s ease;
  border-radius: 12px;
  z-index: 1;
}

/* Text "Galerie ansehen" */
.gallery-box > a::after {
  content: "Galerie ansehen";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  mix-blend-mode: difference;
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 30px;
  border-radius: 10px;

  backdrop-filter: blur(0);       /* Desktop: Blur nur beim Hover */
  -webkit-backdrop-filter: blur(0);

  transition: opacity 0.4s ease, transform 0.4s ease, backdrop-filter 0.4s ease;
  z-index: 2;

  text-align: center;
  white-space: normal;            /* erlaubt Umbruch */
  max-width: 80%;
  word-break: break-word;
}

/* Hover-Effekte Desktop */
@media (min-width: 901px) {
  .gallery-box > a:hover::before {
    backdrop-filter: blur(1px);
  }

  .gallery-box > a:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .gallery-box > a:hover img {
    transform: scale(1.03);
  }
}

/* Unsichtbare Bilder */
.gallery-box > div {
  display: none;
}

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

/* Tablets */
@media (max-width: 900px) {
  .gallery-box {
    margin: 20px 20px;
    width: calc(100% - 40px);
  }

  /* Text IMMER sichtbar auf Tablet */
  .gallery-box > a::after {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1);
  }

  /* Kein Hover-Zoom auf Tablet */
  .gallery-box > a img {
    transform: scale(1);
    filter: brightness(85%);
  }

  .gallery-box > a::before {
    backdrop-filter: blur(1px);
    background: rgba(0, 0, 0, 0.1);
  }
}

/* Smartphones */
@media (max-width: 500px) {
  .gallery-box {
    margin: 15px 10px;
    width: calc(100% - 20px);
  }

  /* Text IMMER sichtbar auf Handy */
  .gallery-box > a::after {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1);
    font-size: 1.1rem;
    padding: 20px 35px;
    line-height: 1.4;
    max-width: 90%;
  }

  /* Kein Hover-Zoom auf Handy */
  .gallery-box > a img {
    transform: scale(1);
    filter: brightness(85%);
  }

  .gallery-box > a::before {
    backdrop-filter: blur(1px);
    background: rgba(0, 0, 0, 0.1);
  }
}

.elfsight-wrapper {
  padding-top: 200px;
  padding-bottom: 190px;
}

@media (max-width: 900px) {
  .elfsight-wrapper {
    padding-top: 110px;
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* Smartphones */
@media (max-width: 500px) {
  .elfsight-wrapper {
    padding-left: 30px;
    padding-left: 30px;
  }
}


  .shorts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .short-item {
    position: relative;
    padding-bottom: 177.78%; /* 9:16 Hochkant */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .short-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .short-item:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  }

  /* Overlay für Hover */
  .short-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* halbtransparentes Schwarz */
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
  }

  .short-item:hover .overlay {
    opacity: 1;
  }

  /* Responsiv: Handy/Tablet eine Spalte */
  @media (max-width: 768px) {
    .shorts-grid {
      grid-template-columns: 1fr;
    }
  }
  /* Immer sichtbar auf Handys/Tablet */
@media (max-width: 768px) {
    .short-item .overlay {
        opacity: 1;
    }
}