:root {
  --primary: #FB6D01;
  --primary-dark: #CC5200;
  --primary-light: #FFA048;
  --primary-container: #FFF1E6;
  --primary-glow: rgba(251, 109, 1, 0.25);
  
  --text-primary: #1A1A2E;
  --text-secondary: #5A5A6E;
  --text-muted: #8E8EA0;
  
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-alt: #F3F4F6;
  --border: #E5E7EB;
  --border-focus: #FB6D01;
  
  --success: #16A34A;
  --success-bg: #E9F8EE;
  --deal-red: #EF4444;
  --deal-bg: #FEE2E2;
  --gold: #F59E0B;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.10);
  --shadow-glow: 0 10px 30px rgba(251, 109, 1, 0.20);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo-wrap img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.logo-highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(251, 109, 1, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: #D1D5DB;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, rgba(251, 109, 1, 0.12) 0%, rgba(250, 250, 250, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-container);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(251, 109, 1, 0.1);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #E11D48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-usps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.usp-icon {
  color: var(--success);
  font-weight: bold;
}

/* ==========================================================================
   Smartphone Mockup Showcase
   ========================================================================== */
.mockup-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 330px;
  background: #FFFFFF;
  border: 10px solid #1A1A2E;
  border-radius: 46px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 20px;
  background: #1A1A2E;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-screen {
  padding: 30px 16px 20px;
  background: #FAFAFA;
  min-height: 580px;
}

.app-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mock-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.mock-banner {
  background: linear-gradient(135deg, var(--primary-container) 0%, #FFE4D6 100%);
  border: 1px solid rgba(251, 109, 1, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
}

.mock-banner-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.mock-banner-store {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-primary);
}

.mock-banner-savings {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 8px;
}

.mock-banner-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.mock-banner-tag {
  background: var(--success);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.mock-section-title {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.mock-deal-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.mock-deal-emoji {
  width: 40px;
  height: 40px;
  background: var(--surface-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.mock-deal-info {
  flex: 1;
}

.mock-deal-name {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.mock-deal-store {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.mock-deal-pricing {
  text-align: right;
}

.mock-deal-price {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text-primary);
}

.mock-deal-old {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.mock-deal-badge {
  display: inline-block;
  background: var(--deal-bg);
  color: var(--deal-red);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 4px;
}

/* ==========================================================================
   Supermarkets Bar
   ========================================================================== */
.stores-bar {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.stores-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.stores-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-alt);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}

.store-badge:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(251, 109, 1, 0.4);
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--primary-container);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Calculator Section
   ========================================================================== */
.calc-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--primary-container) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.calc-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 860px;
  margin: 0 auto;
}

.calc-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.calc-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px;
  background: var(--surface-alt);
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.calc-chip.active {
  border-color: var(--primary);
  background: #FFF7ED;
  box-shadow: 0 4px 12px rgba(251, 109, 1, 0.15);
}

.calc-chip-emoji {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.calc-chip-name {
  font-size: 0.85rem;
  font-weight: 700;
}

.calc-result-box {
  background: #1A1A2E;
  color: #FFFFFF;
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.calc-result-label {
  font-size: 0.85rem;
  color: #A0A0B0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-result-saved {
  font-size: 2.2rem;
  font-weight: 900;
  color: #10B981;
}

.calc-result-detail {
  font-size: 0.9rem;
  color: #D1D5DB;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  color: #FFFFFF;
  margin: 40px 0 80px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-banner p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.92;
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #11111E;
  color: #D1D5DB;
  padding: 60px 0 32px;
  border-top: 1px solid #232336;
}

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

.footer-brand p {
  color: #9CA3AF;
  font-size: 0.9rem;
  max-width: 320px;
  margin-top: 14px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid #232336;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6B7280;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Legal Pages (Impressum & Datenschutz)
   ========================================================================== */
.legal-page {
  padding: 50px 0 80px;
}

.legal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 48px;
  max-width: 880px;
  margin: 0 auto;
}

.legal-nav-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}

.legal-tab-link {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.legal-tab-link.active {
  color: var(--primary);
  background: var(--primary-container);
}

.legal-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.legal-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--surface-alt);
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 16px 0 8px;
}

.legal-section p, .legal-section li {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-usps {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero-title {
    font-size: 2.4rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none; /* Hide on small screens */
  }
  
  .legal-card {
    padding: 24px;
  }
  
  .calc-card {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
