/* 🚀 Moderne Hero-Section mit Animationen & 2025 Design-Trends */

/* Glassmorphism Effekt für Hero */
.hero-section {
  position: relative;
  min-height: calc(100vh - 70px);
  max-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, 
    rgba(0, 122, 204, 0.05) 0%,
    rgba(255, 255, 255, 0.95) 30%,
    rgba(0, 122, 204, 0.02) 100%
  );
}

/* Animated Background Shapes */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="150" fill="%23007acc" opacity="0.03"/><circle cx="800" cy="300" r="100" fill="%23007acc" opacity="0.05"/><circle cx="600" cy="700" r="200" fill="%23007acc" opacity="0.02"/></svg>') no-repeat center;
  animation: float 20s ease-in-out infinite;
  z-index: 1;
  overflow: hidden;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-20px, -20px) rotate(1deg); }
  50% { transform: translate(-10px, -30px) rotate(-1deg); }
  75% { transform: translate(-30px, -10px) rotate(0.5deg); }
}

/* Hero Inner Container */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: slideInUp 1s ease-out 0.3s both;
}

/* Slide In Animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern Typography */
.hero-inner h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #007acc 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  position: relative;
}

/* Animated Typing Effect für Subtitle */
.hero-inner h1::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  height: 100%;
  width: 3px;
  background: #007acc;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Modern Paragraph Styling */
.hero-inner p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: #333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interaktive CTA Buttons */
.hero-cta-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-cta-btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 180px;
}

/* Primary CTA */
.hero-cta-primary {
  background: linear-gradient(135deg, #007acc 0%, #0056b3 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 122, 204, 0.3);
}

.hero-cta-primary:hover {
  background: linear-gradient(135deg, #0099ff 0%, #0064cf 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 122, 204, 0.4);
  text-decoration: none;
}

/* Secondary CTA */
.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: #007acc;
  box-shadow: 0 8px 25px rgba(0, 122, 204, 0.3);
  border: 2px solid #007acc;
  backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
  background: #007acc;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 122, 204, 0.4);
  text-decoration: none;
}

/* Floating Feature Cards */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 60px;
  animation: fadeInUp 1s ease-out 1.2s both;
  padding: 0 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: rgba(0, 106, 193, 0.507);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007acc, #0056b3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.feature-card p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
  font-size: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #007acc;
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive Design - Höhen-spezifische Anpassungen */

/* Sehr hohe Bildschirme (über 2000px) */
@media (min-height: 2000px) {
  .hero-section {
    min-height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    padding: 60px 0;
  }
  
  .hero-inner {
    padding: 80px 60px;
    margin: 40px;
    max-width: 1600px;
  }
  
  .hero-inner h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 48px;
  }
  
  .hero-inner p {
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    margin-bottom: 70px;
  }
  
  .hero-cta-container {
    margin-top: 70px;
    gap: 32px;
  }
  
  .hero-cta-btn {
    padding: 24px 48px;
    font-size: 1.4rem;
  }
  
  .hero-features {
    margin-top: 100px;
    gap: 40px;
  }
  
  .feature-card {
    padding: 50px 40px;
  }
  
  .feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
    margin-bottom: 32px;
  }
  
  .feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .feature-card p {
    font-size: 1.3rem;
    line-height: 1.7;
  }
}

/* Hohe Bildschirme (1201px-1999px) */
@media (min-height: 1201px) and (max-height: 1999px) {
  .hero-section {
    min-height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    padding: 40px 0;
  }
  
  .hero-inner {
    padding: 60px 40px;
    margin: 30px;
    max-width: 1400px;
  }
  
  .hero-inner h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 32px;
  }
  
  .hero-inner p {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    margin-bottom: 50px;
  }
  
  .hero-cta-container {
    margin-top: 50px;
    gap: 24px;
  }
  
  .hero-cta-btn {
    padding: 20px 40px;
    font-size: 1.2rem;
  }
  
  .hero-features {
    margin-top: 80px;
    gap: 30px;
  }
  
  .feature-card {
    padding: 40px 30px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
  
  .feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

@media (max-height: 1200px) {
  .hero-section {
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 40px 0;
  }
  
  .hero-inner {
    padding: 40px 32px;
    margin: 20px;
  }
  
  .hero-features {
    margin-top: 40px;
  }
}

@media (max-height: 1080px) {
  .hero-section {
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 15px 0;
    overflow: visible;
  }
  
  .hero-inner {
    padding: 25px 20px;
    margin: 10px;
  }
  
  .hero-inner h1 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    margin-bottom: 18px;
  }
  
  .hero-inner p {
    font-size: clamp(1.05rem, 1.9vw, 1.25rem);
    margin-bottom: 32px;
  }
  
  .hero-cta-container {
    margin-top: 32px;
    gap: 16px;
  }
  
  .hero-cta-btn {
    padding: 14px 28px;
    font-size: 1.05rem;
  }
  
  .hero-features {
    margin-top: 15px;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .feature-card {
    padding: 10px 8px;
    border-radius: 8px;
  }
  
  .feature-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  
  .feature-card h3 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  
  .feature-card p {
    font-size: 0.7rem;
    line-height: 1.2;
  }
}

@media (max-height: 950px) and (min-height: 901px) {
  .hero-features {
    margin-top: 10px;
    gap: 6px;
  }
  
  .feature-card {
    padding: 8px 6px;
  }
  
  .feature-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    margin-bottom: 4px;
  }
  
  .feature-card h3 {
    font-size: 0.8rem;
    margin-bottom: 3px;
  }
  
  .feature-card p {
    font-size: 0.65rem;
    line-height: 1.1;
  }
}

@media (max-height: 900px) {
  .hero-section {
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 15px 0;
    overflow: visible;
  }
  
  .hero-inner {
    padding: 25px 20px;
    max-height: none;
  }
  
  .hero-inner h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 12px;
  }
  
  .hero-inner p {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .hero-cta-container {
    margin-top: 20px;
    gap: 12px;
  }
  
  .hero-cta-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .hero-features {
    display: none; /* Karten bei Höhe unter 900px ausblenden */
  }
}

@media (max-height: 850px) and (min-height: 769px) {
  .hero-section {
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 10px 0;
    overflow: visible;
  }
  
  .hero-inner {
    padding: 20px 16px;
    margin: 10px;
  }
  
  .hero-features {
    display: none; /* Karten bei mittlerer niedriger Höhe ausblenden */
  }
}

@media (max-height: 768px) {
  .hero-section {
    min-height: calc(100vh - 70px);
    height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    padding: 20px 0;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-inner {
    padding: 25px 20px;
    margin: 10px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
  
  .hero-inner h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 12px;
  }
  
  .hero-inner p {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    margin-bottom: 20px;
  }
  
  .hero-cta-container {
    margin-top: 20px;
    gap: 12px;
  }
  
  .hero-cta-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .hero-features {
    margin-top: 20px;
    gap: 10px;
  }
  
  .feature-card {
    padding: 14px 12px;
  }
}

@media (max-height: 700px) {
  .hero-section {
    padding: 15px 0;
  }
  
  .hero-inner {
    padding: 20px 16px;
  }
  
  .hero-inner h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 8px;
  }
  
  .hero-inner p {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    margin-bottom: 15px;
  }
  
  .hero-cta-container {
    margin-top: 15px;
  }
  
  .hero-cta-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .hero-features {
    margin-top: 15px;
  }
  
  .scroll-indicator {
    display: none; /* Zu wenig Platz für Scroll-Indikator */
  }
  
  .hero-features {
    display: none; /* Bei sehr niedriger Höhe Karten ausblenden */
  }
}

/* Sehr niedrige Bildschirme */
@media (max-height: 600px) {
  .hero-section {
    padding: 10px 0;
  }
  
  .hero-inner {
    padding: 15px 12px;
  }
  
  .hero-inner h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 8px;
  }
  
  .hero-inner p {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    margin-bottom: 15px;
  }
  
  .hero-cta-container {
    margin-top: 15px;
  }
  
  .hero-cta-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .hero-features {
    margin-top: 15px;
  }
  
  .scroll-indicator {
    display: none; /* Zu wenig Platz für Scroll-Indikator */
  }
  
  .hero-features {
    display: none; /* Bei sehr niedriger Höhe Karten ausblenden */
  }
}

/* Tablet und mittlere Bildschirmgrößen */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-features {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 40px;
  }
  
  .feature-card {
    padding: 24px 18px;
  }
}

@media (max-width: 900px) and (min-width: 481px) {
  .hero-features {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 30px;
  }
  
  .feature-card {
    padding: 20px 14px;
  }
  
  .feature-card h3 {
    font-size: 1.15rem;
  }
  
  .feature-card p {
    font-size: 0.95rem;
  }
}

/* Sehr kleine Mobilgeräte */
@media (max-width: 480px) {
  .hero-features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
    padding: 0 5px;
  }
  
  .feature-card {
    padding: 16px 12px;
    border-radius: 10px;
  }
  
  .feature-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 20px 0;
  }
  
  .hero-inner {
    margin: 15px;
    padding: 30px 20px;
    border-radius: 16px;
    max-height: none;
    overflow-y: visible;
  }
  
  .hero-cta-container {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 16px;
    padding: 0 10px;
  }
  
  .feature-card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  /* Fix background overflow on mobile */
  .hero-section::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
}

/* Kombinierte niedrige Höhe + Mobile */
@media (max-width: 768px) and (max-height: 800px) {
  .hero-section {
    padding: 15px 0;
  }
  
  .hero-inner {
    margin: 10px;
    padding: 20px 16px;
  }
  
  .hero-features {
    margin-top: 20px;
    gap: 10px;
  }
  
  .feature-card {
    padding: 12px 10px;
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  .hero-inner {
    margin: 8px;
    padding: 16px 12px;
  }
  
  .hero-inner h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }
  
  .hero-cta-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-cta-btn {
    padding: 12px 16px;
    min-width: auto;
    width: 100%;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .hero-section {
    background: linear-gradient(135deg, 
      rgba(0, 122, 204, 0.1) 0%,
      rgba(20, 20, 30, 0.95) 30%,
      rgba(0, 122, 204, 0.05) 100%
    );
  }
  
  .hero-inner {
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero-inner p {
    color: #e0e0e0;
  }
  
  .feature-card {
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .feature-card h3 {
    color: #e0e0e0;
  }
  
  .feature-card p {
    color: #b0b0b0;
  }
}

/* RESPONSIVE OVERRIDES - Custom Layout Fixes */
/* EMERGENCY FIX: Force Hero Height for All High Screens */
.hero-section {
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
    display: block !important;
    overflow: visible !important;
    padding: 20px 0 200px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 40px !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    width: 90% !important;
}

.hero-inner h1 {
    font-size: clamp(2rem, 3.5vw, 3rem) !important;
    margin-bottom: 24px !important;
    line-height: 1.2 !important;
}

.hero-inner p {
    font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
    margin-bottom: 40px !important;
    line-height: 1.6 !important;
    max-width: 800px !important;
}

.hero-cta-container {
    margin-top: 40px !important;
    gap: 20px !important;
}

.hero-cta-btn {
    padding: 14px 28px !important;
    font-size: 1rem !important;
}

.hero-features {
    margin-top: 60px !important;
    gap: 24px !important;
    padding: 0 20px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.feature-card {
    padding: 30px 25px !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 180px !important;
}

/* Anpassungen für niedrigere Bildschirme - reduzierter "Zoom" */
@media (max-height: 1080px) {
    .hero-section {
        padding: 30px 0 25px 0 !important;
    }
    
    .hero-inner {
        padding: 30px 25px !important;
    }
    
    .hero-inner h1 {
        font-size: clamp(1.5rem, 2.5vw, 2.1rem) !important;
        margin-bottom: 15px !important;
    }
    
    .hero-inner p {
        font-size: clamp(0.85rem, 1.1vw, 0.95rem) !important;
        margin-bottom: 25px !important;
    }
    
    .hero-features {
        margin-top: 30px !important;
        gap: 12px !important;
        margin-bottom: 30px !important;
    }
    
    .feature-card {
        padding: 24px 20px !important;
        min-height: 180px !important;
    }
}

@media (max-height: 900px) {
    .hero-section {
        padding: 95px 0 !important;
    }
    
    .hero-inner {
        padding: 30px 20px !important;
    }
    
    .hero-features {
        margin-top: 20px !important;
        gap: 12px !important;
        margin-bottom: 30px !important;
    }
    
    .feature-card {
        padding: 20px 16px !important;
        min-height: 160px !important;
    }
}

@media (max-height: 800px) {
    .hero-section {
        padding: 37px 0 !important;
    }
    
    .hero-inner {
        padding: 20px 16px !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .hero-inner h1 {
        font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
        margin-bottom: 16px !important;
    }
    
    .hero-inner p {
        font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
        margin-bottom: 20px !important;
    }
    
    .hero-cta-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-features {
        display: none !important;
    }
}

@media (max-height: 700px) {
    .hero-inner {
        padding: 15px 12px !important;
    }
    
    .hero-inner h1 {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem) !important;
        margin-bottom: 12px !important;
    }
    
    .hero-inner p {
        font-size: clamp(0.85rem, 1.8vw, 1rem) !important;
        margin-bottom: 15px !important;
    }
}

/* Mobile-spezifische Anpassungen */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 30px 0 !important;
    }
    
    .hero-inner {
        padding: 40px 20px !important;
        margin: 0 15px !important;
        width: calc(100% - 30px) !important;
    }
    
    .hero-inner h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
        margin-bottom: 20px !important;
    }
    
    .hero-inner p {
        font-size: clamp(1rem, 4vw, 1.2rem) !important;
        margin-bottom: 30px !important;
    }
    
    .hero-cta-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .hero-cta-btn {
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }
    
    .hero-features {
        margin-top: 40px !important;
        gap: 16px !important;
        grid-template-columns: 1fr !important;
        margin-bottom: 40px !important;
    }
    
    .feature-card {
        padding: 24px 18px !important;
        min-height: auto !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0 20px 0 !important;
    }
    
    .hero-inner {
        padding: 30px 16px !important;
        margin: 0 10px !important;
    }
    
    .hero-inner h1 {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
        margin-bottom: 16px !important;
    }
    
    .hero-inner p {
        font-size: clamp(0.9rem, 4.5vw, 1.1rem) !important;
        margin-bottom: 25px !important;
    }
    
    .hero-cta-btn {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .hero-features {
        margin-top: 30px !important;
        margin-bottom: 40px !important;
    }
}

/* FORCE: Ensure cards are fully visible with extra spacing */
#newsPanel {
    margin-top: 80px !important;
    padding-top: 60px !important;
}

@media (max-width: 768px) {
    #newsPanel {
        margin-top: 320px !important;
        padding-top: 60px !important;
    }
    
    .hero-section {
        margin-bottom: 120px !important;
        padding-bottom: 140px !important;
    }
}

@media (max-width: 480px) {
    #newsPanel {
        margin-top: 280px !important;
        padding-top: 50px !important;
    }
    
    .hero-section {
        margin-bottom: 100px !important;
        padding-bottom: 120px !important;
    }
    
    .mobile-spacer {
        height: 300px !important;
    }
}

/* Force proper spacing between hero and news */
.hero-section + section,
.hero-section + #newsPanel {
    margin-top: 100px !important;
}

/* Navigation User Panel Styles */
.nav-user {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-left: auto !important;
}

.user-btn {
    padding: 0.65rem 1.4rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    backdrop-filter: blur(10px) !important;
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Footer-Fix: Sicherstellen dass Footer immer klickbar ist */
.modern-footer {
    position: relative !important;
    z-index: 999 !important;
    clear: both !important;
}