/* B1 Trainer — Marketing landing page styles */
:root {
  --green: #1A7A3C;
  --green-dark: #145c2d;
  --green-light: #e8f5ee;
  --green-vivid: #22c55e;
  --ink: #0d1a10;
  --amber: #C97A10;
  --amber-light: #fef3e2;
  --bg: #F5F5F5;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-hover: 0 4px 12px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p  { color: var(--text-muted); }
a  { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }

/* ── Disclaimer banner ─────────────────────────────────────────────────────── */
.disclaimer-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .5rem 0;
  font-size: .75rem;
  color: rgba(255,255,255,.42);
  text-align: center;
  line-height: 1.5;
}
.disclaimer-bar strong { font-weight: 600; color: rgba(255,255,255,.65); }
.disclaimer-bar a { color: var(--green-vivid); font-weight: 500; text-decoration: none; opacity: .85; }
.disclaimer-bar a:hover { opacity: 1; text-decoration: none; }
.disclaimer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.disclaimer-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.35);
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
  padding: .15rem .35rem;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color .15s;
  font-family: var(--font);
}
.disclaimer-close:hover { color: rgba(255,255,255,.75); }

/* ── Logo ───────────────────────────────────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
}
.logo-quill {
  color: var(--green);
  flex-shrink: 0;
}
.footer .logo-quill { color: rgba(255,255,255,.55); }
.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.18rem;
  color: var(--text);
  letter-spacing: 0;
}
.logo-b1 {
  font-family: var(--font);
  font-weight: 900;
  font-style: normal;
  font-size: .88em;
  color: var(--green);
  letter-spacing: -0.02em;
}

/* ── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { padding: .5rem 1.1rem !important; font-size: .9rem !important; color: #fff !important; }
.nav-links a.nav-cta:hover { color: #fff !important; }

/* ── Mobile hamburger ─────────────────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s;
  transform-origin: center;
}
.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 190;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; margin-top: .5rem; text-align: center; }
.mobile-nav a:hover { text-decoration: none; color: var(--green); }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  border: 1.5px solid transparent;
  text-decoration: none !important;
  font-family: var(--font);
  line-height: 1;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(26,122,60,.3);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green-light);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.btn-white:hover {
  background: rgba(255,255,255,.9);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transform: translateY(-1px);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 14px; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--ink);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,.032) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-content { text-align: left; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--green-vivid);
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.22);
  border-radius: 100px;
  padding: .28rem .9rem;
  margin-bottom: 1.375rem;
  letter-spacing: .025em;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--green-vivid);
  border-radius: 50%;
  flex-shrink: 0;
  animation: eyebrow-pulse 2.5s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  60%       { opacity: .75; box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #fff;
  max-width: 580px;
  margin: 0 0 1.25rem;
}
.hero-accent {
  display: block;
  -webkit-text-fill-color: var(--green-vivid);
  color: var(--green-vivid);
  font-style: italic;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 0 2rem;
  color: rgba(255,255,255,.58);
  line-height: 1.75;
}
.hero-sub strong { color: rgba(255,255,255,.9); }
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1.25rem;
  font-size: .82rem;
  color: rgba(255,255,255,.36);
}

/* ── Hero visual column ──────────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
}

/* ── Hero exam question demo (animated visualization) ────────────────────── */
.qdemo {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(34,197,94,.08), 0 32px 80px rgba(0,0,0,.6), 0 8px 32px rgba(0,0,0,.3);
  animation: qdemo-in 8s cubic-bezier(.4,0,.2,1) infinite;
  opacity: 0;
}
@keyframes qdemo-in {
  0%    { opacity: 0; transform: translateY(10px); }
  10%   { opacity: 1; transform: translateY(0); }
  78%   { opacity: 1; transform: translateY(0); }
  88%   { opacity: 0; transform: translateY(-6px); }
  100%  { opacity: 0; transform: translateY(10px); }
}

.qdemo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.25rem;
  background: linear-gradient(135deg, var(--green) 0%, #2daa56 100%);
}
.qdemo-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.qdemo-progress-label { font-size: .78rem; color: rgba(255,255,255,.7); }
.qdemo-progress-label strong { color: white; font-weight: 700; }
.qdemo-timer { font-size: .78rem; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }

.qdemo-progress-track { height: 3px; background: rgba(0,0,0,.12); }
.qdemo-progress-fill  { height: 100%; width: 60%; background: rgba(255,255,255,.55); }

.qdemo-body {
  padding: 1rem 1.25rem .875rem;
  border-bottom: 1px solid var(--border);
}
.qdemo-prompt {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .625rem;
}
.qdemo-excerpt {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-left: 3px solid var(--green);
  padding: .125rem 0 .125rem .75rem;
  margin: 0;
  font-style: italic;
}

.qdemo-options {
  padding: .75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border-bottom: 1px solid var(--border);
}
.qdemo-opt {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .475rem .75rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: .81rem;
  color: var(--text);
  opacity: 0;
}
.qdemo-opt-letter {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--green-light);
  color: var(--green);
  position: relative;
}

/* Option A – fades in at 22% */
.qdemo-opt--a { animation: opt-a 8s ease-out infinite; }
@keyframes opt-a {
  0%   { opacity: 0; }
  16%  { opacity: 0; }
  22%  { opacity: 1; }
  78%  { opacity: 1; }
  88%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Option C – fades in slightly after */
.qdemo-opt--c { animation: opt-c 8s ease-out infinite; }
@keyframes opt-c {
  0%   { opacity: 0; }
  24%  { opacity: 0; }
  30%  { opacity: 1; }
  78%  { opacity: 1; }
  88%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Option B – appears, goes hover, then gets selected */
.qdemo-opt--b { animation: opt-b 8s ease-out infinite; }
@keyframes opt-b {
  0%   { opacity: 0;  background: transparent;         border-color: var(--border); }
  20%  { opacity: 0;  background: transparent;         border-color: var(--border); }
  26%  { opacity: 1;  background: transparent;         border-color: var(--border); }
  38%  { opacity: 1;  background: rgba(26,122,60,.05); border-color: rgba(26,122,60,.4); }
  46%  { opacity: 1;  background: rgba(26,122,60,.12); border-color: var(--green); }
  78%  { opacity: 1;  background: rgba(26,122,60,.12); border-color: var(--green); }
  88%  { opacity: 0;  background: transparent;         border-color: var(--border); }
  100% { opacity: 0;  background: transparent;         border-color: var(--border); }
}

/* B letter circle fills green; text "B" fades out to show ✓ overlay */
.qdemo-opt--b .qdemo-opt-letter { animation: opt-b-letter 8s ease-out infinite; }
@keyframes opt-b-letter {
  0%   { background: var(--green-light); color: var(--green); }
  46%  { background: var(--green-light); color: var(--green); }
  52%  { background: var(--green); color: transparent; }
  78%  { background: var(--green); color: transparent; }
  86%  { background: var(--green-light); color: var(--green); }
  100% { background: var(--green-light); color: var(--green); }
}
/* ✓ pseudo-element sits on top of the letter */
.qdemo-opt--b .qdemo-opt-letter::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .8rem;
  animation: opt-b-check 8s ease-out infinite;
  opacity: 0;
}
@keyframes opt-b-check {
  0%   { opacity: 0; }
  50%  { opacity: 0; }
  56%  { opacity: 1; }
  78%  { opacity: 1; }
  86%  { opacity: 0; }
  100% { opacity: 0; }
}
/* B answer text turns brand-green when selected */
.qdemo-opt--b span:last-child { animation: opt-b-text 8s ease-out infinite; }
@keyframes opt-b-text {
  0%   { color: var(--text); }
  46%  { color: var(--text); }
  52%  { color: var(--green-dark); }
  78%  { color: var(--green-dark); }
  86%  { color: var(--text); }
  100% { color: var(--text); }
}

/* Feedback bar slides up after selection */
.qdemo-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  background: var(--green-light);
  border-top: 1px solid rgba(26,122,60,.15);
  animation: qdemo-feedback 8s ease-out infinite;
  opacity: 0;
  transform: translateY(8px);
}
@keyframes qdemo-feedback {
  0%   { opacity: 0; transform: translateY(8px); }
  54%  { opacity: 0; transform: translateY(8px); }
  62%  { opacity: 1; transform: translateY(0); }
  78%  { opacity: 1; transform: translateY(0); }
  86%  { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 0; transform: translateY(8px); }
}
.qdemo-richtig { font-size: .875rem; font-weight: 800; color: var(--green); }
.qdemo-score   { font-size: .8rem; color: var(--text-muted); }
.qdemo-score strong { color: var(--text); font-weight: 700; }

/* Reduced motion: show static selected state */
@media (prefers-reduced-motion: reduce) {
  .qdemo                              { animation: none; opacity: 1; transform: none; }
  .qdemo-opt--a                       { animation: none; opacity: 1; }
  .qdemo-opt--b                       { animation: none; opacity: 1; background: rgba(26,122,60,.12); border-color: var(--green); }
  .qdemo-opt--b .qdemo-opt-letter     { animation: none; background: var(--green); color: transparent; }
  .qdemo-opt--b .qdemo-opt-letter::after { animation: none; opacity: 1; }
  .qdemo-opt--b span:last-child       { animation: none; color: var(--green-dark); }
  .qdemo-opt--c                       { animation: none; opacity: 1; }
  .qdemo-feedback                     { animation: none; opacity: 1; transform: none; }
}
.hero-review-float {
  margin-top: 1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .875rem 1.1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-review-stars {
  color: #fbbf24;
  font-size: .85rem;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}
.hero-review-text {
  font-size: .83rem;
  font-style: italic;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
  margin: 0 0 .35rem;
}
.hero-review-author {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.42);
}

/* ── Stats bar ──────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 3px solid rgba(34,197,94,.15);
  padding: 1.75rem 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255,255,255,.09);
}
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-vivid);
  letter-spacing: -0.03em;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.42); }

/* ── Section shared ─────────────────────────────────────────────────────────── */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: .75rem;
}
.section-title { color: var(--text); margin-bottom: .75rem; }
.section-sub    { font-size: 1.05rem; max-width: 480px; }
.section-header { margin-bottom: 3rem; }

/* ── Feature cards ──────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all .2s;
  position: relative;
}
.feature-card-link {
  text-decoration: none !important;
  display: block;
  cursor: pointer;
}
.feature-card-link:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.feature-card:not(.feature-card-link):hover {
  border-color: rgba(26,122,60,.2);
  box-shadow: var(--shadow);
}
.feature-card.locked { opacity: .7; }
.feature-card.locked::after {
  content: 'Coming soon';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--amber-light);
  color: var(--amber);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 100px;
}
.card-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.card-badge-active {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(26,122,60,.2);
}
.card-icon { width: 52px; height: 52px; margin-bottom: 1.25rem; }
.feature-card h3 { color: var(--text); margin-bottom: .4rem; }
.card-cta {
  display: inline-block;
  margin-top: .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
}

.sections-link-bar {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sections-link-bar a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s;
}
.sections-link-bar a:hover { color: var(--green); text-decoration: none; }

/* ── How it works ───────────────────────────────────────────────────────────── */
.how-it-works { background: var(--surface); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.step h3 { color: var(--text); }

/* ── Reviews ────────────────────────────────────────────────────────────────── */
.reviews-section {
  background: linear-gradient(180deg, var(--bg) 0%, #f0faf4 100%);
}
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.rating-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.rating-right { display: flex; flex-direction: column; gap: .25rem; }
.stars {
  font-size: 1.5rem;
  color: #f59e0b;
  letter-spacing: .1em;
}
.rating-count { font-size: .8rem; color: var(--text-muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow .2s, border-color .2s;
}
.review-card:hover {
  border-color: rgba(26,122,60,.25);
  box-shadow: var(--shadow-hover);
}
.review-stars {
  font-size: 1rem;
  color: #f59e0b;
  letter-spacing: .05em;
}
.review-text {
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: .95rem;
  quotes: "\201C" "\201D";
  flex: 1;
  border: none;
  padding: 0;
  margin: 0;
}
.review-text strong { color: var(--text); font-style: normal; }
.review-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-style: normal;
  padding: 0;
  border: none;
  margin: 0;
}
.review-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green) 0%, #2daa56 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-author strong { display: block; color: var(--text); font-size: .9rem; }
.review-meta { font-size: .8rem; color: var(--text-muted); }

.reviews-cta {
  text-align: center;
  margin-top: 2rem;
}
.reviews-cta a {
  font-weight: 600;
  font-size: .9rem;
}

/* ── Split layout (Modelltest section) ─────────────────────────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-text h2 { margin-bottom: .75rem; }
.split-text p   { color: var(--text-muted); line-height: 1.75; }
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.25rem;
}
.feature-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}
.feature-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}
.feature-list strong { color: var(--text); }

/* Exam card visual */
.exam-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.exam-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--green) 0%, #2daa56 100%);
}
.exam-label { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85); }
.exam-badge {
  font-size: .7rem;
  font-weight: 700;
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: .2rem .6rem;
  border-radius: 100px;
}
.exam-sections { padding: .5rem 0; }
.exam-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.exam-row:last-child { border-bottom: none; }
.exam-section-name { font-weight: 700; color: var(--text); min-width: 80px; }
.exam-section-meta { color: var(--text-muted); flex: 1; font-size: .8rem; }
.exam-status {
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 100px;
  white-space: nowrap;
}
.exam-status.available { background: var(--green-light); color: var(--green); border: 1px solid rgba(26,122,60,.2); }
.exam-status.soon       { background: transparent; color: var(--text-muted); font-weight: 500; padding-left: 0; padding-right: 0; }
.exam-card-footer {
  padding: .875rem 1.25rem;
  background: var(--bg);
  font-size: .8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ── Lesen grid ─────────────────────────────────────────────────────────────── */
.lesen-section { background: var(--surface); }
.lesen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.lesen-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: all .18s;
}
.lesen-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.lesen-num {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: .2rem .65rem;
  border-radius: 100px;
  letter-spacing: .05em;
  align-self: flex-start;
}
.lesen-card h3 { color: var(--text); font-size: 1rem; }
.lesen-card p  { color: var(--text-muted); font-size: .875rem; line-height: 1.6; flex: 1; }
.lesen-meta    { font-size: .75rem; color: var(--text-muted); font-weight: 500; margin-top: auto; padding-top: .25rem; }
.lesen-card-cta {
  background: linear-gradient(135deg, var(--green) 0%, #2daa56 100%);
  border-color: transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
}
.lesen-card-cta:hover { border-color: transparent; transform: translateY(-2px); }
.lesen-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: #fff;
}
.lesen-cta-inner strong { font-size: 1rem; font-weight: 700; }
.lesen-cta-inner span   { font-size: .8rem; opacity: .85; }

/* ── Wortliste ──────────────────────────────────────────────────────────────── */
.wortliste-section { background: var(--bg); }
.wortliste-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.wortliste-text h2 { margin-bottom: .75rem; }
.wortliste-text p  { color: var(--text-muted); line-height: 1.75; }
.wortliste-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
}
.wortliste-features li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: .9rem;
}
.wortliste-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.wortliste-editorial {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
}
.wortliste-word-big {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: .25rem;
  word-break: break-word;
  hyphens: manual;
}
.wortliste-word-phonetic {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.wortliste-word-def {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-bottom: .875rem;
}
.wortliste-word-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(26,122,60,.2);
  border-radius: 100px;
  padding: .2rem .7rem;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wortliste-word-count {
  display: block;
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.wortliste-word-count strong { color: var(--green); }

/* ── Prüfung section ────────────────────────────────────────────────────────── */
.pruefung-section { background: var(--surface); }
.pruefung-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.pruefung-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pruefung-card-wide { grid-column: 1 / -1; }
.pruefung-card h3   { color: var(--text); margin-bottom: 1rem; font-size: 1rem; }
.pruefung-card-icon {
  font-size: 1.5rem;
  margin-bottom: .75rem;
  display: block;
}
.pruefung-table-wrap { overflow-x: auto; }
.pruefung-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.pruefung-table th {
  text-align: left;
  padding: .6rem .75rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.pruefung-table td {
  padding: .75rem .75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.pruefung-table td strong { color: var(--text); }
.pruefung-total td { background: var(--green-light); font-weight: 600; color: var(--green); }
.pruefung-total td strong { color: var(--green); }
.pruefung-note {
  margin-top: .875rem;
  font-size: .8rem;
  color: var(--text-muted);
  font-style: italic;
}
.cost-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.cost-list li { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.cost-country  { color: var(--text-muted); }
.cost-price    { font-weight: 700; color: var(--text); }
.steps-mini {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.steps-mini li {
  counter-increment: step;
  display: flex;
  gap: .75rem;
  font-size: .875rem;
  color: var(--text-muted);
  align-items: flex-start;
}
.steps-mini li::before {
  content: counter(step);
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: .1rem;
}
.needs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.needs-list li { font-size: .875rem; color: var(--text-muted); }
.pruefung-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
}

/* ── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
details {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: border-color .2s;
}
details[open] { border-color: rgba(26,122,60,.3); }
summary {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  font-size: .95rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: .25rem 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-answer ul { margin-top: .5rem; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.faq-answer strong { color: var(--text); }
.faq-answer a { font-weight: 500; }

/* ── CTA section ────────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, #1e8f46 50%, #2daa56 100%);
  text-align: center;
  padding: 5.5rem 0;
}
.cta-section h2 { color: #fff; margin-bottom: .75rem; }
.cta-section p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  background: #111827;
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 2rem;
  font-size: .875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-name { color: rgba(255,255,255,.9); }
.footer-brand .logo-b1 { color: var(--green); }
.footer-brand p { margin-top: .75rem; line-height: 1.75; color: rgba(255,255,255,.5); }
.footer-trust {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}
.footer h4 {
  color: rgba(255,255,255,.85);
  margin-bottom: .875rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer ul a { color: rgba(255,255,255,.5); transition: color .15s; }
.footer ul a:hover { color: rgba(255,255,255,.9); text-decoration: none; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  max-width: 780px;
}
.footer-legal a { color: rgba(255,255,255,.45); text-decoration: underline; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); text-decoration: none; }

.lang-switcher { display: flex; gap: .5rem; }
.lang-switcher a {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  padding: .25rem .6rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  transition: all .15s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  text-decoration: none;
}
.lang-switcher a.active {
  border-color: var(--green);
  background: rgba(26,122,60,.3);
  color: #fff;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content    { text-align: center; }
  .hero h1         { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-sub        { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-cta        { justify-content: center; }
  .hero-trust      { justify-content: center; }
  .hero-visual     { max-width: 480px; margin: 0 auto; }

  .split-layout     { grid-template-columns: 1fr; gap: 2.5rem; }
  .wortliste-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
  .lesen-grid       { grid-template-columns: repeat(2, 1fr); }
  .pruefung-grid    { grid-template-columns: 1fr; }
  .pruefung-card-wide { grid-column: 1; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero   { padding: 4rem 0 3rem; }

  .nav-links        { display: none; }
  .mobile-menu-btn  { display: flex; }

  .stats-grid   { gap: 1.5rem; }
  .lesen-grid   { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-buttons  { flex-direction: column; align-items: center; }

  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 520px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.1rem; line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero-cta   { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-trust { gap: .5rem 1rem; font-size: .8rem; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .rating-summary { flex-direction: column; text-align: center; }
  .wortliste-editorial { display: none; }
  .pruefung-table th:nth-child(4),
  .pruefung-table td:nth-child(4) { display: none; }
}

/* ── Auth modal (login / signup pop-up) ──────────────────────────────────────── */
.auth-modal[hidden] { display: none; }
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 26, 16, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.auth-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border-radius: 20px;
  padding: 38px 32px 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
  animation: auth-pop .3s cubic-bezier(.16, 1, .3, 1);
}
@keyframes auth-pop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .auth-modal-card { animation: none; } }
.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 15px;
  transition: background .15s, color .15s;
}
.auth-modal-close:hover { background: var(--green-light); color: var(--text); }
.auth-modal-brand { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-modal-brand .logo-name { font-size: 1.7rem; }
.auth-modal-title { font-size: 1.32rem; font-weight: 800; text-align: center; letter-spacing: -.02em; }
.auth-modal-sub { text-align: center; color: var(--text-muted); font-size: .9rem; margin: 6px 0 22px; }
.auth-field { display: block; margin-bottom: 14px; }
.auth-field span {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  padding: 11px 14px;
  font-size: .95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
}
.auth-field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26, 122, 60, .12); }
.auth-error { background: #fdecea; color: #b3261e; font-size: .85rem; padding: 9px 12px; border-radius: 8px; margin-bottom: 14px; }
.btn-full { width: 100%; justify-content: center; margin-top: 4px; }
.auth-switch { text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: 18px; }
.auth-switch a { color: var(--green); font-weight: 600; }
.nav-login { font-weight: 600; }

/* ── Legal pages ─────────────────────────────────────────────────────────────── */
.legal-top { border-bottom: 1px solid var(--border); background: #fff; }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 44px 1.5rem 72px; }
.legal-wrap h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.legal-meta { color: var(--text-muted); font-size: .88rem; margin-top: 8px; }
.legal-note { background: #fff8e6; border: 1px solid #f0dca8; color: #7a5512; padding: 12px 16px; border-radius: 10px; font-size: .88rem; margin: 22px 0 28px; line-height: 1.6; }
.legal-wrap h2 { font-size: 1.22rem; font-weight: 700; margin: 32px 0 10px; letter-spacing: -.01em; }
.legal-wrap h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; }
.legal-wrap p, .legal-wrap li { color: var(--text); line-height: 1.75; font-size: .96rem; }
.legal-wrap ul, .legal-wrap ol { margin: 10px 0 12px 1.25rem; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap a { color: var(--green); font-weight: 500; }
.legal-wrap table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .9rem; }
.legal-wrap th, .legal-wrap td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-wrap th { background: var(--green-light); font-weight: 600; }
.ph { background: #fff3cd; padding: 0 5px; border-radius: 3px; font-style: italic; color: #7a5512; }
.legal-foot { border-top: 1px solid var(--border); padding: 22px 0; text-align: center; color: var(--text-muted); font-size: .85rem; }
.legal-foot a { color: var(--text-muted); margin: 0 .5rem; }
.auth-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--text-muted); margin: 4px 0 14px; line-height: 1.5; }
.auth-consent input { margin-top: 2px; flex-shrink: 0; }

/* ── Nav dropdown ─────────────────────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: .9rem; font-weight: 500;
  color: var(--text-muted); padding: 0; transition: color .15s;
}
.nav-dropdown-toggle:hover { color: var(--text); }
.nav-dropdown-toggle .caret { font-size: .7em; transition: transform .2s; }
.nav-dropdown:hover .caret, .nav-dropdown.open .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 10px;
  min-width: 210px; list-style: none; padding: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 210;
}
/* invisible bridge so hover doesn't drop in the gap between toggle and menu */
.nav-dropdown-menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: .9rem; font-weight: 500; color: var(--text); white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--green-light); color: var(--green); text-decoration: none; }
.menu-sep { height: 1px; background: var(--border); margin: 5px 6px; }

/* ── language switcher (reuses .nav-dropdown) ── */
.nav-lang .nav-dropdown-toggle { display: inline-flex; align-items: center; gap: .3rem; }
.nav-lang-globe { font-size: .95em; line-height: 1; }
.nav-lang .nav-dropdown-menu { left: auto; right: 0; min-width: 150px; }
.nav-dropdown-menu a.active { color: var(--green); font-weight: 700; background: var(--green-light); }
.mobile-lang-row { display: flex; flex-direction: column; gap: .45rem; }
.mobile-lang-cap { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.mobile-lang { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg); }
.mobile-lang a { flex: 1; text-align: center; padding: .6rem 0 !important; margin: 0 !important; font-size: .85rem !important; font-weight: 600; color: var(--text-muted) !important; border: 0 !important; border-right: 1px solid var(--border) !important; }
.mobile-lang a:last-child { border-right: 0 !important; }
.mobile-lang a.active { background: var(--green); color: #fff !important; }
.mobile-lang a:hover { background: rgba(0,0,0,.03); text-decoration: none; }
.mobile-lang a.active:hover { background: var(--green-dark); color: #fff !important; }
/* mobile CTA: keep white button text (.mobile-nav a was overriding .btn-primary) */
.mobile-nav a.btn-primary { color: #fff !important; border-radius: 12px; padding: .85rem 1.5rem !important; }
.mobile-nav a.btn-primary:hover { color: #fff !important; transform: none; box-shadow: none; }

/* ── Homepage "practice by module" badges ─────────────────────────────────── */
.module-badge { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--border); color: var(--text-muted); margin-bottom: .6rem; }
.module-badge--live { background: var(--green-light); color: var(--green); }
.module-badge--alt { background: #fff3e0; color: #b26a00; }
