/* ==========================================================================
   components.css — Header (§3), Footer (§4), Shared blocks B1–B6 (§5)
   ========================================================================== */

/* ===================== HEADER (§3) — PREMIUM FLOATING PILL ===================== */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 1200px;
  margin: 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06),
              0 2px 6px rgba(15, 23, 42, 0.03),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.25s ease;
}

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

/* Logo lockup */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.logo-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.logo-text .suffix {
  font-weight: 400;
  font-size: 0.75rem;
  color: #64748B;
  margin-left: 2px;
}

/* Desktop nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: var(--sp-6);
}

/* Dropdown trigger */
.nav-drop {
  position: relative;
}

.nav-drop-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  border-radius: 9999px;
  transition: all 0.15s ease;
}

.nav-drop-trigger:hover,
.nav-drop-trigger[aria-expanded="true"] {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.05);
}

.nav-drop-trigger .chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.15s;
}

.nav-drop-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid #E2E8F0;
  border-radius: var(--r-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 1px rgba(0, 0, 0, 0.05);
}

.nav-drop.open .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-panel a {
  display: block;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-panel a:hover {
  color: #0F172A;
  background: #F1F5F9;
}

/* Publication names in Read dropdown — serif */
.nav-panel a.pub-name {
  font-family: var(--serif);
  font-size: 0.875rem;
}

/* Two-column panel for Learn */
.nav-panel.two-col {
  min-width: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px;
}

.nav-panel .col-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  padding: 8px 12px 4px;
  grid-column: 1 / -1;
}

.nav-panel .col-label:nth-of-type(2) {
  grid-column: 1 / -1;
  margin-top: 4px;
  border-top: 1px solid #E2E8F0;
}

/* Flat nav links */
.nav-flat {
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  border-radius: 9999px;
  transition: all 0.15s ease;
}

.nav-flat:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.05);
}

/* Right section */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-signin {
  font-size: 0.8125rem;
  color: #475569;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 9999px;
  transition: all 0.15s;
}

.header-signin:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.05);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(217, 119, 6, 0.45);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  gap: 5px;
  padding: 0;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.05);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0F172A;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: var(--sp-5);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.15);
  z-index: 999;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer .drawer-group-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  padding: var(--sp-3) 0 var(--sp-1);
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  padding: var(--sp-2) 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  min-height: 40px;
  transition: color 0.15s;
}

.mobile-drawer a:hover {
  color: #0F172A;
}

.mobile-drawer .drawer-cta {
  position: sticky;
  bottom: 0;
  padding: var(--sp-4) 0 var(--sp-2);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #E2E8F0;
  margin-top: var(--sp-4);
}

@media (max-width: 880px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 52px;
    padding: 0 8px 0 12px;
  }
  .header-nav { display: none; }
  .header-signin { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 560px) {
  .logo-text .suffix { display: none; }
}

/* ===================== FOOTER (§4) ===================== */
.site-footer {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  padding: var(--sp-8) 0 var(--sp-6);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 800px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.3), rgba(37, 99, 235, 0.2), transparent);
}

/* Row 1 — five columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
}

.footer-col-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: var(--sp-4);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  max-width: 28ch;
}

.footer-badge {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: var(--sp-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-mid);
  transition: all 0.15s;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--text);
  transform: translateX(2px);
}

/* Publication names in Read column — serif */
.footer-links a.pub-link {
  font-family: var(--serif);
}

/* Row 2 — email capture */
.footer-capture {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: var(--sp-7);
  margin-bottom: var(--sp-7);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.footer-capture h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: var(--sp-2);
  color: var(--text);
}

.footer-capture p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: var(--sp-4);
  max-width: 55ch;
}

.capture-form {
  display: flex;
  gap: var(--sp-2);
  max-width: 420px;
}

.capture-input {
  flex: 1;
  padding: 12px 18px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.875rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.capture-input::placeholder {
  color: var(--text-dim);
}

.capture-input:focus {
  outline: none;
  border-color: var(--amber);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(245, 185, 59, 0.2);
}

.capture-submit {
  padding: 12px 22px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.3);
  transition: all 0.2s ease;
}

.capture-submit:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #EA580C 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(217, 119, 6, 0.45);
}

/* Row 3 — legal */
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid #E2E8F0;
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-legal-left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.footer-disclaimer {
  max-width: 72ch;
  font-size: 0.6875rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: var(--sp-3);
}

.footer-lang-switch {
  display: flex;
  gap: var(--sp-3);
}

.footer-lang-switch a {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition: color 0.15s;
}

.footer-lang-switch a:hover,
.footer-lang-switch a.active {
  color: var(--text);
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .capture-form {
    flex-direction: column;
  }

  .footer-legal {
    flex-direction: column;
    gap: var(--sp-4);
  }
}

/* ===================== B1 — HERO (§5) ===================== */
.hero {
  padding-top: calc(36px + var(--section-pad));
  padding-bottom: var(--section-pad);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero .wrap {
  max-width: 1280px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1100px);
  height: 480px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 185, 59, 0.16) 0%, rgba(37, 99, 235, 0.06) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(440px, 500px) 1fr;
  gap: var(--sp-6);
  align-items: center;
  justify-content: space-between;
}

.hero-copy {
  max-width: 500px;
}

.hero-eyebrow {
  margin-bottom: var(--sp-4);
}

.hero h1 {
  margin-bottom: var(--sp-5);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--sp-6);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 480px;
}

.hero-note a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===================== B2 — READER DEMO (§5) ===================== */
.hero-demo {
  position: relative;
  width: 100%;
  justify-self: end;
}

.hero-demo::before {
  content: '';
  position: absolute;
  inset: -24px;
  background: radial-gradient(circle at 60% 40%, rgba(245, 185, 59, 0.18) 0%, rgba(37, 99, 235, 0.08) 40%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.reader-demo {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(15, 23, 42, 0.12), 
              0 0 35px -5px rgba(245, 185, 59, 0.18);
  width: 100%;
}

/* Chrome Window Header & Tabs */
.demo-chrome-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 0;
  background: #F1F5F9;
  border-bottom: 1px solid #CBD5E1;
}

.demo-dots {
  display: flex;
  gap: 7px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-chrome-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  flex: 1;
}

.demo-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #E2E8F0;
  border-radius: 8px 8px 0 0;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #475569;
  cursor: default;
  white-space: nowrap;
  border: 1px solid #CBD5E1;
  border-bottom: none;
}

.demo-tab.active {
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 600;
  border-color: #CBD5E1;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.03);
}

.tab-fav {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #000000;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
}

.tab-fav.spiegel {
  background: #E52E2A;
}

.tab-close {
  font-size: 11px;
  opacity: 0.6;
  margin-left: 2px;
}

.demo-tab-add {
  font-size: 14px;
  color: #64748B;
  padding: 4px 8px;
  cursor: default;
}

/* Chrome URL / Navigation Bar */
.reader-demo .demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.demo-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
}

.demo-nav-btns svg {
  stroke: #64748B;
}

.demo-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #334155;
  overflow: hidden;
}

.demo-url svg {
  stroke: #10B981;
  flex-shrink: 0;
}

.demo-url span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-ext-badge {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ext-icon-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  color: var(--amber);
}

.ext-active-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: #10B981;
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
}

.demo-body {
  display: flex;
  min-height: 520px;
}

.demo-main {
  flex: 1;
  padding: 24px 24px 20px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

/* Authentic Newspaper Masthead */
.demo-masthead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F5F9;
}

.zeit-logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  color: #000000;
  text-transform: uppercase;
}

.zeit-bullet {
  font-size: 6px;
  color: #DC2626;
  margin: 0 2px;
}

.zeit-plus-tag {
  background: #DC2626;
  color: #FFFFFF;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.5625rem;
  padding: 1px 4px;
  border-radius: 3px;
}

.demo-article-cat {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-left: auto;
}

.demo-article-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--text);
}

.demo-article-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.demo-article-lead-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.demo-article-thumb-wrap {
  width: 96px;
  height: 78px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.demo-article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-sentences-flow {
  flex: 1;
}

.demo-sentence {
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 6px;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
}

.demo-sentence.active {
  background: linear-gradient(90deg, rgba(245, 185, 59, 0.18) 0%, rgba(245, 185, 59, 0.04) 100%);
  border-left: 4px solid var(--amber);
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(245, 185, 59, 0.12);
}

/* Side panel */
.demo-panel {
  width: 320px;
  background: #F8FAFC;
  border-left: 1px solid #E2E8F0;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.demo-panel-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 10px;
}

.demo-panel-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.demo-panel-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.demo-panel-sub {
  font-size: 0.625rem;
  color: var(--text-dim);
}

.demo-panel-counter {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 7px;
  border-radius: 5px;
}

.demo-pass-strip {
  background: #0F172A;
  color: #F59E0B;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-align: center;
}

.demo-t-card {
  padding: 14px 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.demo-t-lang {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.demo-t-lang.de {
  color: var(--amber);
}

.demo-t-lang.en {
  color: var(--blue);
  margin-top: 10px;
}

.demo-t-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 10px 0;
}

.demo-t-card .de-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
}

.demo-t-card .en-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-mid);
}

/* Player controls */
.demo-wave {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.demo-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.demo-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 16px rgba(217, 119, 6, 0.5);
}

.demo-play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.demo-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 24px;
}

.demo-waveform span {
  width: 3px;
  border-radius: 2px;
  background: var(--amber);
  opacity: 0.8;
}

.demo-waveform.playing span {
  animation: wave 0.8s ease-in-out infinite alternate;
}

@keyframes wave {
  0% { height: 4px; opacity: 0.4; }
  100% { height: 20px; opacity: 1; }
}

.demo-waveform span:nth-child(1) { height: 6px; animation-delay: 0s; }
.demo-waveform span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.demo-waveform span:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.demo-waveform span:nth-child(4) { height: 18px; animation-delay: 0.15s; }
.demo-waveform span:nth-child(5) { height: 12px; animation-delay: 0.3s; }
.demo-waveform span:nth-child(6) { height: 6px; animation-delay: 0.25s; }
.demo-waveform span:nth-child(7) { height: 16px; animation-delay: 0.05s; }
.demo-waveform span:nth-child(8) { height: 10px; animation-delay: 0.35s; }

.demo-wave-time {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .demo-waveform span {
    animation: none !important;
  }
}

@media (max-width: 880px) {
  .demo-panel { display: none; }
}

/* ===================== B3 — COMPARISON TABLE (§5) ===================== */
.cmp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px -6px rgba(15, 23, 42, 0.08);
}

.cmp-table caption {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-align: left;
  margin-bottom: var(--sp-4);
  font-style: italic;
}

.cmp-table thead th {
  padding: 16px var(--sp-4);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-align: left;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  white-space: nowrap;
}

/* Own column — amber tinted */
.cmp-table thead th.own {
  color: var(--amber);
  background: rgba(245, 185, 59, 0.08);
}

.cmp-table tbody td {
  padding: 14px var(--sp-4);
  font-size: 0.875rem;
  color: var(--text-mid);
  border-bottom: 1px solid #F1F5F9;
  vertical-align: top;
}

.cmp-table tbody td.own {
  color: var(--green);
  font-weight: 600;
  background: rgba(245, 185, 59, 0.04);
}

.cmp-table tbody tr:last-child td {
  border-bottom: none;
}

.cmp-yes { color: var(--green); font-weight: 600; }
.cmp-no { color: var(--rose); }
.cmp-mid { color: var(--text-dim); }

/* ===================== B4 — FAQ ACCORDION (§5) ===================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--sp-7);
}

.faq-grid details {
  border-bottom: 1px solid #E2E8F0;
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}

.faq-grid summary::-webkit-details-marker { display: none; }

.faq-grid summary:hover {
  color: var(--amber);
}

.faq-grid summary .faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.faq-grid details[open] summary .faq-chevron {
  transform: rotate(180deg);
  color: var(--amber);
}

.faq-grid .faq-answer {
  padding-bottom: var(--sp-5);
}

.faq-grid .faq-answer p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 55ch;
}

.faq-grid .faq-answer p + p {
  margin-top: var(--sp-3);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== B5 — LEVEL BADGE ROW (§5) ===================== */
.level-badges {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.level-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  transition: all 0.15s;
}

.level-badge.active {
  background: var(--amber-15);
  border-color: var(--amber-30);
  color: var(--amber);
}

/* ===================== B6 — FINAL CTA BAND (§5) ===================== */
.cta-band {
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: var(--sp-8) var(--sp-7);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245, 185, 59, 0.18) 0%, rgba(37, 99, 235, 0.06) 50%, transparent 80%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08);
}

.cta-band h2 {
  margin-bottom: var(--sp-4);
  color: var(--text);
}

.cta-band .cta-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 44ch;
  margin: 0 auto var(--sp-6);
  line-height: 1.65;
}

.cta-band .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}

.cta-band .cta-fine {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===================== SECTION HEADER (shared) ===================== */
.sec-header {
  margin-bottom: var(--sp-7);
}

.sec-header .eyebrow {
  margin-bottom: var(--sp-3);
}

.sec-header h2 {
  margin-bottom: var(--sp-3);
}

.sec-header p {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 52ch;
}

.sec-header.centered {
  text-align: center;
}

.sec-header.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ===================== ANNOUNCEMENT BAR (optional) ===================== */
.announce-bar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  font-size: 0.8125rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.announce-bar a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announce-dismiss {
  position: absolute;
  right: var(--gutter);
  color: var(--text-dim);
  font-size: 1rem;
  padding: var(--sp-1);
}
