/* debill ginko*/

/* Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
}

h1, h2 {
  margin-bottom: 20px;
}
p {
  margin-bottom: 15px;
}

.block-text {
  text-align: justify;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.01); /* ✨ this helps hide micro lines */
}

#hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  color: #fff;
  z-index: 2;
  max-width: 85%;
}
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.scroll-link {
  position: relative;
  display: inline-block;
  padding-top: 70px;
  color: #fff;
  text-decoration: none;
}
.scroll-link span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
  animation: sdb05 1.5s infinite;
}
@keyframes sdb05 {
  0% { transform: rotate(-45deg) translate(0, 0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: rotate(-45deg) translate(-20px, 20px); opacity: 0; }
}






.impressum-header {
  height: 300px; /* Höhe der Navbar */
  position: relative; /* Für das Overlay */
  overflow: hidden; /* Damit nichts überläuft */
}

/* Hintergrundbild als pseudo-Element, um Overlay zu ermöglichen */
.impressum-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("images/studio2.jpg");
  background-size: cover;       /* Bild proportional skalieren, füllt Container */
  background-position: center;  /* Zentriert */
  background-repeat: no-repeat;
  filter: brightness(0.5);      /* Bild abdunkeln (50%) */
  z-index: 1;
}

/* Inhalt im Header (falls nötig) vor dem Overlay */
.impressum-header > * {
  position: relative;
  z-index: 2;
}











/* NAVIGATION - MINIMAL CLEAN LOOK */
.hero-nav {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  background: transparent; /* No background */
  font-family: sans-serif;
}

.hero-nav .logo img {
  height: 40px;        /* Adjust size */
  width: auto;
  display: block;
}

.hero-nav .logo {
  display: flex;
  align-items: center;
}


.hero-nav .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  overflow: visible;
}

.hero-nav .logo {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Links */
.hero-nav .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.hero-nav .nav-links li a {
  color: rgb(197, 197, 197);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.hero-nav .nav-links li a:hover {
  color: #7a7979; /* Just text color change */
}

/* Hamburger button - clean and aligned */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  background-color: white;
  height: 2px;
  width: 24px;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.hamburger::before {
  position: absolute;
  top: -7px;
}

.hamburger::after {
  position: absolute;
  top: 7px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hero-nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 1rem 2rem;
  }

  .hero-nav .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* Optional: hamburger open animation */
.menu-toggle.open .hamburger {
  background: transparent;
}

.menu-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}










/* Sections */
#section1 {
  height: 50vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-block {
  position: relative;
  width: 100%;
  height: auto; /* adjust as needed to fit both blocks */
}

/* Shared centering style */
.h1-group-container,
.p-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Perfect vertical + horizontal centering */
  width: 100%;
  display: flex;
  justify-content: center;
}

/* H1 group styles */
.h1-group {
  max-width: 400px;
  width: 100%;
  text-align: left;
  opacity: 0; /* start hidden */
  transition: opacity 1s ease;
}

/* Paragraph styles */
#section1 p {
  max-width: 600px;
  width: 100%;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}

/* Fade-in sets opacity to 1 */
.h1-group.fade-in,
#section1 p.fade-in {
  opacity: 1;
}

/* Fade-out sets opacity to 0 */
.h1-group.fade-out,
#section1 p.fade-out {
  opacity: 0;
}

#section1 h1 {
  font-size: 2rem;
  margin: 0;
  line-height: 1.5;
}




#section2 {
  background: #f0f0f0;
}
.content-section {
  padding: 60px 20px;
}
.image-text {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.image-text img {
  width: 500px;
  max-width: 90%;
  border-radius: 10px;
}
.image-text .text {
  max-width: 700px;
}

#portfolio-question {
  font-weight: bold;
  text-align: left;
}

/* Lists Sections */
#section3{
  padding: 150px 20px;
    background-image: url('images/studio5.jpg'); /* Replace with your image path */
    background-size: cover;       /* Make sure image covers the entire section */
    background-position: center;  /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating */
    color: white;                 /* Optional: make text readable */
    position: relative;
    z-index: 0;
  }
  
  /* Optional: Add a dark overlay so text stands out */
  #section3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7); /* Adjust opacity for darkening */
    z-index: -1;
  }
  


  #section4{
    padding: 150px 20px;
      background-image: url('images/studio2.jpg'); /* Replace with your image path */
      background-size: cover;       /* Make sure image covers the entire section */
      background-position: center;  /* Center the image */
      background-repeat: no-repeat; /* Prevent repeating */
      color: white;                 /* Optional: make text readable */
      position: relative;
      z-index: 0;
    }
    
    /* Optional: Add a dark overlay so text stands out */
    #section4::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.7); /* Adjust opacity for darkening */
      z-index: -1;
    }

#section3 h2,
#section4 h2,
#section3 ul,
#section4 ul,
#section3 p,
#section4 p, 
#section6 h2,
#section6 p,
#contact-section p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
ul {
  margin: 20px 0;
  padding-left: 20px;
}






/* Contact Section */
#contact-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}
.location {
  text-align: center;
  padding-bottom: 1rem;
}
.contact-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* important to make equal height */
}
.map-container {
  flex: 1 1 400px;
  max-width: 600px;
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 300px;
  border: 0;
  border-radius: 8px;
  display: block;
}
.contact-form-container {
  flex: 1 1 300px;
  max-width: 500px;
  min-width: 280px;
  background: white;
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.contact-form-container h2 {
  margin-bottom: 20px;
  font-weight: 600;
  color: #222;
}
.contact-form-container form label {
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
  display: block;
}
.contact-form-container form input,
.contact-form-container form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
.contact-form-container form input:focus,
.contact-form-container form textarea:focus {
  border-color: #007BFF;
  outline: none;
}
.contact-form-container form textarea {
  resize: vertical;
  min-height: 120px;
}
.datenschutz {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 20px;
}
.datenschutz a {
  color: #007BFF;
  text-decoration: none;
}
.datenschutz a:hover {
  text-decoration: underline;
}


.contact-form-container form button {
  background-color: #707070;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}
.contact-form-container form button:hover {
  background-color: #333333;
}
.button-wrapper {
  text-align: right;
}


/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .map-container,
  .contact-form-container {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .map-container {
    aspect-ratio: 16 / 9; /* Keeps it responsive and visible */
    height: auto;
    min-height: 300px;
  }

  .map-container iframe {
    height: 100% !important;
    min-height: 300px;
  }

  .contact-form-container {
    height: auto;
  }
}










/* Gallery Section */
#section5 {
  background-color: #f0f0f0;
}

.carousel-container {
  position: relative;
  height: 650px;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
  padding: 40px 0;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  padding-left: 10%;  /* for left peek */
  padding-right: 10%; /* for right peek */
  box-sizing: content-box;
  scroll-behavior: smooth;
}

.carousel-slide img {
  flex: 0 0 80%;
  height: 600px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  opacity: 0.6;
  transform: scale(0.9);
  user-select: none;
}

.carousel-slide img.active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(32, 32, 32, 0.5);
  border: none;
  color: white;
  font-size: 1.8rem;
  padding: 2px 12px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Responsive image height */
@media (max-width: 670px) {
  .carousel-slide {
    padding-left: 0;
    padding-right: 0;
  }

  .carousel-slide img {
    width: 450px;
    height: auto;
    flex: 0 0 auto;
    margin: 0 auto;
  }
}









/* Footer */
#footer {
  background-color: #202020;
  padding: 20px 10px;       /* add padding top/bottom and sides */
  text-align: center;       /* center all text inside footer */
  color: #cfcfcf;
  font-family: 'Open Sans', sans-serif; /* optional, for consistency */
  line-height: 1.75;
}

/* Links styling */
.footer-link,
.legal-link {
  color: #cfcfcf;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between icon and text */
}
.footer-link{
  font-size: 0.85rem;
}
.legal-link{
  font-size: 0.60rem;
}

.footer-link:hover,
.legal-link:hover {
  color: #6b6b6b;
  text-decoration: underline;
}

/* Icon inside footer link */
.footer-link .icon {
  flex-shrink: 0;
  fill: currentColor; /* inherit color from link */
}







/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 14px;
  background: #222;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: none;
  z-index: 100;
}









/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  #section1 {
    height: 100vh;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .h1-group{
    width: 60%;
  }

  #section1 h1 {
    font-size: 1.5rem;
  }

  #section1 p {
    font-size: 1.4rem;
  }

 

  .image-text {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .image-text .text {
    max-width: 90%;
    font-size: 1rem;
  }


  
  .gallery img {
    width: 90%;
  }

  
  #section3 ul,
  #section4 ul,
  #section3 p,
  #section4 p, 
  #section6 p, 
  #contact-section p{
    max-width: 90%;
    font-size: 1rem;
  }

  #section3 h2,
  #section4 h2,
  #section6 h2 {
    font-size: 1.5rem;
    max-width: 90%;
  }

  ul {
    padding-left: 15px;
  }

  #backToTop {
    padding: 12px 16px;
    font-size: 1rem;
  }
}
