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

html, body {
  height: 100%;
  background-color: #000;
  color: #fefad8;
  font-family: 'Arial', sans-serif;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.1); /* halbtransparent schwarz */
  backdrop-filter: blur(7px); /* Glassmorphism */
  -webkit-backdrop-filter: blur(10px); /* Safari Support */
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  padding: 0 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* feine Linie unten */
}

.logo {
  font-weight: bold;
  color: #fefad8;
  text-decoration: none; /* entfernt den Unterstrich */
}

.logo:hover {
  color: #b80000; /* optional: Hover-Farbe */
}


.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #fefad8;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #b80000;
}

/* Main Content */
.main-content {
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero */
.center-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 80px);
  text-align: center;
  background-color: #000;
  position: relative;
}

.subtitle {
  font-size: 12px;
  color: #fefad8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.main-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.scroll-button {
  position: absolute;
  bottom: 40px;
  background-color: transparent;
  color: #fefad8;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 36px;
  border: 2px solid #fefad8;
  border-radius: 50px;
  box-shadow: 0 8px 0 #000;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scroll-button:hover {
  color: #b80000;
  border-color: #b80000;
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #000;
}

.scroll-button:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #000;
}


/* About Section */
.section-about {
  width: 100vw;
  background-color: #111;
  color: #fefad8;
  padding: 80px 40px;
  box-sizing: border-box;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
}

.about-left {
  flex: 1;
  min-width: 300px;
}

.about-left h2 {
  font-size: 42px;
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 40px;
}

.about-description {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.arrow-icon {
  width: 40px;
  height: 40px;
}

.about-subtext h3 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #b80000;
}

.about-subtext p {
  font-size: 18px;
  max-width: 400px;
  line-height: 1.5;
}

.about-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  max-width: 500px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.about-metrics {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 80px;
  gap: 40px;
}

.metric-item {
  text-align: center;
}

.metric-item h3 {
  font-size: 48px;
  color: #b80000;
  margin: 0;
}

.metric-item p {
  font-size: 16px;
  letter-spacing: 1px;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-left h2 {
    font-size: 30px;
  }

  .about-subtext p {
    font-size: 16px;
  }

  .play-button {
    font-size: 30px;
    width: 50px;
    height: 50px;
  }

  .metric-item h3 {
    font-size: 36px;
  }
}
  
  

/* Clients Section */
.section-clients {
    height: 40vh;
    width: 100%;
    background-color: #b80000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 40px;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .clients-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-carousel {
    width: 280px;
    height: 180px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
  }
  
  .carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.3;
    transform: scale(0.6);
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  
  /* Aktives Logo */
  .carousel-item.active {
    opacity: 1;
    transform: scale(1);
  }
  
  /* Logo links und rechts vom aktiven */
  .carousel-item.prev,
  .carousel-item.next {
    opacity: 0.6;
    transform: scale(0.8);
  }
  
  /* Für mobile Geräte */
  @media (max-width: 768px) {
    .logo-carousel {
      width: 200px;
      height: 120px;
    }
  }
  
  
  .client-logo {
    width: 280px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .clients-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
  }
  
  .clients-heading {
    font-size: 60px;
    color: #000;
    font-weight: bold;
    line-height: 1;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .section-clients {
      flex-direction: column;
      height: auto;
      text-align: center;
    }
  
    .clients-right {
      justify-content: center;
      text-align: center;
      margin-top: 20px;
    }
  
    .clients-heading {
      font-size: 60px;
      font-weight: bold;
      line-height: 1;
    }
  
    .client-logo {
      width: 200px;
      height: 120px;
    }
  }

/* Projects */
.section-projects {
  width: 100%;
  height: 100vh;
  background-color: #000;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-slider-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex-grow: 1;
    align-items: center;
  }
  
  .project-link {
    text-decoration: none;
    display: block;
    flex: 0 0 auto;
  }
  
  .project-tile {
    position: relative;
    width: 300px;
    height: 500px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
  }
  
  .project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Hover Overlay */
  .project-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(184, 0, 0, 0);
    transition: background-color 0.3s ease;
    z-index: 2;
  }
  
  .project-tile:hover::after {
    background-color: rgba(184, 0, 0, 0.4);
  }
  
  .project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
  }
  
  .project-info {
    display: flex;
    gap: 20px;
    align-items: baseline;
    font-family: 'Arial', sans-serif;
  }
  
  .project-number {
    font-size: 36px;
    color: #fefad8;
  }
  
  .project-name {
    font-size: 36px;
    color: #fefad8;
    font-weight: bold;
  }
  
  .slider-controls {
    display: flex;
    gap: 15px;
  }
  
  .slider-controls button {
    background: transparent;
    border: 2px solid #fefad8;
    border-radius: 50px;
    padding: 8px 16px;
    color: #fefad8;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .slider-controls button:hover {
    border-color: #b80000;
    color: #b80000;
  }
  

/* Contact */
.section-contact {
    height: auto;
    min-height: 40vh;
  width: 100%;
  background-color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1;
}

.contact-heading {
  font-size: 60px;
  color: #fefad8;
  line-height: 1.2;
  font-weight: bold;
}

.contact-right {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  width: 100%;
  display: flex;
  gap: 15px;
}

.form-row.double input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  background-color: transparent;
  border: 1px solid #fefad8;
  border-radius: 4px;
  color: #fefad8;
  font-size: 14px;
}

.contact-form textarea {
  resize: none;
}

.form-submit {
  background-color: transparent;
  border: 2px solid #fefad8;
  border-radius: 50px;
  color: #fefad8;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  width: 60px;
  align-self: flex-end;
  box-shadow: 0 6px 0 #000;
  transition: all 0.2s ease;
}

.form-submit:hover {
  border-color: #b80000;
  color: #b80000;
}

.form-submit:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 #000;
}

.popup-message {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #111;
  color: #fefad8;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  z-index: 9999;
  pointer-events: none;
}

.popup-message.show {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
    .section-contact {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 40px 20px;
    }
  
    .contact-left,
    .contact-right {
      width: 100%;
    }
  }

/* Footer */
.footer {
    background-color: #b80000;
    color: #111;
    width: 100%;
    padding: 60px 40px 30px;
    font-family: 'Arial', sans-serif;
    text-align: center;
  }
  
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
  }
  
  .footer-column {
    min-width: 180px;
    font-size: 25px;
    text-transform: uppercase;
  }
  
  .footer-column a {
    color: #000;
    text-decoration: none;
  }
  
  .footer-column a:hover {
    text-decoration: underline;
  }
  
  .footer-bottom {
    margin-top: 20px;
  }
  
  .footer-brand {
    font-size: 100px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      align-items: center;
      gap: 30px;
    }
  
    .footer-brand {
      font-size: 55px;
    }
  }
  
/* Burger Menü */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.burger .bar {
  height: 3px;
  width: 100%;
  background-color: #fefad8;
  border-radius: 2px;
}

/* Responsive Navigation BURGER */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background-color: #000;
    flex-direction: column;
    width: 100%;
    display: none;
    text-align: center;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px 0;
    border-top: 1px solid #222;
  }
}


/*OTHER PAGES */

/* Impressum / Legal Pages */
.impressum-main {
  padding: 120px 40px 60px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #000;
  color: #fefad8;
  line-height: 1.8;
  font-size: 16px;
}

.impressum-main h1 {
  font-size: 48px;
  margin-bottom: 40px;
  color: #fefad8;
}

.impressum-main strong {
  color: #b80000;
}

.impressum-main a {
  color: #fefad8;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .impressum-main {
    padding: 100px 20px 40px;
  }

  .impressum-main h1 {
    font-size: 36px;
  }
}


/* Datenschutz-Seite Layout */
.privacy-main {
  padding: 120px 40px 60px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #000;
  color: #fefad8;
  line-height: 1.6;
  font-size: 16px;
}

.privacy-main h1 {
  font-size: 50px;
  margin-bottom: 40px;
  color: #fefad8;
}

.privacy-main h2 {
  margin-top: 30px;
  font-size: 24px;
  color: #b80000;
}

.privacy-main a {
  color: #fefad8;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .privacy-main {
    padding: 100px 20px 40px;
  }

  .privacy-main h1 {
    font-size: 36px;
  }
}

/* Gallery Page */
.gallery-main {
  padding: 120px 20px 60px;
  max-width: 95vw;
  margin: 0 auto;
}

.gallery-nav {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.gallery-nav a {
  color: #fefad8;
  text-decoration: none;
  position: relative;
}

.gallery-nav a.active::after,
.gallery-nav a:hover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #b80000;
}

/* 💡 Gallery Grid – Masonry Layout */
.gallery-grid {
  column-count: 4;
  column-gap: 20px;
  padding: 20px 0;
}

.gallery-grid img {
  width: 100%;
  display: block;
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: #fefad8;
  transition: transform 0.3s ease;
  break-inside: avoid;
  aspect-ratio: auto;
  object-fit: cover;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Responsiv */
@media (max-width: 1200px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-main {
    padding: 100px 20px 40px;
  }

  .gallery-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    column-count: 1;
  }
}

/* Loading Indicator */
.loading-indicator {
  text-align: center;
  color: #fefad8;
  font-size: 16px;
  padding: 30px 0;
}