/* ==========================================================================
   MännerVital - Futuristic Dark Theme (Germany Colors Accent: Black, Red, Gold)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  --bg-dark: #0B0F19;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(31, 41, 55, 0.95);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  /* German Flag Futuristic Accents */
  --accent-red: #FF2A4B;
  --accent-red-glow: rgba(255, 42, 75, 0.4);
  --accent-gold: #FFD700;
  --accent-gold-glow: rgba(255, 215, 0, 0.35);
  --accent-dark: #030712;

  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(255, 215, 0, 0.35);
  --border-red: rgba(255, 42, 75, 0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glow-red: 0 0 25px rgba(255, 42, 75, 0.35);
  --shadow-glow-gold: 0 0 25px rgba(255, 215, 0, 0.3);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(255, 42, 75, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.12) 0%, transparent 45%),
              #0B0F19;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.1rem 0;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--accent-red), #D90429);
  color: #FFF;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 0 12px var(--accent-red-glow);
}

.logo-text {
  color: #FFF;
}

.logo-text span {
  color: var(--accent-gold);
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #FFF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  border-radius: var(--radius-full);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 42, 75, 0.6);
  background: linear-gradient(135deg, #FF4D6D 0%, var(--accent-red) 100%);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #F59E0B 100%);
  color: #0F172A;
  box-shadow: var(--shadow-glow-gold);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, #FFE066 0%, var(--accent-gold) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow-gold);
  color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.75rem;
  cursor: pointer;
}

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

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.hero-title highlight {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.hero-badge-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #FFF;
  margin-bottom: 0.25rem;
}

.hero-badge-sub {
  font-size: 0.85rem;
  color: var(--accent-gold);
}

/* German Flag Accent Line */
.de-flag-bar {
  width: 100%;
  height: 4px;
  display: flex;
}

.de-flag-bar .flag-black { width: 33.33%; background-color: #000; }
.de-flag-bar .flag-red { width: 33.33%; background-color: #DD0000; }
.de-flag-bar .flag-gold { width: 33.34%; background-color: #FFCC00; }

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

.section-subtitle {
  color: var(--accent-red);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFF;
}

/* Cards & Glassmorphism */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

/* Feature Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

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

/* Interactive Vitality Quiz Widget */
.quiz-container {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(11, 15, 25, 0.98));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
  margin: 4rem 0;
  position: relative;
}

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

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

.quiz-step-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  text-align: left;
}

.quiz-option-btn:hover, .quiz-option-btn.selected {
  background: rgba(255, 42, 75, 0.15);
  border-color: var(--accent-red);
  color: #FFF;
  box-shadow: 0 0 15px var(--accent-red-glow);
}

.quiz-result-box {
  display: none;
  text-align: center;
}

.quiz-score-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent-gold);
  text-shadow: 0 0 25px var(--accent-gold-glow);
  margin-bottom: 1rem;
}

/* Article & Blog Content Layout */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-tag {
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Certificates Grid */
.cert-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-glass);
  background: rgba(17, 24, 39, 0.6);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.cert-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow-gold);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--accent-gold);
}

/* Lead Form Styling (Strictly 2 fields: Name & Phone) */
.lead-form-card {
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.95), rgba(11, 15, 25, 0.98));
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card), var(--shadow-glow-red);
  max-width: 580px;
  margin: 0 auto;
}

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

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

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #FFF;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-red);
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

/* Disclaimers Box */
.disclaimer-box {
  background: rgba(15, 23, 42, 0.6);
  border-left: 3px solid var(--accent-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 2rem 0;
}

/* Footer */
.footer {
  background: #060911;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #FFF;
  margin-bottom: 1.25rem;
}

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

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

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

/* Cookie Banner Modal */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 540px;
  margin: 0 0 0 auto;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow-gold);
  z-index: 999;
  display: none;
}

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

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

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.cookie-trigger-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.cookie-trigger-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-gold);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: none;
  }
  .nav-links.open { display: flex; }
  .hero-title { font-size: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
