/* VITAL MOBILITÄT - The Movement Calendar Design System
   Brand: VITAL MOBILITÄT (Beweglich bleiben. Selbstständig bleiben.)
   Colors: Cremeweiß, Sand, dunkles Graphit, Terrakotta/Koralle (#d9533f, #c84430), Sonnengelb (#f59e0b), gedämpftes Grün (#2a9d8f), dunkles Petrol (#1d4e5f)
   Strictly NO generic raster decorations - only SVGs, pure CSS vectors, clean typography & real photography.
*/

:root {
  /* Color Palette */
  --bg-creme: #fdfbf7;
  --bg-sand: #f5f0e6;
  --bg-sand-light: #faf7f2;
  --bg-sand-subtle: #efe9dc;
  --bg-graphite: #1a1e24;
  --bg-graphite-soft: #242931;
  --bg-card: #ffffff;
  
  --text-main: #1d2127;
  --text-muted: #57606f;
  --text-light: #8792a2;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #cbd5e1;

  --accent-terracotta: #d85741;
  --accent-terracotta-hover: #bd432e;
  --accent-terracotta-light: #fbeee9;
  --accent-coral: #e06c59;

  --accent-sun: #e99c1f;
  --accent-sun-light: #fef8eb;
  --accent-green: #2e8b7c;
  --accent-green-light: #ebf6f4;
  --accent-petrol: #1d4e5f;
  --accent-petrol-light: #e8f1f4;

  --border-subtle: #e6dfd3;
  --border-strong: #d5cbbe;
  --border-dark: #333a44;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, Cambria, 'Times New Roman', Times, serif;

  /* Dimensions & Spacing */
  --max-w-base: 1240px;
  --max-w-content: 820px;
  --header-height: 74px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(26, 30, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 30, 36, 0.06);
  --shadow-lg: 0 16px 36px rgba(26, 30, 36, 0.09);
  --shadow-hover: 0 12px 28px rgba(216, 87, 65, 0.12);

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color: var(--text-main);
  background-color: var(--bg-creme);
}

body {
  line-height: 1.68;
  color: var(--text-main);
  background-color: var(--bg-creme);
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Accessible focus outlines */
:focus-visible {
  outline: 3px solid var(--accent-terracotta);
  outline-offset: 3px;
}

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

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.25rem;
  max-width: 72ch;
  color: var(--text-main);
}

p.lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-muted);
}

a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-terracotta-hover);
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

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

/* Layout Utilities */
.site-container {
  width: 100%;
  max-width: var(--max-w-base);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-container-narrow {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon-wrap {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-claim {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-terracotta);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item a {
  padding: 0.55rem 0.85rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-item a:hover,
.nav-item a.active {
  background-color: var(--bg-sand);
  color: var(--accent-terracotta);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.75rem;
}

.search-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}

.search-trigger-btn:hover {
  background: var(--bg-sand-subtle);
  border-color: var(--border-strong);
  color: var(--text-main);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

/* Hero & Time-of-Day Display ("The Movement Calendar") */
.hero-calendar-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-sand-light) 0%, var(--bg-creme) 100%);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.live-clock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-terracotta);
  box-shadow: 0 0 0 0 rgba(216, 87, 65, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(216, 87, 65, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(216, 87, 65, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(216, 87, 65, 0); }
}

.live-time-display {
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.live-time-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.hero-content h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-content h1 .highlight-terracotta {
  color: var(--accent-terracotta);
  display: inline;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 60ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--accent-terracotta);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--accent-terracotta);
  box-shadow: 0 4px 14px rgba(216, 87, 65, 0.28);
  min-height: 48px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--accent-terracotta-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 87, 65, 0.36);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--bg-card);
  color: var(--text-main);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  min-height: 48px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--bg-sand);
  border-color: var(--text-muted);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Hero Right Column: Graphic Movement Tracker Card */
.hero-tracker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tracker-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-terracotta);
}

.tracker-badge {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-sand);
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* Horizontal Time Ribbon (The Core Visual Metaphor) */
.timeline-ribbon-wrap {
  width: 100%;
  padding: 2.5rem 0;
  background: var(--bg-sand);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.timeline-ribbon {
  display: flex;
  align-items: flex-start;
  position: relative;
  min-width: 900px;
  padding: 1rem 0 2rem;
}

.timeline-ribbon::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: linear-gradient(90deg, #d85741 0%, #e99c1f 35%, #2e8b7c 70%, #1d4e5f 100%);
  border-radius: 2px;
  z-index: 1;
}

.timeline-node {
  position: relative;
  flex: 1;
  text-align: center;
  z-index: 2;
  cursor: pointer;
  padding: 0 0.5rem;
}

.node-pin {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-node:hover .node-pin {
  transform: scale(1.15);
  border-color: var(--accent-terracotta-hover);
  background-color: var(--accent-terracotta);
  color: #fff;
  box-shadow: 0 6px 16px rgba(216, 87, 65, 0.3);
}

.node-time {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.node-action {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  margin-bottom: 0.2rem;
}

.node-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding: 0 0.25rem;
}

/* Interactive Timeline Popover Modal / Inline expander */
.timeline-modal {
  display: none;
  background: var(--bg-card);
  border: 2px solid var(--accent-terracotta);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-lg);
}

/* Sections General */
.section-py {
  padding: 5rem 0;
}

.section-py-sm {
  padding: 3rem 0;
}

.section-sand {
  background-color: var(--bg-sand);
}

.section-sand-light {
  background-color: var(--bg-sand-light);
}

.section-graphite {
  background-color: var(--bg-graphite);
  color: var(--text-on-dark);
}

.section-graphite h1,
.section-graphite h2,
.section-graphite h3,
.section-graphite p {
  color: var(--text-on-dark);
}

.section-graphite p.lead {
  color: var(--text-on-dark-muted);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 0.6rem;
}

.section-graphite .section-label {
  color: var(--accent-sun);
}

/* "Was möchten Sie im Alltag leichter können?" Interactive Selector */
.improver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.improver-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  min-height: 70px;
}

.improver-btn:hover {
  border-color: var(--accent-terracotta);
  background: var(--accent-terracotta-light);
  transform: translateY(-2px);
}

.improver-btn.active {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #ffffff;
}

.improver-btn.active .improver-icon {
  stroke: #ffffff;
  color: #ffffff;
}

.improver-btn.active .improver-name {
  color: #ffffff;
}

.improver-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--accent-terracotta);
}

.improver-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.improver-result-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--accent-terracotta);
  transition: var(--transition);
}

.improver-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.improver-tag {
  background: var(--bg-sand);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Mobilitätsradar Feature (5 Areas) */
.radar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.radar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radar-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-terracotta);
  box-shadow: var(--shadow-md);
}

.radar-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-terracotta);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.radar-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-terracotta);
  transition: var(--transition);
}

.radar-card:hover .radar-icon-wrap {
  background: var(--accent-terracotta-light);
  transform: scale(1.08);
}

.radar-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.radar-question {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.radar-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* 10-Minuten-Routine Visual Stepper */
.routine-stepper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.routine-step {
  display: grid;
  grid-template-columns: 80px 1fr 110px;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.routine-step:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.routine-step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-terracotta);
  line-height: 1;
}

.routine-step-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.routine-step-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.routine-step-duration {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--bg-sand);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Visual Content Badges (1 Minute, 5 Minuten, Wissen, Im Alltag, Achtung etc.) */
.content-badge-box {
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.content-badge-box.format-1min {
  background: var(--accent-terracotta-light);
  border-left: 4px solid var(--accent-terracotta);
}

.content-badge-box.format-5min {
  background: var(--accent-sun-light);
  border-left: 4px solid var(--accent-sun);
}

.content-badge-box.format-wissen {
  background: var(--accent-petrol-light);
  border-left: 4px solid var(--accent-petrol);
}

.content-badge-box.format-alltag {
  background: var(--accent-green-light);
  border-left: 4px solid var(--accent-green);
}

.content-badge-box.format-achtung {
  background: #fff8f6;
  border-left: 4px solid #c0392b;
}

.badge-box-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.badge-box-content h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.content-badge-box.format-1min h4 { color: var(--accent-terracotta); }
.content-badge-box.format-5min h4 { color: var(--accent-sun); }
.content-badge-box.format-wissen h4 { color: var(--accent-petrol); }
.content-badge-box.format-alltag h4 { color: var(--accent-green); }
.content-badge-box.format-achtung h4 { color: #c0392b; }

.badge-box-content p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* "Mein Bewegungstag" Interactive Planner Form */
.planner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.planner-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.planner-slot-item {
  border: 1px solid var(--border-subtle);
  background: var(--bg-sand-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.planner-slot-item:hover {
  border-color: var(--accent-terracotta);
  background: #fff;
}

.planner-slot-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-terracotta);
  cursor: pointer;
  margin-right: 0.5rem;
}

.slot-label {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.slot-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.planner-output {
  display: none;
  background: var(--accent-terracotta-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--accent-terracotta);
}

/* Exercise Cards & Grid */
.exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.exercise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-main);
}

.exercise-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-terracotta);
  box-shadow: var(--shadow-hover);
}

.exercise-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.exercise-category-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  background: var(--accent-terracotta-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.exercise-duration-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.exercise-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  line-height: 1.3;
}

.exercise-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.exercise-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-terracotta);
}

/* Article Cards & Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-terracotta);
  box-shadow: var(--shadow-hover);
}

.article-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-terracotta);
  margin-bottom: 0.6rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.article-footer .read-more {
  color: var(--accent-terracotta);
  font-weight: 700;
}

/* FAQ Accordion */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon-cross {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-terracotta);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon-cross {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
}

.faq-item.open .faq-answer {
  display: block;
  padding-top: 1rem;
}

/* Detail Page Layouts (Exercises & Articles) */
.page-hero {
  background: var(--bg-sand-light);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.5rem 0 3rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent-terracotta);
}

.breadcrumbs span.separator {
  color: var(--border-strong);
}

.content-article-body {
  padding: 3.5rem 0 5rem;
}

.content-article-body h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.content-article-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.editorial-step-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num-circle {
  width: 44px;
  height: 44px;
  background: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.step-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Search Modal Overlay */
.search-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 30, 36, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.5rem 2rem;
  overflow-y: auto;
}

.search-modal-overlay.active {
  display: flex;
}

.search-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 740px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}

.search-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-sand);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.search-close-btn:hover {
  background: var(--border-subtle);
  color: var(--text-main);
}

.search-input-field {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.2rem;
  font-family: inherit;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.search-input-field:focus {
  border-color: var(--accent-terracotta);
  outline: none;
}

.search-tags-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.search-tag-chip {
  background: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.search-tag-chip:hover {
  background: var(--accent-terracotta-light);
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
}

.search-results-list {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.search-result-item:hover {
  background: var(--bg-sand-light);
  border-color: var(--accent-terracotta);
}

.search-result-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 0.2rem;
}

.search-result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.search-result-snippet {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Category Filter Tabs */
.filter-tabs-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}

.filter-tab-btn:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
}

.filter-tab-btn.active {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #fff;
}

/* Footer */
.site-footer {
  background-color: var(--bg-graphite);
  color: var(--text-on-dark);
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--accent-terracotta);
}

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

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer-claim {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  max-width: 38ch;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #fff;
  padding-left: 3px;
}

.footer-disclaimer-box {
  background: var(--bg-graphite-soft);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

.footer-disclaimer-box strong {
  color: #fff;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--text-on-dark-muted);
}

.footer-legal-links a:hover {
  color: #fff;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .radar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 66px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-creme);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-item a {
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-actions {
    margin-left: 0;
    margin-top: 1.5rem;
    flex-direction: column;
    align-items: stretch;
  }

  .search-trigger-btn {
    justify-content: center;
  }

  .timeline-ribbon-wrap {
    padding: 1.5rem 0;
  }

  .timeline-ribbon {
    flex-direction: column;
    min-width: unset;
    gap: 1.5rem;
  }

  .timeline-ribbon::before {
    top: 15px;
    bottom: 15px;
    left: 24px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline-node {
    display: flex;
    text-align: left;
    align-items: flex-start;
    gap: 1.25rem;
    padding-left: 0.5rem;
  }

  .node-pin {
    margin: 0;
    flex-shrink: 0;
  }

  .radar-grid {
    grid-template-columns: 1fr;
  }

  .routine-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .routine-step-duration {
    text-align: left;
    align-self: flex-start;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Print & Accessibility reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
