/* ============================================
   13 WERKE e.V. — Design System & Styles
   ============================================ */

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

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --color-anthracite: #2D2D2D;
  --color-anthracite-dark: #1A1A1A;
  --color-anthracite-light: #3D3D3D;
  --color-text: #1A1A1A;
  --color-text-secondary: #5A5A5A;
  --color-text-muted: #888888;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F7F7;
  --color-bg-subtle: #EFEFEF;
  --color-border: #E0E0E0;
  --color-border-light: #EBEBEB;
  --color-accent: #4A6274;
  --color-accent-hover: #3A5060;
  --color-white: #FFFFFF;
  --color-error: #C53030;
  --color-success: #276749;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --border-radius: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-anthracite);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-anthracite);
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

.section-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Sections --- */
.section {
  padding: var(--space-24) 0;
}

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

.section--dark {
  background-color: var(--color-anthracite);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  font-size: var(--text-xl);
  color: var(--color-anthracite);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__logo:hover {
  color: var(--color-anthracite);
}

.header__logo-mark {
  font-weight: var(--fw-extrabold);
  font-size: var(--text-2xl);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-anthracite);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-anthracite);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-anthracite);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Wrapper (canvas + content + event image) --- */
.hero-wrapper {
  position: relative;
  background-color: var(--color-bg);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* --- Hero Gradient Section --- */
.hero-gradient {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-gradient__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: var(--space-24) var(--space-6);
}

.hero__label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-8);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Hero Event Image --- */
.hero-event-image {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-6) var(--space-20);
}

.hero-event-image__inner {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-event-image__inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  min-height: 48px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-anthracite);
  color: var(--color-white);
  border: 2px solid var(--color-anthracite);
}

.btn--primary:hover {
  background-color: var(--color-anthracite-light);
  border-color: var(--color-anthracite-light);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-anthracite);
  border: 2px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-anthracite);
  background-color: var(--color-bg-alt);
  color: var(--color-anthracite);
}

.btn--ghost {
  background: transparent;
  color: var(--color-anthracite);
  border: 2px solid transparent;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.btn--ghost:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-anthracite);
}

.btn--sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-5);
  min-height: 40px;
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-anthracite);
  border: 2px solid var(--color-white);
}

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

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: var(--color-bg-subtle);
}

.card__body {
  padding: var(--space-6);
}

.card__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.card__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.card__meta-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.card__title a {
  color: inherit;
}

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

.card__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* --- Event Cards --- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-8);
}

.event-card .card__image {
  aspect-ratio: 16 / 9;
}

.event-card__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-3);
}

.event-card__badge--upcoming {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.event-card__badge--past {
  background-color: var(--color-bg-subtle);
  color: var(--color-text-muted);
}

.event-card__speakers {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.event-card__speakers strong {
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

/* --- Download Cards --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: var(--space-6);
}

.download-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  transition: box-shadow var(--transition-base);
}

.download-card:hover {
  box-shadow: var(--shadow-md);
}

.download-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-anthracite);
}

.download-card__icon svg {
  width: 24px;
  height: 24px;
}

.download-card__content {
  flex: 1;
  min-width: 0;
}

.download-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-1);
  color: var(--color-anthracite);
}

.download-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.download-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.download-card__action {
  flex-shrink: 0;
  align-self: center;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: var(--space-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-12);
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-10) - 5px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-anthracite);
  border: 2px solid var(--color-white);
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
}

.timeline__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Network Grid (13 Foerderwerke) --- */
.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
}

.network-item {
  padding: var(--space-5) var(--space-4);
  text-align: center;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  transition: background-color var(--transition-fast), box-shadow var(--transition-base);
}

.network-item:hover {
  background-color: var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
}

.network-item__name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-anthracite);
  line-height: 1.4;
}

/* --- Page Header --- */
.page-header {
  padding: var(--space-20) 0 var(--space-16);
  border-bottom: 1px solid var(--color-border-light);
}

.page-header__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.page-header__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Filter Tabs --- */
.filter-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 40px;
}

.filter-tab:hover {
  border-color: var(--color-anthracite);
  color: var(--color-anthracite);
}

.filter-tab--active {
  background-color: var(--color-anthracite);
  border-color: var(--color-anthracite);
  color: var(--color-white);
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-anthracite);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--color-error);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background-color: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--color-text-muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-anthracite);
  box-shadow: 0 0 0 3px rgba(45, 45, 45, 0.1);
  outline: none;
}

.form-input--error,
.form-textarea--error {
  border-color: var(--color-error);
}

.form-input--error:focus,
.form-textarea--error:focus {
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-1);
  display: none;
}

.form-error--visible {
  display: block;
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-anthracite);
}

.form-checkbox label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.form-success {
  padding: var(--space-5) var(--space-6);
  background-color: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: var(--border-radius-md);
  color: var(--color-success);
  font-weight: var(--fw-medium);
  display: none;
}

.form-success--visible {
  display: block;
}

/* --- Content Sections (Prose) --- */
.prose {
  max-width: var(--container-narrow);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.prose h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  color: var(--color-anthracite);
}

.prose h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--color-anthracite);
}

.prose p {
  margin-bottom: var(--space-5);
}

.prose ul, .prose ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: var(--space-2);
}

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

.prose strong {
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

/* --- Stats / Features Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  padding: var(--space-12) 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-anthracite);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--fw-medium);
}

/* --- Feature Blocks --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature {
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  transition: box-shadow var(--transition-base);
}

.feature:hover {
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  color: var(--color-anthracite);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.feature__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  color: var(--color-anthracite);
}

.feature__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-anthracite);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer__list li {
  margin-bottom: var(--space-3);
}

.footer__list a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__list a:hover {
  color: var(--color-white);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal a:hover {
  color: var(--color-white);
}

/* --- Image Placeholders --- */
.img-placeholder {
  background-color: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid var(--color-border-light);
  margin: var(--space-16) 0;
}

/* --- Mobile Overlay --- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: calc(var(--z-header) - 1);
}

.mobile-overlay--visible {
  display: block;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
  }

  .hero-gradient {
    min-height: 70vh;
  }

  .hero-gradient__content {
    padding: var(--space-16) var(--space-6);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .two-col--reverse {
    direction: ltr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
  }

  .container {
    padding: 0 var(--space-5);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .hero-gradient {
    min-height: 60vh;
  }

  .hero-gradient__content {
    padding: var(--space-12) var(--space-5);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-event-image {
    padding-bottom: var(--space-12);
  }

  /* Mobile Navigation */
  .nav__toggle {
    display: flex;
  }

  .nav__list {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-6) var(--space-5);
    gap: 0;
    overflow-y: auto;
    z-index: var(--z-overlay);
  }

  .nav__list--open {
    display: flex;
  }

  .nav__link {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: var(--text-base);
  }

  .nav__link::after {
    display: none;
  }

  /* Grids */
  .event-grid {
    grid-template-columns: 1fr;
  }

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

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

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

  /* Page header */
  .page-header {
    padding: var(--space-12) 0 var(--space-10);
  }

  /* Filter tabs scrollable */
  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-2);
  }

  .filter-tab {
    flex-shrink: 0;
  }

  /* Download cards stack */
  .download-card {
    flex-direction: column;
  }

  .download-card__action {
    align-self: flex-start;
  }

  /* Timeline */
  .timeline {
    padding-left: var(--space-8);
  }

  .timeline__dot {
    left: calc(-1 * var(--space-8) - 5px);
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  :root {
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Print Styles --- */
@media print {
  .header,
  .footer,
  .nav__toggle,
  .btn,
  .hero__decoration {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}
