body {
  font-family: "Century Gothic", sans-serif;
  margin: 0;
  background-color: rgb(12,12,12);
  padding-top: 80px; /* Platz für die fixe Navigation */
}

.navbar {
  z-index: 3000;
  background-color: rgb(12,12,12);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Alert-Nachrichten oben mittig */
.alert-top-center {
  position: fixed;
  top: 80px; /* Unter der Navbar */
  left: 0;
  right: 0;
  z-index: 2500; /* Unter Navbar aber über allem anderen */
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideInFromTop 0.5s ease-out;
}

.alert-top-center.alert-success {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

.alert-top-center.alert-danger {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar .back-btn {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar .back-btn:hover {
  color: #ccc;
}

/* Mobile Ansicht: Back-Button rechts positionieren */
@media (max-width: 768px) {
  .navbar .back-btn {
    position: static;
    transform: none;
    left: auto;
    right: 0;
  }
}

.menu-toggle {
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  outline: none;
  display: none;
}

.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(12,12,12);
  color: white;
  display: none;
  z-index: 2000;
  flex-direction: column;
}
.fullscreen-menu.show {
  display: flex;
}

.menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-right: 5vw;
  margin-top: 100px;
}

.fullscreen-menu a {
  font-size: clamp(1.5rem, calc((100vh - 8rem) / 4), 8vw);
  color: white;
  text-decoration: none;
  transition: color 0.5s, font-weight 0.5s;
  font-weight: 900;
  line-height: 1.1;
  padding: 0.5rem 0;
  display: block;
}

.fullscreen-menu a:hover {
  color: #ccc;
  font-weight: 300;
}

.close-menu-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
}

main {
  padding: 2rem 2rem 8rem 2rem;
  position: relative;
  z-index: 200;
}

.content-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 90vw;
  width: 100%;
  height: auto;
}

/* Slideshow Sektion - Video aktiviert */
.slideshow-section {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 70vh;
  display: flex; /* Sektion aktiviert für Video */
  align-items: center;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
  will-change: transform, opacity; /* Performance-Optimierung für Scroll-Effekt */
}

.slideshow-placeholder {
  width: 100%;
  height: 70vh; /* Platzhalter für Video-Bereich */
  margin: 2rem 0;
}

.slideshow-container {
  width: 100%;
  max-width: 66.67vw;
  height: 100%;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  transform-origin: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: none; /* Slideshow-Container deaktiviert */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  animation: kenBurns 15s ease-out infinite;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-3%, -2%);
  }
}

.hero-video {
  width: 100%;
  max-width: 66.67vw;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  transform-origin: center;
  position: relative;
  z-index: 2;
  display: block; /* Video aktiviert */
  will-change: transform, opacity; /* Performance-Optimierung für Scroll-Effekt */
}

/* Hintergrund Logo */
.background-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50; /* Niedriger als Galerie (100) */
  opacity: 1; /* Logo aktiviert */
  pointer-events: none;
}

.background-logo-img {
  display: block;
  width: min(40vw, 720px);
  max-width: 40vw;
  max-height: 55vh;
  height: auto;
  object-fit: contain;
}

main.container {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 200;
}

@media (max-width: 768px) {
  .menu-content {
    align-items: stretch;
    text-align: left;
    padding-right: 0;
    margin-top: 100px;
  }
  .fullscreen-menu a {
    width: 100vw;
    text-align: left;
    font-size: 20vw;
    padding: 0.5rem 0 0.5rem 20px;
    box-sizing: border-box;
    word-break: break-word;
    font-weight: 900;
    transition: color 0.5s, font-weight 0.5s;
  }
  .fullscreen-menu a:hover {
    color: #ccc;
    font-weight: 300;
  }
}

/* Galerie Styles */
.gallery-section {
  background-color: rgba(12,12,12,0.9); /* Semi-transparent damit Logo durchscheint */
  padding: 4rem 0;
  margin-top: 2rem;
  position: relative;
  z-index: 100; /* Niedriger als Logo (150) */
}

.gallery-title {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  margin-bottom: 0;
  aspect-ratio: 1 / 1; /* Quadratisches Verhältnis */
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.gallery-overlay p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
  color: white;
}

@media (max-width: 768px) {
  .gallery-title {
    font-size: 2rem;
  }
  
  .gallery-item {
    aspect-ratio: 1 / 1; /* Bleibt quadratisch auch auf Mobile */
  }
  
  .gallery-image {
    height: 100%;
  }
  
  .gallery-overlay {
    position: static;
    background: rgba(89, 89, 89, 0.9);
    transform: translateY(0);
    padding: 1rem;
  }
}

/* Spezial-Layout für 5 Bilder */
.gallery-section .col-md-4.offset-md-4 {
  /* Besondere Betonung für das letzte Bild in der 5er-Anordnung */
  position: relative;
}

/* Mobile Anpassung für 5-Bilder Layout */
@media (max-width: 768px) {
  .gallery-section .col-md-4.offset-md-4 {
    margin-left: 0 !important; /* Auf Mobile kein Offset */
  }
}

/* Team Section Styles */
.team-section {
  background-color: rgb(12,12,12);
  padding: 4rem 0;
  position: relative;
  z-index: 200;
}

.team-title {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.team-image-container {
  width: 100%;
}

.team-image {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.team-text {
  max-width: 800px;
  margin: 0;
  text-align: left;
}

.team-text p {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

@media (max-width: 768px) {
  .team-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .team-image {
    height: 40vh;
  }
  
  .team-text p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Contact Section Styles */
.contact-section {
  background-color: rgb(12,12,12);
  padding: 4rem 0;
  position: relative;
  z-index: 200;
}

.contact-title {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.contact-form .form-label {
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0;
}

.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
  color: white;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form .btn-primary {
  background-color: white;
  border-color: white;
  color: rgb(12,12,12);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: #ccc;
  border-color: #ccc;
  color: rgb(12,12,12);
}

/* Honeypot-Feld für Spam-Schutz (komplett versteckt) */
.contact-form input[name="website"] {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.contact-info {
  color: white;
}

.contact-info-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #ccc;
  margin: 0;
  line-height: 1.6;
}

.contact-item .contact-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item .contact-link:hover {
  color: white;
  text-decoration: underline;
}

.contact-item .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.contact-item .btn-outline-light:hover {
  background-color: white;
  border-color: white;
  color: rgb(12,12,12);
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }
  
  .contact-form {
    margin-bottom: 3rem;
  }
}

/* Detail Page Styles - inspired by suedcom.info */
.detail-container {
  max-width: 100vw;
  margin: 0;
  padding: 0;
  background: rgb(12,12,12);
  width: 100%;
}

.detail-hero {
  margin-bottom: 3rem;
}

.detail-hero-image {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

.detail-content {
  padding: 0 5vw 4rem 5vw;
}

.detail-title {
  font-size: clamp(1.5rem, 6vw, 4rem);
  font-weight: 300;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.detail-description {
  margin-bottom: 3rem;
}

.detail-description p {
  font-size: clamp(0.8rem, 4.5vw, 2rem);
  line-height: 1.7;
  color: #ccc;
  font-weight: 300;
  max-width: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
  margin-bottom: 4rem;
  padding: 2rem 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.detail-info-block {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: clamp(0.7rem, 3vw, 1.3rem);
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: clamp(0.7rem, 3.5vw, 1.4rem);
  color: #ccc;
  line-height: 1.5;
  font-weight: 300;
}

.detail-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  margin-top: 2rem;
}

.detail-additional-image {
  width: 100%;
  height: clamp(200px, 25vw, 400px);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.detail-additional-image:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .detail-nav {
    padding: 1rem 4vw 0.5rem 4vw;
    margin-top: 10px;
  }
  
  .detail-content {
    padding: 0 4vw 2rem 4vw;
  }
  
  .detail-hero-image {
    height: 40vh;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .detail-images {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Footer Stile */
.footer-section {
  background-color: rgb(12,12,12);
  color: white;
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 200;
}

.footer-content {
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ccc;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-link:hover {
  color: #ccc;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-content {
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-links {
    justify-content: center;
    gap: 1.5rem;
  }
}
