/* DE: Haupt-Stylesheet für PriorityOptimizer | EN: Main stylesheet for PriorityOptimizer */

/* DE: Einbindung der lokalen Schriftart Inter | EN: Embedding local Inter font */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: normal; /* DE: oder spezifisches Gewicht, z.B. 400 | EN: or specific weight, e.g. 400 */
  font-style: normal;
  font-display: swap; /* DE: Sorgt für schnelles Anzeigen von Text mit Fallback-Schrift | EN: Ensures quick text display with fallback font */
}

:root {
  /* DE: Cosmic Power Farbschema | EN: Cosmic Power color scheme */
  --color-primary: #1A3A8F; /* Kobaltblau */
  --color-primary-dark: #102659; /* Dunkleres Kobaltblau für Kontrast */
  --color-cyan: #00B2FF;
  --color-cyan-bright: #40C8FF; /* Helleres Cyan für Akzente */
  --color-magenta: #E6007E;
  --color-magenta-bright: #FF2A9D; /* Helleres Magenta für Akzente */
  --color-violet: #6236FF;
  --color-violet-bright: #8A6AFF; /* Helleres Violett für Akzente */
  --color-yellow: #FFD100;
  --color-yellow-bright: #FFDF4D; /* Helleres Gelb für Akzente */
  --color-space-black: #0A0E1A;
  --color-space-dark: #141B33; /* Dunkleres Schwarz für Kontrast */
  --color-stardust-grey: #E0E6ED;
  --color-stardust-light: #F0F4FA; /* Helleres Grau für Kontrast */
  --color-white: #FFFFFF;
  
  /* DE: Gradienten | EN: Gradients */
  --gradient-cosmic: linear-gradient(135deg, var(--color-primary), var(--color-violet));
  --gradient-cosmic-intense: linear-gradient(135deg, var(--color-primary-dark), var(--color-violet-bright));
  --gradient-energy: linear-gradient(90deg, var(--color-cyan), var(--color-magenta));
  --gradient-energy-intense: linear-gradient(90deg, var(--color-cyan-bright), var(--color-magenta-bright));
  --gradient-focus: linear-gradient(45deg, var(--color-primary-dark), var(--color-violet), var(--color-magenta));
  
  /* DE: Schatten | EN: Shadows */
  --shadow-cosmic: 0 0 20px rgba(98, 54, 255, 0.4);
  --shadow-cosmic-intense: 0 0 30px rgba(98, 54, 255, 0.6);
  --shadow-glow: 0 0 15px rgba(0, 178, 255, 0.6);
  --shadow-glow-intense: 0 0 25px rgba(0, 178, 255, 0.8);
  
  /* DE: Körper-Variablen | EN: Body variables */
  --body-bg-color: var(--color-space-black);
  --body-text-color: var(--color-white);
  
  /* DE: Typografie | EN: Typography */
  --font-size-hero: 3.5rem;
  --font-size-heading: 2.5rem;
  --font-size-subheading: 1.8rem;
  --font-size-normal: 1.1rem;
  --font-size-small: 0.9rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --letter-spacing-wide: 0.05em;
}

/* DE: Grundlegende Resets und globale Stile | EN: Basic resets and global styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%; /* DE: Ermöglicht relative Schriftgrößenanpassung | EN: Allows relative font size adjustment */
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; /* DE: Inter als primäre Schriftart | EN: Inter as primary font */
  line-height: 1.6;
  background-color: var(--body-bg-color);
  color: var(--body-text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

.cosmic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at top, rgba(98, 54, 255, 0.15), transparent 70%),
    radial-gradient(ellipse at bottom, rgba(230, 0, 126, 0.15), transparent 70%),
    radial-gradient(circle at 75% 25%, rgba(0, 178, 255, 0.08), transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(10, 14, 26, 0.9), transparent 60%),
    radial-gradient(circle at 85% 85%, rgba(10, 14, 26, 0.8), transparent 70%);
  background-color: rgba(10, 14, 26, 0.97);
  z-index: -1;
  pointer-events: none;
  animation: backgroundPulse 15s infinite alternate ease-in-out;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.8);
}

@keyframes backgroundPulse {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
  }
  100% {
    background-position: 5% 10%, -5% -10%, 10% -5%;
  }
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, a:focus {
  text-decoration: none;
  color: var(--color-magenta);
}

/* DE: Skip-Link-Stil (initial versteckt) | EN: Skip link style (initially hidden) */
.skip {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 1em;
  padding: 0.5em;
  background-color: var(--color-grey-light);
  color: var(--color-grey-dark);
  border: 1px solid var(--color-grey-medium);
  z-index: 1000; /* DE: Sicherstellen, dass er über anderen Elementen liegt | EN: Ensure it's above other elements */
}

/* DE: Nur für Screenreader sichtbar | EN: Screenreader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* DE: Diagonale Trennlinien | EN: Diagonal separators */
.diagonal-separator {
  position: relative;
  height: 120px;
  width: 100%;
  overflow: hidden;
  margin-top: 4.5rem;
}

.diagonal-separator::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 120px;
  background: linear-gradient(135deg, rgba(26, 58, 143, 0.3), rgba(98, 54, 255, 0.3));
  transform: rotate(-3deg);
  top: -60px;
  left: -25%;
  opacity: 0.4;
}

.diagonal-separator.reversed::before {
  transform: rotate(3deg);
}

/* DE: Diagonale Kanten | EN: Diagonal edges */
.diagonal-edge {
  position: absolute;
  height: 50px;
  width: 100%;
  overflow: hidden;
  bottom: -25px;
  left: 0;
}

.diagonal-edge::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 50px;
  background: var(--color-primary);
  transform: rotate(-2deg);
  bottom: 0;
  left: -25%;
}

.footer-edge {
  top: -25px;
  bottom: auto;
}

.footer-edge::before {
  transform: rotate(2deg);
  top: 0;
  background: var(--color-space-black);
}

/* DE: Schwebende Elemente | EN: Floating elements */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

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

/* DE: Leuchteffekte | EN: Glow effects */
.glow-effect {
  text-shadow: 0 0 10px rgba(0, 178, 255, 0.7);
}

/* DE: Geschwindigkeitslinien | EN: Speed lines */
.speed-lines {
  position: absolute;
  width: 150px;
  height: 300px;
  pointer-events: none;
}

.left-lines {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 100, 150, 0.5) 50%, transparent);
  opacity: 0.08;
  clip-path: polygon(0 0, 100% 20%, 80% 100%, 0% 80%);
}

.right-lines {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(270deg, transparent, rgba(100, 0, 80, 0.5) 50%, transparent);
  opacity: 0.08;
  clip-path: polygon(100% 0, 0 20%, 20% 100%, 100% 80%);
}

/* DE: Energielinien | EN: Energy lines */
.energy-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(0, 178, 255, 0.15) 10px,
      rgba(0, 178, 255, 0.15) 20px
    );
  z-index: -1;
  opacity: 0.7;
  animation: energyPulse 3s infinite linear;
  border-radius: 10px;
  box-shadow: var(--shadow-cosmic);
}

.feature-energy-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg,
      transparent,
      transparent 15px,
      rgba(230, 0, 126, 0.15) 15px,
      rgba(230, 0, 126, 0.15) 30px
    );
  z-index: -1;
  opacity: 0.7;
  animation: energyPulse 4s infinite linear reverse;
  border-radius: 10px;
  box-shadow: var(--shadow-cosmic);
}

.pricing-energy-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(90deg,
      transparent,
      transparent 20px,
      rgba(255, 209, 0, 0.15) 20px,
      rgba(255, 209, 0, 0.15) 40px
    );
  z-index: -1;
  opacity: 0.7;
  animation: energyPulse 5s infinite linear;
  border-radius: 10px;
  box-shadow: var(--shadow-cosmic);
}

.faq-energy-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 15px,
      rgba(98, 54, 255, 0.15) 15px,
      rgba(98, 54, 255, 0.15) 30px
    );
  z-index: -1;
  opacity: 0.7;
  animation: energyPulse 4s infinite linear;
  border-radius: 10px;
  box-shadow: var(--shadow-cosmic);
}

@keyframes energyPulse {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.3;
  }
}

/* DE: Schräge Überschriften | EN: Angled headings */
.angled-heading {
  position: relative;
  display: inline-block;
  transform: skew(-5deg);
  margin-bottom: 3.5rem;
  color: var(--color-white);
  font-weight: bold;
  padding: 1rem 2rem;
  background: var(--gradient-cosmic-intense);
  box-shadow: var(--shadow-cosmic-intense);
  border-radius: 5px;
  font-size: var(--font-size-heading);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.angled-heading:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--gradient-energy-intense);
  border-radius: 3px;
}

/* DE: Header Stile | EN: Header Styles */
.floating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  background: var(--gradient-cosmic-intense);
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow-cosmic-intense);
}

.cosmic-logo {
  text-decoration: none;
  color: var(--color-white);
  font-weight: bold;
  font-size: 2rem;
  text-shadow: 0 0 15px rgba(0, 178, 255, 0.9);
  transition: all 0.3s ease;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
}

.cosmic-logo:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-energy-intense);
  transform: scaleX(0.8);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.logo-container a:hover .cosmic-logo {
  text-shadow: 0 0 20px rgba(230, 0, 126, 1);
}

.logo-container a:hover .cosmic-logo:after {
  transform: scaleX(1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-hover-effect::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-energy);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.nav-links a:hover, .nav-links a:focus {
  color: var(--color-yellow);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--body-text-color);
  position: relative;
  transition: background-color 0.2s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--body-text-color);
  position: absolute;
  transition: transform 0.2s ease;
}

.hamburger-icon::before {
  top: -7px;
}

.hamburger-icon::after {
  bottom: -7px;
}

/* DE: Animiertes Hamburger-Icon für den geöffneten Zustand | EN: Animated hamburger icon for open state */
.menu-toggle[aria-expanded="true"] .hamburger-icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.cosmic-select {
  padding: 0.5em;
  padding-left: 2.2em; /* Platz für die Flagge */
  border-radius: 4px;
  border: 1px solid var(--color-cyan);
  background-color: var(--color-space-black);
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cosmic-select:hover,
.cosmic-select:focus {
  border-color: var(--color-magenta);
  outline: none;
  box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.3);
}

/* Styles für die Sprachauswahl mit Flaggen */
.language-selector {
  position: relative;
}

.language-flag {
  position: absolute;
  left: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2em;
  height: 0.8em;
  pointer-events: none;
  z-index: 1;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.language-option-flag {
  width: 1.2em;
  height: 0.8em;
  flex-shrink: 0;
}

/* DE: Fokus-Stile für Barrierefreiheit | EN: Focus styles for accessibility */
a:focus, button:focus, select:focus {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
}

/* DE: Responsive Anpassungen für die Navigation | EN: Responsive adjustments for navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-space-black);
    padding: 5rem 2rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-cosmic);
    z-index: 1000;
    height: 100vh;
  }

  .nav-links.nav-links--visible {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 1.5rem;
  }
  
  .nav-links a {
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem;
  }
  
  .floating-header {
    padding: 0.8rem 1rem;
  }
}

/* DE: Allgemeine Stile für Main und Sections | EN: General styles for Main and Sections */
main {
  display: block; /* DE: Sicherstellen, dass Main als Block behandelt wird | EN: Ensure main is treated as a block */
  padding: 3rem 0; /* DE: Vergrößertes vertikales Padding für den Hauptinhalt | EN: Increased vertical padding for main content */
}

.cosmic-section {
  padding: 4.5rem 3rem; /* DE: Vergrößertes Padding für alle Sektionen | EN: Increased padding for all sections */
  margin-bottom: 3.5rem; /* DE: Vergrößerter Abstand zwischen Sektionen | EN: Increased margin between sections */
  position: relative;
  overflow: hidden;
  text-align: center; /* Zentrierte Ausrichtung für alle Sektionen */
}

.cosmic-section:last-of-type {
  margin-bottom: 0;
}

.asymmetric-layout {
  clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
  padding: 5rem 2rem;
}

/* DE: Container für zentrierten Inhalt innerhalb von Sektionen | EN: Container for centered content within sections */
.container {
  max-width: 1200px; /* DE: Maximale Breite des Inhalts | EN: Maximum width of content */
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* DE: Hero Sektion Stile | EN: Hero Section Styles */
.cosmic-hero {
  background: var(--color-space-black);
  color: var(--color-white);
  text-align: center;
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
  position: relative;
  overflow: hidden;
}

.cosmic-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(98, 54, 255, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(230, 0, 126, 0.4) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.cosmic-hero h1 {
  font-size: var(--font-size-hero);
  margin-bottom: 2.5rem;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-text {
  font-size: var(--font-size-normal);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-normal);
  color: var(--color-stardust-light);
}

.cosmic-button {
  background: var(--gradient-cosmic-intense);
  color: var(--color-white);
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-cosmic-intense);
  letter-spacing: var(--letter-spacing-wide);
  margin: 0.5rem;
}

.cosmic-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.cosmic-button:hover::before,
.cosmic-button:focus::before {
  left: 100%;
}

.cosmic-button:hover,
.cosmic-button:focus {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-intense);
}

.cosmic-button.secondary {
  background: transparent;
  border: 2px solid var(--color-cyan);
  color: var(--color-cyan);
}

.cosmic-button.secondary:hover,
.cosmic-button.secondary:focus {
  background-color: var(--color-cyan);
  color: var(--color-space-black);
}

.hero-energy-container {
  position: relative;
  margin-top: 5.5rem;
  height: 300px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cosmic-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-cosmic-intense);
  box-shadow: var(--shadow-cosmic-intense);
  animation: pulsate 3s infinite ease-in-out;
}

@keyframes pulsate {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    box-shadow: 0 0 0 0 rgba(98, 54, 255, 0.7);
  }
  70% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 30px rgba(98, 54, 255, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    box-shadow: 0 0 0 0 rgba(98, 54, 255, 0);
  }
}

/* DE: Responsive Anpassungen für Hero | EN: Responsive adjustments for Hero */
@media (min-width: 769px) {
  #hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero-energy-container {
    height: 350px;
  }
  
  .cosmic-pulse {
    width: 180px;
    height: 180px;
  }
}

/* DE: Problem & Solution Sektionen | EN: Problem & Solution Sections */
#problem, #solution {
  background-color: var(--color-space-black);
  color: var(--color-white);
}

.cosmic-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8; /* Erhöhter Zeilenabstand für bessere Lesbarkeit */
  color: var(--color-stardust-light);
  font-size: var(--font-size-normal);
  margin-bottom: 2.5rem;
  text-align: center; /* Zentrierte Textausrichtung für konsistentes Design */
}

.cosmic-text strong {
  color: var(--color-white);
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.cosmic-text strong:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-energy);
  transform: scaleX(0.9);
  transform-origin: left;
}

/* DE: Transformation Sektion | EN: Transformation Section */
.transformation-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Zentrierte Ausrichtung */
  gap: 3.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.transformation-column {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  text-align: center; /* Zentrierte Textausrichtung */
}

.transformation-heading {
  color: var(--color-white);
  margin-bottom: 2.5rem;
  font-size: var(--font-size-subheading);
  position: relative;
  display: inline-block;
  padding-bottom: 0.8rem;
}

.transformation-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: var(--gradient-energy-intense);
  border-radius: 3px;
}

.transformation-list {
  list-style-position: inside; /* Aufzählungszeichen innerhalb des Textblocks */
  padding-left: 0;
  text-align: left; /* Text linksbündig für bessere Lesbarkeit */
  margin: 0 auto;
}

.transformation-list li {
  margin-bottom: 1.8rem;
  color: var(--color-stardust-light);
  position: relative;
  padding-left: 2rem;
}

.transformation-list.negative li:before {
  content: '✗';
  color: var(--color-magenta);
  position: absolute;
  left: 0;
}

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

/* DE: Features Sektion | EN: Features Section */
.feature-cards {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  margin-bottom: 4.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: linear-gradient(135deg, rgba(26, 58, 143, 0.9), rgba(98, 54, 255, 0.9));
  padding: 3.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-cosmic-intense);
  transform: skew(0deg);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 178, 255, 0.3);
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-glow-intense);
  border-color: rgba(0, 178, 255, 0.6);
}

.superhero-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 2.5rem;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.superhero-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-energy);
  opacity: 0.7;
}

.feature-card h3 {
  margin-bottom: 2.5rem;
  color: var(--color-white);
  font-size: var(--font-size-subheading);
  position: relative;
  display: inline-block;
  padding-bottom: 0.8rem;
}

.feature-card h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: var(--gradient-energy-intense);
  border-radius: 3px;
}

.feature-card p {
  color: var(--color-stardust-light);
  font-size: var(--font-size-normal);
  line-height: var(--line-height-normal);
}

.features-visual {
  position: relative;
  height: 200px;
  max-width: 800px;
  margin: 3rem auto 0;
}

.features-image {
  display: block;
  margin: 2rem auto 0 auto;
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-cosmic);
}

/* DE: Pricing Sektion | EN: Pricing Section */
.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(26, 58, 143, 0.95), rgba(10, 14, 26, 0.95));
  padding: 4rem;
  border-radius: 12px;
  box-shadow: var(--shadow-cosmic-intense);
  flex: 1;
  min-width: 280px;
  max-width: 450px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 178, 255, 0.3);
}

.pricing-card:hover {
  transform: translateY(-20px);
  box-shadow: var(--shadow-glow-intense);
  border-color: rgba(0, 178, 255, 0.6);
}

.monthly-card {
  background: linear-gradient(135deg, rgba(26, 58, 143, 0.95), rgba(10, 14, 26, 0.95));
  border: 1px solid rgba(0, 178, 255, 0.3);
}

.yearly-card {
  background: linear-gradient(135deg, rgba(26, 58, 143, 0.95), rgba(20, 30, 80, 0.95));
  border: 1px solid rgba(0, 178, 255, 0.5);
  transform: translateY(-10px);
  z-index: 1;
}

.premium-card {
  background: linear-gradient(135deg, rgba(26, 58, 143, 0.95), rgba(98, 54, 255, 0.95));
  transform: translateY(-15px) scale(1.05);
  z-index: 2;
  border: 1px solid rgba(230, 0, 126, 0.4);
}

.pricing-save {
  color: var(--color-cyan-bright);
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.premium-card:hover {
  border-color: rgba(230, 0, 126, 0.8);
}

.pricing-visual {
  position: relative;
  height: 200px;
  max-width: 800px;
  margin: 3rem auto 0;
}

.premium-aura {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle at center, rgba(230, 0, 126, 0.5), transparent 70%);
  z-index: -1;
  animation: pulse 3s infinite alternate;
}

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

.card-content {
  position: relative;
  z-index: 2;
}

.pricing-title {
  color: var(--color-white);
  margin-bottom: 3rem;
  font-size: var(--font-size-subheading);
  position: relative;
  display: inline-block;
  padding-bottom: 0.8rem;
}

.pricing-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: var(--gradient-energy-intense);
  border-radius: 3px;
}

.pricing-card p {
  margin-bottom: 3rem;
  color: var(--color-stardust-grey);
}

.pricing-image {
  display: block;
  margin: 3rem auto 0 auto;
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-cosmic);
}

/* DE: FAQ Sektion | EN: FAQ Section */
.cosmic-faq {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(10, 14, 26, 0.9);
  border-radius: 10px;
  padding: 4rem;
  box-shadow: var(--shadow-cosmic-intense);
  border: 1px solid rgba(0, 178, 255, 0.3);
}

.faq-visual {
  position: relative;
  height: 200px;
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-question {
  font-weight: bold;
  color: var(--color-cyan-bright);
  margin-bottom: 0.8rem;
  padding: 2rem 0;
  border-bottom: 2px solid rgba(0, 178, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--font-size-normal);
  position: relative;
}

.faq-question:before {
  content: '?';
  position: absolute;
  left: -30px;
  color: var(--color-magenta);
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.faq-question:hover:before {
  opacity: 1;
  transform: translateX(0);
}

.faq-question:hover {
  color: var(--color-magenta-bright);
  padding-left: 10px;
}

.faq-answer {
  margin-bottom: 3.5rem;
  padding: 2.5rem;
  color: var(--color-stardust-light);
  background: rgba(26, 58, 143, 0.2);
  border-radius: 0 0 8px 8px;
  border-left: 3px solid var(--color-cyan);
  font-size: var(--font-size-normal);
  line-height: 1.8;
}

.faq-image {
  display: block;
  margin: 3rem auto 0 auto;
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-cosmic);
}

/* DE: Hinweis: Bilder sollten als WebP/AVIF mit ≤ 150 KB bereitgestellt werden | EN: Note: Images should be provided as WebP/AVIF with ≤ 150 KB */

/* DE: Responsive Anpassungen für Sektionen | EN: Responsive adjustments for sections */
@media (max-width: 768px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
  
  .transformation-container {
    flex-direction: column;
    align-items: center;
  }
  
  .transformation-column {
    max-width: 100%;
  }
  
  .pricing-card {
    min-width: 100%;
    padding: 3rem;
  }
  
  .premium-card {
    transform: translateY(-10px) scale(1);
  }
  
  .features-visual, .pricing-visual, .faq-visual, .hero-energy-container {
    height: 180px;
    margin-top: 3rem;
  }
  
  .cosmic-pulse {
    width: 120px;
    height: 120px;
  }
  
  .angled-heading {
    font-size: 1.8rem;
    padding: 0.8rem 1.2rem;
    margin-bottom: 2.5rem;
  }
  
  .cosmic-hero h1 {
    font-size: 2.2rem;
  }
  
  .cosmic-hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .cosmic-text, .hero-text, .feature-card p, .faq-answer {
    font-size: 1rem;
  }
  
  .cosmic-button {
    padding: 1rem 1.8rem;
    font-size: 1rem;
  }
  
  .cosmic-section {
    padding: 4rem 2.5rem;
  }
  
  .faq-question:before {
    left: -20px;
  }
}

@media (max-width: 480px) {
  .cosmic-hero h1 {
    font-size: 1.8rem;
  }
  
  .angled-heading {
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    margin-bottom: 2rem;
  }
  
  .cosmic-button {
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .hero-energy-container, .features-visual, .pricing-visual, .faq-visual {
    height: 150px;
  }
  
  .cosmic-pulse {
    width: 100px;
    height: 100px;
  }
  
  .feature-card {
    padding: 2.5rem;
  }
  
  .pricing-card {
    padding: 2.5rem;
  }
  
  .cosmic-faq {
    padding: 2.5rem;
  }
  
  .faq-question {
    padding: 1.5rem 0;
  }
  
  .faq-answer {
    padding: 1.8rem;
  }
  
  .cosmic-section {
    padding: 3.5rem 1.5rem;
  }
  
  .cosmic-text, .hero-text, .feature-card p, .faq-answer {
    margin-bottom: 2rem;
  }
}

/* DE: Footer Stile | EN: Footer Styles */
.cosmic-footer {
  background-color: var(--color-space-black);
  color: var(--color-stardust-grey);
  padding: 3rem 2rem 2rem;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.footer-link {
  color: var(--color-cyan);
  text-decoration: none;
  margin: 0 0.75rem;
  transition: all 0.3s ease;
}

.footer-link:hover, .footer-link:focus {
  color: var(--color-magenta);
  text-decoration: none;
  transform: translateY(-3px);
}

.footer-text {
  color: var(--color-stardust-grey);
}

.footer-contrast-btn {
  background-color: transparent;
  color: var(--color-cyan);
  border: 1px solid var(--color-cyan);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-contrast-btn:hover, .footer-contrast-btn:focus {
  background-color: var(--color-cyan);
  color: var(--color-space-black);
  border-color: var(--color-cyan);
}

/* DE: Cookie Banner Stile | EN: Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-space-black);
  color: var(--color-white);
  padding: 1.5rem;
  z-index: 2000;
  display: none; /* DE: Initial versteckt, wird per JS gesteuert | EN: Initially hidden, controlled by JS */
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--color-primary);
}
.cookie-banner.cookie-banner--visible {
  display: block;
}
.cookie-banner-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cookie-banner-content h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--color-cyan);
}
.cookie-banner-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-stardust-grey);
}
.cookie-banner-content a {
  color: var(--color-cyan);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}
.cookie-btn-accept {
  background: var(--gradient-cosmic);
  color: var(--color-white);
  box-shadow: var(--shadow-cosmic);
}
.cookie-btn-accept:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.cookie-btn-decline {
  background-color: transparent;
  color: var(--color-stardust-grey);
  border: 1px solid var(--color-stardust-grey);
}
.cookie-btn-decline:hover {
  background-color: var(--color-stardust-grey);
  color: var(--color-space-black);
}
.cookie-revocation-notice {
    font-size: 0.8rem;
    color: var(--color-grey-light); /* DE: Hellere Farbe für besseren Kontrast auf dunklem Grund | EN: Lighter color for better contrast on dark background */
    text-align: center;
    margin-top: 1rem;
}

/* DE: Container im Footer, falls benötigt, um die Breite zu begrenzen | EN: Container in footer if needed to limit width */
.footer-content-container {
    max-width: 900px;
    margin: 0 auto;
}

/* DE: High Contrast Toggle Button im Footer | EN: High Contrast Toggle Button in Footer */
.footer-contrast-btn {
  background-color: transparent;
  color: var(--color-grey-light);
  border: 1px solid var(--color-grey-light);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 1rem; /* DE: Abstand zu anderen Footer-Elementen | EN: Margin from other footer elements */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-contrast-btn:hover, .footer-contrast-btn:focus {
  background-color: var(--color-primary-start);
  color: var(--color-white);
  border-color: var(--color-primary-start);
}

/* DE: High Contrast Modus Stile | EN: High Contrast Mode Styles */
body.high-contrast-enabled {
  --body-bg-color-hc: #ffffff; /* DE: Weißer Hintergrund | EN: White background */
  --body-text-color-hc: #000000; /* DE: Schwarzer Text | EN: Black text */
  --link-color-hc: #0000FF; /* DE: Blauer Link für guten Kontrast auf Weiß | EN: Blue link for good contrast on white */
  --link-hover-color-hc: #FF00FF; /* DE: Magenta für Hover | EN: Magenta for hover */
  --button-bg-hc: #000000;
  --button-text-hc: #FFFF00; /* DE: Gelber Text auf schwarzem Button | EN: Yellow text on black button */
  --border-color-hc: #000000;

  background-color: var(--body-bg-color-hc) !important;
  color: var(--body-text-color-hc) !important;
}

body.high-contrast-enabled a,
body.high-contrast-enabled a:visited {
  color: var(--link-color-hc) !important;
  text-decoration: underline !important; /* DE: Links immer unterstreichen für bessere Erkennbarkeit | EN: Always underline links for better visibility */
}
body.high-contrast-enabled a:hover,
body.high-contrast-enabled a:focus {
  color: var(--link-hover-color-hc) !important;
  background-color: #000000 !important; /* DE: Schwarzer Hintergrund für Fokus | EN: Black background for focus */
}

body.high-contrast-enabled header,
body.high-contrast-enabled footer {
  background-color: var(--body-text-color-hc) !important;
  color: var(--body-bg-color-hc) !important;
  border-color: var(--body-bg-color-hc) !important;
}
body.high-contrast-enabled header a, body.high-contrast-enabled footer a {
    color: var(--button-text-hc) !important; /* DE: Gelbe Links auf schwarzem Grund | EN: Yellow links on black background */
}
 body.high-contrast-enabled header a:hover, body.high-contrast-enabled footer a:focus,
 body.high-contrast-enabled header .footer-contrast-btn:hover, body.high-contrast-enabled footer .footer-contrast-btn:hover {
    color: var(--body-text-color-hc) !important;
    background-color: var(--button-text-hc) !important; /* DE: Schwarzer Text auf gelbem Grund für Hover | EN: Black text on yellow background for hover */
}


body.high-contrast-enabled .cookie-banner {
    background-color: var(--body-text-color-hc) !important;
    color: var(--body-bg-color-hc) !important;
}
 body.high-contrast-enabled .cookie-banner a {
    color: var(--button-text-hc) !important;
}


body.high-contrast-enabled button,
body.high-contrast-enabled .cta,
body.high-contrast-enabled .cookie-btn {
  background-color: var(--button-bg-hc) !important;
  color: var(--button-text-hc) !important;
  border: 2px solid var(--button-text-hc) !important; /* DE: Deutlicher Rand | EN: Clear border */
}
body.high-contrast-enabled button:hover, body.high-contrast-enabled button:focus,
body.high-contrast-enabled .cta:hover, body.high-contrast-enabled .cta:focus,
body.high-contrast-enabled .cookie-btn:hover, body.high-contrast-enabled .cookie-btn:focus {
  background-color: var(--button-text-hc) !important;
  color: var(--button-bg-hc) !important;
}

body.high-contrast-enabled #hero {
  background: var(--body-bg-color-hc) !important;
  color: var(--body-text-color-hc) !important;
}
body.high-contrast-enabled #hero .cta {
     background-color: var(--button-bg-hc) !important;
     color: var(--button-text-hc) !important;
     border: 2px solid var(--button-text-hc) !important;
}
 body.high-contrast-enabled #hero .cta:hover, body.high-contrast-enabled #hero .cta:focus {
     background-color: var(--button-text-hc) !important;
     color: var(--button-bg-hc) !important;
}


body.high-contrast-enabled section,
body.high-contrast-enabled #features li,
body.high-contrast-enabled #pricing article {
    background-color: var(--body-bg-color-hc) !important;
    color: var(--body-text-color-hc) !important;
    border: 1px solid var(--border-color-hc) !important; /* DE: Rahmen um Sektionen/Karten | EN: Border around sections/cards */
}

body.high-contrast-enabled img {
    border: 2px solid var(--border-color-hc) !important; /* DE: Rahmen um Bilder | EN: Border around images */
}

/* DE: Sicherstellen, dass Fokus-Indikatoren im HC-Modus extrem klar sind | EN: Ensure focus indicators are extremely clear in HC mode */
body.high-contrast-enabled *:focus {
  outline: 3px solid #FF00FF !important; /* DE: Auffälliger Magenta-Fokus | EN: Prominent magenta focus */
  outline-offset: 2px;
}

/* DE: Berücksichtigung von prefers-contrast | EN: Consideration of prefers-contrast */
@media (prefers-contrast: more) {
  body:not(.high-contrast-disabled-by-user) { /* DE: Annahme: JS setzt diese Klasse, wenn User HC manuell deaktiviert | EN: Assumption: JS sets this class when user manually disables HC */
    /* DE: Hier die gleichen Stile wie für body.high-contrast-enabled anwenden oder die Klasse direkt per JS setzen */
    /* EN: Apply the same styles as for body.high-contrast-enabled here, or set the class directly via JS */
    /* Für Einfachheit: Wir verlassen uns darauf, dass JS die Klasse setzt, wenn prefers-contrast: more aktiv ist und keine manuelle Einstellung vorliegt. */
    /* Alternativ: Dupliziere die HC-Stile hier oder verwende eine übergeordnete Klasse, die von beiden geteilt wird. */
  }
}

/* DE: Kontakt Sektion Stile | EN: Contact Section Styles */
#contact {
  background-color: var(--color-grey-light); /* DE: Heller Hintergrund für Abgrenzung | EN: Light background for separation */
}

#contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--color-grey-dark);
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--color-grey-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-grey-medium);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-primary-start);
  border-color: var(--color-primary-start);
}

.contact-submit-btn { /* DE: Wiederverwendung der .cta-Klasse oder spezifische Stile | EN: Reuse .cta class or specific styles */
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary-start);
  color: var(--color-white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-submit-btn:hover, .contact-submit-btn:focus {
  background-color: var(--color-primary-end);
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}
.form-status.success {
    color: green; /* DE: Beispiel Erfolgsfarbe | EN: Example success color */
}
.form-status.error {
    color: red; /* DE: Beispiel Fehlerfarbe | EN: Example error color */
}

/* DE: High-Contrast Anpassungen für das Formular | EN: High-contrast adjustments for the form */
body.high-contrast-enabled #contact {
    background-color: var(--body-bg-color-hc) !important;
}
body.high-contrast-enabled #contact h2,
body.high-contrast-enabled .form-group label {
    color: var(--body-text-color-hc) !important;
}
body.high-contrast-enabled .form-group input[type="text"],
body.high-contrast-enabled .form-group input[type="email"],
body.high-contrast-enabled .form-group textarea {
    background-color: var(--body-bg-color-hc) !important;
    color: var(--body-text-color-hc) !important;
    border: 2px solid var(--border-color-hc) !important;
}
body.high-contrast-enabled .contact-submit-btn {
    background-color: var(--button-bg-hc) !important;
    color: var(--button-text-hc) !important;
    border: 2px solid var(--button-text-hc) !important;
}
body.high-contrast-enabled .contact-submit-btn:hover,
body.high-contrast-enabled .contact-submit-btn:focus {
    background-color: var(--button-text-hc) !important;
    color: var(--button-bg-hc) !important;
}
/* DE: Kontakt Sektion Stile | EN: Contact Section Styles */
.cosmic-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(10, 14, 26, 0.7);
  padding: 3.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow-cosmic);
}

.form-group {
  margin-bottom: 2.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 1rem;
  font-weight: bold;
  color: var(--color-cyan);
}

.cosmic-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  background-color: rgba(10, 14, 26, 0.8);
  color: var(--color-white);
  transition: all 0.3s ease;
}

.cosmic-input:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 2px rgba(0, 178, 255, 0.3);
}

.contact-submit-btn {
  display: block;
  width: 100%;
}

.form-status {
  margin-top: 2rem;
  text-align: center;
  font-weight: bold;
}

.form-status.success {
  color: #00FF9D; /* DE: Erfolgsfarbe | EN: Success color */
}

.form-status.error {
  color: #FF3D71; /* DE: Fehlerfarbe | EN: Error color */
}