/* Reset und Grundlagen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #eee;
  background-color: #121212;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 50px;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

/* Navigation Toggle (Hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  transition: all 0.3s ease;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #FE0000;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.header-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.header-nav a {
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: #FE0000;
  background: rgba(254, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

#background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-logo {
  margin-bottom: 30px;
  animation: fadeInDown 1s ease 0.3s both;
}

.hero-logo img {
  max-height: 120px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #FE0000;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 180px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, #FE0000, #ff3333);
  color: white;
  box-shadow: 0 5px 15px rgba(254, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(254, 0, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FE0000;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: #FE0000;
  border: 2px solid #FE0000;
}

.btn-outline:hover {
  background: #FE0000;
  color: white;
  transform: translateY(-3px);
}

/* About Preview Section */
.about-preview {
  padding: 100px 0;
  background: #121212;
}

.about-preview .container {
  max-width: none;
  padding: 0 40px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-content h2 {
  font-size: 2.5rem;
  color: #FE0000;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.text-content > p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
  line-height: 1.7;
}

.features {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-number {
  background: linear-gradient(45deg, #FE0000, #ff3333);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.feature-item h3 {
  color: #FE0000;
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.feature-item p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 500px;
}

.main-image {
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.side-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.main-image:hover,
.side-image:hover {
  transform: scale(1.02);
}

/* Quick Info Section */
.quick-info {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.quick-info .container {
  max-width: none;
  padding: 0 40px;
}

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

.quick-card {
  background: rgba(30, 30, 30, 0.8);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.quick-card:hover {
  border-color: #FE0000;
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(254, 0, 0, 0.2);
}

.quick-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.quick-card h3 {
  color: #FE0000;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.quick-card p {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.6;
}

.quick-card a {
  color: #FE0000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.quick-card a:hover {
  color: #ff3333;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .image-grid {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .about-preview .container,
  .quick-info .container {
    padding: 0 20px;
  }

  /* Header Mobile */
  .nav-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(20px);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(254, 0, 0, 0.3);
  }

  .header-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-nav ul {
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
  }

  .header-nav a {
    display: block;
    padding: 15px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
  }

  .header-nav a:hover {
    background: rgba(254, 0, 0, 0.1);
    padding-left: 30px;
  }

  /* Hero Mobile */
  .hero-section {
    height: 100vh;
    min-height: 600px;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    max-width: 280px;
  }

  .hero-logo img {
    max-height: 80px;
  }

  /* Content Mobile */
  .about-preview {
    padding: 60px 0;
  }

  .text-content h2 {
    font-size: 2rem;
  }

  .text-content > p {
    font-size: 1.1rem;
  }

  .image-grid {
    height: 300px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }

  .main-image {
    grid-row: 1;
  }

  .side-image:last-child {
    display: none;
  }

  .quick-info {
    padding: 60px 0;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .quick-card {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .about-preview .container,
  .quick-info .container {
    padding: 0 15px;
  }

  .header-container {
    padding: 0 15px;
  }

  .header-logo {
    height: 40px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .text-content h2 {
    font-size: 1.8rem;
  }

  .feature-item {
    gap: 15px;
  }

  .feature-number {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .image-grid {
    height: 250px;
    grid-template-columns: 1fr;
  }

  .side-image {
    display: none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .hero-content h1 {
    color: #fff;
    text-shadow: 2px 2px 0 #FE0000;
  }
  
  .btn-primary {
    border: 2px solid #fff;
  }
}