/* ---------------------------------------
   RESET UND GRUNDSTILE
---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-color: #050811;
  --text-color: #f5f5f7;
  --muted-color: #8b8b92;
  --accent-color: #19c5ff;
  --accent-gradient: linear-gradient(120deg, #19c5ff, #4b5dff);
  --nav-height: 94px;
  --max-width: 1080px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---------------------------------------
   NAVIGATION (mit Hover-Effekten)
---------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgb(11,16,22);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-logo img {
  height: 96px;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  color: var(--muted-color);
}

/* Hover-Effekte für alle Nav-Links */
.nav-links a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.16s ease-out;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.2s ease-out;
}

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

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

/* ---------------------------------------
   DROPDOWN (mit Overlay + Animation)
---------------------------------------- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(5,8,17,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 15;
}

.dropdown.open::before {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding-bottom: 2px;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 12px;
  color: var(--muted-color);
  transition: transform 0.2s ease;
}

.dropdown.open .dropdown-toggle::after {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.dropdown-content {
  opacity: 0;
  transform: translate(-50%, 10px);
  visibility: hidden;
  transition: all 0.25s ease;
  position: absolute;
  top: 100%;
  left: 50%;
  background-color: rgb(11,16,22);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  overflow: hidden;
  margin-top: 8px;
  z-index: 20;
}

.dropdown.open .dropdown-content {
  display: block;
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--muted-color);
  font-size: 14px;
  position: relative;
  transition: all 0.16s ease-out;
}

.dropdown-content a::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.16s ease-out;
}

.dropdown-content a:hover {
  color: var(--text-color);
  background-color: rgba(255,255,255,0.05);
}

.dropdown-content a:hover::after {
  width: calc(100% - 40px);
}

/* ---------------------------------------
   HERO-BEREICH
---------------------------------------- */
.hero {
  max-width: var(--max-width);
  margin: 56px auto 80px;
  padding: 0 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: heroEnter 1s ease-out forwards 0.1s;
}

/* ---------------------------------------
   HERO SHOWCASE (voll responsive)
---------------------------------------- */
.hero-showcase {
  margin-top: 24px;
  border-radius: 32px;
  padding: 36px 22px;
  background:
    radial
}

.hero-device-subline {
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Logo noch etwas größer */
.hero-device-logo img {
  height: 110px;  /* von 90px → 110px */
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(40px,5vw,64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--muted-color);
  max-width: 600px;
  margin: 0 auto 28px;
}

.hero-cta {
  display: inline-flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  background-image: var(--accent-gradient);
  border: none;
  border-radius: 999px;
  color: #ffffff;
  padding: 12px 26px;          
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease-out;
  box-shadow: 0 14px 38px rgba(0,0,0,0.6);
  display: inline-flex;        
  align-items: center;         
  justify-content: center;     
  text-decoration: none;
  line-height: 1.2;            
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 50px rgba(0,0,0,0.7);
}


.btn-link {
  font-size: 15px;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-link span {
  font-size: 16px;
  transform: translateY(1px);
}

/* Hero Showcase */
.hero-showcase {
  margin-top: 24px;
  border-radius: 32px;
  padding: 36px 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(25,197,255,0.2), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(75,93,255,0.25), transparent 55%),
    #050811;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-device {
  width: min(560px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #050811;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-device-inner {
  text-align: center;
}

.hero-device-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.hero-device-logo img {
  height: 90px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.2s;
  filter: drop-shadow(0 0 16px rgba(0,0,0,0.9));
  transition: transform 0.25s ease;
}

.hero-device-logo img:hover {
  transform: scale(1.04);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-device-text {
  font-size: 16px;
  color: var(--muted-color);
  margin-top: 18px;
  line-height: 1.7;
}

/* ---------------------------------------
   SECTIONS & CARDS (Buttons gleichmäßig unten)
---------------------------------------- */
.section {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  padding: 0 20px;
}

.section-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: center;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* Cards mit gleichmäßig unten Buttons */
.card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 24px 20px;
  min-height: 380px;
  transition: all 0.2s ease-out;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.5);
}

.card-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: var(--muted-color);
  line-height: 1.6;
  flex-grow: 1;
}

/* ---------------------------------------
   SCROLL-ANIMATION
---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------
   PARALLAX-EFFEKT
---------------------------------------- */
.parallax {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-position 0.3s ease;
}

.parallax-in-view {
  transform: scale(1.02);
}

/* ---------------------------------------
   PREISE-SPEZIFISCHE STYLES
---------------------------------------- */
.pricing-card {
  text-align: center;
}

.price-highlight {
  font-size: 26px;  
  font-weight: 600; 
  letter-spacing: 0.05em; 
  color: var(--accent-color);
}


.recommended {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(25,197,255,0.2);
}

.recommended-badge {
  background: var(--accent-gradient);
  color: white !important;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  text-align: left;
  flex-grow: 1;
}

.price-features li {
  padding: 8px 0;
  color: var(--text-color);
  position: relative;
  padding-left: 24px;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.price-cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding-top: 16px;
}

/* ---------------------------------------
   FORMULAR-BUTTON mit Spinner
---------------------------------------- */
.btn-primary.loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.btn-primary.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------------------------------------
   FOOTER
---------------------------------------- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 20px 36px;
  font-size: 12px;
  color: var(--muted-color);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ---------------------------------------
   RESPONSIVE DESIGN
---------------------------------------- */
@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    margin-top: 32px;
  }
  
  .hero-showcase {
    padding: 26px 14px;
    border-radius: 24px;
  }
  
  .hero-device {
    border-radius: 22px;
  }
  
  .section-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    min-height: auto;
  }
}
/* Logo auf Mobile ausblenden */
@media (max-width: 480px) {
  .hero-device-logo {
    display: none;
  }
  
  .hero-device-text {
    margin-top: 0;  /* kein Abstand mehr nötig */
  }
}
/* ------------------------------
   MOBILE TOGGLE BUTTON
------------------------------ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  z-index: 20;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

/* Animation bei aktivem Zustand */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MENÜ für Mobile */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: rgb(11,16,22);
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    display: none;
  }

  .nav-links.open {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}


