/* --- Begin: Moved from index.html embedded <style> block (hero/space/moon/orbit) --- */

/* Canvas liegt oben drüber, klickt nicht mit */
#spaceFX{
  position:absolute;
  inset:0;
  display:block;
  pointer-events:none;
  opacity:.6;                    /* dezent halten */
  z-index: 1;
}

/* Falls Nutzer reduzierte Bewegung wünscht, drosseln wir später per JS */
@media (prefers-reduced-motion: reduce) {
  #spaceFX { opacity:.4; }
}

/* Mond-Orbit Styling */
:root {
  --orbit-duration: 12s;       /* Geschwindigkeit der Animation */
  --orbit-delay: 0s;           /* Kein Verzögerung */
  --orbit-ease: linear;        /* Gleichmäßige Bewegung */
  /* Orbit-Timing */
  --orbit-duration: 15s;
  --orbit-delay: 0s;
  --orbit-ease: linear;
  /* Orbit-Position relativ zum Logo anpassen */
  --orbit-position-top: 0px;
  --orbit-position-left: 0px;
}

.logo-orbit {
  position: relative;
  inline-size: 120px;           /* Angepasst an die Größe des Logos */
  block-size: 120px;            /* Angepasst an die Größe des Logos */
  margin: 0 auto;
  margin-bottom: 1rem;
}

/* Orbit-Container (nur für Debugging sichtbar) */
.orbit {
  position: absolute;
  inset: 0;
}

.moon {
  position: absolute;
  top: 0;                 /* Positionierung im Container */
  left: 0;                /* Positionierung im Container */
  width: 10px;            /* Explizite Breite statt inline-size */
  height: 10px;           /* Explizite Höhe statt block-size */
  transform: translate(-5px, -5px); /* Korrektur für Mittelpunkt */
  border-radius: 50%;
  background: #7cc0f0;
  box-shadow: 0 0 8px rgba(124,192,240,.5);  /* dezenterer Glüheffekt */
  z-index: 2;
  /* Orbit-Animation mit präzisem Pfad */
  offset-path: path("M 68 22 A 80 31 15 0 0 68 78 A 80 31 15 0 0 68 22");
  offset-anchor: 50% 50%;
  offset-rotate: 0deg;                  /* vermeidet Rotations-Schnapper am Nahtpunkt */
  offset-distance: 0%;
  animation: orbit var(--orbit-duration) var(--orbit-ease) var(--orbit-delay) infinite;
}

@keyframes orbit {
  0%   { offset-distance: 0%;   opacity: 1; }
  45%  { opacity: 1; }          /* visible until approaching logo */
  48%  { opacity: 0; }          /* fade out quickly before logo */
  52%  { opacity: 0; }          /* stay hidden behind logo */
  55%  { opacity: 1; }          /* fade in quickly after logo */
  100% { offset-distance:100%; opacity: 1; }
}

@keyframes orbit {
  to { offset-distance: 100%; }
}

/* Bewegung pausieren für Nutzer mit reduced motion */
@media (prefers-reduced-motion: reduce) {
  .moon { animation: none; }
}

/* Für mobile Geräte: Kein animierter Mond, nur statisches Logo *//* --- End: Moved from index.html embedded <style> block --- */

/* hero.css */

.hero {
  background: var(--gradient-primary);
  padding: 4rem 0 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  /* Perfekte Zentrierung */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.hero-home {
  padding: 1rem 0 1rem 0;
  min-height: 100svh;
  min-height: 95vh; /* fallback for older browsers */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}
.hero-home .hero-content {
  max-width: 800px;
  text-align: center;
  /* Zusätzliche Zentrierung für Hero-Home */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-logo {
  margin-bottom: 0.75rem;
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.hero-logo-icon {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.3));
}
.hero-brand-name {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: -2px;
  line-height: 0.9;
  position: relative;
  z-index: 1;
  /* Zentrierung des Brand-Namens */
  text-align: center;
  width: 100%;
}
.hero-main-slogan {
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  /* Perfekte Zentrierung des Slogans */
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-slogan p,
.hero-main-slogan .slogan-text {
  text-align: center;
  width: 100%;
  margin: 0 auto;
}
.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  /* Zentrierung des Untertitels */
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
  /* Entfernung des Farbverlaufs */
}

.hero-products {
  background: var(--gradient-primary);
  padding: 2rem 0 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-products-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.hero-products-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.2 !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
}
.hero-products-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}/* Bages stylinng for hero section */

/* Container for CMS product badges */
.badge-product {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

/* Base badge class for CMS */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--bg-tertiary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  border-color: var(--accent-primary);
}

/* CMS Badge Types */
.badge-green {
  background: rgba(40, 167, 69, 0.1) !important;
  color: #28a745 !important;
  border-color: rgba(40, 167, 69, 0.3) !important;
}

.badge-blue {
  background: rgba(99, 102, 241, 0.1) !important;
  color: var(--accent-primary) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

.badge-gray {
  background: rgba(108, 117, 125, 0.1) !important;
  color: var(--text-secondary) !important;
  border-color: rgba(108, 117, 125, 0.3) !important;
}

/* CMS Responsive Design */