/* Modern Austria Alpine Clean / Wellness Health Design System */
:root {
  --primary: #1b4d3e; /* Austrian Alpine Forest Pine Green */
  --primary-light: #2c6e59;
  --primary-dark: #12352b;
  --accent: #d97736; /* Warm Austrian terracotta / amber accent */
  --accent-hover: #c26325;
  --bg-main: #f8faf8;
  --bg-card: #ffffff;
  --text-main: #1f2d27;
  --text-muted: #5c6b64;
  --border-light: #e2e8e3;
  --border-focus: #2c6e59;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(27, 77, 62, 0.05);
  --shadow-md: 0 8px 24px rgba(27, 77, 62, 0.08);
  --shadow-lg: 0 16px 40px rgba(27, 77, 62, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
}

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

/* Hero & Main Content */
.main-wrapper {
  flex: 1;
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: #e7f2ed;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: 2.3rem;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Quiz Card Container */
.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.progress-header {
  margin-bottom: 2rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background-color: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 20%;
  transition: width 0.35s ease;
}

.quiz-step {
  display: none;
}

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

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

.step-question {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.options-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.option-btn {
  background: #ffffff;
  border: 2px solid var(--border-light);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  width: 100%;
}

.option-btn:hover {
  border-color: var(--primary-light);
  background: #f4f8f5;
  transform: translateY(-1px);
}

.option-btn.selected {
  border-color: var(--primary);
  background: #eef5f1;
  font-weight: 600;
}

.option-btn .radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: inline-block;
  margin-left: 1rem;
  flex-shrink: 0;
  position: relative;
}

.option-btn.selected .radio-indicator {
  border-color: var(--primary);
  background-color: var(--primary);
}

.option-btn.selected .radio-indicator::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 12px rgba(27, 77, 62, 0.2);
}

.btn-secondary {
  background: #f1f4f2;
  color: var(--text-muted);
}

.btn-secondary:hover {
  background: #e5ece7;
  color: var(--text-main);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(217, 119, 54, 0.25);
}

/* Form inputs on final step */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 110, 89, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.checkbox-group input {
  margin-top: 0.25rem;
}

/* Trust Elements / Info Boxes */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.trust-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.trust-item-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.trust-item h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Static Content & Legal Pages */
.legal-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.legal-card h1 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.legal-card h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 1.5rem 0 0.8rem 0;
}

.legal-card p, .legal-card ul {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-disclaimer-box {
  background-color: #f7f9f7;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Footer */
.site-footer {
  background: #142820;
  color: #c5d4cd;
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid #233b30;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
}

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

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

.footer-links a {
  color: #b0c5bb;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1140px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #8c9e95;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.2rem 1.5rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content {
  font-size: 0.88rem;
  color: var(--text-main);
  max-width: 750px;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .quiz-card {
    padding: 1.5rem 1.2rem;
  }
}
