/**
 * styles.css — Shared styles for Das Atelier der Radikalen Mitte
 * Dada-inspired: cream/beige backgrounds, red accents, angular borders, box-shadows,
 * uppercase sans-serif labels.
 */

:root {
  --bg: #f3ecdf;
  --paper: #fffaf1;
  --ink: #111111;
  --muted: #5d5d5d;
  --accent: #991b1b;
  --line: rgba(17,17,17,0.18);
  --shadow: 0 18px 50px rgba(0,0,0,0.12);
  --radius: 18px;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
*:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
html { scroll-behavior: smooth; }

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.8rem 1.2rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ─── Screen Reader Only ─── */
.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;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 15%, rgba(190,30,30,0.08), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(17,17,17,0.06), transparent 24%),
    linear-gradient(180deg, #f5efe5 0%, var(--bg) 100%);
  font-family: var(--serif);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(17,17,17,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.05) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  mix-blend-mode: multiply;
}

a { color: inherit; }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(243,236,223,0.78);
  border-bottom: 1px solid var(--line);
}

.site-header .inner,
.hero,
.section,
.footer-inner {
  width: min(var(--max), calc(100vw - 2.4rem));
  margin: 0 auto;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-mark {
  border: 2px solid var(--ink);
  padding: 0.25rem 0.45rem;
  transform: rotate(-3deg);
  font-weight: 700;
  background: var(--paper);
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-pre {
  color: var(--accent);
}

.brand-main {
  color: var(--ink);
}

.header-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
}

.lang-switch {
  border: 1px solid var(--line);
  padding: 0.15rem 0.45rem;
}

.header-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.12rem;
}

.header-links a:hover,
.header-links a:focus {
  border-color: currentColor;
}

.header-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 92vh;
  padding: clamp(3.5rem, 6vw, 6rem) 0 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.92;
  margin: 0 0 1.25rem;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero h1 .shift {
  display: inline-block;
  transform: rotate(-2.4deg);
  background: var(--accent);
  color: #fff;
  padding: 0.05em 0.16em 0.1em;
  box-shadow: 0.18em 0.18em 0 0 rgba(17,17,17,0.9);
  margin-left: 0.08em;
}

.lede {
  max-width: 38rem;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.hero-claim {
  margin: 0 0 1.6rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

.actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.button,
button {
  appearance: none;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 0.82rem 1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0.25rem 0.25rem 0 rgba(17,17,17,0.95);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.button:hover,
.button:focus,
button:hover,
button:focus {
  transform: translate(-2px, -2px);
  box-shadow: 0.38rem 0.38rem 0 rgba(17,17,17,0.95);
}

.button:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.button--accent {
  background: var(--accent);
  color: #fff;
}

.microcopy {
  font-family: var(--sans);
  font-size: 0.85rem;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Hero Stage ─── */
.hero-stage {
  position: relative;
  min-height: 36rem;
  background: rgba(255,250,241,0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.hero-stage::before {
  content: "cut-up / collage / widerspruch / spiel / urteil";
  position: absolute;
  inset: 0;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: clamp(0.65rem, 1vw, 0.82rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17,17,17,0.07);
  transform: rotate(-17deg) scale(1.2);
  white-space: nowrap;
  z-index: 0;
}

.floating-word,
.stamp,
.cut-card {
  position: absolute;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0.5rem 0.5rem 0 rgba(17,17,17,0.88);
  user-select: none;
}

.floating-word {
  padding: 0.45rem 0.7rem;
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.82rem, 1vw, 1rem);
  transition: transform 300ms ease, left 300ms ease, top 300ms ease;
  z-index: 3;
}

.floating-word.accent {
  background: var(--accent);
  color: #fff;
}

.stamp {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  color: var(--accent);
  background: rgba(255,250,241,0.94);
  z-index: 4;
}

.cut-card {
  padding: 1rem 1rem 1.1rem;
  width: min(25rem, 76%);
  z-index: 2;
  background: rgba(255,250,241,0.93);
}

.cut-card p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.48;
}

.cut-card strong {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.6rem;
}

/* ─── Ticker ─── */
.ticker-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(17,17,17,0.03);
}

.ticker {
  display: inline-flex;
  gap: 2.2rem;
  white-space: nowrap;
  min-width: 100%;
  padding: 0.88rem 0;
  animation: ticker 36s linear infinite;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Sections ─── */
.section {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.6rem;
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  scroll-margin-top: 7rem;
}

.section-label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--muted);
  position: sticky;
  top: 5rem;
  align-self: start;
  padding-top: 0.3rem;
}

.section-body h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-body p {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.72;
  margin: 0 0 1rem;
  max-width: 54rem;
}

.manifest-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.14rem) !important;
  font-family: var(--sans);
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 46rem;
}

.stempel-hint {
  font-family: var(--sans);
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: var(--muted);
}

.section-body .big-line {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  margin: 1.3rem 0;
  font-weight: 700;
  max-width: 44rem;
}

/* ─── Cards ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.card {
  background: rgba(255,250,241,0.86);
  border: 1px solid var(--line);
  border-left: 8px solid var(--accent);
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

/* ─── Principles ─── */
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.4rem;
}

.principle {
  padding: 1rem 1rem 1rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255,250,241,0.78);
  position: relative;
}

.principle::before {
  content: "\25A0";
  position: absolute;
  left: 0.45rem;
  top: 0.92rem;
  color: var(--accent);
  font-size: 0.8rem;
}

.principle strong {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.35rem;
}

/* ─── Quote Block ─── */
.quote-block {
  margin: 1.5rem 0;
  padding: 1.2rem 1.25rem;
  border: 2px solid var(--ink);
  box-shadow: 0.45rem 0.45rem 0 rgba(17,17,17,0.9);
  background: var(--paper);
  max-width: 40rem;
  transform: rotate(-1.1deg);
}

.quote-block p {
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  line-height: 1.35;
}

.quote-block span {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── CTA Panel ─── */
.cta-panel {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-panel p {
  margin: 0;
  max-width: 42rem;
  font-size: 1.04rem;
  line-height: 1.55;
}

.cta-panel .button {
  background: #fff;
  color: var(--ink);
}

/* ─── Footer ─── */
.footer {
  padding: 2.2rem 0 3.8rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.footer h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.footer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 40rem;
}

.footer-claim {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem !important;
}

.footer-note {
  color: var(--muted);
  font-size: 0.92rem !important;
  max-width: 52rem;
  margin-bottom: 0.6rem !important;
}

.footer-stamp {
  align-self: center;
  justify-self: end;
  padding: 0.9rem 1rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--sans);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  transform: rotate(-5deg);
  background: rgba(255,250,241,0.84);
}


.footer-links {
  margin-top: 0.8rem !important;
  font-family: var(--sans);
  font-size: 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus {
  border-bottom-color: currentColor;
}

.stempel-variants {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-top: 1.1rem;
}

.stempel-form h3 {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
}

.legal-content h2 {
  margin: 0 0 0.7rem;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
  max-width: 54rem;
}

/* ─── Read Mode ─── */
.read-mode .floating-word,
.read-mode .stamp,
.read-mode .quote-block,
.read-mode .hero h1 .shift,
.read-mode .footer-stamp,
.read-mode .brand-mark {
  transform: none !important;
  box-shadow: none !important;
}

.read-mode .ticker {
  animation: none;
  transform: none;
}

.read-mode .hero-stage::before {
  display: none;
}

.read-mode .floating-word,
.read-mode .cut-card {
  transform: none !important;
  position: relative !important;
  inset: auto !important;
  margin: 0.5rem 0;
}

.read-mode .hero-stage {
  letter-spacing: normal;
  font-size: smaller;
  line-height: 1.45;
  background: none;
  min-height: auto;
  padding: 1rem;
  display: block;
}

.read-mode .hero-stage .overlay {
  display: none;
}

.read-mode .hero-claim,
.read-mode .manifest-subtitle {
  letter-spacing: normal;
}

.read-mode body::before,
body.read-mode::before {
  opacity: 0.04;
}

@media (max-width: 820px) {
  .hero-claim {
    max-width: 22rem;
  }

  .footer-note {
    font-size: 0.85rem !important;
  }
}

/* ─── Subpage Hero (single column) ─── */
.page-hero {
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem;
  width: min(var(--max), calc(100vw - 2.4rem));
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.94;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}

.page-hero .subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 48rem;
}

/* ─── Filter Bar ─── */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 1.2rem 0;
  width: min(var(--max), calc(100vw - 2.4rem));
  margin: 0 auto;
}

.filter-bar button {
  font-size: 0.82rem;
  padding: 0.55rem 0.9rem;
}

.filter-bar button.active {
  background: var(--accent);
  color: #fff;
}

/* ─── Archiv Grid ─── */
.archiv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
  width: min(var(--max), calc(100vw - 2.4rem));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.archiv-card {
  background: rgba(255,250,241,0.86);
  border: 1px solid var(--line);
  border-left: 8px solid var(--accent);
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.archiv-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.16);
}

.archiv-card .tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  margin-bottom: 0.7rem;
  box-shadow: 0.15rem 0.15rem 0 rgba(17,17,17,0.9);
}

.archiv-card .tag--denkprobe { border-color: var(--accent); color: var(--accent); }
.archiv-card .tag--widerspruchssalon { border-color: var(--ink); }
.archiv-card .tag--community { border-color: var(--muted); color: var(--muted); }

.archiv-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.archiv-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ─── Media Page ─── */
.media-player {
  background: rgba(255,250,241,0.86);
  border: 2px solid var(--ink);
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
  padding: 1.6rem;
  max-width: 42rem;
  margin-bottom: 1rem;
}

.media-player audio,
.media-player video {
  width: 100%;
  margin-top: 0.8rem;
}

.video-container {
  background: rgba(255,250,241,0.86);
  border: 2px solid var(--ink);
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
  padding: 1.6rem;
  max-width: 42rem;
  margin-bottom: 1rem;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.download-list li {
  margin-bottom: 0.6rem;
}

.download-list a {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.6rem 1rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  text-decoration: none;
  box-shadow: 0.2rem 0.2rem 0 rgba(17,17,17,0.9);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.download-list a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.35rem 0.35rem 0 rgba(17,17,17,0.9);
}

.share-buttons {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.share-btn {
  font-size: 0.82rem !important;
  padding: 0.55rem 0.9rem !important;
}

/* ─── Roadmap / Timeline ─── */
#roadmap-container {
  width: min(var(--max), calc(100vw - 2.4rem));
  margin: 0 auto;
  padding: 2rem 0;
  position: relative;
}

.timeline {
  position: relative;
  padding-left: 2.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,250,241,0.86);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  box-shadow: var(--shadow);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.85rem;
  top: 1.4rem;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--accent);
  border-radius: 0;
  transform: rotate(45deg);
}

.timeline-item.done::before {
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.timeline-item .date {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.timeline-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.timeline-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.timeline-item .status {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.45rem;
  margin-top: 0.5rem;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.timeline-item.done .status {
  border-color: var(--ink);
  color: var(--ink);
}

/* ─── Events ─── */
.events-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.events-list li {
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  background: rgba(255,250,241,0.86);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  box-shadow: var(--shadow);
}

.events-list .event-date {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

.events-list .event-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.events-list .event-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Active Nav Link ─── */
.nav-link--active {
  border-bottom: 2px solid currentColor !important;
  font-weight: 700;
}

/* ─── Archiv Filter ─── */
.archiv-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.archiv-filter-btn {
  font-size: 0.82rem !important;
  padding: 0.5rem 0.85rem !important;
}

.archiv-filter-btn.active {
  background: var(--accent) !important;
  color: #fff !important;
}

/* ─── Archiv Tags ─── */
.archiv-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.5rem;
  border: 2px solid var(--ink);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.archiv-tag--denkprobe { border-color: var(--accent); color: var(--accent); }
.archiv-tag--salon { border-color: var(--ink); color: var(--ink); }
.archiv-tag--community { border-color: var(--muted); color: var(--muted); }

/* ─── Stempel Generator ─── */
.stempel-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.2rem;
  align-items: start;
}

.stempel-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stempel-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.4rem;
}

.stempel-input {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0.7rem 0.9rem;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  box-shadow: 0.2rem 0.2rem 0 rgba(17,17,17,0.9);
  outline: none;
}

.stempel-input:focus {
  box-shadow: 0.3rem 0.3rem 0 rgba(190,30,30,0.7);
  border-color: var(--accent);
}

.stempel-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.stempel-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.stempel-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--paper);
  border: 1px dashed var(--line);
  padding: 1rem;
}

.stempel-preview svg {
  max-width: 100%;
  height: auto;
}

/* ─── Remixer ─── */
.remixer-panel {
  margin-top: 1.2rem;
}

.remixer-output {
  margin: 0 0 1.2rem;
  padding: 1.2rem 1.4rem;
  border: 2px solid var(--ink);
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
  background: var(--paper);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  transform: rotate(-0.5deg);
  transition: opacity 0.4s ease;
  min-height: 4rem;
}

.remix-separator {
  margin: 0 0.6rem;
  color: var(--accent);
}

.remix-error {
  font-family: var(--sans);
  color: var(--muted);
}

/* ─── Live Ticker ─── */
.live-ticker {
  background: rgba(255,250,241,0.86);
  border: 2px solid var(--ink);
  box-shadow: 0.3rem 0.3rem 0 rgba(17,17,17,0.9);
  min-height: 3rem;
}

.live-ticker-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
}

.live-ticker-prev,
.live-ticker-next {
  font-size: 0.85rem !important;
  padding: 0.3rem 0.6rem !important;
  box-shadow: none !important;
  border: 1px solid var(--line) !important;
  background: transparent !important;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
}

.live-ticker-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.35s ease;
}

.ticker-date {
  margin-left: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 700;
}

.live-ticker-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  flex-shrink: 0;
}

.live-ticker-badge--update {
  background: var(--accent);
  color: #fff;
}

.live-ticker-badge--zitat {
  background: var(--muted);
  color: #fff;
}

/* ─── Quiz ─── */
.quiz-container {
  margin-top: 1.2rem;
  padding: 1.5rem;
  background: rgba(255,250,241,0.86);
  border: 2px solid var(--ink);
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
}

.quiz-progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.quiz-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(17,17,17,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.4rem;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.4s ease;
  border-radius: 3px;
}

.quiz-content-fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.quiz-content-fade--visible {
  opacity: 1;
}

.quiz-question-title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.35;
  font-family: var(--serif);
}

.quiz-options-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quiz-option {
  text-align: left;
  padding: 0.85rem 1rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  box-shadow: 0.2rem 0.2rem 0 rgba(17,17,17,0.9);
}

.quiz-option:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.35rem 0.35rem 0 rgba(17,17,17,0.9);
  background: #f3ecdf;
}

.quiz-option--selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.quiz-option--selected:hover {
  background: var(--accent);
  transform: none;
  box-shadow: 0.2rem 0.2rem 0 rgba(17,17,17,0.9);
}

.quiz-option--disabled {
  pointer-events: none;
}

.quiz-option--faded {
  opacity: 0.4;
}

.quiz-result-fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.quiz-result-fade--visible {
  opacity: 1;
}

.quiz-result-container {
  text-align: center;
  padding: 1rem 0;
}

.quiz-result-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.quiz-result-title {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: var(--serif);
}

.quiz-result-description {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 1.2rem;
  font-family: var(--serif);
}

.quiz-result-motto {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--ink);
  box-shadow: 0.3rem 0.3rem 0 rgba(17,17,17,0.9);
  background: var(--paper);
  transform: rotate(-1.5deg);
  margin-bottom: 1.5rem;
}

.quiz-result-motto span {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.quiz-result-scores {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.quiz-restart {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0.25rem 0.25rem 0 rgba(17,17,17,0.6);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.quiz-restart:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.38rem 0.38rem 0 rgba(17,17,17,0.6);
}

.quiz-intro-wrapper {
  text-align: center;
  padding: 1rem 0;
}

.quiz-intro-wrapper h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-family: var(--serif);
}

.quiz-intro-wrapper p {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 auto 1.4rem;
  color: var(--muted);
  font-family: var(--serif);
}

.quiz-start {
  border: 2px solid var(--ink);
  background: var(--accent);
  color: #fff;
  padding: 0.82rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0.25rem 0.25rem 0 rgba(17,17,17,0.95);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.quiz-start:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.38rem 0.38rem 0 rgba(17,17,17,0.95);
}

.quiz-loading {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.quiz-error {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.9rem;
}

/* ─── Media Player Placeholder ─── */
.media-player-placeholder {
  text-align: center;
}

.media-player-status {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ─── Roadmap Items (JS-generated) ─── */
.roadmap-item {
  position: relative;
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,250,241,0.86);
  border: 1px solid var(--line);
  border-left: 6px solid var(--muted);
  box-shadow: var(--shadow);
  transition: transform 120ms ease;
}

.roadmap-item:hover {
  transform: translate(-2px, -2px);
}

.roadmap-item--completed { border-left-color: var(--ink); }
.roadmap-item--active { border-left-color: var(--accent); }
.roadmap-item--upcoming { border-left-color: var(--muted); }

.roadmap-dot {
  width: 16px;
  height: 16px;
  border: 3px solid var(--muted);
  background: var(--paper);
  flex-shrink: 0;
  margin-top: 0.3rem;
  transform: rotate(45deg);
}

.roadmap-item--completed .roadmap-dot {
  background: var(--ink);
  border-color: var(--ink);
}

.roadmap-item--active .roadmap-dot {
  background: var(--accent);
  border-color: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(190,30,30,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(190,30,30,0); }
}

.roadmap-content {
  flex: 1;
}

.roadmap-date {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}

.roadmap-title {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  line-height: 1.25;
}

.roadmap-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.12rem 0.45rem;
  border: 1px solid var(--muted);
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.roadmap-item--active .roadmap-badge {
  border-color: var(--accent);
  color: var(--accent);
}

.roadmap-item--completed .roadmap-badge {
  border-color: var(--ink);
  color: var(--ink);
}

.roadmap-desc {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .hero,
  .section,
  .footer-inner,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 29rem;
  }

  .section-label {
    position: static;
    padding-top: 0;
  }

  .cards,
  .principles {
    grid-template-columns: 1fr;
  }

  .footer-stamp {
    justify-self: start;
  }

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

  .stempel-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    scroll-margin-top: 9rem;
  }

  .site-header .inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .hero {
    min-height: auto;
    padding-top: 2.6rem;
  }

  .hero-stage {
    min-height: 24rem;
  }

  .cut-card {
    width: 88%;
  }

  .actions {
    align-items: stretch;
  }

  .button,
  button {
    width: 100%;
    text-align: center;
  }

  .header-links {
    gap: 0.7rem;
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--paper);
    padding: 0.8rem;
    border: 1px solid var(--line);
  }

  .header-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    width: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .stempel-form,
  .quiz-container {
    grid-column: 1 / -1;
  }
}

/* ─── Werkstatt ─── */
.werkstatt-tool {
  margin-top: 1.2rem;
}

.werkstatt-input {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0.75rem 0.9rem;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  box-shadow: 0.2rem 0.2rem 0 rgba(17,17,17,0.9);
  margin-bottom: 0.8rem;
  resize: vertical;
}

.werkstatt-input:focus {
  box-shadow: 0.3rem 0.3rem 0 rgba(190,30,30,0.7);
  border-color: var(--accent);
}

.werkstatt-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.werkstatt-output {
  margin-top: 1.4rem;
  min-height: 1rem;
}

.werkstatt-card {
  background: rgba(255,250,241,0.86);
  border: 1px solid var(--line);
  border-left: 6px solid var(--ink);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
}

.werkstatt-card--accent {
  border-left-color: var(--accent);
}

.werkstatt-card--dilemma {
  border-left-color: var(--accent);
  border-width: 2px;
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
}

.werkstatt-card-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.werkstatt-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.werkstatt-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.werkstatt-card li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.werkstatt-result-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.werkstatt-these {
  font-style: italic;
  font-size: 1.1rem;
  margin: 0 0 1.2rem;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--muted);
  color: var(--muted);
}

.werkstatt-frage {
  font-size: 1.05rem;
  line-height: 1.45;
  margin-top: 0.5rem;
}

.werkstatt-dual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 0.5rem;
}

.werkstatt-dual-side {
  font-size: 0.95rem;
  line-height: 1.55;
}

.werkstatt-dual-vs {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.2rem;
}

.werkstatt-loading {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.werkstatt-loading-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 4px;
  animation: werkstattPulse 1.2s ease-in-out infinite;
}

.werkstatt-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.werkstatt-loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes werkstattPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.werkstatt-error {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.8rem;
  border: 1px solid var(--accent);
  background: rgba(190,30,30,0.05);
}

.werkstatt-step {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}

.werkstatt-step.done {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.werkstatt-step.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.werkstatt-step-num {
  font-weight: 700;
}

@media (max-width: 980px) {
  .werkstatt-dual {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .werkstatt-dual-vs {
    text-align: center;
  }
}

/* ─── Daily Challenge ─── */
.daily-card {
  border: 2px solid var(--ink);
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
  background: var(--paper);
  padding: 1.5rem 1.8rem;
  transform: rotate(-0.4deg);
}

.daily-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.daily-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--accent);
  padding: 0.3rem 0.7rem;
}

.daily-date {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
}

.daily-titel {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0.5rem 0;
}

.daily-impuls {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.daily-frage {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.daily-answer-area {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.daily-input {
  flex: 1;
  font-family: var(--serif);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border: 2px solid var(--ink);
  background: #fff;
  outline: none;
}

.daily-input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.daily-submit {
  white-space: nowrap;
}

.daily-saved {
  padding: 1rem;
  background: rgba(190,30,30,0.05);
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
}

.daily-saved-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}

.daily-fallback {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  padding: 1rem 0;
}

.daily-privacy-note {
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.daily-archive-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.daily-archive-btn,
.daily-archive-clear {
  margin-top: 0;
}

.daily-archive-clear {
  background: transparent;
}

/* ─── Argumentkarte ─── */
.argmap {
  margin-top: 1rem;
}

.argmap-these {
  text-align: center;
  border: 3px solid var(--ink);
  box-shadow: 0.3rem 0.3rem 0 rgba(17,17,17,0.9);
  background: var(--paper);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.argmap-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.argmap-col-title {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.5rem;
  margin-bottom: 0.8rem;
}

.argmap-col-title--pro {
  color: #1a7a3a;
  border-bottom: 2px solid #1a7a3a;
}

.argmap-col-title--contra {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.argmap-node--pro {
  border-left: 3px solid #1a7a3a;
}

.argmap-node--contra {
  border-left: 3px solid var(--accent);
}

.argmap-einwand {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.argmap-synthese {
  margin-top: 1.5rem;
}

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

/* ─── Stille-Modus Chat ─── */
.stille-chat {
  border: 2px solid var(--ink);
  background: var(--paper);
}

.stille-messages {
  height: 300px;
  overflow-y: auto;
  padding: 1rem;
}

.stille-msg {
  max-width: 80%;
  padding: 0.7rem 1rem;
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.5;
}

.stille-msg--user {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
  text-align: right;
}

.stille-msg--ki {
  margin-right: auto;
  background: rgba(190,30,30,0.08);
  border-left: 3px solid var(--accent);
  font-style: italic;
}

.stille-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.7rem 1rem;
}

.stille-input-area {
  display: flex;
  border-top: 2px solid var(--ink);
}

.stille-input {
  flex: 1;
  font-family: var(--serif);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: none;
  background: #fff;
  outline: none;
}

.stille-input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.stille-input-area .button {
  border: none;
  border-radius: 0;
}

/* ─── Share Card Button ─── */
.sharecard-btn {
  margin-top: 0.4rem;
}

/* ─── Atelier-Score ─── */
.score-profile {
  border: 2px solid var(--ink);
  box-shadow: 0.3rem 0.3rem 0 rgba(17,17,17,0.9);
  background: var(--paper);
  padding: 1.5rem;
}

.score-header {
  margin-bottom: 1rem;
}

.score-total {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.score-bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  gap: 0.8rem;
  align-items: center;
}

.score-bar-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.score-bar-track {
  height: 12px;
  background: rgba(17,17,17,0.08);
  border: 1px solid var(--line);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.6s ease;
}

.score-bar-value {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
}

.score-insight {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink);
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.score-empty-text {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  padding: 1rem 0;
}

.score-privacy-note,
.score-storage-warning {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.score-reset-btn {
  margin-top: 1rem;
}

.tool-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.8rem 0;
}

.share-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  background: #111;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.daily-archive-modal {
  max-width: 720px;
  width: calc(100% - 2rem);
  border: 2px solid var(--ink);
  background: var(--paper);
}

.daily-archive-item {
  border-top: 1px solid var(--line);
  padding: 0.6rem 0;
}

.daily-archive-date {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .score-bar-row {
    grid-template-columns: 1fr 40px;
  }
  .score-bar-label {
    grid-column: 1 / -1;
    margin-bottom: -0.4rem;
  }
  .daily-answer-area {
    flex-direction: column;
  }

  .daily-archive-actions {
    flex-direction: column;
  }
}

/* ─── Werkstatt Layout Utilities ─── */
.hero--compact {
  min-height: auto;
  padding-bottom: 2rem;
}

.hero-copy--full {
  grid-column: 1 / -1;
}

/* ─── Ticker Widget (JS-generated) ─── */
.ticker-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  min-height: 2.8rem;
}

.ticker-nav-btn {
  border: 1px solid rgba(17,17,17,0.2);
  background: transparent;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  color: var(--ink);
  box-shadow: none;
  line-height: 1;
  font-family: var(--sans);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ticker-display {
  flex: 1;
  transition: opacity 0.35s ease;
}

.ticker-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.6rem;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
}

.ticker-badge--update { background: var(--accent); }
.ticker-badge--zitat { background: var(--muted); }
.ticker-badge--default { background: var(--muted); }

.ticker-text {
  font-size: 0.95rem;
}

/* ─── Remix Blockquote (JS-generated) ─── */
.remix-blockquote {
  margin: 0;
  padding: 1.2rem 1.4rem;
  border: 2px solid var(--ink);
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
  background: var(--paper);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  transform: rotate(-0.8deg);
  font-family: var(--serif);
}

.remix-fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.remix-fade.is-visible {
  opacity: 1;
}

/* ─── Roadmap (JS-generated states) ─── */
.roadmap-desc {
  display: none;
}

.roadmap-desc.is-open {
  display: block;
}

.roadmap-error {
  color: var(--accent);
}

/* ─── Werkstatt Utility (JS-generated) ─── */
.werkstatt-loading-text {
  margin-left: 0.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.werkstatt-progress-steps {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.werkstatt-tradeoff {
  color: var(--muted);
  font-size: 0.9rem;
}

.werkstatt-translation {
  font-size: 1.15rem;
  line-height: 1.5;
}

.werkstatt-note {
  font-style: italic;
}

.werkstatt-char-counter {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  .ticker {
    animation: none;
  }

  .roadmap-item--active .roadmap-dot {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===================================================================
   Chat Widget — KI-Sparringspartner
   =================================================================== */

.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  border: 2px solid #111;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0.25rem 0.25rem 0 rgba(17, 17, 17, 0.95);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.chat-fab:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.38rem 0.38rem 0 rgba(17, 17, 17, 0.95);
}

.chat-window {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 10000;
  width: min(400px, calc(100vw - 2rem));
  height: min(520px, calc(100vh - 7rem));
  display: none;
  flex-direction: column;
  background: #f3ecdf;
  border: 2px solid #111;
  box-shadow: 0.5rem 0.5rem 0 rgba(17, 17, 17, 0.9);
  font-family: Georgia, serif;
  overflow: hidden;
}

.chat-window.is-open {
  display: flex;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  background: #111;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.chat-header-buttons {
  display: flex;
  gap: 0.4rem;
}

.chat-header-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  cursor: pointer;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: none;
}

.chat-header-btn--close {
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
}

.chat-input-area {
  display: flex;
  gap: 0;
  border-top: 2px solid #111;
}

.chat-input {
  flex: 1;
  border: none;
  padding: 0.75rem 0.9rem;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  background: #fffaf1;
  color: #111;
}

.chat-send-btn {
  border: none;
  border-left: 2px solid #111;
  background: #111;
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}

.chat-message {
  max-width: 82%;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(17, 17, 17, 0.15);
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-message.is-visible {
  opacity: 1;
}

.chat-message--user {
  margin-left: auto;
  background: #111;
  color: #fff;
  border-radius: 12px 12px 2px 12px;
  text-align: right;
}

.chat-message--bot {
  margin-right: auto;
  background: #fffaf1;
  color: #111;
  border: 2px solid #111;
  border-radius: 12px 12px 12px 2px;
  box-shadow: 0.2rem 0.2rem 0 rgba(17, 17, 17, 0.85);
}

/* ─── Globaler Perspektiv-Switch ─── */
.perspektive-global-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.8rem;
}
.perspektive-global-btn {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}
.perspektive-global-badge {
  display: inline-block;
  background: #991b1b;
  color: #fffaf1;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  border: 1px solid #111;
}
.perspektive-global-dialog {
  max-width: 640px;
  width: calc(100% - 2rem);
  padding: 1.6rem;
  border: 2px solid #111;
  border-radius: 8px;
  background: #fffaf1;
}
.perspektive-global-dialog::backdrop { background: rgba(0,0,0,0.4); }
.perspektive-global-dialog h3 { margin-top: 0; }
.perspektive-global-intro { font-size: 0.95rem; color: #333; }
.perspektive-global-group {
  border: 1px dashed #991b1b;
  padding: 0.6rem 0.8rem;
  margin: 0.8rem 0;
}
.perspektive-global-group legend { font-weight: 700; padding: 0 0.4rem; }
.perspektive-global-option {
  display: inline-block;
  margin: 0.2rem 0.3rem 0.2rem 0;
  padding: 0.3rem 0.7rem;
  background: #fffaf1;
  border: 1px solid #111;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
}
.perspektive-global-option:hover { background: #991b1b; color: #fffaf1; }
.perspektive-global-actions { text-align: right; margin-top: 1rem; }

.perspektive-rewritten {
  border-left: 3px solid #991b1b;
  padding-left: 0.8rem;
  font-style: italic;
}
.perspektive-loading { color: #991b1b; font-style: italic; }

/* ─── Manifest-Remix-Controls ─── */
.manifest-remix-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.8rem;
  margin: 1rem 0;
}
.manifest-remix-status { font-size: 0.9rem; color: #555; min-height: 1.4rem; margin-top: 0.6rem; }

/* ─── Blinder-Fleck ─── */
.blindspot-box {
  margin-top: 1.6rem;
  padding: 1rem;
  border-top: 1px dashed #991b1b;
}
.blindspot-result { margin-top: 0.8rem; }
.blindspot-label { font-size: 0.85rem; color: #555; margin-bottom: 0.3rem; }
.blindspot-perspektive { font-size: 1.1rem; color: #991b1b; margin: 0.2rem 0; }
.blindspot-warum { font-size: 0.95rem; }
.blindspot-frage { font-size: 0.95rem; color: #333; border-left: 2px solid #991b1b; padding-left: 0.6rem; }

/* ─── Startseite: einheitlicher Look ───
   Alle Blöcke teilen den Seiten-Hintergrund (warmes Creme).
   Differenzierung nur über Typografie, Abstände und dezente rote Linien.
*/

/* Manifest — kein eigener Hintergrund mehr, nur dezente Akzente */
.section--manifest { background: transparent; position: relative; }
.section--manifest::before { content: none; }
.manifest-panel {
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
  padding: 1.8rem clamp(1.4rem, 3vw, 2.2rem);
  transform: rotate(-0.25deg);
  position: relative;
}
.manifest-panel p[data-perspektive-rewrite] {
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Perspektiven-Leiste — ruhiger, nicht mehr voll-rot */
.manifest-remix-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: flex-end;
  justify-content: space-between;
  margin: 1.4rem 0 2rem;
  padding: 1.1rem 1.2rem;
  background: transparent;
  color: inherit;
  border: 1px solid rgba(153,27,27,0.3);
  border-left: 3px solid #991b1b;
}
.manifest-remix-bar-label strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.2rem;
  color: #991b1b;
}
.manifest-remix-bar-label span {
  display: block;
  font-size: 0.88rem;
  opacity: 0.75;
  max-width: 42ch;
}
.manifest-remix-bar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.manifest-remix-bar .stempel-input {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.4);
  padding: 0.5rem 0.7rem;
}
.manifest-remix-status {
  flex-basis: 100%;
  font-size: 0.85rem;
  min-height: 1.1rem;
  opacity: 0.75;
}

/* Einheitliche, dezente Trennung zwischen Blöcken */
.section--manifest,
.section--hintergrund,
.section--mitmachen,
.section--einladung {
  background: transparent;
}

/* Hintergrund-Kapitel in gleicher Karten-Optik wie Denkprobe */
.section--hintergrund .section-body {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-top: 6px solid #991b1b;
  box-shadow: 0.4rem 0.4rem 0 rgba(17,17,17,0.9);
  padding: 1.8rem clamp(1.4rem, 3vw, 2.2rem);
  transform: rotate(0.25deg);
}
.section--hintergrund .section-body > h2 { color: var(--ink); }
.section--hintergrund .chapter { border-top-color: rgba(153,27,27,0.25); }
.section--hintergrund .chapter:last-of-type { border-bottom-color: rgba(153,27,27,0.25); }
.section--hintergrund .chapter > summary strong { color: #991b1b; }
.section--hintergrund .chapter[open] > summary { background: rgba(153,27,27,0.06); }
.section--hintergrund .chapter-body { border-left: 2px solid rgba(153,27,27,0.35); margin-left: 0.45rem; padding-left: 1.2rem; }

.section-lead { font-size: 1rem; opacity: 0.75; margin-bottom: 1.6rem; max-width: 60ch; }

/* Hintergrund (Accordion) */
.chapter {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 0.9rem 0;
}
.chapter:last-of-type { border-bottom: 1px solid rgba(0,0,0,0.1); }
.chapter > summary {
  cursor: pointer;
  font-size: 1.05rem;
  padding: 0.4rem 0;
  list-style: none;
  position: relative;
  padding-left: 1.6rem;
}
.chapter > summary::-webkit-details-marker { display: none; }
.chapter > summary::before {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #991b1b;
  font-size: 1.3rem;
  line-height: 1;
}
.chapter[open] > summary::before { content: "−"; }
.chapter-body { padding: 0.6rem 0 0.4rem 1.6rem; }

/* Mitmachen (Tabs) — auf Seiten-Hintergrund */
.mitmachen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.6rem;
  border-bottom: 1px solid rgba(153,27,27,0.25);
}
.mitmachen-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  opacity: 0.6;
  margin-bottom: -1px;
}
.mitmachen-tab:hover { opacity: 0.9; }
.mitmachen-tab.is-active {
  opacity: 1;
  border-bottom-color: #991b1b;
  color: #991b1b;
  font-weight: 600;
}
.mitmachen-panel { padding: 1.2rem 0 0; }
.mitmachen-panel[hidden] { display: none; }

/* Einladung — nicht mehr dunkel, sondern typografisch betont */
.section--einladung .cta-panel {
  background: transparent;
  color: var(--ink);
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(153,27,27,0.3);
  border-left: 3px solid #991b1b;
  margin: 1.4rem 0;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }

/* Live-Ticker kompakt, dezent */
.live-ticker--compact {
  margin-top: 2rem;
  font-size: 0.88rem;
  opacity: 0.7;
}
.live-ticker--compact .live-ticker-controls {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.5rem 0.7rem;
}
