/* Override all animations and transforms to prevent browser hanging */
* {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  scroll-behavior: auto !important;
}

/* Only allow essential transitions */
a, button {
  transition: opacity 0.2s ease !important;
}

/* Force navbar visibility */
header nav.hidden.md\:flex {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Remove all problematic transforms and animations */
[style*="transform"] {
  transform: none !important;
}

[style*="opacity: 0"] {
  opacity: 1 !important;
}

/* Disable smooth scrolling completely */
html {
  scroll-behavior: auto !important;
}



/* Spezifische Fixes für alle Elemente */
div, section, header, nav, button, img, h1, h2, h3, p, a {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Navbar immer sichtbar */
header .text-white.cursor-pointer {
  opacity: 1 !important;
  transform: none !important;
}

header button {
  opacity: 1 !important;
  transform: none !important;
}

header nav {
  opacity: 1 !important;
  transform: none !important;
}

/* Alle Sektionen sichtbar */
section {
  opacity: 1 !important;
  transform: none !important;
}

/* Hero Section */
#hero-section * {
  opacity: 1 !important;
  transform: none !important;
}

/* Überschreibe alle inline styles */
[style] {
  opacity: 1 !important;
  transform: none !important;
}

/* Preisliste Styling - Modernes Design */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 1200px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.price-category {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(107, 122, 90, 0.08);
  border: 1px solid rgba(232, 180, 160, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.price-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E8B4A0 0%, #6B7A5A 100%);
}

.price-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(107, 122, 90, 0.15);
  border-color: rgba(232, 180, 160, 0.4);
}

.price-category h3 {
  color: #6B7A5A;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(232, 180, 160, 0.3);
  font-family: 'Bodoni', serif;
  letter-spacing: 0.5px;
  position: relative;
}

.price-category h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #E8B4A0;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(107, 122, 90, 0.1);
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.price-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-item:hover {
  background: rgba(232, 180, 160, 0.05);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 8px;
}

.price-item .service {
  font-weight: 500;
  color: #2d3748;
  font-family: 'Jost', sans-serif;
  flex: 1;
  line-height: 1.5;
  font-size: 0.95rem;
}

.price-item .price {
  font-weight: 700;
  color: #6B7A5A;
  font-family: 'Jost', sans-serif;
  text-align: right;
  font-size: 0.9rem;
  line-height: 1.4;
  min-width: fit-content;
  background: rgba(107, 122, 90, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(107, 122, 90, 0.2);
}

/* Styling für Untersektionen */
.price-section {
  margin-bottom: 2rem;
}

.price-section:last-child {
  margin-bottom: 0;
}

.price-section h4 {
  color: #E8B4A0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 3px solid #E8B4A0;
  padding-left: 0.75rem;
}

/* Styling für Preisvarianten */
.price-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.price-variants .variant {
  background: rgba(107, 122, 90, 0.08);
  color: #6B7A5A;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: 'Jost', sans-serif;
  border: 1px solid rgba(107, 122, 90, 0.15);
  white-space: nowrap;
}

.price-variants .variant strong {
  color: #6B7A5A;
  font-weight: 700;
}

/* Responsive Anpassungen für Varianten */
@media (max-width: 768px) {
  .price-variants {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .price-variants .variant {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Modern News Section Styling */
.news-philosophy-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(107, 122, 90, 0.2);
}

/* CTA Buttons for News Section */
.news-cta-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.news-cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.news-cta-button-alt {
  background: rgba(232, 180, 160, 0.2);
  color: white;
  padding: 12px 24px;
  border: 1px solid rgba(232, 180, 160, 0.4);
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.news-cta-button-alt:hover {
  background: rgba(232, 180, 160, 0.3);
  border-color: rgba(232, 180, 160, 0.6);
  transform: translateY(-2px);
}

/* Responsive Design for News Section */
@media (max-width: 1024px) {
  .news-philosophy-card .relative.h-96 {
    height: 20rem;
  }
  
  .news-team-card .bg-\[#6B7A5A\] {
    height: 20rem;
    padding: 2rem;
  }
  
  .news-team-card h3 {
    font-size: 1.75rem;
  }
  
  .news-team-card p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .grid.grid-cols-1.lg\:grid-cols-2.gap-16 {
    gap: 2rem;
  }
  
  .news-philosophy-card .absolute.bottom-8 {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }
  
  .news-philosophy-card h3 {
    font-size: 1.75rem;
  }
  
  .news-team-card .bg-\[#6B7A5A\] {
    padding: 1.5rem;
    height: auto;
    min-height: 18rem;
  }
  
  .news-team-card h3 {
    font-size: 1.5rem;
  }
  
  .news-team-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .price-category {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  
  .price-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
  
  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
  }
  
  .price-item:hover {
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .price-item .price {
    text-align: left;
    white-space: normal;
    align-self: flex-start;
    font-size: 0.85rem;
  }
}

/* Zusätzliche Verbesserungen */
.price-category:nth-child(odd) {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.price-category:nth-child(even) {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

/* Animationen für bessere UX */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-category {
  animation: fadeInUp 0.6s ease-out;
}

.price-category:nth-child(1) { animation-delay: 0.1s; }
.price-category:nth-child(2) { animation-delay: 0.2s; }
.price-category:nth-child(3) { animation-delay: 0.3s; }
.price-category:nth-child(4) { animation-delay: 0.4s; }
.price-category:nth-child(5) { animation-delay: 0.5s; }
.price-category:nth-child(6) { animation-delay: 0.6s; }
.price-category:nth-child(7) { animation-delay: 0.7s; }
.price-category:nth-child(8) { animation-delay: 0.8s; }
.price-category:nth-child(9) { animation-delay: 0.9s; }
.price-category:nth-child(10) { animation-delay: 1.0s; }

/* Smooth scrolling für Navbar-Links */
html {
  scroll-behavior: smooth;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  header nav.hidden.md\:flex {
    display: none !important;
  }
}