/* ═══════════════════════════════════════════════════════════════════════════
   WingIt Public Website Styles
   🎨 Official WingIt Color Palette
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand Colors - Lila/Purple */
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --primary-light: #A78BFA;
  --secondary: #FFB300;
  --secondary-dark: #FF8F00;
  --secondary-light: #FFCA28;
  
  /* Backgrounds */
  --bg-main: #F5F5F5;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-elevated: #FAFAFA;
  
  /* Text */
  --text-dark: #212121;
  --text-primary: #212121;
  --text-secondary: #616161;
  --text-muted: #9E9E9E;
  --text-light: #FFFFFF;
  
  /* Others */
  --border: #E0E0E0;
  --border-light: #EEEEEE;
  --success: #4CAF50;
  --error: #F44336;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
  
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(255, 179, 0, 0.35);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-white);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 800;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #EDE9FE 0%, #FFFFFF 50%, #FFF8E1 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(255, 179, 0, 0.1), transparent);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid var(--border-light);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero h1 span {
  color: var(--primary);
}

.hero-text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: var(--text-dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 50px 100px -20px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  border-radius: 32px;
  padding: 24px 16px;
  overflow: hidden;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.app-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.app-logo {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-light);
}

.app-header span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.app-search {
  margin-bottom: 20px;
}

.search-field {
  background: var(--bg-white);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px var(--shadow);
}

.app-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px var(--shadow);
}

.card-route {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.route-arrow {
  color: var(--primary);
  font-weight: 700;
}

.card-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.card-price {
  color: var(--success);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.features {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  background: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */

.how-it-works {
  padding: 100px 0;
  background: var(--bg-main);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-connector {
  width: 80px;
  height: 3px;
  background: var(--secondary);
  margin-top: 35px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DOWNLOAD SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.download {
  padding: 100px 0;
  background: var(--bg-white);
}

.download-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.download-content {
  position: relative;
}

.download-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-light);
}

.download-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  gap: 16px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--text-dark);
  padding: 14px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.2s;
}

.store-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

.store-btn div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn span {
  font-size: 11px;
  opacity: 0.8;
}

.store-btn strong {
  font-size: 16px;
}

.qr-code {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: var(--bg-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  border: 2px dashed var(--border);
}

.qr-code span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
  background: var(--text-dark);
  padding: 80px 0 40px;
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-brand {
  color: var(--text-light);
}

.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-light);
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.2s;
}

.footer-social a:hover {
  transform: scale(1.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT PAGES (Impressum, Datenschutz, Kontakt)
   ═══════════════════════════════════════════════════════════════════════════ */

.page-content {
  padding: 140px 0 80px;
  min-height: 100vh;
  background: var(--bg-white);
}

.page-header {
  margin-bottom: 48px;
}

.page-header h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.page-header p {
  font-size: 17px;
  color: var(--text-secondary);
}

.prose {
  max-width: 800px;
}

.prose h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text-dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.prose h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--text-dark);
}

.prose p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.8;
}

.prose ul, .prose ol {
  margin: 18px 0;
  padding-left: 24px;
}

.prose li {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.7;
}

.prose a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.prose a:hover {
  text-decoration: underline;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.contact-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-form {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    margin: 0 auto 36px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-white);
    padding: 24px;
    box-shadow: 0 10px 30px var(--shadow);
    gap: 16px;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero h1 {
    font-size: 34px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
  
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .step-connector {
    width: 3px;
    height: 40px;
    margin: 0 auto;
  }
  
  .download-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    text-align: center;
  }
  
  .download-content h2 {
    font-size: 28px;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-visual {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .page-header h1 {
    font-size: 32px;
  }
}
