/* ================================
   Main Styles
   ================================ */

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Cursor - keine Standard-Cursor */
body,
body * {
  cursor: none !important;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  color: var(--color-text-muted);
  max-width: 65ch;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-accent-secondary);
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Main Layout ===== */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.hero__content {
  text-align: center;
  z-index: var(--z-above);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  
  /* Subtle animation on load */
  animation: fadeInUp var(--duration-slower) var(--ease-out) forwards;
  opacity: 0;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  
  animation: fadeInUp var(--duration-slower) var(--ease-out) 0.2s forwards;
  opacity: 0;
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

/* ===== Background Layer (für Effekte) ===== */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-base);
  pointer-events: none;
  overflow: hidden;
}

/* Gradient Orbs - Beispiel-Effekt */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.bg-orb--1 {
  width: 600px;
  height: 600px;
  background: var(--color-accent);
  top: -200px;
  right: -200px;
  animation: float 8s ease-in-out infinite;
}

.bg-orb--2 {
  width: 400px;
  height: 400px;
  background: var(--color-accent-secondary);
  bottom: -100px;
  left: -100px;
  animation: float 6s ease-in-out infinite reverse;
}

/* ===== Selection ===== */
::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ===== Focus Styles (Accessibility) ===== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ===== Language Switcher ===== */
.lang-switcher {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: var(--z-overlay);
  display: flex;
  gap: var(--space-xs);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: var(--space-xs);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-primary);
  letter-spacing: 0.02em;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lang-btn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.lang-btn.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

