/* --- CSS VARIABLEN & RESET --- */
:root {
  /* FARBPALETTE (Basierend auf SchildFlieger Logo) */
  --bg-dark: #0a0a0a; /* Fast Schwarz (Hintergrund) */
  --bg-card: #141414; /* Sehr dunkles Grau (Karten) */

  --primary: #ff8800; /* Kräftiges Orange */
  --primary-glow: rgba(255, 136, 0, 0.4); /* Leucht-Effekt */

  --accent: #ffffff; /* Weiß für harten Kontrast */
  --text-main: #e0e0e0; /* Helles Grauweiß */
  --text-muted: #9e9e9e; /* Mittelgrau */

  --border-col: #333333; /* Dunkler Rahmen */

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Design Sprache: Kantig (Shield-Look) */
  --radius: 2px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtiles Gitter-Muster im Hintergrund */
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

h1,
h2,
h3,
h4 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- UTILITY KLASSEN --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons: Kantig & Orange */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: #000; /* Schwarz auf Orange für Lesbarkeit */
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-accent {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent:hover {
  background-color: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 0px #000;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: var(--primary);
  bottom: -5px;
  left: 0;
  transform: skewX(-20deg); /* Schräger Balken */
}

.section-padding {
  padding: 100px 0;
}

/* --- HEADER & NAV --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000;
}
.logo span {
  color: var(--primary);
}

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

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  font-family: "Oswald", sans-serif;
  letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  /* Aggressiverer Gradient: Orange Highlight oben */
  background: radial-gradient(
    circle at top center,
    rgba(255, 136, 0, 0.1),
    transparent 60%
  );
  padding-top: var(--header-height);
  border-bottom: 1px solid var(--border-col);
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.8);
}

.hero-content h1 .highlight {
  color: var(--primary);
  /* Text Outline Effekt (optional, unterstützt in modernen Browsern) */
  -webkit-text-stroke: 1px var(--primary);
  text-shadow: 0 0 20px rgba(255, 136, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px auto;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  text-align: left;
  background: linear-gradient(90deg, rgba(255, 136, 0, 0.05), transparent);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* --- CARDS GENERAL --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-col);
  border-radius: var(--radius);
  padding: 35px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover Balken oben */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-muted);
  transition: var(--transition);
}

.card:hover .card-icon {
  color: var(--primary);
  transform: scale(1.1);
  text-shadow: 0 0 15px var(--primary-glow);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.stream-status {
  margin: 10px 0;
}

.status-indicator {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-live {
  background-color: rgba(149, 56, 255, 0.2);
  color: #9538ff;
  border: 1px solid #9538ff;
}

.status-offline {
  background-color: rgba(255, 136, 0, 0.2);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.status-loading {
  background-color: rgba(158, 158, 158, 0.2);
  color: var(--text-muted);
  border: 1px solid var(--text-muted);
}

.twitch-link {
  display: block;
  margin-top: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.twitch-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.card-link {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.card-link:hover {
  color: var(--accent);
  gap: 15px;
}

/* --- DEV SPECIFIC --- */
.dev-section {
  background-color: #0f0f0f;
  position: relative;
}

/* Trennlinie oben */
.dev-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-col),
    transparent
  );
}

.project-card {
  background-color: #0d0d0d;
  border-left: 2px solid var(--border-col);
}

.project-card:hover {
  border-left-color: var(--primary);
}

.tech-stack {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tech-tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid #333;
  border-radius: var(--radius);
  font-weight: 600;
  text-transform: uppercase;
}

.project-card:hover .tech-tag {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- CLAN SECTION --- */
.clan-banner {
  background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)),
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDQwaDQwVjBIMHY0MHptMjAtMjB2MjBoMjBWMjBIMjB6TTAgMjBoMjBWMGgyMFYwSDB2MjB6IiBmaWxsPSIjZmY4ODAwIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz48L2c+PC9zdmc+");
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  border: 1px solid var(--border-col);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

/* Dekorative Ecken (Tech-Look) */
.clan-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
}
.clan-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 3px solid var(--primary);
  border-left: 3px solid var(--primary);
}

/* --- FOOTER --- */
footer {
  background-color: #050505;
  padding: 50px 0 20px 0;
  border-top: 1px solid var(--border-col);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-row {
  display: flex;
  gap: 20px;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition);
  border: 1px solid var(--border-col);
}

.social-btn:hover {
  background-color: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 0 15px var(--primary-glow);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid #222;
  padding-top: 20px;
}

/* --- ANIMATIONS (Scroll Reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    text-align: center;
  }

  /* Mobile Nav */
  .hamburger {
    display: block;
    z-index: 1001;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background-color: #000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
    box-shadow: -5px 0 25px rgba(255, 136, 0, 0.2);
    border-left: 1px solid var(--primary);
  }
  .nav-links.nav-active {
    right: 0;
  }
}

/* --- FULLSCREEN BACKGROUND VIDEO --- */
.hero {
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.2;
}
