/* Globale Variablen */
:root {
  --bg-color: #0d0d0d;
  --bg-secondary: #1a1a1a;
  --text-primary: #ededed;
  --text-secondary: #a1a1aa;
  --accent-color: #3b82f6; /* Modernes Blau, passend zu macOS */
  --accent-hover: #60a5fa;
  --border-color: #262626;
  --card-bg: rgba(26, 26, 26, 0.6);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --transition: all 0.2s ease-in-out;
}

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

/* Background Base */
body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  /* Subtiler Glow im Hintergrund für das Glassmorphism-Feeling */
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.02), transparent 25%);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Liquid Glass Utility Class */
.glass-effect {
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.4);
  border-radius: 16px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(to right, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: #2a2a2a;
  border-color: #404040;
}

.version-info {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Features Section */
.features-section {
  padding: 4rem 2rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  transition: var(--transition);
  padding: 2rem;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  background: rgba(40, 40, 40, 0.7);
}

.feature-icon {
  font-size: 1.75rem;
  background: var(--bg-secondary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: auto;
}

/* Skeleton Loading State for Cards */
.skeleton {
  animation: pulse 1.5s infinite;
}

.skeleton-icon {
  width: 48px; height: 48px; background: var(--border-color); border-radius: 10px;
}
.skeleton-title {
  width: 60%; height: 24px; background: var(--border-color); border-radius: 4px;
}
.skeleton-desc {
  width: 100%; height: 40px; background: var(--border-color); border-radius: 4px;
}

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


/* App Showcase & Media */
.showcase-section {
  width: 100%;
  max-width: 1000px;
  margin: -3rem auto 4rem; /* Zieht das Bild leicht in den Hero-Bereich nach oben */
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.showcase-container {
  padding: 0;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.media-window-controls {
  background: rgba(20, 20, 20, 0.4);
  padding: 14px 18px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
}

.window-btn.close { background: #ff5f56; }
.window-btn.minimize { background: #ffbd2e; }
.window-btn.maximize { background: #27c93f; }

.media-content {
  background: #000;
  position: relative;
}

.app-media {
  width: 100%;
  height: auto;
  display: block;
  min-height: 400px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Interactive Tabs */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(10, 10, 10, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-tab {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.showcase-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobil-Optimierung unbedingt AM ENDE der Datei, damit sie Base-Klassen ueberschreibt! */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .header { padding: 1rem 1.5rem; }
  
  .showcase-section {
    padding: 0 1rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
  }

  .showcase-container {
    margin: 0;
  }

  .app-media {
    min-height: unset;
    height: auto;
    width: 100%;
    max-height: 350px;
    object-fit: contain;
  }

  .showcase-tabs {
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .showcase-tab {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

