/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-inter: 'Inter', system-ui, sans-serif;
  --font-playfair: 'Playfair Display', Georgia, serif;
  
  /* Blue Palette - Darker Tones */
  --blue-50: #0a1628;
  --blue-100: #0f1b2d;
  --blue-200: #1a2332;
  --blue-300: #1e293b;
  --blue-400: #1e3a8a;
  --blue-500: #1e40af;
  --blue-600: #1d4ed8;
  --blue-700: #2563eb;
  --blue-800: #3b82f6;
  --blue-900: #60a5fa;
  --blue-950: #93c5fd;
  
  /* Gold Palette */
  --gold-50: #fffbeb;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-700: #b45309;
  --gold-800: #92400e;
  --gold-900: #78350f;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Gradients */
  --gradient-blue: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  --gradient-blue-dark: linear-gradient(135deg, #000000 0%, #0f172a 50%, #1e293b 100%);
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  --gradient-blue-gold: linear-gradient(135deg, #000000 0%, #1e3a8a 50%, #d97706 100%);
  --gradient-black-blue: linear-gradient(135deg, #000000 0%, #0f172a 50%, #1e293b 100%);
}

html {
  scroll-behavior: smooth;
  height: 100%;
  height: -webkit-fill-available;
}

body {
  font-family: var(--font-inter);
  color: var(--gray-900);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

/* iOS Safari Viewport Fix */
@supports (-webkit-touch-callout: none) {
  html,
  body {
    height: -webkit-fill-available;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-playfair);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Modern Navigation with Glassmorphism */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(30, 58, 138, 0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .nav-container {
    padding: 0 1rem;
  }
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  gap: 1rem;
}

@media (max-width: 767px) {
  .nav-inner {
    height: 70px;
    padding: 0.5rem 0;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s;
  flex-shrink: 0;
  min-width: 0;
}

@media (max-width: 767px) {
  .logo {
    gap: 0.5rem;
  }
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.75rem;
  font-family: var(--font-playfair);
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 767px) {
  .logo-text {
    font-size: 1.5rem;
  }
}

.logo-subtext {
  font-size: 0.875rem;
  color: var(--blue-300);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .logo-subtext {
    font-size: 0.75rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--gold-400);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold-400);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 0.5rem;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .mobile-menu-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2.5;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.mobile-menu-btn:hover svg {
  stroke-width: 3;
}

.mobile-menu-btn:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.15);
}

.mobile-menu {
  display: none;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(30, 58, 138, 0.3);
  padding: 1rem;
}

.mobile-menu.open {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-link {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s;
  margin-bottom: 0.5rem;
}

.mobile-menu-link:hover {
  background: rgba(30, 58, 138, 0.3);
  color: var(--gold-400);
  transform: translateX(5px);
}

.mobile-menu-link.active {
  background: rgba(217, 119, 6, 0.2);
  color: var(--gold-400);
  border-left: 3px solid var(--gold-400);
}

/* Main Content */
main {
  flex-grow: 1;
  padding-top: 90px;
}

/* Modern Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-black-blue);
  color: white;
  padding-top: 90px;
  overflow: hidden;
}

/* Hintergrundvideo */
.hero-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

/* Mobile Optimierungen für Hintergrundvideo */
@media (max-width: 767px) {
  .hero-background-video {
    opacity: 0.3;
  }
  
  .hero-overlay {
    background: 
      linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.85) 100%);
  }
  
  .hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    padding-top: 70px;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-content {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }
}

/* iOS Safari spezifische Fixes */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    .hero {
      min-height: 100vh;
      min-height: -webkit-fill-available;
      height: -webkit-fill-available;
    }
    
    .hero-content {
      min-height: auto;
    }
    
    .nav-inner {
      height: 70px;
      min-height: 70px;
    }
    
    .hero-background-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      min-height: 100%;
      min-height: -webkit-fill-available;
      object-fit: cover;
      -webkit-transform: translate(0, 0);
      transform: translate(0, 0);
    }
    
    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      min-height: 100%;
      min-height: -webkit-fill-available;
    }
  }
}

/* Overlay für bessere Lesbarkeit */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(217, 119, 6, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: 
    linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.3;
  pointer-events: none;
}

.hero::after {
  display: none;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .hero-content {
    padding: 1.5rem 1rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 640px) {
  .hero-content {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 0 2rem;
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(251, 191, 36, 0.5), 0 4px 20px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 6rem;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Modern Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(217, 119, 6, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(251, 191, 36, 0.5);
  color: var(--gold-400);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--gold-400);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

@media (max-width: 767px) {
  .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(251, 191, 36, 0.7);
    color: var(--gold-400);
  }
}

.btn-white {
  background: white;
  color: var(--blue-900);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: var(--blue-50);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-blue {
  background: var(--gradient-blue);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(30, 58, 138, 0.5);
}

.btn-blue:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--blue-500);
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: linear-gradient(to bottom, var(--gray-50), var(--white));
}

.section-blue {
  background: var(--gradient-black-blue);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(30, 58, 138, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.section-gold {
  background: var(--gradient-gold);
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.section-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section-dark {
  background: var(--gradient-black-blue);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .section-title h2 {
    font-size: 3.5rem;
  }
}

.section-title p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.8;
}

.section-blue .section-title p,
.section-dark .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.section-gold .section-title p {
  color: rgba(0, 0, 0, 0.7);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-1 {
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .grid-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-md-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-lg-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-lg-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Modern Cards */
.card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 1.25rem;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue-gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.card:hover {
  border-color: var(--blue-500);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-8px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-gray {
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  border: 1px solid var(--gray-200);
}

.card-blue {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(15, 23, 42, 0.12) 100%);
  border: 1px solid rgba(30, 58, 138, 0.3);
}

.card-blue:hover {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(15, 23, 42, 0.2) 100%);
  border-color: var(--blue-500);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.card-center {
  text-align: center;
}

/* Gold Gradient Text */
.gold-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blue-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Icons */
.icon-box {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  border: 2px solid rgba(30, 58, 138, 0.3);
}

.card:hover .icon-box {
  background: var(--gradient-blue);
  transform: scale(1.1) rotate(5deg);
  border-color: var(--gold-400);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.icon-box svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--blue-500);
  transition: all 0.4s;
}

.card:hover .icon-box svg {
  color: white;
}

.icon-box-lg {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  flex-shrink: 0;
  border: 2px solid rgba(30, 58, 138, 0.3);
}

.icon-box-lg svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--blue-500);
  transition: all 0.4s;
}

.card:hover .icon-box-lg {
  background: var(--gradient-blue);
  transform: scale(1.1);
  border-color: var(--gold-400);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.card:hover .icon-box-lg svg {
  color: white;
}

/* Image Placeholder */
.image-placeholder {
  position: relative;
  height: 28rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.4s;
}

.image-placeholder:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.image-placeholder-content {
  position: absolute;
  inset: 0;
  background: var(--gradient-black-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  padding: 2rem;
  border: 2px solid rgba(30, 58, 138, 0.3);
}

.image-placeholder-content svg {
  width: 6rem;
  height: 6rem;
  margin-bottom: 1rem;
  opacity: 0.7;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s;
  background: white;
  color: var(--gray-800);
  font-family: var(--font-inter);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
  opacity: 1;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  background: var(--blue-50);
  color: var(--white);
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
  resize: none;
  min-height: 150px;
}

.alert {
  padding: 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #86efac;
  color: #065f46;
}

.alert-error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #fca5a5;
  color: #991b1b;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #000000 0%, #0f172a 50%, #1e293b 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  border-top: 2px solid rgba(30, 58, 138, 0.3);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.3;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .footer-content {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    padding: 0 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-title {
  color: white;
  font-size: 1.5rem;
  font-family: var(--font-playfair);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-title.gold-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(5px);
}

.footer-address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-address a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-address a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(30, 58, 138, 0.3);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.8));
}

@media (max-width: 767px) {
  .scroll-indicator {
    bottom: 1.5rem;
  }
}

.scroll-indicator svg {
  width: 2rem;
  height: 2rem;
  color: var(--gold-400);
  filter: drop-shadow(0 5px 10px rgba(251, 191, 36, 0.5));
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Video Styles */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hero-video:hover {
  transform: scale(1.02);
}

/* Video Container */
.video-container {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  background: var(--gradient-black-blue);
  aspect-ratio: 16/9;
}

@media (max-width: 767px) {
  .video-container {
    aspect-ratio: 16/9;
  }
  
  .hero-video {
    object-fit: cover;
  }
}

/* Leaflet Map Styles */
#map,
#map-ueber-uns {
  z-index: 1;
}

.leaflet-container {
  font-family: var(--font-inter);
}

.leaflet-popup-content-wrapper {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
  margin: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.leaflet-popup-content b {
  font-weight: 600;
  color: var(--gray-800);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-blue);
  border-radius: 6px;
  border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-gold);
}

/* Glassmorphism Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Text Effects */
.gradient-text-blue {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Responsive Typography */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-description {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 0 0.5rem;
  }
  
  .hero-buttons {
    gap: 0.75rem;
    width: 100%;
    padding: 0 0.5rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}
