:root {
  --bg-color: #050a14;
  --text-color: #e0e6ed;
  --primary-color: #00f0ff;
  --secondary-color: #7000ff;
  --accent-color: #2a3b55;
  --card-bg: rgba(22, 33, 62, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --section-padding: 5rem 2rem;
  --max-width: 1200px;
  --transition-speed: 0.3s;
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  position: relative;
}

/* Background Effect */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(112, 0, 255, 0.03) 0%, rgba(5, 10, 20, 0) 50%);
  pointer-events: none;
  z-index: -1;
  animation: bgPulse 15s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  max-width: 300px;
}

.logo-img {
  height: 40px;
  width: 198px;
  /* Approx width based on aspect ratio 9.19 / 1.86 * 40 */
  max-width: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 4rem;
  background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero p {
  font-size: 1.5rem;
  color: #a0aab8;
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero .cta-container {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--secondary-color), #4a00e0);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(112, 0, 255, 0.5);
}

/* Sections General */
section {
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  text-align: center;
}

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.feature-icon-img {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.4));
}

/* Software Section (Page Beam) */
.software-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.software-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Align items vertically in center */
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.software-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1rem;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.software-info {
  flex: 1;
  padding: 3rem;
  min-width: 320px;
}

.software-info h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 0px;
  line-height: 1;
}

.software-info .tag {
  display: inline-block;
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-size: 0.7rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.distribution-note {
  font-size: 0.8rem;
  color: #bfc1c3;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.software-image {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.software-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s;
  /* Reflection with short fade */
  -webkit-box-reflect: below 2px linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.15));
}

.software-image img:hover {
  transform: scale(1.02);
  cursor: zoom-in;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.1);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--primary-color);
}

.software-list {
  list-style: none;
  margin: 1.5rem 0;
}

.software-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.software-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.software-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--text-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Hardware Section */
.hardware-teaser {
  text-align: center;
  background: radial-gradient(circle at center, rgba(112, 0, 255, 0.1) 0%, rgba(5, 10, 20, 0) 70%);
  padding: 4rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.hardware-teaser h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mystery-box {
  margin: 3rem auto;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #1a1a1a, #333);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
  position: relative;
}

.mystery-box::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 25px;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  z-index: -1;
  opacity: 0.6;
  filter: blur(10px);
}

/* Contact & Footer */
.contact {
  text-align: center;
  margin-bottom: 4rem;
}

.contact p {
  margin-bottom: 0.5rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.contact-email:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  text-align: center;
  color: #6c757d;
  background: #03060b;
}

.impressum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.impressum-col {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

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

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .nav-links {
    display: none;
  }

  .software-showcase {
    flex-direction: column;
  }

  .impressum {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* Legal Pages (Datenschutz & Impressum) */
.legal-content,
.privacy-content,
.impressum-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.legal-content h1,
.privacy-content h1,
.impressum-content h1 {
  color: white;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.legal-content h2,
.privacy-content h2,
.impressum-content h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3,
.privacy-content h3,
.impressum-content h3 {
  color: white;
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.legal-content p,
.privacy-content p,
.impressum-content p,
.legal-content ul,
.privacy-content ul,
.impressum-content ul {
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.legal-content ul,
.privacy-content ul,
.impressum-content ul {
  padding-left: 1.5rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
}

.impressum-section {
  margin-bottom: 2rem;
}
