/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

body {
  scroll-behavior: smooth;
}
/* ---------- */
/* NAVIGATION */
/* ---------- */

/* Navigation container */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(4, 112, 75, 0.1);
}
.navigation nav img {
  width: 32px; height: 32px;
}
.navigation nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navigation nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.navigation nav li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navigation .title {
  font-size: 1rem;
  color: #065f46; /* green-900 */
}

.navigation .subtitle {
  font-size: 1rem;
  color: #047857; /* emerald-800 */
}

.navigation nav a {
  text-decoration: none;
  color: #374151; /* gray-700 */
  padding: 0.5rem 0.75rem;
  transition: color 0.2s;
}

.navigation nav a:hover {
  color: #047857; /* green */
}

.navigation .navigation-button a {
  background: #047857;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
}

.navigation .navigation-button a:hover {
  background: #065f46;
  transform: scale(1.05);
  transition: 0.2s;
}

/* Mobile Menu Button */
.navigation .mobile-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1000px) {
  .navigation nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
      background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
    position: absolute;
    top: 100%;
    left: 0;
    border-top: 1px solid rgba(4, 112, 75, 0.1);
    padding: 1rem 0;
  }

  .navigation nav ul.show {
    display: flex;
  }

  .navigation .mobile-btn {
    display: block;
  }

  .navigation nav li {
    justify-content: center;
    width: 100%;
  }

  .navigation .navigation-button a {
    width: 90%;
    text-align: center;
  }
}
/* ------------ */
/* HERO STYLING */
/* ------------ */

/*hero section with video background alt with image*/
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
}
.hero-image img {
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
  object-fit: cover;
  filter: brightness(0.4);
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}
.hero-title span:first-child {
  font-size: 4rem;
  color: white;
}
.hero-title span {
  display: block;
  text-align: center;
  color: #b8ffbb;
  font-size: 3rem;
}
.hero-title {
  margin-bottom: 20px;
}

.hero-bottomtext {
  font-size: 1.3rem;
  text-align: center;
  color: white;
}
.hero-btns {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.hero-btns a {
  text-decoration: none;
  border: #b8ffbb 2px solid;
  backdrop-filter: blur(5px);
  color: white;
  padding: 20px 20px;
  border-radius: 10px;
  font-size: 1.2rem;
}
.hero-btns a:first-child {
  text-decoration: none;
  background: #047857;
  border: none;
  color: white;
  padding: 20px 20px;
  border-radius: 10px;
  font-size: 1.2rem;
}
.hero-btns a:hover {
  background: rgba(0, 0, 0, 0.111);
  transform: scale(1.1);
  transition: 0.2s;
}
.hero-btns a:first-child:hover {
  background: #065f46;
}
@media (max-width: 1000px) {
  .hero-image img {
    height: 500px;
  }
  .hero {
    height: 500px;
  }
  .hero-title span:first-child {
    font-size: 2rem;
  }
  .hero-title span {
    font-size: 1.5rem;
  }
  .hero-bottomtext {
    font-size: 1rem;
  }
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .hero-btns a {
    padding: 10px 10px;
    font-size: 1rem;
  }
  .hero-btns a:first-child {
    padding: 10px 10px;
    font-size: 1rem;
    border: none;
  }
}
/*
.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.7);
}
*/

/* ------------ */
/* MAIN STYLING */
/* ------------ */

main .spacer {
  width: 90%;
  border: none;
  height: 1px;
  background: #979797;
  margin: 40px 0;
  margin-left: auto;
  margin-right: auto;
}

.content {
  max-width: 1400px;
  margin: 50px auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}
.content-image img {
  width: 90%;
  border-radius: 10px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
  float: left;
  margin-right: 40px;
}
.content-text {
  float: right;
}
.content-header hr {
  width: 480px;
  height: 1px;
  background: #047857;
  border: none;
  margin-bottom: 10px;
}
.content-header span {
  font-size: 1rem;
  color: #047857;
}
.content-header span:last-child {
  font-size: 2.5rem;
  color: #374151;
}
.content-text p {
  font-size: 1.1rem;
  margin-top: 20px;
  line-height: 1.6;
  color: #4b5563;
  text-align: justify;
}

.content-items {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.content-item {
  box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.204);
  width: 200px;
  border: #047857 1px solid;
  border-radius: 10px;
  padding: 10px;
}
.content-item-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;
}
.content-item span {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #374151;
}
.content-item span:last-child {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 20px;
}

@media (max-width: 1000px) {
  .content {
    flex-direction: column;
    align-items: center;
  }
  .content-image img {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
  }
  .content-header hr {
    width: 100%;
  }
  .content-items {
    justify-content: center;
  }
  .content-item {
    width: 90%;
  }
  main .spacer {
    width: 100%;
  }
}



.centered .content-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.centered .content-items {
  justify-content: center;
  margin: 0 auto;
}

.mid-side {
  font-size: 1.1rem;
  margin-bottom: 50px;
  line-height: 1.6;
  color: #4b5563;
  margin-left: 200px;
  margin-right: 200px;
  text-align: justify;
}
@media (max-width: 1000px) {
  .mid-side {
    margin-left: 0px;
    margin-right: 0px;
  }
  .centered .content-header{
      display: block;
  margin-bottom: 40px;
  }
}

.gallery {
  max-width: 1400px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
}
.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
@media (max-width: 1000px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Lightbox Hintergrund */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8); /* dunkler transparenter Hintergrund */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

/* Lightbox Content */
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  background-color: #fff;
  animation: scaleUp 0.3s ease;
}

/* Lightbox Bild */
.lightbox-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  line-height: 35px;
  text-align: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(0,0,0,0.8);
}

/* Animationen */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Mobile Optimierung */
@media (max-width: 600px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 80%;
  }
  .lightbox-close {
    top: 5px;
    right: 10px;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }
}

/* Kontaktformular Container */
.contact-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 30px;
  background-color: #f9f9f9; /* heller Hintergrund */
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

/* Labels */
.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: #333;
}

/* Textinputs und Textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: hsl(145,100%,25%);
  box-shadow: 0 0 5px hsl(145,100%,25%);
  outline: none;
}

/* Textarea Anpassung */
.contact-form textarea {
  resize: vertical; /* nur vertikal skalierbar */
  min-height: 120px;
}

/* Button */
.contact-form button {
  background-color: hsl(145,100%,25%);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: hsl(145,90%,20%);
}

/* Responsive Anpassung */
@media (max-width: 600px) {
  .contact-form {
    padding: 20px;
  }
  .contact-form button {
    width: 100%;
  }
}


.footer {
  background: #047857;
  color: white;
  padding: 100px 0;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 100px;
  height: 400px;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-item .footer-text ul {
  list-style: none;
  padding: 0;
}
.footer-item .footer-text ul li a{
  text-decoration: none;
  color: white;
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

@media (max-width: 1000px) {
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 50px;
    height: auto;
    align-items: center;
  }
  .footer-item .footer-text ul li a{
    margin: 0 auto;
    text-decoration: none;
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
  }  
}

.infinisync-link {
  height: 0;
  position: relative;
  top: -50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  text-decoration: none;
  display: none;
}
.infinisync-link img {
  width: auto;
  height: 50px;
}

@media (max-width: 1000px) {
  .infinisync-link {
    top: -40px;
  }
}
.uab {
  height: 0;
  position: relative;
  top: -50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  text-decoration: none;
}
.uab img {
  width: auto;
  height: 50px;
}

@media (max-width: 1000px) {
  .uab {
    top: -40px;
  }
}