/* ===================
   Farbvariablen & Schrift
=================== */
:root {
    --color-bg: #121212;
    --color-text: #e0e0e0;
    --color-accent: #00ffe7; 
    --color-accent2:#f5a623;

    /* Golden Amber */
    --color-accent-hover: #00c2b4;
    --font-base: 'Erstoria';
  }

  :root {
    --section-dark: ;
    --section-light: ;
  }
  
@font-face {
  font-family: 'Erstoria';
  src: url('fonts/Erstoria.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}



 /* ========================
   Global Container Layout
======================== */
body {
  background: linear-gradient(120deg, #121212, #10284D); 
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

  h1, h2, h3, h4, h5, h6 {
  font-family: 'Erstoria', serif;
}

p{
    font-family: 'Montserrat', sans-serif;
}

  
  /* ===================
   Preloader
=================== */

/* Preloader Overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #121212; /* Dein Dark Theme */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Lade-Animation */
.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid var(--color-accent); /* Deine Akzentfarbe */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* ===================
    Navigation
=================== */
/* Allgemeines Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 10vw;
  background-color: #121212;
  position: relative;
  z-index: 999;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color-accent);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem; /* Abstand zwischen Nav und Burger */
}

/* Hauptnavigation */
.main-nav {
  display: flex;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 10px var(--color-accent);
}

.nav-links a.active {
  color: var(--color-accent);
  text-shadow: 0 0 15px var(--color-accent);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--section-dark);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-wrapper {
    gap: 1rem;
  }
}


/* Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(18, 18, 18, 1);
  z-index: 998;
  display: none;
}

/* Zeige Overlay */
.nav-overlay.active {
  display: block;
}

/* Damit das Menü drüber liegt */
@media (max-width: 768px) {
  .main-nav {
    z-index: 999;
  }
}


  /* ===================
     Datenschutz
  =================== */

/* ===== Datenschutzseite (privacy-policy) ===== */

.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background-color: #121212;
  line-height: 1.6;
}

.privacy-policy h1 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-accent, #00ffd5);
  text-align: center;
}

.privacy-policy h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-accent, #00ffd5);
}

.privacy-policy p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Optional: Smooth scroll zu Abschnitten */
html {
  scroll-behavior: smooth;
}


  
  /* ===================
     Footer
  =================== */
  .footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #2a2a2a;
  }
  
  .footer .legal a {
    color: var(--color-text);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
  }
  
  .footer .legal a:hover {
    color: var(--color-accent);
  }

  
  .slider-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4rem 2rem;
    flex-wrap: wrap;
  }
  
  .slider-text {
    flex: 1;
    max-width: 33%;
  }
  
  .slider-text h2 {
    font-size: 5rem;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-accent); /* Outline */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 0 10px var(--color-accent);
  }
  
  .slider-text h3 {
    margin-bottom: 0.5rem;
    font-size: 3.5rem;
  }
  
  .slider-text p {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .slider-text a {
    display: inline-block;
    background-color: var(--color-accent);
    color: #000;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 1.5rem;
  }
  
  .slider-text a:hover {
    background-color: var(--color-accent-hover);
  }
  
  .slider-image {
    flex: 2;
    max-width: 45vw;
  }
  
  .slider-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .slider-controls button {
    background: none;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
  font-size: 1.5rem;
  }
  
  .slider-controls button:hover {
    background-color: var(--color-accent);
    color: #000;
  }
  


/* ===================
     Contact Page
  =================== */
.contact-header {
  padding: 4rem 10vw 2rem;
  text-align: center;
  background-color: var(--section-dark);
  color: white;
}

.contact-header h2 {
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-accent); /* Outline */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 0 10px var(--color-accent);
  }

.contact-form-section {
  padding: 2rem 10vw 4rem;
  background-color: var(--section-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  font-weight: bold;
  color: var(--color-accent);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border-radius: 4px;
  border: none;
  background-color: #111;
  color: white;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(0, 255, 231, 0.05);
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: black;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #00ffee;
}


/* ===================
     About Me
  =================== */
.about-section {
  padding: 4rem 2rem;
  font-family: 'Montserrat', sans-serif;
}

.about-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  flex-wrap: wrap; /* responsiv */
}
.about-section h2{
  font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-accent2); /* Outline */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4rem;
    line-height: 1.1;
    text-shadow: 0 0 10px var(--color-accent2);
    text-align: center;
}

/* Container für Bild + Text nebeneinander */
.about-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

/* Bild-Container */
.about-image {
  flex: 1 1 300px;
  max-width: 400px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 0 20px var(--color-accent);
}

/* Text-Container */
.about-text {
  flex: 2 1 500px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-text);
}

/* Boxen */
.about-box {
  background-color: transparent;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px var(--color-accent);
}

.about-box h2,
.about-box h3 {
  margin-top: 0;
  color: var(--color-accent2);
}

/* Skills Liste */
.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Header: Icon + Titel */
.skill-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Icon */
.skill-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Unterzeile */
.skill-tools {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-left: 2rem; /* optional */
}

/* CTA Button */
.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent2);
  color: #fff;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: var(--color-accent);
}

/* RESPONSIVE BREAKPOINT: Unter 1024px alles untereinander */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-image,
  .about-text {
    width: 100%;
    max-width: 100%;
  }

  .skill-tools {
    margin-left: 0;
  }
}



/* ===================
     Button Glow
  =================== */
.cta-button {
  background-color: transparent;
  color: var(--color-accent2); 
  border: 2px solid var(--color-accent2);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 10px var(--color-accent2);
  transition: all 0.3s ease;
}

.cta-button:hover {
background-color: var(--color-accent2);
  color: #000;
  box-shadow: 0 0 15px var(--color-accent2), 0 0 30px var(--color-accent2);
}


  .slider-text a,
.slider-controls button {
  background-color: transparent;
  color: var(--color-accent2); 
  border: 2px solid var(--color-accent2);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 10px var(--color-accent2);
  transition: all 0.3s ease;
}

.slider-text a:hover,
.slider-controls button:hover {
  background-color: var(--color-accent2);
  color: #000;
  box-shadow: 0 0 15px var(--color-accent2), 0 0 30px var(--color-accent2);
}

/* ===========================
   King David – Titelbild Hero
=========================== */
.hero-image {
  width: 100%;
  height: 90vh;
  overflow: hidden;
  position: relative;
  border-bottom: 4px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ================================
   Projektseiten – Interaktive Systeme
=================================== */

.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  border-bottom: 4px solid var(--color-accent);
}



.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  border-bottom: 4px solid var(--color-accent);
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.video-hero video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  border-bottom: 4px solid var(--color-accent);
  display: block;
}


.abstract {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 70vw;
  margin: 0 auto;
}

.abstract h2 {
  font-size: 6rem;
  color: var(--color-accent2); /* Setzt die Füllfarbe */
  text-shadow: 0 0 10px var(--color-accent2), 0 0 20px var(--color-accent2);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 10px;
}


.abstract p{
  font-size: 1.3rem;
}

.infobox {
  display: flex;
  justify-content: center;
  border-left: 4px solid var(--color-accent2);
  border-right: 4px solid var(--color-accent2);
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.8;
  font-family: 'Montserrat', sans-serif; 
}

.infobox ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.infobox li {
  margin-bottom: 0.5rem;
}

.projekt-details {
  background-color: var(--section-dark);
  padding: 3rem 2rem;
  animation: fadeIn 1s ease forwards;
  display: flex;
  box-shadow: 
    0 -2px 15px var(--color-accent), /* obere Linie */
    0  2px 15px var(--color-accent); /* untere Linie */
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.projekt-details2 {
  padding: 3rem 2rem;
  animation: fadeIn 1s ease forwards;
}

.projekt-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left: 10rem;
  margin-right: 10rem;
}

.projekt-row.reverse {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.projekt-row.reverse .col-title h3{
  text-align: right;
}


.col-title {
  flex: 1;
}

.col-text {
  flex: 3;
  max-width: 60%;
}

.col-text2{
  flex: 3;
  max-width: 60%;
}

.col-title h3 {
  color: var(--color-accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.col-title p {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.6;
}

.galerie {
  column-count: 3;
  column-gap: 1.5rem;
  padding: 2rem 10vw;
  background-color: var(--section-dark);
}

.galerie img {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  display: block;
  break-inside: avoid;
  box-shadow: 0 0 10px rgba(0, 255, 231, 0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.galerie img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 255, 231, 0.3);
}


/* Querformat optional etwas größer */
@media (max-width: 1024px) {
  .galerie {
    column-count: 2;
    padding: 2rem 5vw;
  }
}

@media (max-width: 600px) {
  .galerie {
    column-count: 1;
    padding: 1rem;
  }
}




.audio-section {
  background-color: var(--section-dark);
  padding-top: 0.5rem;
  padding-bottom: 4rem;
  text-align: center;
  animation: fadeIn 1s ease forwards;
}

.audio-section h2 {
  font-size: 2.7rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.audio-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#audio {
  display: none;
}

#play-button {
  background-color: transparent;
  border: 2px solid var(--color-accent2);
  color: var(--color-accent2);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0 10px var(--color-accent2);
  transition: all 0.3s ease;
}

#play-button:hover {
  background-color: var(--color-accent2);
  color: #000;
  box-shadow: 0 0 20px var(--color-accent2), 0 0 40px var(--color-accent2);
}

.soundwave {
  display: flex;
  align-items: flex-end;
  height: 30px;
  gap: 4px;
  margin-top: 1rem;
}

.soundwave span {
  display: block;
  width: 20px;
  background: var(--color-accent);
  animation: bounce 1s infinite ease-in-out;
}

.soundwave span:nth-child(1) {
  animation-delay: 0s;
}
.soundwave span:nth-child(2) {
  animation-delay: 0.15s;
}
.soundwave span:nth-child(3) {
  animation-delay: 0.4s;
}
.soundwave span:nth-child(4) {
  animation-delay: 0.2s;
}
.soundwave span:nth-child(5) {
  animation-delay: 0.1s;
}

.soundwave span:nth-child(6) {
  animation-delay: 0.25s;
}

.soundwave span:nth-child(7) {
  animation-delay: 0.4s;
}

.soundwave span:nth-child(8) {
  animation-delay: 0.3s;
}


@keyframes bounce {
  0%, 100% {
    height: 10px;
  }
  50% {
    height: 30px;
  }
}

.prozess-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
}

.prozess-box {
  border: 2px solid var(--color-accent2);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  position: relative;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 0 30px var(--color-accent2); /* <--- Das sorgt für das Leuchten */
}

.prozess-box.visible {
  opacity: 1;
  transform: translateY(0);
}


.prozess-heading {
  position: absolute;
  top: -2.5rem;
  left: 2rem;
  background-color: var(--color-bg);
  box-shadow: 0 0 15px var(--color-accent2);
  padding: 0 1rem;
  color: var(--color-accent2);
  font-size: 1.2rem;
  font-weight: 700;
}

.arrow-down {
  text-align: center;
  font-size: 2rem;
  color: var(--color-accent);
  margin: 1rem 0;
  animation: arrowPulse 1.5s infinite ease-in-out;
}

@keyframes arrowPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 80vh;
  border: 3px solid var(--color-accent2);
  border-radius: 8px;
  box-shadow: 0 0 20px var(--color-accent2);
  object-fit: contain;
}


.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--color-accent2);
  cursor: pointer;
}

.video-section {
  background-color: var(--section-dark);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--color-accent2);
}



/* Grid für 2 Videos nebeneinander mit Abstand */
.video-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}






.video-section h2 {
  font-size: 2.5rem;
  color: var(--color-accent2);
  margin-bottom: 2rem;
}


.challenges-section {
  background-color: var(--section-dark);
  padding: 4rem 2rem;
  text-align: center;
  animation: fadeIn 1s ease forwards;
}

.challenges-section h2 {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 3rem;
}

.challenge-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.challenge-box {
  background-color: var(--section-light);
  border: 2px solid var(--color-accent2);
  border-radius: 12px;
  padding: 2rem;
  width: 280px;
  box-shadow: 0 0 20px var(--color-accent2);
  transition: transform 0.3s ease;
}

.challenge-box:hover {
  transform: translateY(-5px);
}

.challenge-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.challenge-box h4 {
  color: var(--color-accent2);
  margin-bottom: 0.5rem;
}

.challenge-box p {
  font-size: 1rem;
  color: var(--color-text);
}

/* ================================
   Fotos – Galerie
================================= */
.filter-buttons {
  display: flex;
  justify-content: center;
  background-color: var(--section-dark);
  padding-top: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-accent);
  color: #000;
}

/* ========== MASONRY GRID LAYOUT ========== */

.grid {
  column-count: 3;
  column-gap: 1.5rem;
  padding: 2rem 10vw;
  background-color: var(--section-dark);
}

@media (max-width: 1024px) {
  .grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .grid {
    column-count: 1;
  }
}

/* ========== GALLERY ITEMS ========== */

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  width: 100%;
  transition: all 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 255, 231, 0.15);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 255, 231, 0.4);
}

/* ========== HIDDEN STATE (FILTERS) ========== */

.gallery-item.hidden {
  display: none;
}


.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--color-accent2);
  cursor: pointer;
}


/* === Lightbox === */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 0 20px var(--color-accent2);
}

.lightbox .close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--color-accent2);
  cursor: pointer;
}



/* ================================
   MACHINE MADNESS – SLIDER STYLES
================================= */

.machine-slider-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  background-color: var(--section-light);
}

.machine-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 80vh;
  position: relative;
  align-items: center;
  justify-content: center;
}

.machine-slider img{
  border-radius: 12px;
}

.machine-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Kein Beschneiden */
  transition: transform 0.3s ease;
  display: block;
}

.machine-slider-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.machine-slider-controls button {
  background: none;
  border: 2px solid #f5a623;
  color: #f5a623;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 10px #f5a623;
  transition: all 0.3s ease;
}

.machine-slider-controls button:hover {
  background-color: #f5a623;
  color: #000;
  box-shadow: 0 0 15px #f5a623, 0 0 30px #f5a623;
}


/* ==============================
   BANNER / HEADLINE SECTION
============================== */
.banner-section {
  background-color: var(--section-dark);
  padding: 6rem 2rem;
  text-align: center;
  color: var(--color-accent2);
  text-shadow: 0 0 10px var(--color-accent2), 0 0 20px var(--color-accent2);
}

.banner-section h1 {
  font-size: 5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px var(--color-accent2);
  }
  to {
    text-shadow: 0 0 20px var(--color-accent2), 0 0 30px var(--color-accent2);
  }
}

/* ==============================
   ABOUT / SKILLS SECTION
============================== */
.about-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 4rem;
  background-color: var(--section-light);
  padding: 4rem 2rem;
}

.about-block, .skills-block {
  flex: 1 1 400px;
  max-width: 600px;
}

.about-block h2,
.skills-block h2 {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.about-block p,
.skills-block ul {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text);
}

.skills-block ul {
  list-style: none;
  padding: 0;
}

.skills-block li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.2rem;
}

.skills-block li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--color-accent2);
}

/* ==============================
   CTA SECTION
============================== */
.cta-section {
  background-color: var(--section-dark);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-buttons a {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-accent2);
  border: 2px solid var(--color-accent2);
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--color-accent2);
  transition: all 0.3s ease;
}

.cta-buttons a:hover {
  background-color: var(--color-accent2);
  color: black;
  box-shadow: 0 0 20px var(--color-accent2), 0 0 40px var(--color-accent2);
}



/* ================================
   Impressum & Datenschutz Seiten
================================= */
.legal-page {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  color: var(--text-light);
  background-color: var(--section-dark);
  line-height: 1.7;
  font-size: 1rem;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: var(--color-accent2);
}

.legal-page p,
.legal-page ul,
.legal-page li {
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.legal-page a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-page a:hover {
  color: var(--color-accent2);
}



/* Responsive Anpassungen */

@media (max-width: 1024px) {
  .machine-slider {
    height: 70vh;
  }
}

@media (max-width: 768px) {
  .machine-slider {
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .machine-slider {
    height: 50vh;
  }

  .machine-slider-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .machine-slider-controls button {
    width: 100%;
    max-width: 200px;
  }
}


@media (max-width: 840px) {
  .slider-section {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .slider-section .slider-image,
  .slider-section .slider-text {
    max-width: 100%;
    width: 100%;
  }

  /* Reihenfolge der Elemente auf Mobilgeräten */
  .slider-image {
    order: 2;
    margin-top: 2rem;
  }

  .slider-text h2 {
    order: 1;
  }

  .slider-text h3 {
    order: 3;
  }

  .slider-text p {
    order: 4;
  }

  .slider-text a {
    order: 5;
  }

  .slider-controls {
    order: 6;
    width: 100%;
    justify-content: center;
  }
}


@media (max-width: 1024px) {
  .slider-image{
    max-width: 40vw;
  }
  .slider-text h2{
    font-size: 3rem;
  }
  .slider-text h3{
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  /* Video soll 16:9 bleiben */
  .video-hero {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video-hero video {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .infobox{
    margin: 2rem;
  }

  /* Projekt-Details einspaltig */
  .projekt-details,
  .projekt-details2 {
    flex-direction: column;
  }

  .col-title,
  .col-text {
    width: 100%;
    text-align: center;
    display: block;
  }

  /* Schriftgrößen anpassen */
  .abstract h2,
  .slider-text h2 {
    font-size: 2rem;
   
  }

  .slider-text h3,
  .projekt-details h3,
  .projekt-details2 h3 {
    font-size: 1.5rem;
  }

  .slider-text p,
  .abstract p {
    font-size: 1rem;
  }

  .slider-controls button{
    font-size: 1rem;
  }
.slider-text a{
  font-size: 1rem;
}
  /* Galerie mobil */
  .galerie {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .projekt-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0.1rem;
    margin-right: 0.1rem ;
  }
  .projekt-row.reverse{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
  }

  .projekt-row.reverse .col-title h3{
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.5rem;
  }

  /* Schritte / Vorgehen Boxen */
  .projekt-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .projekt-step h4 {
    font-size: 1.1rem;
  }

  .projekt-step p {
    font-size: 1rem;
  }

  .prozess-heading {
    position: absolute;
    top: -4rem;
    left: 0rem;
  }

  .arrow-down{
    padding-bottom: 2rem;
  }


  /* Soundwave Canvas */
  .wave-container canvas {
    width: 100% !important;
  }

  /* Navigation ggf. enger machen */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    align-items: flex-end;
  }
}

@media (max-width: 600px) {
  .lightbox-content img {
    width: 90vw;
    height: auto;
  }
}


@media (max-width: 1028px) {
  /* Video Hero anpassen */
  .video-hero {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video-hero video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* Projekt-Details: leicht schmaler */
  .projekt-details,
  .projekt-details2 {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .col-title,
  .col-text {
    width: 100%;
  }

  .col-text2{
    max-width: 100%;
  }

  /* Schrittboxen schmaler */
  .projekt-step {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .projekt-step h4 {
    font-size: 1.25rem;
  }

  .projekt-step p {
    font-size: 1rem;
  }

  .prozess-heading {
    position: absolute;
    top: -4rem;
    left: 0rem;
  }

  .arrow-down{
    padding-bottom: 2rem;
  }

  /* Galerie schmaler und mittig */
  .galerie {
    gap: 1rem;
    justify-content: center;
    padding: 2rem 1.5rem;
  }

  .galerie img {
    max-width: 90%;
  }

  /* Abstract & Titel kleiner */
  .abstract h2 {
    font-size: 2.5rem;
  }

  .abstract p {
    font-size: 1.1rem;
  }

  .projekt-row{
    flex-direction: column;
    align-items: center;
  }

  .projekt-row.reverse{
    flex-direction: column;
    align-items: center;
  }

  .projekt-row.reverse .col-title h3{
    text-align: left;
    margin-bottom: 4rem;
  }



  .col-text{
    max-width: 100%;
  }





  /* Navigation ggf. kleiner */
  .navbar {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.75rem;
    align-items: flex-end;
  }

  /* Soundwave auf volle Breite */
  .wave-container canvas {
    width: 100% !important;
  }
}
