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

body {
  font-family: "Inter", Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* --- Navigation --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

nav.scrolled {
  background: #cc0000;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #cc0000;
  transition: color 0.3s;
}

nav.scrolled .logo {
  color: #fff;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #cc0000;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #cc0000;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}

.nav-links a:hover {
  background: #cc0000;
  color: #fff;
}

/* --- Header --- */
header {
  min-height: 90vh;
  background: linear-gradient(135deg, #cc0000, #ff3333);
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-icons i {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-icons i:nth-child(3) { top: 40%; left: 15%; animation-delay: 2s; }
.floating-icons i:nth-child(4) { bottom: 30%; right: 10%; animation-delay: 3s; }
.floating-icons i:nth-child(5) { bottom: 20%; left: 20%; animation-delay: 4s; }
.floating-icons i:nth-child(6) { top: 15%; left: 30%; animation-delay: 5s; }
.floating-icons i:nth-child(7) { bottom: 40%; right: 25%; animation-delay: 1.5s; }
.floating-icons i:nth-child(8) { top: 60%; right: 30%; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

header h1,
header p,
header .button {
  position: relative;
  z-index: 2;
}

header::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -50%;
  left: -50%;
  transform: rotate(45deg);
  z-index: 1;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

header .button {
  display: inline-block;
  background: #fff;
  color: #cc0000;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

header .button:hover {
  background: #ffcccc;
  transform: translateY(-3px) scale(1.05);
}

/* --- Sections --- */
section {
  padding: 5rem 1.5rem;
  max-width: 1600px;
  margin: auto;
  text-align: center;
  background: #fff;
}

section:nth-of-type(even) {
  background: #f9f9f9;
}

section h2 {
  font-size: 2.5rem;
  color: #cc0000;
  margin-bottom: 2rem;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #cc0000;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.contact-description {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Cards --- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background: #fff;
  width: 700px;
  max-width: 90%;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 2px solid #cc0000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card h3 {
  color: #cc0000;
  margin-bottom: 1rem;
}

.card p {
  color: #555;
}

.gitlab-highlight {
  background: #f8f9fa;
  border-left: 4px solid #0066cc;
  padding: 1rem;
  margin: 1.5rem 0;
  text-align: left;
  border-radius: 0 8px 8px 0;
}

.gitlab-highlight p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.video-container {
  margin: 1.5rem 0;
}

.bvg-video {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #cc0000;
}
.Menu-video {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #cc0000;
}

.video-placeholder {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  border: 2px dashed #cc0000;
}

.video-placeholder i {
  font-size: 3rem;
  color: #cc0000;
  margin-bottom: 1rem;
}

/* --- Video Thumbnail --- */
.video-thumb {
  width: 100%;
  border-radius: 15px;
  margin-top: 1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid #cc0000;
}

.video-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* --- Buttons --- */
.button {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #cc0000;
  transition: all 0.3s;
  cursor: pointer;
}

.button:hover {
  background: #fff;
  color: #cc0000;
  transform: translateY(-3px) scale(1.05);
}

/* --- Contact Buttons --- */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- Email Buttons --- */
.email-button {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: white;
  color: #333;
  padding: 1.2rem 2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #cc0000;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  min-width: 280px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.email-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #cc0000, #ff3333);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.email-button:hover::before {
  opacity: 1;
}

.email-button i,
.email-button span,
.email-button .email-label {
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}

.email-button:hover i,
.email-button:hover span,
.email-button:hover .email-label {
  color: white;
}

.email-button .email-icon {
  font-size: 1.5rem;
  color: #cc0000;
}

.email-button .email-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex-grow: 1;
}

.email-button .email-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.email-button .email-address {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  word-break: break-all;
}

.email-button .arrow-icon {
  color: #666;
}

.email-button.public {
  border-color: #0066cc;
}

.email-button.public::before {
  background: linear-gradient(135deg, #0066cc, #3399ff);
}

/* --- Footer --- */
footer {
  background: #cc0000;
  color: white;
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 3px solid #fff;
  font-size: 0.95rem;
}

/* === FUNKEN === */
.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffd700;
  border-radius: 50%;
  opacity: 0.8;
  animation: spark 0.6s ease-out forwards;
}

@keyframes spark {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0);
    opacity: 0;
  }
}

/* === KAMPF SZENE - KLEINER === */
.arena {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 150px;
  margin: 2rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 10px;
  padding: 0 1.5rem;
  border: none;
}

.fighter {
  position: relative;
  font-weight: bold;
  color: white;
  padding: 1rem 1.8rem;
  border-radius: 8px;
  font-size: 1.4rem;
  z-index: 2;
  height: 60px;
  display: flex;
  align-items: center;
}

.creativity {
  background: linear-gradient(135deg, #0066cc, #3399ff);
}

.technology {
  background: linear-gradient(135deg, #cc0000, #ff3333);
}

/* === WITCHER-STIL SCHWERTER - KOMPAKT & GESCHLOSSEN === */
.sword {
  position: absolute;
  width: 6px;
  height: 95px; /* Kürzeres Schwert */
  top: 50%;
  transform: translateY(-50%);
  transform-origin: bottom center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Position für linkes Schwert */
.fighter.creativity .sword {
  left: 5px;
}

/* Position für rechtes Schwert */
.fighter.technology .sword {
  right: 5px;
}

/* Klinge - Kompakt, grau für beide */
.sword::before {
  content: "";
  width: 5px;
  height: 55px; /* Kürzere Klinge */
  background: linear-gradient(
    to top,
    #222 0%,
    #444 20%,
    #666 40%,
    #888 60%,
    #aaa 80%,
    #ccc 100%
  );
  border-radius: 1px 1px 0 0;
  box-shadow:
    0 0 4px rgba(100, 100, 100, 0.3),
    inset 0 0 2px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
  clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 50% 100%, 0% 95%);
}

/* Gemeinsame graue Klinge für beide Schwerter */
.fighter.creativity .sword::before,
.fighter.technology .sword::before {
  background: linear-gradient(
    to top,
    #222 0%,
    #444 20%,
    #666 40%,
    #888 60%,
    #aaa 80%,
    #ccc 100%
  );
  box-shadow:
    0 0 4px rgba(100, 100, 100, 0.3),
    inset 0 0 2px rgba(255, 255, 255, 0.4);
}

/* Parierstange - Direkt an Klinge anschließend */
.guard {
  width: 32px;
  height: 5px;
  background: linear-gradient(to right, 
    #2c1810 0%,
    #5a3820 25%,
    #8a5a30 50%,
    #5a3820 75%,
    #2c1810 100%
  );
  border-radius: 2px;
  position: relative;
  z-index: 3;
  margin-top: -1px; /* Eng an Klinge anschließen */
  box-shadow: 
    0 0 3px rgba(139, 69, 19, 0.5),
    inset 0 0 1px rgba(255, 215, 0, 0.2);
}

/* Wolfskopf-Design für die Parierstange - Kompakt */
.guard::before,
.guard::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 10px;
  background: linear-gradient(to bottom, 
    #3a2818 0%,
    #5a3c20 50%,
    #3a2818 100%
  );
  border-radius: 50% 50% 0 0;
  top: -4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.guard::before {
  left: -5px;
  transform: rotate(-15deg);
}

.guard::after {
  right: -5px;
  transform: rotate(15deg);
}

/* Griff - Direkt an Parierstange anschließend */
.sword .handle {
  width: 7px;
  height: 22px; /* Kürzerer Griff */
  background: 
    repeating-linear-gradient(
      to bottom,
      #2a1a10 0px,
      #2a1a10 2px,
      #4b2e1e 2px,
      #4b2e1e 4px
    );
  border-radius: 2px;
  position: relative;
  z-index: 1;
  box-shadow: 
    inset 0 0 3px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.2);
  /* Kein margin-top - direkt an Parierstange anschließend */
}

/* Metallringe am Griff - Kompakt */
.handle::before,
.handle::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: linear-gradient(to right, 
    #8a7a6a 0%,
    #d4c4b4 50%,
    #8a7a6a 100%
  );
  border-radius: 1px;
  left: -0.5px;
}

.handle::before {
  top: 4px;
}

.handle::after {
  bottom: 4px;
}

/* Knauf - Direkt an Griff anschließend */
.sword .pommel {
  width: 10px;
  height: 10px;
  background: radial-gradient(
    circle at 30% 30%,
    #d4c4b4 0%,
    #8a7a6a 30%,
    #5a4a3a 70%,
    #2a1a10 100%
  );
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 
    0 0 4px rgba(139, 69, 19, 0.4),
    inset 0 0 1px rgba(255, 255, 255, 0.2);
  /* Kein margin-top - direkt an Griff anschließend */
}

/* Dekoratives Muster auf dem Knauf - Kompakt */
.pommel::before {
  content: "⚔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5px;
  color: rgba(255, 215, 0, 0.6);
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

/* Schwert-Attack Animationen - Ohne Leuchteffekt */
@keyframes clashLeft {
  0%, 100% {
    transform: translateY(-50%) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) translateX(90px) rotate(45deg);
  }
}

@keyframes clashRight {
  0%, 100% {
    transform: translateY(-50%) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) translateX(-90px) rotate(-45deg);
  }
}

.clash-left {
  animation: clashLeft 0.9s ease-in-out;
}

.clash-right {
  animation: clashRight 0.9s ease-in-out;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 2px solid #cc0000;
  }

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

  .nav-links li {
    margin: 1rem 0;
    text-align: center;
  }

  header h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 1rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .email-button {
    width: 100%;
    max-width: 350px;
    min-width: auto;
  }

  .arena {
    height: 120px;
    max-width: 90%;
    padding: 0 1rem;
    margin-top: 1.5rem;
  }

  .fighter {
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
  }

  /* Responsive für Witcher-Schwerter */
  .sword {
    height: 80px;
  }
  
  .sword::before {
    height: 45px;
  }
  
  .guard {
    width: 28px;
    height: 4px;
  }
  
  .guard::before,
  .guard::after {
    width: 7px;
    height: 8px;
  }
  
  .sword .handle {
    height: 18px;
    width: 6px;
  }
  
  .sword .pommel {
    width: 8px;
    height: 8px;
  }
  
  .pommel::before {
    font-size: 4px;
  }
  .download-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #00b894, #00cec9);
  border: none;
}

.download-btn:hover {
  background: linear-gradient(135deg, #019875, #00a8a8);
  color: white;
}
}
