/* ==========================================================================
   MÄNNERVITAL 2026 - FUTURISTIC GERMAN VITALITY THEME
   Colors: Germany Flag Cyber Theme (Obsidian Black, Crimson Red, Cyber Gold)
   ========================================================================== */

:root {
  --bg-dark: #08090C;
  --bg-card: rgba(18, 22, 32, 0.75);
  --bg-card-border: rgba(255, 204, 0, 0.15);
  --bg-glass: rgba(14, 17, 24, 0.85);
  
  /* Germany Flag Cyber Palette */
  --germany-black: #08090C;
  --germany-red: #FF2A4D;
  --germany-red-glow: rgba(255, 42, 77, 0.4);
  --germany-gold: #FFCC00;
  --germany-gold-glow: rgba(255, 204, 0, 0.35);
  --germany-gold-dark: #D4A000;
  
  --text-main: #F0F2F6;
  --text-muted: #9AA0B4;
  --text-bright: #FFFFFF;
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --box-shadow-gold: 0 0 25px rgba(255, 204, 0, 0.2);
  --box-shadow-red: 0 0 25px rgba(255, 42, 77, 0.25);
}

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

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 42, 77, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(255, 204, 0, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #060709 0%, #0A0D14 100%);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--germany-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #FFE680;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-bright);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, var(--germany-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

strong {
  color: var(--text-bright);
}

.highlight-gold {
  color: var(--germany-gold);
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.highlight-red {
  color: var(--germany-red);
  text-shadow: 0 0 10px rgba(255, 42, 77, 0.3);
}

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

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFF;
}

.logo-badge {
  background: linear-gradient(135deg, var(--germany-red), var(--germany-gold));
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.nav-links a {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--germany-red), var(--germany-gold));
  transition: var(--transition);
}

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

.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, #181D28 0%, #0F121A 100%);
  color: var(--germany-gold);
  border: 1px solid var(--germany-gold);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.15);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-cyber:hover {
  background: var(--germany-gold);
  color: #08090C;
  box-shadow: var(--box-shadow-gold);
  transform: translateY(-2px);
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--germany-red) 0%, #C40026 100%);
  color: #FFFFFF;
  border: 1px solid var(--germany-red);
  box-shadow: var(--box-shadow-red);
}

.btn-primary-glow:hover {
  background: linear-gradient(135deg, #FF4769 0%, var(--germany-red) 100%);
  color: #FFFFFF;
  box-shadow: 0 0 30px rgba(255, 42, 77, 0.6);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Glass Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--germany-gold), transparent);
  opacity: 0.5;
}

.glass-card:hover {
  border-color: rgba(255, 204, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 42, 77, 0.12);
  border: 1px solid rgba(255, 42, 77, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  color: var(--germany-red);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--germany-gold);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-wrapper {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 204, 0, 0.3);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 204, 0, 0.15);
  object-fit: cover;
}

.coach-tag {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: rgba(14, 17, 24, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--germany-gold);
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}

.coach-tag-name {
  font-weight: 700;
  color: #FFF;
  font-size: 1.05rem;
}

.coach-tag-desc {
  font-size: 0.8rem;
  color: var(--germany-gold);
}

/* Sections General */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--germany-gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

/* Feature Pillar Card */
.pillar-card {
  text-align: left;
}

.pillar-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 42, 77, 0.15);
  border: 1px solid var(--germany-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--germany-red);
  margin-bottom: 1.2rem;
}

/* Quality Certificates Badge Strip */
.cert-strip {
  background: rgba(14, 17, 24, 0.9);
  border-top: 1px solid rgba(255, 204, 0, 0.2);
  border-bottom: 1px solid rgba(255, 204, 0, 0.2);
  padding: 2.5rem 0;
  margin: 3rem 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-badge-icon {
  font-size: 2rem;
  color: var(--germany-gold);
}

.cert-text h4 {
  font-size: 0.95rem;
  color: #FFF;
  margin-bottom: 2px;
}

.cert-text p {
  font-size: 0.78rem;
  margin: 0;
  color: var(--text-muted);
}

/* Interactive Calculator Styles */
.calculator-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--germany-gold);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.quiz-step {
  display: none;
}

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

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

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--germany-red), var(--germany-gold));
  width: 25%;
  transition: width 0.3s ease;
}

.option-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.option-btn:hover {
  background: rgba(255, 204, 0, 0.1);
  border-color: var(--germany-gold);
  color: #FFF;
}

.option-btn.selected {
  background: rgba(255, 42, 77, 0.15);
  border-color: var(--germany-red);
  color: #FFF;
}

.quiz-result-box {
  text-align: center;
  padding: 1rem;
}

.vital-score {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--germany-gold);
  margin: 1rem 0;
  text-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

/* Article & Recipe Cards */
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.2rem;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: var(--germany-gold);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.recipe-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1rem 0;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: var(--text-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--germany-gold);
  color: #000;
  font-weight: 700;
  border-color: var(--germany-gold);
}

/* Product & Form Page */
.product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.product-img-wrapper {
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 204, 0, 0.2);
}

.product-img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 204, 0, 0.25));
}

.lead-form-card {
  background: linear-gradient(145deg, rgba(20, 24, 35, 0.9), rgba(12, 14, 20, 0.95));
  border: 2px solid var(--germany-gold);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: 0 0 35px rgba(255, 204, 0, 0.2);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-bright);
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  color: #FFF;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--germany-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  text-align: center;
}

/* Medical Disclaimer Banner */
.disclaimer-box {
  background: rgba(255, 42, 77, 0.05);
  border: 1px solid rgba(255, 42, 77, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background: #050608;
  border-top: 1px solid rgba(255, 204, 0, 0.15);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cookie Banner (TTDSG/DSGVO) */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  z-index: 9999;
  background: rgba(14, 17, 24, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--germany-gold);
  border-radius: var(--border-radius-md);
  padding: 1.8rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  display: none;
}

.cookie-banner.active {
  display: block;
  animation: slideUp 0.4s ease;
}

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

.cookie-btn-group {
  display: flex;
  gap: 10px;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .product-hero, .grid-3, .grid-2, .cert-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0D0F16;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--germany-gold);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
}
