/* PlanErnaehrung Deutschland - Interactive Quiz Funnel & Bento Grid Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  --bg-dark: #0B132B;
  --bg-card: #1C2541;
  --bg-card-light: #2A365C;
  --primary-cyan: #06B6D4;
  --accent-mint: #10B981;
  --accent-amber: #F59E0B;
  --text-white: #FFFFFF;
  --text-muted: #94A3B8;
  --border: rgba(255, 255, 255, 0.12);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-glow: 0 12px 40px rgba(6, 182, 212, 0.2);
  --radius-card: 24px;
  --radius-btn: 14px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

/* Top Notice & Header */
.top-notice {
  background: #1C2541;
  color: #94A3B8;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.top-bar {
  background: linear-gradient(90deg, #06B6D4 0%, #10B981 100%);
  color: #0B132B;
  font-weight: 700;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
}

.logo-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #06B6D4 0%, #10B981 100%);
  color: #0B132B;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: #CBD5E1;
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, #06B6D4 0%, #10B981 100%);
  color: #0B132B;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-outline {
  border: 2px solid var(--border);
  color: white;
  background: transparent;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-mint {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-mint);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* QUIZ ENGINE STYLES (STRUCTURE NO.1) */
.quiz-container {
  background: var(--bg-card);
  border: 2px solid var(--primary-cyan);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #06B6D4 0%, #10B981 100%);
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.quiz-opt-btn {
  background: var(--bg-card-light);
  border: 2px solid var(--border);
  padding: 1.2rem;
  border-radius: 16px;
  color: white;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.quiz-opt-btn:hover, .quiz-opt-btn.selected {
  border-color: var(--primary-cyan);
  background: rgba(6, 182, 212, 0.15);
}

/* BENTO BOX GRID STYLES */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.bento-col-2 {
  grid-column: span 2;
}

.bento-row-2 {
  grid-row: span 2;
}

/* TIMELINE TAB STYLES */
.timeline-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.timeline-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
}

.timeline-tab.active {
  background: var(--primary-cyan);
  color: #0B132B;
  border-color: var(--primary-cyan);
}

/* COMPARISON TABLE */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.comp-table th, .comp-table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comp-table th {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: white;
  margin-top: 0.4rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-cyan);
}

/* FLOATING BOTTOM STICKY BAR */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(28, 37, 65, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 0.8rem 1.5rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer {
  background: #050A18;
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 6rem 0;
  font-size: 0.9rem;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: white;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-col-2, .bento-row-2 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .quiz-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
