/* Modernisiertes und verschönertes Design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #ec4899;
  --dark: #0f0f23;
  --darker: #0a0a16;
  --light: #f8fafc;
  --gray: #94a3b8;
  --gray-dark: #64748b;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, var(--darker) 0%, #121220 100%);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(139, 92, 246, 0.05) 0%,
      transparent 20%
    );
  z-index: -2;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #585aed 0%, #4338ca 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--light);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
  font-weight: 400;
}

.grid {
  display: grid;
  gap: 2.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.6) 0%,
    rgba(139, 92, 246, 0.6) 100%
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 20s infinite linear;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 35, 0.85);
  backdrop-filter: blur(12px);
  padding: 1.25rem 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--light);
  text-decoration: none;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(90deg, #fff, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.description {
  font-size: 1.3rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.75rem;
  animation: bounce 2.5s infinite;
  color: var(--primary);
  opacity: 0.8;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-25px) translateX(-50%);
  }
  60% {
    transform: translateY(-12px) translateX(-50%);
  }
}

/* Cards */
.card {
  background: rgba(30, 30, 46, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 1rem;
  padding: 2.25rem;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light);
}

.card p {
  color: var(--gray);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.card-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition);
}

.card-link:hover::after {
  width: 100%;
}

.card-link:hover {
  color: #7c7cf0;
  transform: translateX(5px);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.profile-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary);
  box-shadow: var(--shadow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
}

.profile-placeholder::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(99, 102, 241, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%);
  }
}

.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.stat {
  text-align: center;
  flex: 1;
  padding: 1.5rem;
  background: rgba(30, 30, 46, 0.4);
  border-radius: 0.75rem;
  transition: var(--transition);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.stat:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  color: var(--gray);
  font-size: 1rem;
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h3 {
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-section p,
.footer-section a {
  color: var(--gray);
  margin-bottom: 0.75rem;
  display: block;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.05rem;
}

.footer-section a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--light);
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-dark);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: var(--dark);
    width: 100%;
    text-align: center;
    transition: 0.4s;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .subtitle {
    font-size: 1.4rem;
  }

  .description {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .profile-placeholder {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .card {
    padding: 1.75rem;
  }
}
