/* styles.css */

/* Local Inter Font Definitions */
/* inter-100 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-100.woff2') format('woff2');
}
/* inter-100italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-100italic.woff2')
    format('woff2');
}
/* inter-200 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-200.woff2') format('woff2');
}
/* inter-200italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-200italic.woff2')
    format('woff2');
}
/* inter-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-300.woff2') format('woff2');
}
/* inter-300italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-300italic.woff2')
    format('woff2');
}
/* inter-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-regular.woff2')
    format('woff2');
}
/* inter-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-italic.woff2')
    format('woff2');
}
/* inter-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-500.woff2') format('woff2');
}
/* inter-500italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-500italic.woff2')
    format('woff2');
}
/* inter-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-600.woff2') format('woff2');
}
/* inter-600italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-600italic.woff2')
    format('woff2');
}
/* inter-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-700.woff2') format('woff2');
}
/* inter-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-700italic.woff2')
    format('woff2');
}
/* inter-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-800.woff2') format('woff2');
}
/* inter-800italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-800italic.woff2')
    format('woff2');
}
/* inter-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-900.woff2') format('woff2');
}
/* inter-900italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/inter-v19-latin/inter-v19-latin-900italic.woff2')
    format('woff2');
}

/* Global Styles */
body {
  font-family: 'Inter', sans-serif;
}

/* Hero Background */
.hero-bg {
  background: linear-gradient(135deg, #e6f7f3 0%, #b4eee0 50%, #9fe2d1 100%);
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Smooth Scrolling */
.smooth-scroll {
  scroll-behavior: smooth;
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse Animation for Call-to-Action */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #b4eee0, #9fe2d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #b4eee0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9fe2d1;
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Floating Elements */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Custom Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #b4eee0, #9fe2d1);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9fe2d1, #047857);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(52, 211, 153, 0.3);
}

/* Backdrop Blur Effect */
.backdrop-blur-custom {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Custom Shadow */
.shadow-custom {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Text Shadow */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-padding {
    padding: 1.5rem;
  }
}

/* Custom Grid for Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Star Rating */
.star-rating {
  color: #fbbf24;
}

/* Custom Border Radius */
.rounded-custom {
  border-radius: 2rem;
}

/* Overlay Effect */
.overlay {
  position: relative;
}

.overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: inherit;
  z-index: 1;
}

.overlay > * {
  position: relative;
  z-index: 2;
}

/* Navigation Hover Effects */
nav a {
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b4eee0;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Animation */
#mobileMenu {
  transition: all 0.3s ease;
}

#mobileMenu.hidden {
  opacity: 0;
  transform: translateY(-10px);
}

#mobileMenu:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}

/* Section Spacing */
.section-spacing {
  padding: 5rem 0;
}

/* Webinar-specific animations */
.pulse {
  animation: pulse 2s infinite;
}

.fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

/* Urgency badge animation */
@keyframes urgencyPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}

.urgency-badge {
  animation: urgencyPulse 2s infinite;
}

/* Form focus effects */
.form-input:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(180, 238, 224, 0.3);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1f2937;
    --text-primary: #f9fafb;
    --accent-color: #b4eee0;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero-bg {
    background: #fff;
    color: #000;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
*:focus {
  outline: 2px solid #b4eee0;
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .card-hover,
  .float-animation,
  .pulse-animation {
    animation: none;
    transition: none;
  }
}

/* Custom Utility Classes */
.text-balance {
  text-wrap: balance;
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Hero Section Specific Fixes */
#home {
  position: relative;
  box-sizing: border-box;
  min-height: auto !important;
  height: auto !important;
}

/* Ensure padding is visible and not collapsed */
#home::after {
  content: '';
  display: block;
  height: 1px;
  clear: both;
}

/* Force padding to be respected */
.hero-padding-fix {
  padding-bottom: 7rem !important;
}

@media (min-width: 768px) {
  .hero-padding-fix {
    padding-bottom: 8rem !important;
  }
}

/* Footer Grid Fix */
footer .grid {
  display: grid !important;
}

@media (min-width: 768px) {
  footer .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Footer 3-Spalten Layout - GARANTIERT */
.footer-three-columns {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-three-columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }

  .footer-column {
    flex: 1;
    min-width: 0;
    max-width: calc(33.333% - 1.5rem);
  }
}
