/* Custom Styles for Raccoon Facility Website */

/*--------------------------------------------------------------
# ULTIMATIVE LÖSUNG - MAXIMUM POWER CSS
--------------------------------------------------------------*/
/* ABSOLUTE SPEZIFITÄT - FUNKTIONIERT GARANTIERT */
html body.page-index {
  padding-top: 90px !important;
  margin-top: 0 !important;
}

/* Hero komplett neu definieren mit maximaler Spezifität */
html body.page-index section#hero.hero.hero-modern,
html body.page-index #hero.hero.hero-modern,
html body.page-index .hero.hero-modern {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: none !important;
  min-height: calc(100vh - 90px) !important;
  transform: none !important;
  position: relative !important;
  top: 0 !important;
}

/* MOBILE - iPhone und Android */
@media only screen and (max-width: 767px) {
  html body.page-index {
    padding-top: 70px !important;
  }
  
  html body.page-index section#hero.hero.hero-modern,
  html body.page-index #hero.hero.hero-modern,
  html body.page-index .hero.hero-modern {
    min-height: calc(100vh - 70px) !important;
  }
}

/* SEHR KLEINE MOBILE */
@media only screen and (max-width: 480px) {
  html body.page-index {
    padding-top: 65px !important;
  }
  
  html body.page-index section#hero.hero.hero-modern,
  html body.page-index #hero.hero.hero-modern,
  html body.page-index .hero.hero-modern {
    min-height: calc(100vh - 65px) !important;
  }
}

/*--------------------------------------------------------------
# Modern Features Section
--------------------------------------------------------------*/

/* CSS Variables für konsistente Farben */
:root {
  --features-primary: #56b8e6;
  --features-secondary: #29486a;
  --features-gradient: linear-gradient(135deg, #56b8e6 0%, #29486a 100%);
  --features-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --features-card-bg: rgba(255, 255, 255, 0.9);
  --features-shadow: 0 10px 30px rgba(86, 184, 230, 0.1);
  --features-shadow-hover: 0 20px 40px rgba(86, 184, 230, 0.2);
}

.features-modern {
  position: relative;
  overflow: hidden;
  margin: 80px 0;
}

.features-background {
  background: var(--features-bg);
  padding: 120px 0;
  position: relative;
}

.features-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(86, 184, 230, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(41, 72, 106, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Section Header */
.features-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--features-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.text-gradient {
  background: var(--features-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--features-card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--features-shadow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--features-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--features-shadow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--features-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.feature-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--features-secondary);
  margin-bottom: 0.75rem;
}

.feature-content p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Phone Mockup */
.phone-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: linear-gradient(145deg, #2d3748, #1a202c);
  border-radius: 35px;
  padding: 8px;
  box-shadow: 
    0 0 0 2px #4a5568,
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(-5px) rotate(-0.5deg); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 27px;
  overflow: hidden;
  position: relative;
}

.screen-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* App Interface */
.app-header {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: white;
  margin-bottom: 0.5rem;
}

.indicators i {
  margin-left: 0.25rem;
}

.app-title {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 600;
}

.app-logo {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  filter: none;
}

.dashboard-preview {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: cardPulse 3s ease-in-out infinite;
}

.stat-card.active {
  background: rgba(86, 184, 230, 0.9);
  color: white;
  animation-delay: 0.5s;
}

@keyframes cardPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.stat-card h5 {
  font-size: 0.75rem;
  margin: 0 0 0.25rem;
  opacity: 0.8;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.stat-card small {
  font-size: 0.7rem;
  opacity: 0.7;
}

.activity-feed {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 0.75rem;
  flex: 1;
}

.activity-item {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  animation: slideIn 1s ease-out;
}

.activity-item:nth-child(2) { animation-delay: 0.2s; }
.activity-item:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.activity-dot.green { background: #10b981; }
.activity-dot.blue { background: #3b82f6; }
.activity-dot.orange { background: #f59e0b; }

/* CTA Section */
.features-cta {
  background: var(--features-secondary);
  padding: 80px 0;
  position: relative;
}

.features-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(86, 184, 230, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.features-cta h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.features-cta p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-buttons .btn-primary {
  background: var(--features-primary);
  border-color: var(--features-primary);
}

.cta-buttons .btn-primary:hover {
  background: white;
  border-color: white;
  color: var(--features-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(86, 184, 230, 0.3);
}

.cta-buttons .btn-outline-primary {
  background: transparent;
  border-color: white;
  color: white;
}

.cta-buttons .btn-outline-primary:hover {
  background: white;
  border-color: white;
  color: var(--features-secondary);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .features-title {
    font-size: 3rem;
  }
  
  .phone-frame {
    width: 280px;
    height: 560px;
  }
}

@media (max-width: 992px) {
  .features-background {
    padding: 80px 0;
  }
  
  .features-title {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .phone-mockup {
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .features-title {
    font-size: 2rem;
  }
  
  .features-subtitle {
    font-size: 1.125rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .phone-frame {
    width: 240px;
    height: 480px;
  }
  
  .features-cta h3 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 250px;
  }
}

@media (max-width: 480px) {
  .features-background {
    padding: 60px 0;
  }
  
  .features-title {
    font-size: 1.75rem;
  }
  
  .features-cta {
    padding: 60px 0;
  }
  
  .features-cta h3 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Software Page Styles
--------------------------------------------------------------*/

.page-software {
  padding-top: 90px !important;
}

/* Software Hero Section */
.software-hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

/* Desktop-specific padding adjustment */
@media (min-width: 1200px) {
  .software-hero {
    padding: 160px 0 120px 0;
  }
}

.software-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(86, 184, 230, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(41, 72, 106, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.software-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--features-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.software-hero .hero-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Desktop-specific spacing */
@media (min-width: 1200px) {
  .software-hero .hero-subtitle {
    margin-bottom: 3rem;
  }
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* Desktop-specific spacing */
@media (min-width: 1200px) {
  .hero-stats {
    margin-bottom: 3.5rem;
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--features-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(86, 184, 230, 0.3);
}

/* Software Preview */
.software-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mockup {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.mockup-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.mockup-title {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.mockup-logo {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  filter: brightness(0) invert(1);
}

.mockup-content {
  padding: 2rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.dashboard-card h6 {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.dashboard-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--features-primary);
}

.dashboard-chart {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.chart-header h6 {
  color: #64748b;
  margin-bottom: 1rem;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  height: 80px;
}

.chart-bar {
  background: linear-gradient(135deg, var(--features-primary) 0%, var(--features-secondary) 100%);
  border-radius: 4px 4px 0 0;
  flex: 1;
  min-height: 20px;
  animation: chartGrow 2s ease-out;
}

@keyframes chartGrow {
  from { height: 0; }
  to { height: var(--height, 50%); }
}

/* Software Features */
.software-features {
  padding: 0;
  background: white;
  position: relative;
}

.feature-section {
  position: relative;
  margin: 0;
  padding: 0;
}

/* Alternierende Hintergründe - Full Width */
.feature-section-white {
  background: white;
  padding: 100px 0;
  position: relative;
  width: 100%;
}

.feature-section-gray {
  background: #f8fafc;
  padding: 100px 0;
  position: relative;
  width: 100%;
}

/* Nahtlose Übergänge ohne sichtbare Trenner */
.feature-section-white + .feature-section-gray {
  margin-top: -1px;
}

.feature-section-gray + .feature-section-white {
  margin-top: -1px;
}

/* Schräge Übergänge - subtiler und nahtloser */
.feature-section-white::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(2deg, #f8fafc 0%, white 100%);
  z-index: 1;
}

.feature-section-gray::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(2deg, white 0%, #f8fafc 100%);
  z-index: 1;
}

/* Erste Section hat keinen oberen Übergang */
.feature-section:first-child::before {
  display: none;
}

/* Content über den Übergängen positionieren */
.feature-section .container {
  position: relative;
  z-index: 2;
}

.feature-content .feature-icon {
  width: 80px;
  height: 80px;
  background: var(--features-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.feature-content .feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--features-secondary);
  margin-bottom: 1.5rem;
}

.feature-content p {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #64748b;
}

.feature-list i {
  color: var(--features-primary);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* Feature Images */
.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contract Preview */
.contract-preview {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
}

.contract-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contract-header h6 {
  color: var(--features-secondary);
  font-weight: 600;
}

.status.active {
  background: rgba(86, 184, 230, 0.1);
  color: var(--features-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

.contract-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contract-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.contract-info h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--features-secondary);
  margin-bottom: 0.25rem;
}

.contract-info span {
  font-size: 0.75rem;
  color: #64748b;
}

.contract-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.contract-status.green {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.contract-status.orange {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* Invoice Preview */
.invoice-preview {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.invoice-header h6 {
  color: var(--features-secondary);
  font-weight: 600;
}

.total-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--features-primary);
}

.invoice-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 20px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--features-primary);
  color: white;
  border-color: var(--features-primary);
}

.invoice-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.invoice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.invoice-info h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--features-secondary);
  margin-bottom: 0.25rem;
}

.invoice-info span {
  font-size: 0.75rem;
  color: #64748b;
}

.invoice-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amount {
  font-weight: 600;
  color: var(--features-secondary);
}

.status.paid {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
}

.status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
}

.download-btn {
  color: var(--features-primary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.download-btn:hover {
  color: var(--features-secondary);
}

/* Analytics Preview */
.analytics-preview {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.analytics-header h6 {
  color: var(--features-secondary);
  font-weight: 600;
}

.update-time {
  font-size: 0.75rem;
  color: #64748b;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.metric-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.metric-card h6 {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--features-primary);
  margin-bottom: 0.5rem;
}

.metric-trend {
  font-size: 0.875rem;
  font-weight: 600;
}

.metric-trend.up {
  color: #059669;
}

/* Mobile Showcase */
.mobile-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-demo {
  position: relative;
}

.phone-frame-demo {
  width: 200px;
  height: 400px;
  background: linear-gradient(145deg, #2d3748, #1a202c);
  border-radius: 25px;
  padding: 6px;
  box-shadow: 
    0 0 0 2px #4a5568,
    0 15px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen-demo {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 19px;
  overflow: hidden;
}

.app-interface {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.app-header-demo {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.app-logo-demo {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  filter: brightness(0) invert(1);
}

.quick-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.action-btn {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  flex: 1;
  font-size: 0.75rem;
  color: var(--features-secondary);
}

.action-btn i {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--features-primary);
}

.app-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1rem;
}

.task-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--features-secondary);
}

.task-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.task-status.completed {
  background: #10b981;
}

.task-status.active {
  background: #f59e0b;
}

/* Integration Section */
.integration-section {
  padding: 120px 0;
  background: #f8fafc;
}

.integration-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--features-secondary);
  margin-bottom: 1.5rem;
}

.integration-section p {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 4rem;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.integration-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.integration-item:hover {
  transform: translateY(-5px);
}

.integration-icon {
  width: 60px;
  height: 60px;
  background: var(--features-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.integration-icon i {
  font-size: 1.5rem;
  color: white;
}

.integration-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--features-secondary);
  margin-bottom: 0.75rem;
}

.integration-item p {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
}

/* Software CTA */
.software-cta {
  background: var(--features-secondary);
  padding: 120px 0;
  position: relative;
}

.software-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(86, 184, 230, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.software-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.software-cta p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-actions .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-actions .btn-primary {
  background: var(--features-primary);
  border-color: var(--features-primary);
}

.cta-actions .btn-primary:hover {
  background: white;
  border-color: white;
  color: var(--features-primary);
  transform: translateY(-2px);
}

.cta-actions .btn-outline-light:hover {
  transform: translateY(-2px);
}

.cta-info {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design for Software Page */
@media (max-width: 992px) {
  .software-hero {
    padding: 80px 0;
  }
  
  .software-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .software-features {
    padding: 0;
  }
  
  .feature-section-white,
  .feature-section-gray {
    padding: 80px 0;
  }
  
  /* Reduzierte Übergang-Höhe auf Tablet/Mobile */
  .feature-section-white::before,
  .feature-section-gray::before {
    height: 30px;
    top: -30px;
    background: linear-gradient(1deg, #f8fafc 0%, white 100%);
  }
  
  .feature-section-gray::before {
    background: linear-gradient(1deg, white 0%, #f8fafc 100%);
  }
  
  .integration-section {
    padding: 80px 0;
  }
  
  .software-cta {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .software-hero .hero-title {
    font-size: 2rem;
  }
  
  .software-hero .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 250px;
  }
  
  .feature-content h3 {
    font-size: 1.5rem;
  }
  
  .feature-content p {
    font-size: 1rem;
  }
  
  .feature-section-white,
  .feature-section-gray {
    padding: 60px 0;
  }
  
  /* Weitere Reduzierung der Übergänge auf Mobile */
  .feature-section-white::before,
  .feature-section-gray::before {
    height: 20px;
    top: -20px;
    background: linear-gradient(0.5deg, #f8fafc 0%, white 100%);
  }
  
  .feature-section-gray::before {
    background: linear-gradient(0.5deg, white 0%, #f8fafc 100%);
  }
  
  .integration-section h2 {
    font-size: 2rem;
  }
  
  .software-cta h2 {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 250px;
  }
}

/* TABLET */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  html body.page-index {
    padding-top: 85px !important;
  }
  
  html body.page-index section#hero.hero.hero-modern,
  html body.page-index #hero.hero.hero-modern,
  html body.page-index .hero.hero-modern {
    min-height: calc(100vh - 85px) !important;
  }
}

/* DESKTOP UND GRÖSSERE BILDSCHIRME */
@media only screen and (min-width: 1200px) {
  html body.page-index {
    padding-top: 90px !important;
  }
  
  html body.page-index section#hero.hero.hero-modern,
  html body.page-index #hero.hero.hero-modern,
  html body.page-index .hero.hero-modern {
    min-height: calc(100vh - 90px) !important;
  }
}

/* BACKUP REGELN - Falls nichts anderes funktioniert */
body {
  padding-top: 90px !important;
}

#hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@media (max-width: 767px) {
  body {
    padding-top: 70px !important;
  }
}

/* Hauptinhalt */
#main {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/*--------------------------------------------------------------
# Modern Header Redesign
--------------------------------------------------------------*/
.header {
  background: linear-gradient(135deg, rgba(86, 184, 230, 0.1), rgba(27, 47, 69, 0.95)) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  height: 90px !important;
  z-index: 9999 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.header.sticked {
  background: linear-gradient(135deg, rgba(86, 184, 230, 0.15), rgba(27, 47, 69, 0.98)) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
  height: 80px !important;
}

/* Container Layout */
.header .container-fluid {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 2rem !important;
  max-width: 100% !important;
}

/* Logo Styling */
.header .logo {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  z-index: 10 !important;
}

.header .logo img {
  max-height: 75px !important;
  width: auto !important;
  transition: all 0.3s ease !important;
}

.header .logo:hover img {
  filter: brightness(1.3) scale(1.05) !important;
}

.header .logo h1 {
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  color: white !important;
  margin: 0 !important;
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/*--------------------------------------------------------------
# Trust Badges - Redesigned
--------------------------------------------------------------*/
.navbar-badges {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-right: 2rem !important;
}

.nav-badge {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.85rem !important;
  color: white !important;
  font-weight: 500 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.nav-badge::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.5s ease;
}

.nav-badge:hover::before {
  left: 100%;
}

.nav-badge:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(86, 184, 230, 0.5) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.nav-badge i {
  margin-right: 0.5rem !important;
  font-size: 1rem !important;
  color: #56b8e6 !important;
}

/*--------------------------------------------------------------
# Modern Navigation
--------------------------------------------------------------*/
.navbar {
  display: flex !important;
  align-items: center !important;
  z-index: 5 !important;
}

.navbar ul {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.navbar ul li {
  list-style: none !important;
  position: relative !important;
}

.navbar ul li a {
  color: rgba(236, 240, 245, 0.9) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  /*text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;*/
}

.navbar ul li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(86, 184, 230, 0.2), rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.navbar ul li a:hover::before,
.navbar ul li a.active::before {
  opacity: 1;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: rgba(27, 47, 69, 1) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.navbar ul li a.active {
  background: rgba(86, 184, 230, 0.25) !important;
  border: 1px solid rgba(86, 184, 230, 0.3) !important;
  color: rgba(27, 47, 69, 1) !important;
}

/*--------------------------------------------------------------
# Dropdown Menu Styles
--------------------------------------------------------------*/
.navbar ul li.dropdown {
  position: relative !important;
}

.navbar ul li.dropdown > a {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.navbar ul li.dropdown .dropdown-indicator {
  font-size: 0.8rem !important;
  transition: transform 0.3s ease !important;
}

.navbar ul li.dropdown:hover .dropdown-indicator {
  transform: rotate(180deg) !important;
}

.navbar ul li.dropdown ul {
  position: fixed !important;
  top: 90px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  background: linear-gradient(135deg, rgba(27, 47, 69, 1), rgba(86, 184, 230, 0.6)) !important;
  backdrop-filter: blur(40px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3) !important;
  padding: 3rem 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-20px) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 999 !important;
}

.navbar ul li.dropdown ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 47, 69, 0.95) !important;
  z-index: -1;
}

.navbar ul li.dropdown:hover ul {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Mega Dropdown Container */
.navbar ul li.dropdown ul::after {
  content: "";
  display: block;
  clear: both;
}

/* Mega Dropdown Content */
.mega-dropdown-container {
  display: flex !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  gap: 4rem !important;
  padding: 0 2rem !important;
}

/* Left Info Section */
.mega-dropdown-info {
  flex: 1 !important;
  max-width: 350px !important;
}

.mega-dropdown-info h3 {
  color: white !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  font-family: 'Montserrat', sans-serif !important;
}

.mega-dropdown-info p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
}

.mega-dropdown-info .info-badge {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(86, 184, 230, 0.2) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 25px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  border: 1px solid rgba(86, 184, 230, 0.3) !important;
}

.mega-dropdown-info .info-badge i {
  margin-right: 0.5rem !important;
  color: #56b8e6 !important;
}

/* Right Services Grid */
.mega-dropdown-services {
  flex: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.2rem !important;
}

.service-mega-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.2rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  color: white !important;
  min-height: 140px !important;
}

.service-mega-item:hover {
  background: rgba(86, 184, 230, 0.2) !important;
  border-color: rgba(86, 184, 230, 0.4) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  color: white !important;
  text-decoration: none !important;
}

.service-mega-icon {
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, #56b8e6, #1b2f45) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 0.8rem auto !important;
  flex-shrink: 0 !important;
}

.service-mega-icon i {
  font-size: 1.3rem !important;
  color: white !important;
}

.service-mega-content h4 {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.3rem 0 !important;
  color: white !important;
  line-height: 1.2 !important;
}

.service-mega-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.service-mega-content p {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  display: none !important;
}

/* Legacy dropdown items - hide them */
.navbar ul li.dropdown ul li {
  display: none !important;
}

/*--------------------------------------------------------------
# Mega Dropdown Responsive
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .mega-dropdown-container {
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 1rem !important;
  }
  
  .mega-dropdown-services {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .service-mega-item {
    padding: 1rem !important;
    min-height: 120px !important;
  }
  
  .service-mega-icon {
    width: 45px !important;
    height: 45px !important;
  }
  
  .service-mega-icon i {
    font-size: 1.1rem !important;
  }
  
  .service-mega-content h4 {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 991px) {
  .mega-dropdown-services {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .navbar ul li.dropdown ul {
    display: none !important;
  }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  color: white !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  display: none !important;
  transition: all 0.3s ease !important;
  padding: 0.5rem !important;
  border: none !important;
  background: transparent !important;
  position: absolute !important;
  right: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10000 !important;
}

.mobile-nav-toggle:hover {
  color: #56b8e6 !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* Standard-Zustand: Nur Burger-Icon sichtbar, X-Icon versteckt */
.mobile-nav-show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-nav-hide {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Mobile Navigation aktiv - X-Icon zeigen, Burger-Icon verstecken */
body.mobile-nav-active .mobile-nav-show {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body.mobile-nav-active .mobile-nav-hide {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Desktop: Burger-Icon komplett ausblenden */
@media (min-width: 1280px) {
  .mobile-nav-toggle {
    display: none !important;
  }
}

/* Mobile: Burger-Icon anzeigen */
@media (max-width: 1279px) {
  .mobile-nav-toggle {
    display: block !important;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation Styles
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar-badges {
    display: none !important;
  }
  
  .mobile-nav-toggle {
    display: block !important;
  }
  
  .navbar {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 400px !important;
    bottom: 0 !important;
    transition: 0.3s ease-in-out !important;
    z-index: 9997 !important;
    background: linear-gradient(135deg, rgba(27, 47, 69, 0.98), rgba(86, 184, 230, 0.1)) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .navbar ul {
    position: absolute !important;
    inset: 0 !important;
    padding: 90px 0 20px 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    transition: 0.3s !important;
    z-index: 9998 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    height: 100vh !important;
    box-sizing: border-box !important;
  }
  
  .navbar ul li {
    list-style: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-shrink: 0 !important;
  }
  
  .navbar ul li:last-child {
    border-bottom: none !important;
  }
  
  .navbar ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 0 !important;
    text-shadow: none !important;
    background: none !important;
    border: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    min-height: 60px !important;
    box-sizing: border-box !important;
  }
  
  .navbar ul li a::before {
    display: none !important;
  }
  
  .navbar ul li a:hover {
    background: rgba(86, 184, 230, 0.2) !important;
    color: white !important;
    transform: translateX(10px) !important;
    box-shadow: none !important;
  }
  
  .navbar ul li a.active {
    background: rgba(86, 184, 230, 0.3) !important;
    color: white !important;
    border: none !important;
    position: relative !important;
  }
  
  .navbar ul li a.active::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #56b8e6;
  }
  
  /* Dropdown Styles für Mobile */
  .navbar ul li.dropdown > a {
    position: relative !important;
  }
  
  .navbar ul li.dropdown .dropdown-indicator {
    position: absolute !important;
    right: 2rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease !important;
  }
  
  .navbar ul li.dropdown ul {
    display: none !important;
    background: rgba(27, 47, 69, 0.9) !important;
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .navbar ul li.dropdown ul.dropdown-active {
    display: block !important;
  }
  
  /* Mega Dropdown Mobile Anpassungen */
  .navbar ul li.dropdown .mega-dropdown-container {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  
  .navbar ul li.dropdown .mega-dropdown-info {
    display: none !important; /* Info-Sektion in Mobile ausblenden */
  }
  
  .navbar ul li.dropdown .mega-dropdown-services {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
  }
  
  .navbar ul li.dropdown .service-mega-item {
    display: flex !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    background: rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .navbar ul li.dropdown .service-mega-item:hover {
    background: rgba(86, 184, 230, 0.15) !important;
    transform: translateX(5px) !important;
    color: white !important;
  }
  
  .navbar ul li.dropdown .service-mega-item:last-child {
    border-bottom: none !important;
  }
  
  .navbar ul li.dropdown .service-mega-icon {
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #56b8e6, #1b2f45) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 1rem !important;
    flex-shrink: 0 !important;
  }
  
  .navbar ul li.dropdown .service-mega-icon i {
    font-size: 1.2rem !important;
    color: white !important;
  }
  
  .navbar ul li.dropdown .service-mega-content {
    flex: 1 !important;
  }
  
  .navbar ul li.dropdown .service-mega-content h4 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .navbar ul li.dropdown .service-mega-item:hover .service-mega-content h4 {
    color: white !important;
  }
  
  /* Fallback für normale Dropdown-Links falls keine Mega-Dropdown-Struktur */
  .navbar ul li.dropdown ul li a {
    padding: 0.8rem 3rem !important;
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(0, 0, 0, 0.1) !important;
    min-height: 50px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.3 !important;
  }
  
  .navbar ul li.dropdown ul li a:hover {
    background: rgba(86, 184, 230, 0.15) !important;
    transform: translateX(5px) !important;
  }
  
  .mobile-nav-active .navbar {
    right: 0 !important;
  }
}

/* Responsive adjustments für sehr kleine Bildschirme */
@media (max-width: 768px) {
  .header .container-fluid {
    padding: 0 1rem !important;
  }
  
  .header .logo h1 {
    font-size: 1.5rem !important;
  }
  
  .header .logo img {
    max-height: 65px !important;
  }
  
  .navbar {
    max-width: 320px !important;
  }
  
  .navbar ul {
    padding: 80px 0 15px 0 !important;
  }
  
  .navbar ul li a {
    padding: 0.9rem 1.5rem !important;
    font-size: 1rem !important;
    min-height: 55px !important;
  }
  
  .navbar ul li.dropdown ul li a {
    padding: 0.7rem 2.5rem !important;
    font-size: 0.9rem !important;
    min-height: 45px !important;
  }
  
  /* Mobile Services Dropdown Anpassungen */
  .navbar ul li.dropdown .service-mega-item {
    padding: 0.8rem 1.5rem !important;
  }
  
  .navbar ul li.dropdown .service-mega-icon {
    width: 35px !important;
    height: 35px !important;
    margin-right: 0.8rem !important;
  }
  
  .navbar ul li.dropdown .service-mega-icon i {
    font-size: 1rem !important;
  }
  
  .navbar ul li.dropdown .service-mega-content h4 {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .navbar {
    max-width: 280px !important;
  }
  
  .navbar ul {
    padding: 75px 0 10px 0 !important;
  }
  
  .navbar ul li a {
    padding: 0.8rem 1.2rem !important;
    font-size: 0.95rem !important;
    min-height: 50px !important;
  }
  
  .navbar ul li.dropdown ul li a {
    padding: 0.6rem 2rem !important;
    font-size: 0.85rem !important;
    min-height: 40px !important;
  }
  
  /* Mobile Services Dropdown für sehr kleine Bildschirme */
  .navbar ul li.dropdown .service-mega-item {
    padding: 0.7rem 1.2rem !important;
  }
  
  .navbar ul li.dropdown .service-mega-icon {
    width: 32px !important;
    height: 32px !important;
    margin-right: 0.7rem !important;
  }
  
  .navbar ul li.dropdown .service-mega-icon i {
    font-size: 0.9rem !important;
  }
  
  .navbar ul li.dropdown .service-mega-content h4 {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
  }
}

/*--------------------------------------------------------------
# Hero Form Mobile Fixes
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  .hero-form-container {
    position: relative !important;
    margin: 2rem 1rem !important;
    max-width: 400px !important;
    width: calc(100% - 2rem) !important;
  }
  
  .form-header h3 {
    font-size: 1.3rem !important;
  }
}

/*--------------------------------------------------------------
# Hero Fullscreen Section (Legacy)
--------------------------------------------------------------*/
#hero.hero-full {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-new-bg.jpg') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
#hero.hero-full h1 {
  font-size: calc(2.5rem + 2vw);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}
#hero.hero-full p.lead {
  font-size: 1.35rem;
  max-width: 700px;
  margin-bottom: 2rem;
}
#hero.hero-full .btn-get-started {
  background: linear-gradient(135deg, #56b8e6, #5fd6ff);
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
#hero.hero-full .btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
#hero.hero-full .scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
  60% { transform: translate(-50%, -4px); }
}

/*--------------------------------------------------------------
# Hero Diagonal Section
--------------------------------------------------------------*/
#hero.hero-diagonal {
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  background-color: #1b2f45;
  clip-path: none;
}

#hero.hero-diagonal .container-fluid {
  padding: 0;
}

#hero.hero-diagonal .row {
  margin: 0;
}

#hero.hero-diagonal .content-column {
  background-color: #1b2f45;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6rem;
  max-width: 600px;
  min-height: 60vh;
}

#hero.hero-diagonal .image-column {
  display: none; /* image handled via ::after pseudo-element */
}

/* Angled image half */
#hero.hero-diagonal::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('../img/hero-new-bg.jpg') right center / cover no-repeat;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* Disable default hero overlay and background from main.css for diagonal variant */
.hero.hero-diagonal::before {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #hero.hero-diagonal {
    padding-top: var(--header-height);
  }
  #hero.hero-diagonal .row {
    flex-direction: column-reverse;
  }
  #hero.hero-diagonal .image-column {
    clip-path: none;
    min-height: 40vh;
  }
  #hero.hero-diagonal .content-column {
    padding: 2rem;
  }
}

/* Floating Achievement Badges */
.floating-badges {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.badge-floating {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  animation: floatBadge 4s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.badge-floating:nth-child(1) {
  animation-delay: 0s;
}

.badge-floating:nth-child(2) {
  animation-delay: 1.5s;
}

.badge-floating:nth-child(3) {
  animation-delay: 3s;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
}
  33% {
    transform: translateY(-8px) rotate(1deg);
  }
  66% {
    transform: translateY(4px) rotate(-1deg);
  }
}

.badge-floating i {
  font-size: 1.1rem;
  color: #56b8e6;
}

/* Quality Indicators - Höher positioniert um Überlappung zu vermeiden */
.quality-indicators {
  position: absolute;
  bottom: 5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quality-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  flex: 1;
  min-width: 180px;
  transition: all 0.3s ease;
}

.quality-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.quality-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #56b8e6, #5fd6ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quality-icon i {
  font-size: 1rem;
  color: white;
}

.quality-text strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.quality-text small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for new elements */
@media (max-width: 991.98px) {
  .badge-floating {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  
  .quality-indicators {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  
  .quality-item {
    min-width: 150px;
    padding: 0.75rem;
  }
  
  .quality-icon {
    width: 35px;
    height: 35px;
  }
  
  .quality-icon i {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .badge-floating {
    display: none; /* Hide floating badges on very small screens */
  }

  .quality-indicators {
    flex-direction: column;
    gap: 0.5rem;
  }

  .quality-item {
    min-width: auto;
  }
}

/* ===========================================
   MODERNISIERTE NAVBAR STYLES
=========================================== */

/* Top Bar Styles */
.top-bar {
  background: rgba(13, 110, 253, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 0;
  font-size: 0.85rem;
  color: white;
  z-index: 1001;
}

.top-bar .info-item {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
}

.top-bar .info-item i {
  color: #fff;
  font-size: 0.9rem;
}

.top-bar .badge-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: white;
  display: flex;
  align-items: center;
}

.top-bar .badge-item i {
  color: #ffc107;
}

/* Main Navigation */
.main-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

/* Legacy header styles removed - using modern header styles above */

/* ===========================================
   VEREINFACHTE HERO STYLES
=========================================== */

/* Hero Section Updates */
.hero-modern {
  position: relative;
  margin-top: 0 !important; /* Kein margin-top da Header fixed ist */
  padding-top: 0 !important; /* Kein zusätzliches padding-top */
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f0f4f8 100%);
  overflow: hidden;
  height: 100vh !important;
  min-height: 100vh !important;
}

/* Entferne überflüssige Elemente */
.hero-services,
.hero-trust,
.floating-badges,
.quality-indicators {
  display: none !important;
}

/* Verbesserte Stats */
.hero-stats {
  position: absolute;
  bottom: 6rem !important;
  right: 2rem;
  display: flex;
  gap: 2rem;
}

.hero-stats .stat-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #0d6efd;
  line-height: 1;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  background: rgba(13, 110, 253, 0.9);
  padding: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.scroll-link:hover {
  background: rgba(13, 110, 253, 1);
  transform: translateY(-3px);
  color: white;
}

.scroll-link span {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.scroll-link i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Mobile Anpassungen für Hero */
@media (max-width: 768px) {
  .hero-modern {
    margin-top: 80px !important;
    height: calc(100vh - 80px) !important;
  }
  
  .hero-stats {
    bottom: 4rem !important;
    right: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-stats .stat-item {
    padding: 1rem;
  }
  
  .scroll-indicator {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Location Autocomplete Styles */
.form-group {
  position: relative;
}

.location-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  background: #ffffff;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background-color: #f8f9fa;
  border-left: 3px solid var(--accent-color);
}

.suggestion-item.loading {
  color: #666;
  cursor: default;
  font-style: italic;
}

.suggestion-item.loading:hover {
  background-color: #ffffff;
  border-left: none;
}

.suggestion-item i {
  color: var(--accent-color);
  font-size: 16px;
  min-width: 16px;
}

.suggestion-item.loading i {
  color: #666;
}

.suggestion-content {
  flex: 1;
  min-width: 0;
}

.suggestion-main {
  font-weight: 500;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-sub {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Loading spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .location-suggestions {
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .suggestion-item {
    padding: 10px 12px;
    gap: 10px;
  }
  
  .suggestion-main {
    font-size: 13px;
  }
  
  .suggestion-sub {
    font-size: 11px;
  }
}

/* Input field focus state enhancement */
#location-input:focus {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: #e0e0e0;
}

#location-input:focus + .location-suggestions {
  border-top: 1px solid var(--accent-color);
}

/* Ensure proper z-index for form container */
.hero-form-container {
  position: relative;
  z-index: 1;
}

/* Dark mode support for autocomplete */
@media (prefers-color-scheme: dark) {
  .location-suggestions {
    background: #2d3748;
    border-color: #4a5568;
  }
  
  .suggestion-item {
    background: #2d3748;
    border-bottom-color: #4a5568;
    color: #e2e8f0;
  }
  
  .suggestion-item:hover,
  .suggestion-item.active {
    background-color: #374151;
  }
  
  .suggestion-main {
    color: #e2e8f0;
  }
  
  .suggestion-sub {
    color: #a0aec0;
  }
  
  .suggestion-item.loading {
    color: #a0aec0;
  }
  
  .suggestion-item.loading:hover {
    background-color: #2d3748;
  }
}

/*--------------------------------------------------------------
# Hero Form Styling
--------------------------------------------------------------*/
.hero-form-container {
  position: relative;
  z-index: 10;
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1b2f45;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.form-header p {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.hero-form .form-group {
  margin-bottom: 1.5rem;
}

.hero-form label {
  display: block;
  font-weight: 600;
  color: #1b2f45;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.hero-form label i {
  color: #56b8e6;
}

.hero-form .form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid rgba(86, 184, 230, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-form .form-control:focus {
  outline: none;
  border-color: #56b8e6;
  box-shadow: 0 0 0 4px rgba(86, 184, 230, 0.15), 0 4px 20px rgba(86, 184, 230, 0.1);
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}

.hero-form .form-control:hover {
  border-color: rgba(86, 184, 230, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/*--------------------------------------------------------------
# Multi-Select Services Styling
--------------------------------------------------------------*/
.selected-services-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin-bottom: 1rem !important;
  min-height: 60px !important;
  height: auto !important;
  max-height: 140px !important;
  overflow-y: auto !important;
  padding: 0.8rem !important;
  background: rgba(248, 249, 250, 0.95) !important;
  border-radius: 12px !important;
  border: 2px solid rgba(86, 184, 230, 0.15) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.selected-services-container:empty::before {
  content: "Keine Dienstleistungen ausgewählt" !important;
  color: #6c757d !important;
  font-size: 0.9rem !important;
  font-style: italic !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
}

.selected-services-container:hover {
  border-color: rgba(86, 184, 230, 0.3) !important;
  box-shadow: 0 2px 8px rgba(86, 184, 230, 0.1) !important;
}

/* Custom Scrollbar */
.selected-services-container::-webkit-scrollbar {
  width: 6px !important;
}

.selected-services-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05) !important;
  border-radius: 3px !important;
}

.selected-services-container::-webkit-scrollbar-thumb {
  background: rgba(86, 184, 230, 0.3) !important;
  border-radius: 3px !important;
}

.selected-services-container::-webkit-scrollbar-thumb:hover {
  background: rgba(86, 184, 230, 0.5) !important;
}

.service-badge {
  display: inline-flex !important;
  align-items: center !important;
  background: linear-gradient(135deg, #56b8e6, #1b2f45) !important;
  color: white !important;
  padding: 0.4rem 0.7rem !important;
  border-radius: 25px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  gap: 0.4rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 3px 12px rgba(86, 184, 230, 0.3) !important;
  white-space: nowrap !important;
  margin: 0.2rem 0 !important;
}

.service-badge:hover {
  background: linear-gradient(135deg, #1b2f45, #56b8e6) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.service-badge .badge-text {
  margin-right: 0.3rem !important;
}

.service-badge .remove-btn,
.service-badge button[type="button"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  background: rgba(220, 53, 69, 0.8) !important;
  border: none !important;
  border-radius: 50% !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin-left: 0.3rem !important;
  line-height: 1 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  outline: none !important;
}

.service-badge .remove-btn i,
.service-badge button[type="button"] i {
  font-size: 12px !important;
  color: white !important;
}

.service-badge .remove-btn:hover,
.service-badge button[type="button"]:hover {
  background: rgba(220, 53, 69, 1) !important;
  transform: scale(1.15) !important;
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4) !important;
}

.service-badge .remove-btn:active,
.service-badge button[type="button"]:active {
  transform: scale(0.95) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.service-badge .remove-btn:focus,
.service-badge button[type="button"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3) !important;
}

.custom-dropdown {
  position: relative !important;
}

.btn-form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #56b8e6, #1b2f45);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(86, 184, 230, 0.3);
  margin-bottom: 1rem;
}

.btn-form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(86, 184, 230, 0.4);
  background: linear-gradient(135deg, #1b2f45, #56b8e6);
}

.form-note {
  text-align: center;
}

.form-note small {
  color: #6c757d;
  font-size: 0.8rem;
}

.form-note i {
  color: #28a745;
}

/*--------------------------------------------------------------
# Modern Hero Section
--------------------------------------------------------------*/
:root {
  --header-height: 70px;
}

#hero.hero-modern {
  position: relative;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f0f4f8 100%);
  overflow: hidden;
  height: 100vh !important;
  min-height: 100vh !important;
}

#hero.hero-modern::after {
  display: none !important;
}

#hero.hero-modern::before {
  display: none !important;
}

/* Content Side Background Pattern */
#hero.hero-modern .col-lg-6:first-child {
  background: 
    linear-gradient(135deg, 
      rgba(86, 184, 230, 0.1) 0%, 
      rgba(27, 47, 69, 0.05) 50%, 
      rgba(86, 184, 230, 0.08) 100%
    ),
    radial-gradient(circle at 20% 20%, rgba(86, 184, 230, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(27, 47, 69, 0.1) 0%, transparent 50%);
  position: relative;
}

/* Animated Background Elements */
#hero.hero-modern .col-lg-6:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(86, 184, 230, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 75% 75%, rgba(27, 47, 69, 0.1) 0%, transparent 40%);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

.hero-content {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.5rem;
  position: relative;
  z-index: 2;
  height: calc(100vh - var(--header-height) - 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
}

.hero-badge .badge-text {
  background: linear-gradient(135deg, #56b8e6, #1b2f45);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(86, 184, 230, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(86, 184, 230, 0.3);
  }
  50% {
    box-shadow: 0 6px 20px rgba(86, 184, 230, 0.5);
  }
}

.hero-title {
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #1b2f45 !important;
  margin-bottom: 1.5rem !important;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  letter-spacing: -0.02em !important;
}

.hero-title .text-primary {
  background: linear-gradient(135deg, #56b8e6, #1b2f45) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
}

.hero-subtitle {
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  color: #495057 !important;
  margin-bottom: 5rem !important;
  font-weight: 400 !important;
  max-width: 90% !important;
}

/* Service Highlights */
.hero-services {
  margin-bottom: 2rem !important;
  margin-top: 1rem !important;
}

.service-highlight {
  display: flex !important;
  align-items: center !important;
  padding: 1rem !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: 100% !important;
  border: 1px solid rgba(86, 184, 230, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
}

.service-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(86, 184, 230, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-highlight:hover::before {
  left: 100%;
}

.service-highlight:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18) !important;
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(86, 184, 230, 0.4) !important;
}

.service-icon {
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, #56b8e6, #1b2f45) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 1rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 6px 20px rgba(86, 184, 230, 0.4) !important;
  transition: all 0.3s ease !important;
}

.service-highlight:hover .service-icon {
  transform: rotate(5deg) scale(1.1) !important;
  box-shadow: 0 8px 24px rgba(86, 184, 230, 0.6) !important;
}

.service-icon i {
  font-size: 1.4rem !important;
  color: white !important;
}

.service-content h6 {
  margin-bottom: 0.3rem !important;
  font-weight: 700 !important;
  color: #1b2f45 !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
}

.service-content small {
  color: #6c757d !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

/* Hero Actions - Verstärkte Selektoren */
.hero-actions {
  margin-bottom: 1rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  align-items: center !important;
}

#hero .hero-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

.hero-actions a.btn,
.hero-actions .btn {
  border-radius: 50px !important;
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.hero-actions a.btn::before,
.hero-actions .btn::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.5s;
}

.hero-actions a.btn:hover::before,
.hero-actions .btn:hover::before {
  left: 100%;
}

.hero-actions a.btn-primary,
.hero-actions .btn-primary {
  background: linear-gradient(135deg, #56b8e6, #1b2f45) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(86, 184, 230, 0.4) !important;
  color: white !important;
}

.hero-actions a.btn-primary:hover,
.hero-actions .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(86, 184, 230, 0.5) !important;
  color: white !important;
}

.hero-actions a.btn-outline-primary,
.hero-actions .btn-outline-primary {
  border: 2px solid #56b8e6 !important;
  color: #56b8e6 !important;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px) !important;
}

.hero-actions a.btn-outline-primary:hover,
.hero-actions .btn-outline-primary:hover {
  background: #56b8e6 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(86, 184, 230, 0.3) !important;
}

/* Trust Indicators - Kompakter */
.hero-trust {
  margin-top: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-item i {
  font-size: 1.1rem;
}

.trust-item small {
  color: #495057;
  font-weight: 500;
  font-size: 0.8rem;
}

/* Hero Image - Verbessert */
.hero-image {
  position: relative;
  background: 
    linear-gradient(
      135deg,
      rgba(27, 47, 69, 0.85) 0%,
      rgba(86, 184, 230, 0.7) 50%,
      rgba(27, 47, 69, 0.8) 100%
    ), 
    url('../img/hero-new-bg.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
}

/* Floating Elements */
.hero-image::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: floatUp 3s infinite ease-in-out;
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 60%;
  right: 15%;
  width: 15px;
  height: 15px;
  background: rgba(86, 184, 230, 0.5);
  border-radius: 50%;
  animation: floatUp 4s infinite ease-in-out 1s;
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0px);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px);
    opacity: 1;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(86, 184, 230, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(27, 47, 69, 0.2) 0%, transparent 50%);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  animation: slideIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateX(50px);
}

.stat-item:nth-child(1) {
  animation-delay: 0.2s;
}

.stat-item:nth-child(2) {
  animation-delay: 0.4s;
}

.stat-item:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stat-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Scroll Indicator - Zentriert unten ohne Überlappung */
.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #1b2f45;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-down:hover {
  color: #56b8e6;
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.scroll-down i {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.scroll-down span {
  font-size: 0.8rem;
  font-weight: 500;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# Hero Layout Mobile Fixes
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  #hero.hero-modern {
    height: auto !important;
    min-height: auto !important;
    margin-top: var(--header-height) !important;
    padding-top: 2rem !important;
  }
  
  #hero.hero-modern .row {
    flex-direction: column !important;
  }
  
  #hero.hero-modern .col-lg-6:first-child {
    order: 1 !important;
    padding: 2rem 1rem !important;
  }
  
  #hero.hero-modern .col-lg-6:last-child {
    order: 2 !important;
    padding: 1rem !important;
    display: block !important;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-content {
    padding: 1rem !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .hero-image {
    min-height: 500px !important;
    height: auto !important;
    position: relative !important;
  }
  
  .hero-stats {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
    padding: 1rem !important;
  }
  
  .stat-item {
    padding: 1rem !important;
    min-width: 110px !important;
    flex: 1 !important;
  }
  
  .stat-number {
    font-size: 1.8rem !important;
  }
  
  .badge-floating {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.75rem !important;
  }
  
  .quality-indicators {
    bottom: 3rem !important;
    left: 1rem !important;
    right: 1rem !important;
  }
  
  .quality-item {
    min-width: 140px !important;
    padding: 0.6rem !important;
  }
  
  .quality-icon {
    width: 30px !important;
    height: 30px !important;
  }
  
  .quality-icon i {
    font-size: 0.9rem !important;
  }
  
  .scroll-indicator {
    bottom: 0.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-height: 70px;
  }
  
  #hero.hero-modern {
    margin-top: var(--header-height) !important;
    padding-top: 1rem !important;
  }
  
  #hero.hero-modern .col-lg-6:first-child {
    padding: 1rem 0.5rem !important;
  }
  
  #hero.hero-modern .col-lg-6:last-child {
    padding: 0.5rem !important;
    display: block !important;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
  }
  
  .hero-content {
    padding: 0.75rem !important;
    min-height: auto !important;
  }
  
  .hero-image {
    min-height: 400px !important;
  }
  
  .service-highlight {
    padding: 0.6rem !important;
  }
  
  .service-icon {
    width: 35px !important;
    height: 35px !important;
  }
  
  .service-icon i {
    font-size: 1.1rem !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .hero-actions .btn {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 0.5rem !important;
  }
  
  .stat-item {
    padding: 0.75rem !important;
    min-width: 90px !important;
  }
  
  .stat-number {
    font-size: 1.4rem !important;
  }
  
  .stat-label {
    font-size: 0.7rem !important;
  }
  
  .badge-floating {
    display: none !important; /* Hide floating badges on very small screens */
  }
  
  .quality-indicators {
    bottom: 2rem !important;
    left: 0.5rem !important;
    right: 0.5rem !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .quality-item {
    min-width: auto !important;
  }
  
  .trust-item {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.75rem !important;
  }
  
  .trust-item i {
    font-size: 1rem !important;
  }
  
  .scroll-indicator {
    bottom: 0.25rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  .scroll-down {
    padding: 0.5rem 0.75rem !important;
  }
  
  .scroll-down i {
    font-size: 1.1rem !important;
  }
  
  .scroll-down span {
    font-size: 0.7rem !important;
  }
}

/* Für mittlere Bildschirme - Buttons bleiben nebeneinander */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-actions .btn {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}

/* Für größere Tablets - Optimierte Button-Größen */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-actions .btn {
    padding: 0.625rem 1.75rem !important;
    font-size: 0.95rem !important;
  }
}

/*--------------------------------------------------------------
# Hero Fullscreen Section (Legacy)
--------------------------------------------------------------*/
#hero.hero-full {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-new-bg.jpg') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
#hero.hero-full h1 {
  font-size: calc(2.5rem + 2vw);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}
#hero.hero-full p.lead {
  font-size: 1.35rem;
  max-width: 700px;
  margin-bottom: 2rem;
}
#hero.hero-full .btn-get-started {
  background: linear-gradient(135deg, #56b8e6, #5fd6ff);
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
#hero.hero-full .btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
#hero.hero-full .scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
  60% { transform: translate(-50%, -4px); }
}

/*--------------------------------------------------------------
# Hero Diagonal Section
--------------------------------------------------------------*/
#hero.hero-diagonal {
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  background-color: #1b2f45;
  clip-path: none;
}

#hero.hero-diagonal .container-fluid {
  padding: 0;
}

#hero.hero-diagonal .row {
  margin: 0;
}

#hero.hero-diagonal .content-column {
  background-color: #1b2f45;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6rem;
  max-width: 600px;
  min-height: 60vh;
}

#hero.hero-diagonal .image-column {
  display: none; /* image handled via ::after pseudo-element */
}

/* Angled image half */
#hero.hero-diagonal::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('../img/hero-new-bg.jpg') right center / cover no-repeat;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* Disable default hero overlay and background from main.css for diagonal variant */
.hero.hero-diagonal::before {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #hero.hero-diagonal {
    padding-top: var(--header-height);
  }
  #hero.hero-diagonal .row {
    flex-direction: column-reverse;
  }
  #hero.hero-diagonal .image-column {
    clip-path: none;
    min-height: 40vh;
  }
  #hero.hero-diagonal .content-column {
    padding: 2rem;
  }
}

/* Floating Achievement Badges */
.floating-badges {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.badge-floating {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  animation: floatBadge 4s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.badge-floating:nth-child(1) {
  animation-delay: 0s;
}

.badge-floating:nth-child(2) {
  animation-delay: 1.5s;
}

.badge-floating:nth-child(3) {
  animation-delay: 3s;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
}
  33% {
    transform: translateY(-8px) rotate(1deg);
  }
  66% {
    transform: translateY(4px) rotate(-1deg);
  }
}

.badge-floating i {
  font-size: 1.1rem;
  color: #56b8e6;
}

/* Quality Indicators - Höher positioniert um Überlappung zu vermeiden */
.quality-indicators {
  position: absolute;
  bottom: 5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quality-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  flex: 1;
  min-width: 180px;
  transition: all 0.3s ease;
}

.quality-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.quality-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #56b8e6, #5fd6ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quality-icon i {
  font-size: 1rem;
  color: white;
}

.quality-text strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.quality-text small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for new elements */
@media (max-width: 991.98px) {
  .badge-floating {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  
  .quality-indicators {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  
  .quality-item {
    min-width: 150px;
    padding: 0.75rem;
  }
  
  .quality-icon {
    width: 35px;
    height: 35px;
  }
  
  .quality-icon i {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .badge-floating {
    display: none; /* Hide floating badges on very small screens */
  }

  .quality-indicators {
    flex-direction: column;
    gap: 0.5rem;
  }

  .quality-item {
    min-width: auto;
  }
}

/* Body Overflow für Mobile Navigation */
body.mobile-nav-active {
  overflow: hidden !important;
}

/* Mobile Navigation Overlay */
body.mobile-nav-active::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9996;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile Navigation Toggle */

/*--------------------------------------------------------------
# Header Layout Mobile Fixes
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, rgba(86, 184, 230, 0.15), rgba(27, 47, 69, 0.98)) !important;
    backdrop-filter: blur(10px) !important;
  }
  
  .header .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative !important;
    padding: 0 4rem 0 1rem !important; /* Platz für Burger-Icon rechts */
  }
  
  /* Logo links */
  .header .logo {
    flex: 1 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  
  /* Navbar-Badges ausblenden */
  .navbar-badges {
    display: none !important;
  }
  
  /* Navbar versteckt */
  .navbar {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 400px !important;
    bottom: 0 !important;
    transition: 0.3s ease-in-out !important;
    z-index: 9997 !important;
  }
  
  /* Body Padding für fixed header */
  body {
    padding-top: 0 !important; /* Kein padding da Hero direkt unter Header */
  }
}

/* Desktop Header */
@media (min-width: 1280px) {
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
  }
  
  .mobile-nav-toggle {
    display: none !important;
  }
  
  .navbar-badges {
    display: flex !important;
  }
  
  .header .container-fluid {
    justify-content: space-between !important;
    padding: 0 1rem !important;
  }
  
  .header .logo {
    justify-content: flex-start !important;
  }
  
  body {
    padding-top: 0 !important; /* Kein padding da Hero direkt unter Header */
  }
}

/*--------------------------------------------------------------
# Hero Actions Animation - Load on Page Load (not scroll)
--------------------------------------------------------------*/
.hero-actions-animated {
  opacity: 0;
  transform: translateY(30px);
  animation: heroActionsLoadIn 0.8s ease-out forwards;
  animation-delay: 0.4s; /* 400ms delay like original AOS */
}

@keyframes heroActionsLoadIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure the animation works even if AOS is disabled */
.hero-actions-animated.aos-init {
  opacity: 0;
  transform: translateY(30px);
  animation: heroActionsLoadIn 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

.hero-actions-animated.aos-animate {
  opacity: 1;
  transform: translateY(0);
}
