/* Custom Styles for Raccoon Facility Website */

/*--------------------------------------------------------------
# ULTIMATIVE LÖSUNG - MAXIMUM POWER CSS
--------------------------------------------------------------*/
/* ABSOLUTE SPEZIFITÄT - Floating Navbar braucht kein padding */
html body.page-index {
  padding-top: 0 !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: 0 !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: 100vh !important;
  }
}

/* SEHR KLEINE MOBILE */
@media only screen and (max-width: 480px) {
  html body.page-index {
    padding-top: 0 !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: 100vh !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 0 0;
  padding-bottom: 0 !important;
}

/* Features bündig mit Call-to-Action */
#call-to-action {
  margin-top: 0 !important;
}

#features.features-modern {
  margin: 0 !important;
  padding: 0 !important;
}

.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: 0 !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: 100vh !important;
  }
}

/* DESKTOP UND GRÖSSERE BILDSCHIRME */
@media only screen and (min-width: 1200px) {
  html body.page-index {
    padding-top: 0 !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: 100vh !important;
  }
}

/* BACKUP REGELN - Floating Navbar braucht kein padding */
body {
  padding-top: 0 !important;
  overflow-x: hidden !important;
}

html {
  overflow-x: hidden !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;

  /* Floating Navbar */
  position: fixed !important;
  top: 15px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 100px) !important;
  max-width: 1400px !important;
  border-radius: 45px !important;
  height: 80px !important;

  /* Floating Shadow */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  border: none !important;

  z-index: 9999 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}

.header.sticked {
  background: linear-gradient(135deg, rgba(86, 184, 230, 0.15), rgba(27, 47, 69, 0.98)) !important;
  top: 10px !important;
  height: 70px !important;
  width: calc(100% - 110px) !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25) !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: 65px !important;
  width: auto !important;
  transition: filter 0.5s ease-in-out, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header.sticked .logo img {
  max-height: 52px !important;
}

.header .logo:hover img {
  transform: scale(1.05) !important;
}

.header .logo h1 {
  font-size: 1.8rem !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;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header.sticked .logo h1 {
  font-size: 1.5rem !important;
}

.header .logo .logo-text {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: white !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: -0.02em !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header.sticked .logo .logo-text {
  font-size: 1.45rem !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.4rem 0.8rem !important;
  font-size: 0.8rem !important;
  color: white !important;
  font-weight: 500 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.nav-badge span {
  white-space: nowrap !important;
  font-size: 0.8rem !important;
}

.nav-badge i {
  font-size: 0.85rem !important;
  flex-shrink: 0 !important;
}

.header.sticked .nav-badge {
  padding: 0.35rem 0.75rem !important;
}

.header.sticked .nav-badge span {
  font-size: 0.75rem !important;
}

.header.sticked .nav-badge i {
  font-size: 0.8rem !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: 0.9rem !important;
  text-decoration: none !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 12px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  white-space: nowrap !important;
  /*text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;*/
}

.header.sticked .navbar ul li a {
  font-size: 0.85rem !important;
  padding: 0.45rem 0.8rem !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 {
  color: white !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.3) !important;
  border: 1px solid rgba(86, 184, 230, 0.4) !important;
  color: white !important;
}

/*--------------------------------------------------------------
# Modern Mega Dropdown - Desktop
--------------------------------------------------------------*/
.navbar ul li.dropdown {
  position: static !important;
}

/* Hide Mobile-Only Elements on Desktop */
.mobile-services-section,
.mobile-menu-links {
  display: none !important;
}

/* Show Desktop Navigation by Default */
.navbar .desktop-nav {
  display: flex !important;
}

.navbar ul li.dropdown > a {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  position: relative !important;
}

.navbar ul li.dropdown .dropdown-indicator {
  font-size: 0.7rem !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 0.8 !important;
}

.navbar ul li.dropdown:hover .dropdown-indicator {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}

/* Mega Dropdown Panel */
.navbar ul li.dropdown ul {
  position: fixed !important;
  top: 100px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  width: 95vw !important;
  max-width: 1100px !important;
  background: rgba(15, 23, 42, 0.97) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  padding: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 9998 !important;
  overflow: hidden !important;
}

.navbar ul li.dropdown ul::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(86, 184, 230, 0.5), transparent) !important;
}

.navbar ul li.dropdown:hover ul {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Mega Dropdown Content */
.mega-dropdown-container {
  display: flex !important;
  padding: 2rem !important;
  gap: 2.5rem !important;
}

/* Left Info Section */
.mega-dropdown-info {
  flex: 0 0 280px !important;
  padding: 1rem !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.mega-dropdown-info h3 {
  color: white !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
}

.mega-dropdown-info p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  margin-bottom: 1.25rem !important;
}

.mega-dropdown-info .info-badge {
  display: inline-flex !important;
  align-items: center !important;
  background: linear-gradient(135deg, rgba(86, 184, 230, 0.15), rgba(86, 184, 230, 0.05)) !important;
  color: #56b8e6 !important;
  padding: 0.6rem 1rem !important;
  border-radius: 100px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border: 1px solid rgba(86, 184, 230, 0.2) !important;
  gap: 0.5rem !important;
  transition: all 0.3s ease !important;
}

.mega-dropdown-info .info-badge:hover {
  background: linear-gradient(135deg, rgba(86, 184, 230, 0.25), rgba(86, 184, 230, 0.1)) !important;
  border-color: rgba(86, 184, 230, 0.4) !important;
}

.mega-dropdown-info .info-badge i {
  font-size: 0.9rem !important;
  color: #56b8e6 !important;
}

/* Right Services Grid */
.mega-dropdown-services {
  flex: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0.75rem !important;
}

/* Service Item Card */
.service-mega-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.25rem 0.75rem !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  color: white !important;
  min-height: 140px !important;
  position: relative !important;
  overflow: visible !important;
}

.service-mega-item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(135deg, rgba(86, 184, 230, 0.1), rgba(86, 184, 230, 0)) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  border-radius: 16px !important;
}

.service-mega-item:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(86, 184, 230, 0.3) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px -8px rgba(86, 184, 230, 0.2) !important;
  color: white !important;
  text-decoration: none !important;
}

.service-mega-item:hover::before {
  opacity: 1 !important;
}

/* Service Icon */
.service-mega-icon {
  width: 48px !important;
  height: 48px !important;
  background: linear-gradient(135deg, rgba(86, 184, 230, 0.2), rgba(86, 184, 230, 0.05)) !important;
  border: 1px solid rgba(86, 184, 230, 0.2) !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 0.85rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  z-index: 1 !important;
}

.service-mega-item:hover .service-mega-icon {
  background: linear-gradient(135deg, #56b8e6, #3d9fd4) !important;
  border-color: transparent !important;
  transform: scale(1.08) !important;
  box-shadow: 0 8px 20px -4px rgba(86, 184, 230, 0.4) !important;
}

.service-mega-icon i {
  font-size: 1.25rem !important;
  color: #56b8e6 !important;
  transition: color 0.3s ease !important;
}

.service-mega-item:hover .service-mega-icon i {
  color: white !important;
}

/* Service Content */
.service-mega-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
}

.service-mega-content h4,
.service-mega-content .mega-title {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.25rem 0 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  transition: color 0.3s ease !important;
  text-align: center !important;
}

.service-mega-item:hover .service-mega-content h4,
.service-mega-item:hover .service-mega-content .mega-title {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

.service-mega-content small {
  font-size: 0.65rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.4 !important;
  transition: color 0.3s ease !important;
  text-align: center !important;
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  max-width: 100% !important;
  word-wrap: break-word !important;
}

.service-mega-item:hover .service-mega-content small {
  color: rgba(255, 255, 255, 0.9) !important;
}

.service-mega-content p {
  display: none !important;
}

/* Legacy dropdown items - hide them, but show mega dropdown container */
.navbar ul li.dropdown ul > li {
  display: none !important;
}

/* Show mega dropdown container on desktop */
.navbar ul li.dropdown ul .mega-dropdown-container {
  display: flex !important;
}

.navbar ul li.dropdown ul .mega-dropdown-services {
  display: grid !important;
}

.navbar ul li.dropdown ul .service-mega-item {
  display: flex !important;
}

.navbar ul li.dropdown ul .mega-dropdown-info {
  display: flex !important;
}

/*--------------------------------------------------------------
# Mega Dropdown - Tablet Responsive
--------------------------------------------------------------*/
@media (min-width: 1280px) and (max-width: 1400px) {
  .mega-dropdown-services {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.6rem !important;
  }

  .service-mega-item {
    padding: 1rem 0.5rem !important;
    min-height: 120px !important;
  }

  .service-mega-icon {
    width: 42px !important;
    height: 42px !important;
  }

  .service-mega-content h4 {
    font-size: 0.8rem !important;
  }
}

/* Hide desktop dropdown on mobile breakpoint */
@media (max-width: 1279px) {
  .navbar ul li.dropdown ul {
    display: none !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !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 und Mobile-Only Elemente komplett ausblenden */
@media (min-width: 1280px) {
  .mobile-nav-toggle {
    display: none !important;
  }

  .mobile-nav-header {
    display: none !important;
  }

  .mobile-nav-footer {
    display: none !important;
  }

  .mobile-nav-close {
    display: none !important;
  }

  .mobile-nav-brand {
    display: none !important;
  }
}

/* Mobile: Burger-Icon anzeigen */
@media (max-width: 1279px) {
  .mobile-nav-toggle {
    display: block !important;
  }
}

/*--------------------------------------------------------------
# Modern Mobile Navigation - White to Blue Gradient Design
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  /* Hide desktop elements */
  .navbar-badges {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: block !important;
  }

  /* Mobile Navbar Container - Gradient from White to Light Blue */
  .navbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 90% !important;
    max-width: 90% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: linear-gradient(180deg,
      #ffffff 0%,
      #ffffff 15%,
      #f8fafc 30%,
      #f1f5f9 50%,
      #e0f2fe 75%,
      #bae6fd 100%) !important;
    backdrop-filter: none !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    z-index: 9997 !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.12) !important;
    border-left: none !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Mobile Nav Active State */
  .mobile-nav-active .navbar {
    transform: translateX(0) !important;
  }

  /*--------------------------------------------------------------
  # Mobile Nav Header - Logo Left, Name Center, X Right
  --------------------------------------------------------------*/
  .mobile-nav-header {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    padding: 1rem 1rem !important;
    background: transparent !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: relative !important;
    gap: 0.5rem !important;
  }

  .mobile-nav-header::after {
    display: none !important;
  }

  .mobile-nav-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }

  .mobile-nav-logo img {
    height: 44px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .mobile-nav-brand {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1b2f45 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    justify-self: center !important;
  }

  .mobile-nav-tagline {
    display: none !important;
  }

  /* Close Button - Right Side */
  .mobile-nav-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 10px !important;
    color: #64748b !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    justify-self: end !important;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:active {
    background: #e2e8f0 !important;
    color: #1b2f45 !important;
  }

  /*--------------------------------------------------------------
  # Hide Desktop Navigation on Mobile
  --------------------------------------------------------------*/
  .navbar .desktop-nav {
    display: none !important;
  }

  /* Show Mobile-Only Elements */
  .mobile-services-section {
    display: block !important;
  }

  .mobile-menu-links {
    display: flex !important;
  }

  /*--------------------------------------------------------------
  # Mobile Services Section - Always Visible
  --------------------------------------------------------------*/
  .mobile-services-section {
    display: block !important;
    padding: 0.75rem 1rem !important;
    flex-shrink: 0 !important;
  }

  .mobile-services-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #1b2f45 !important;
    margin: 0 0 0.75rem 0 !important;
    padding-left: 0.25rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
  }

  .mobile-services-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }

  .mobile-service-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 0.5rem !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: #334155 !important;
    min-height: 85px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    gap: 0.45rem !important;
  }

  .mobile-service-card:active {
    background: #f0f9ff !important;
    border-color: #56b8e6 !important;
    transform: scale(0.97) !important;
  }

  .mobile-service-icon {
    width: 38px !important;
    height: 38px !important;
    background: linear-gradient(135deg, #56b8e6, #3d9fd4) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(86, 184, 230, 0.3) !important;
  }

  .mobile-service-icon i {
    font-size: 1rem !important;
    color: white !important;
  }

  .mobile-service-card span {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    line-height: 1.25 !important;
  }

  /*--------------------------------------------------------------
  # Mobile Menu Links - After Services
  --------------------------------------------------------------*/
  .mobile-menu-links {
    display: flex !important;
    flex-direction: column !important;
    padding: 0.5rem 1rem !important;
    gap: 0.25rem !important;
    flex-shrink: 0 !important;
  }

  .mobile-menu-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
  }

  .mobile-menu-item:hover,
  .mobile-menu-item:active {
    background: rgba(86, 184, 230, 0.1) !important;
    color: #1b2f45 !important;
  }

  .mobile-menu-item.active {
    background: rgba(86, 184, 230, 0.15) !important;
    color: #56b8e6 !important;
    font-weight: 600 !important;
  }

  /*--------------------------------------------------------------
  # Mobile Nav Footer - Blends with Blue Gradient
  --------------------------------------------------------------*/
  .mobile-nav-footer {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    margin-top: auto !important;
  }

  .mobile-nav-contact {
    padding: 1rem 1.25rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
  }

  .mobile-nav-company {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.1rem !important;
    text-align: center !important;
  }

  .mobile-nav-company strong {
    font-size: 0.9rem !important;
    color: #1e40af !important;
    font-weight: 700 !important;
    margin-bottom: 0.15rem !important;
  }

  .mobile-nav-company span {
    font-size: 0.75rem !important;
    color: #1b2f45 !important;
    line-height: 1.35 !important;
  }

  /* Call Button - Prominent */
  .mobile-nav-call-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.85rem 1.25rem !important;
    background: #1b2f45 !important;
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(27, 47, 69, 0.3) !important;
  }

  .mobile-nav-call-btn:hover,
  .mobile-nav-call-btn:active {
    background: #0f172a !important;
    transform: scale(0.98) !important;
    color: white !important;
  }

  .mobile-nav-call-btn i {
    font-size: 1rem !important;
  }

  /* Hours Info */
  .mobile-nav-hours {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    font-size: 0.7rem !important;
    color: #1e40af !important;
  }

  .mobile-nav-hours i {
    font-size: 0.75rem !important;
    color: #3b82f6 !important;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation - Smaller Screens (768px)
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .navbar {
    width: 90% !important;
    max-width: 90% !important;
  }

  .mobile-nav-header {
    padding: 0.85rem 0.85rem !important;
    gap: 0.4rem !important;
  }

  .mobile-nav-logo img {
    height: 38px !important;
  }

  .mobile-nav-brand {
    font-size: 0.95rem !important;
  }

  .mobile-nav-close {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
  }

  /* Mobile Services Grid 768px */
  .mobile-services-grid {
    gap: 0.5rem !important;
  }

  .mobile-service-card {
    padding: 0.75rem 0.4rem !important;
    min-height: 78px !important;
  }

  .mobile-service-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
  }

  .navbar ul li.dropdown .service-mega-icon i {
    font-size: 0.85rem !important;
  }

  .navbar ul li.dropdown .service-mega-content h4 {
    font-size: 0.65rem !important;
  }

  /* Footer adjustments */
  .mobile-nav-contact {
    padding: 0.85rem 1rem 1rem !important;
    gap: 0.7rem !important;
  }

  .mobile-nav-company strong {
    font-size: 0.82rem !important;
  }

  .mobile-nav-company span {
    font-size: 0.7rem !important;
  }

  .mobile-nav-call-btn {
    padding: 0.7rem 1rem !important;
    font-size: 0.82rem !important;
  }

  .mobile-nav-hours {
    font-size: 0.65rem !important;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation - Very Small Screens (480px)
--------------------------------------------------------------*/
@media (max-width: 480px) {
  .navbar {
    max-width: 100% !important;
    width: 100% !important;
  }

  .mobile-nav-header {
    padding: 0.75rem 0.85rem !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }

  .mobile-nav-logo img {
    height: 60px !important;
  }

  .mobile-nav-brand {
    font-size: 1.4rem !important;
  }

  .mobile-nav-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }

  /* Mobile Services Grid 480px */
  .mobile-services-section {
    padding: 0.6rem 0.85rem !important;
  }

  .mobile-services-title {
    font-size: 0.8rem !important;
    margin-bottom: 0.6rem !important;
  }

  .mobile-services-grid {
    gap: 0.45rem !important;
  }

  .mobile-service-card {
    padding: 0.7rem 0.35rem !important;
    min-height: 72px !important;
    border-radius: 10px !important;
  }

  .mobile-service-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }

  .mobile-service-icon i {
    font-size: 0.9rem !important;
  }

  .mobile-service-card span {
    font-size: 0.65rem !important;
  }

  /* Mobile Menu Links 480px */
  .mobile-menu-links {
    padding: 0.4rem 0.85rem !important;
  }

  .mobile-menu-item {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.88rem !important;
  }

  /* Footer adjustments */
  .mobile-nav-contact {
    padding: 0.75rem 0.85rem 0.9rem !important;
    gap: 0.6rem !important;
  }

  .mobile-nav-company strong {
    font-size: 0.78rem !important;
  }

  .mobile-nav-company span {
    font-size: 0.65rem !important;
  }

  .mobile-nav-call-btn {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
  }

  .mobile-nav-hours {
    font-size: 0.6rem !important;
  }
}

/* Header Responsive adjustments für kleine Bildschirme */
@media (max-width: 768px) {
  .header {
    width: calc(100% - 30px) !important;
    border-radius: 25px !important;
    top: 10px !important;
    height: 65px !important;
  }

  .header.sticked {
    height: 50px !important;
    width: calc(100% - 40px) !important;
    top: 6px !important;
  }

  .header .container-fluid {
    padding: 0 1rem !important;
  }

  .header .logo h1,
  .header .logo .logo-text {
    font-size: 1.5rem !important;
  }

  .header.sticked .logo h1,
  .header.sticked .logo .logo-text {
    font-size: 1.2rem !important;
  }

  .header .logo img {
    max-height: 50px !important;
  }

  .header.sticked .logo img {
    max-height: 35px !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: 0 !important;
    height: 100vh !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;
}

/* Desktop: Breitere Form */
@media (min-width: 992px) {
  .hero-form-container {
    max-width: 480px;
    padding: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-form-container {
    max-width: 520px;
    padding: 2.5rem 3rem;
  }
}

@media (min-width: 1400px) {
  .hero-form-container {
    max-width: 560px;
  }
}

@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: 0px;
}

#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 Hero - White subtitle on colored backgrounds */
.service-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.95) !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;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
  padding-top: 40px; /* Extra spacing from navbar */
}

/* Hero Background Image - als img für besseren LCP */
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Hero Overlay - Gradient über dem Bild */
.hero-image .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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%
  );
  z-index: 1;
}

/* 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;
  z-index: 2;
}

.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;
  z-index: 2;
}

@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: 0 !important;
    padding-top: 0 !important;
  }

  #hero.hero-modern .row {
    flex-direction: column !important;
  }

  #hero.hero-modern .col-lg-6:first-child {
    order: 1 !important;
    padding: 100px 1rem 2rem 1rem !important; /* Top-Abstand für floating navbar */
  }
  
  #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: 0px;
  }

  #hero.hero-modern {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  #hero.hero-modern .col-lg-6:first-child {
    padding: 90px 0.5rem 1rem 0.5rem !important; /* Top-Abstand für floating navbar */
  }

  #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: 12px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 60px) !important;
    border-radius: 35px !important;
    height: 70px !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.sticked {
    top: 8px !important;
    height: 55px !important;
    width: calc(100% - 80px) !important;
  }

  .header .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative !important;
    padding: 0 4rem 0 1.5rem !important; /* Platz für Burger-Icon rechts */
  }

  /* Logo links */
  .header .logo {
    flex: 1 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .header .logo img {
    max-height: 55px !important;
  }

  .header.sticked .logo img {
    max-height: 38px !important;
  }

  /* Navbar-Badges ausblenden */
  .navbar-badges {
    display: none !important;
  }

  /* Navbar versteckt */
  .navbar {
    position: fixed !important;
    top: 0 !important;
    right: -420px !important;
    width: 100% !important;
    max-width: 400px !important;
    bottom: 0 !important;
    transition: 0.3s ease-in-out !important;
    z-index: 9997 !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .mobile-nav-active .navbar {
    right: 0 !important;
    visibility: visible !important;
    opacity: 1 !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: 15px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !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 2rem !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);
}

/*--------------------------------------------------------------
# Footer Responsive Layout
--------------------------------------------------------------*/
/* Desktop - Größeres Logo */
.footer .footer-content .footer-info img {
  max-height: 115px !important;
}

/* Tablet und Mobile - Footer Links als 2 Spalten */
@media (max-width: 991px) {
  .footer .footer-content .row {
    display: flex;
    flex-wrap: wrap;
  }

  .footer .footer-content .footer-info {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer .footer-content .footer-info .social-links {
    justify-content: center;
  }

  .footer .footer-content .footer-links {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
  }
}

/* Mobile - kleinere Abstände */
@media (max-width: 576px) {
  .footer .footer-content {
    padding: 40px 0 20px 0;
  }

  .footer .footer-content .footer-info img {
    max-height: 60px !important;
  }

  .footer .footer-content .footer-links h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer .footer-content .footer-links ul li {
    padding: 6px 0;
  }

  .footer .footer-content .footer-links ul a {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Service Item Links - SEO Optimierung
--------------------------------------------------------------*/
.services-list a.service-item-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.services-list a.service-item-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(86, 184, 230, 0.15);
}

.services-list a.service-item-link:hover .title {
  color: var(--color-primary, #56b8e6);
}

.services-list a.service-item-link:hover .icon i {
  transform: scale(1.1);
}

.services-list .service-item-link .icon i {
  transition: transform 0.3s ease;
}

.services-list .service-item-link .read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary, #56b8e6);
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.services-list a.service-item-link:hover .read-more {
  color: var(--color-secondary, #1b2f45);
}

.services-list .service-item-link .read-more i {
  transition: transform 0.3s ease;
}

.services-list a.service-item-link:hover .read-more i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Recent Blog Posts Section - Verbessert
--------------------------------------------------------------*/
.recent-posts {
  padding: 80px 0;
  background: #f8fafc;
}

.recent-posts .post-box {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
}

.recent-posts .post-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: transparent;
}

.recent-posts .post-box .post-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.recent-posts .post-box .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recent-posts .post-box:hover .post-img img {
  transform: scale(1.08);
}

/* Category Badges */
.recent-posts .category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  z-index: 2;
}

.recent-posts .category-badge.cat-winterdienst { background: #3b82f6; }
.recent-posts .category-badge.cat-reinigung { background: #10b981; }
.recent-posts .category-badge.cat-tipps { background: #f59e0b; }
.recent-posts .category-badge.cat-facility { background: #8b5cf6; }

/* Post Content */
.recent-posts .post-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recent-posts .post-box .post-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1b2f45;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.recent-posts .post-box:hover .post-title {
  color: #56b8e6;
}

.recent-posts .post-content p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Post Meta */
.recent-posts .post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #94a3b8;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.recent-posts .post-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.recent-posts .post-meta i {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991px) {
  .recent-posts {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .recent-posts {
    padding: 50px 0;
  }

  .recent-posts .post-box .post-title {
    font-size: 0.95rem;
  }

  .recent-posts .post-content p {
    -webkit-line-clamp: 2;
  }
}

/* All Articles Button */
.btn-all-articles {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1b2f45 0%, #2a4a6d 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(27, 47, 69, 0.3);
}

.btn-all-articles::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #56b8e6 0%, #3b9dd1 100%);
  transition: left 0.4s ease;
  z-index: 0;
}

.btn-all-articles span,
.btn-all-articles i {
  position: relative;
  z-index: 1;
}

.btn-all-articles i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-all-articles:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(86, 184, 230, 0.4);
}

.btn-all-articles:hover::before {
  left: 0;
}

.btn-all-articles:hover i {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .btn-all-articles {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }
}

/*--------------------------------------------------------------
# FAQ Section - SEO Optimierung
--------------------------------------------------------------*/
.faq {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq .section-header h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq .accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.faq .accordion-button {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-secondary, #1b2f45);
  padding: 20px 25px;
  background: #fff;
  border: none;
  box-shadow: none !important;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--color-primary, #56b8e6);
  background: #fff;
}

.faq .accordion-button::after {
  background-size: 16px;
  width: 16px;
  height: 16px;
}

.faq .accordion-button i {
  color: var(--color-primary, #56b8e6);
  font-size: 18px;
}

.faq .accordion-body {
  padding: 0 25px 20px 25px;
  color: #6c757d;
  line-height: 1.7;
}

.faq .accordion-body a {
  color: var(--color-primary, #56b8e6);
  text-decoration: none;
  font-weight: 500;
}

.faq .accordion-body a:hover {
  text-decoration: underline;
}

.faq .accordion-body strong {
  color: var(--color-secondary, #1b2f45);
}

/* Mobile FAQ */
@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }

  .faq .accordion-button {
    font-size: 15px;
    padding: 15px 20px;
  }

  .faq .accordion-body {
    padding: 0 20px 15px 20px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Hero City Links - Lokale SEO
--------------------------------------------------------------*/
.hero-city-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--color-primary, #56b8e6);
  transition: all 0.3s ease;
  font-weight: 500;
}

.hero-city-link:hover {
  color: var(--color-primary, #56b8e6);
  border-bottom-color: transparent;
}

/*--------------------------------------------------------------
# Testimonials Section - Kundenbewertungen
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: #fff;
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials .rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.testimonials .rating-summary .stars {
  display: flex;
  gap: 3px;
}

.testimonials .rating-summary .stars i {
  color: #ffc107;
  font-size: 20px;
}

.testimonials .rating-summary .rating-text {
  color: #6c757d;
  font-size: 16px;
}

.testimonials .rating-summary .rating-text strong {
  color: var(--color-secondary, #1b2f45);
  font-size: 18px;
}

.testimonial-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(86, 184, 230, 0.15);
  border-color: var(--color-primary, #56b8e6);
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 15px;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 16px;
}

.testimonial-text {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-text strong {
  color: var(--color-secondary, #1b2f45);
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

.testimonial-author .author-info h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary, #1b2f45);
}

.testimonial-author .author-info span {
  font-size: 13px;
  color: #6c757d;
}

/* Mobile Testimonials */
@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }

  .testimonials .rating-summary {
    flex-direction: column;
    gap: 10px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-text {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Why-Us Internal Links
--------------------------------------------------------------*/
.why-us-link {
  color: var(--color-primary, #56b8e6);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed var(--color-primary, #56b8e6);
  transition: all 0.3s ease;
}

.why-us-link:hover {
  color: var(--color-secondary, #1b2f45);
  border-bottom-style: solid;
}

/*--------------------------------------------------------------
# Why Us Static Section (SEO optimiert)
--------------------------------------------------------------*/
.why-us-static {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.why-us-static .section-header h2 {
  text-align: center;
  margin-bottom: 50px;
}

.why-box {
  background: #fff;
  border-radius: 16px;
  padding: 35px 30px;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.why-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(86, 184, 230, 0.15);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #56b8e6 0%, #29486a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-icon i {
  font-size: 28px;
  color: #fff;
}

.why-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-secondary, #1b2f45);
  margin-bottom: 15px;
}

.why-box p:last-child {
  color: #6c757d;
  line-height: 1.7;
  margin: 0;
}

.why-box a {
  color: var(--color-primary, #56b8e6);
  text-decoration: none;
}

.why-box a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .why-us-static {
    padding: 60px 0;
  }

  .why-box {
    padding: 25px 20px;
  }
}

/*--------------------------------------------------------------
# SEO-Optimierte Element-Stile (Überschriften-Ersatz)
--------------------------------------------------------------*/

/* Mega-Navigation Title - Styles sind oben bei .service-mega-content definiert */

/* Dropdown Title (ersetzt H3) */
.dropdown-title {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

/* Form Title (ersetzt H3) */
.form-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary, #1b2f45);
  margin-bottom: 0.5rem;
}

/* CTA Title (ersetzt H3) */
.cta-title {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.call-to-action .cta-title {
  color: white;
}

.features-cta .cta-title {
  color: white;
  font-size: 2rem;
}

/* Feature Title (ersetzt H4) */
.feature-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary, #1b2f45);
  margin-bottom: 0.5rem;
}

/* Footer Title (ersetzt H4) */
.footer-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #1b2f45;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Highlight Title (ersetzt H6) */
.highlight-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-secondary, #1b2f45);
  margin-bottom: 2px;
}

/* Testimonial Author Name (ersetzt H5) */
.author-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary, #1b2f45);
  margin-bottom: 4px;
}

/* Phone Mockup Stat Title (ersetzt H5) */
.stat-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* Cookie Banner Title (ersetzt H4) */
.cookie-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary, #1b2f45);
  margin-bottom: 12px;
}

/* Cookie Subtitle (ersetzt H5) */
.cookie-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary, #1b2f45);
  margin-bottom: 10px;
}

/* Mobile Nav Company Name (ersetzt strong) */
.company-name {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-secondary, #1b2f45);
}

/* External Link Styling */
a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.8em;
  opacity: 0.7;
}

/*--------------------------------------------------------------
# Service Overview Cards (About Page)
--------------------------------------------------------------*/
.service-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

.service-overview-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-overview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(86, 184, 230, 0.2);
  border-color: var(--color-primary, #56b8e6);
}

.service-overview-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary, #56b8e6) 0%, #3a9fd4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.service-overview-card:hover .service-overview-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(86, 184, 230, 0.4);
}

.service-overview-icon i {
  font-size: 28px;
  color: #fff;
}

.service-overview-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-secondary, #1b2f45);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-overview-card:hover h4 {
  color: var(--color-primary, #56b8e6);
}

.service-overview-card p {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .service-overview-card {
    padding: 25px 15px;
  }

  .service-overview-icon {
    width: 60px;
    height: 60px;
  }

  .service-overview-icon i {
    font-size: 24px;
  }

  .service-overview-card h4 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .service-overview-card {
    padding: 20px 15px;
  }

  .service-overview-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 15px;
  }

  .service-overview-icon i {
    font-size: 22px;
  }

  .service-overview-card h4 {
    font-size: 0.95rem;
  }

  .service-overview-card p {
    font-size: 0.85rem;
  }
}

/*--------------------------------------------------------------
# Cookie Banner - Verbesserter Kontrast (Barrierefreiheit)
--------------------------------------------------------------*/
.cookie-banner {
  background: #1b2f45;
  color: #ffffff;
}

.cookie-banner-content h4 {
  color: #ffffff;
}

.cookie-banner-content p {
  color: #e0e0e0;
}

.cookie-banner-content a {
  color: #7ed4f5;
  text-decoration: underline;
}

.cookie-banner-content a:hover {
  color: #ffffff;
}

.btn-cookie.accept {
  background-color: #56b8e6;
  color: #1b2f45;
  font-weight: 600;
}

.btn-cookie.accept:hover {
  background-color: #7ed4f5;
  color: #1b2f45;
}

.btn-cookie.reject {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-cookie.reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-cookie.customize {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #56b8e6;
}

.btn-cookie.customize:hover {
  background-color: rgba(86, 184, 230, 0.1);
}

.cookie-settings {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.cookie-settings h5 {
  color: #ffffff;
}

.cookie-settings label {
  color: #e0e0e0;
}

/*--------------------------------------------------------------
# Service List - h3 Styles (Überschriften-Hierarchie)
--------------------------------------------------------------*/
.services-list .service-item h3.title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 22px;
  color: var(--color-secondary);
}

.services-list .service-item:hover h3.title {
  color: var(--color-primary);
}
