/* Allgemeine Stile */
body {
  background-color: #121212;
  color: #f5f5f5;
  font-family: "JetBrains Mono", serif;
  font-optical-sizing: auto;
  font-weight: 201;
  font-style: normal;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.header {
  display: flex;
  flex-direction: column; /* Stapelt die Elemente untereinander */
  align-items: center; /* Zentriert die Elemente horizontal */
  padding: 20px;
  background-color: #1e1e1e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  align-items: center; /* Sorgt für vertikale Ausrichtung */
  justify-content: center; /* Hält Logo und H1 in der Mitte */
  gap: 15px; /* Abstand zwischen Logo und Überschrift */
}

.logo {
  max-width: 50px; /* Größe des Logos */
  height: auto; /* Seitenverhältnis beibehalten */
  border-radius: 3px;
}

h1 {
  margin: 0;
  font-size: 24px;
}

.subtitle {
  margin-top: 10px;
  text-align: center;
  font-size: 16px;
  color: #f5f5f5;
}
/* Navigationsleiste */
.navbar {
  background-color: #222;
  padding: 10px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar ul {
  list-style: none;
  padding: 0;
}

.navbar li {
  display: inline;
  margin: 0 15px;
}

.navbar a {
  color: #ff7b00;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #ffa74d;
}

/* Home Section */
.home-section {
  flex-grow: 1;
  padding: 50px;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.home-section h3 {
  color: #ff7b00;
  font-size: 24px;
  margin-bottom: 10px;
}

.home-section p {
  font-size: 18px;
  max-width: 800px;
  margin: auto;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 20px;
  color: #fff;
  background-color: #ff7b00;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #ffa74d;
}

/* Animierte Hintergründe */
.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 123, 0, 0.1) 0%, rgba(18, 18, 18, 1) 80%);
  z-index: -1;
}

/* Showcase-Bereich */
.showcase-section {
  text-align: center;
  padding: 50px 20px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: #1e1e1e;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 123, 0, 0.3);
  transition: transform 0.3s;
  animation: fadeIn 1s ease-out;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-card img {
  max-width: 100%;
  border-radius: 8px;
}

/* Footer */
footer {
  background-color: #222;
  text-align: center;
  padding: 15px;
  position: relative;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.5);
}

/* Animationen */
@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
/* Global Styles */
body {
  background-color: #121212;
  color: #ffffff;
  font-family: "JetBrains Mono", serif;
  font-optical-sizing: auto;
  font-weight: 201;
  font-style: normal;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #222222, #1a1a1a);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Navigation Styles */
.navbar {
  background: #1a1a1a;
  padding: 1rem;
  text-align: center;
}
.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.navbar a {
  color: #ff6600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}
.navbar a:hover {
  background: #ff6600;
  color: #121212;
}

/* Home Section */
.home-section {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Scroll Animation */
.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #222;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-bottom: 2px solid #ff6600; /* Nur unten eine Border */
  border-radius: 0 0 5px 5px; /* Nur untere Ecken abrunden */
  background: #1a1a1a;
  color: #ffffff;
  outline: none; /* Entfernt den Standard-Fokus-Rahmen */
  transition: border-bottom 0.3s ease;
}

input:focus, textarea:focus {
  border-bottom: 2px solid #cc5200; /* Satteres Orange beim Fokus */
  box-shadow: none; /* Kein blauer Schatten */
}
button {
  background: #ff6600;
  color: #121212;
  padding: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
button:hover {
  background: #cc5200;
}

/* Footer Styles */
footer {
  background: #1a1a1a;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}



/* Responsive Design */
@media (max-width: 768px) {
  .navbar ul {
      flex-direction: column;
  }
  .home-section {
      padding: 1rem;
  }
}
/* Standard Navigation für größere Bildschirme */
.navbar {
  background: #1a1a1a;
  padding: 1rem;
  text-align: center;
}

.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.navbar a {
  color: #ff6600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.navbar a:hover {
  background: #ff6600;
  color: #121212;
}

/* Hamburger Menü für Mobilgeräte */
.menu-toggle {
  display: none; /* Standardmäßig versteckt */
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle div {
  width: 30px;
  height: 3px;
  background-color: #ff6600;
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar ul {
    display: none; /* Menü ist standardmäßig versteckt */
    flex-direction: column;
    background: #1a1a1a;
    position: absolute;
    width: 100%;
    left: 0;
    top: 60px;
    text-align: center;
    z-index: 1000;
  }

  .navbar ul.active {
    display: flex; /* Zeigt das Menü an */
  }

  .menu-toggle {
    display: flex;
  }
}
