/* ============================================================
   KI Talk Notes – notes.kitalk.io

   Design-DNA kommt vom Blog auf niklasvolland.de: gleiche
   Tokens (#0e0e0e, Rot #E60000, DM Sans), gleiches Card-Muster
   (roter Gradient-Strich der beim Hover einfaehrt, Anheben mit
   rotem Schatten, rote Meta-Versalien), gleiche Radien und
   Easing. Lora kommt aus den Blog-Artikeln fuer den Fliesstext.

   Eigen fuer die Notes: die Folgennummer als Signatur und das
   Marginalien-Raster auf der Folgen-Seite (Bereichs-Label links,
   Inhalt in der Lesespalte).

   Aenderungen hier wirken auf ALLE Notes-Seiten.
   ============================================================ */

:root {
  --bg: #0e0e0e;
  --bg-alt: #0b0b0b;
  --bg-surface: #161616;
  --bg-card: rgba(255, 255, 255, 0.02);

  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f0f0f0;
  --text-secondary: #999999;
  --text-muted: #666666;

  --red: #e60000;
  --red-dim: rgba(230, 0, 0, 0.08);
  --red-glow: rgba(230, 0, 0, 0.15);
  --gold: #fdb602;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);

  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive;
  --serif: 'Lora', Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;

  --col: 38rem;
  --margin-col: 10rem;
  --gutter: 3rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: #fff; }

/* Roter Schein oben, wie im Hero auf niklasvolland.de. */

.page-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  max-width: 140vw;
  height: 500px;
  background: radial-gradient(ellipse at top center, rgba(230, 0, 0, 0.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Bahn ---------- */

.wrap {
  position: relative;
  z-index: 1;
  max-width: calc(var(--margin-col) + var(--gutter) + var(--col));
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}

.wrap-wide { max-width: 68rem; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); }

@media (min-width: 64rem) {
  .grid {
    grid-template-columns: var(--margin-col) minmax(0, 1fr);
    column-gap: var(--gutter);
  }
}

/* ---------- Navigation ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-brand img { height: 18px; display: block; }

.nav-brand-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: 0.75rem;
  border-left: 1px solid var(--border-light);
}

/* "Notes" wird handschriftlich gesetzt: es sind Notizen zur Folge. */
.hand {
  font-family: var(--hand);
  font-size: 1.75em;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  transform: rotate(-2deg);
  display: inline-block;
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav-link:hover { color: var(--text); }

@media (max-width: 30rem) {
  .nav-brand-label { font-size: 0.6875rem; letter-spacing: 0.1em; padding-left: 0.625rem; }
  .nav-brand img { height: 16px; }
}

/* ---------- Kopf ---------- */

.doc-head { padding: 4.5rem 0 3rem; }

@media (max-width: 40rem) { .doc-head { padding: 3rem 0 2.25rem; } }

.doc-head.grid { align-items: start; }

.doc-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.doc-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }

.doc-meta .date {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
}

/* Die Folgennummer ist das Signaturelement der Notes. */

.ep-no {
  font-family: var(--sans);
  font-size: clamp(3rem, 9vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.ep-no .hash { opacity: 0.35; }

@media (min-width: 64rem) {
  .ep-no { margin-bottom: 0; padding-top: 0.4rem; }
}

h1 {
  font-family: var(--sans);
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 20ch;
  margin-bottom: 1.25rem;
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 34rem;
}

/* ---------- Hoerlinks ---------- */

.listen { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 2rem; }

.listen a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.5rem 1.0625rem;
  transition: all 0.25s var(--ease);
}

.listen a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.listen a:hover { color: var(--text); border-color: var(--border-strong); }

.player {
  margin-top: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.player iframe { display: block; width: 100%; border: 0; }
.player audio { display: block; width: 100%; }

/* ---------- Bereiche ---------- */

.section { border-top: 1px solid var(--border); padding: 2.75rem 0; }

.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.375rem;
}

@media (min-width: 64rem) {
  .section-label {
    margin-bottom: 0;
    padding-top: 0.5rem;
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

.section-body > *:first-child { margin-top: 0; }
.section-body > *:last-child { margin-bottom: 0; }

/* ---------- Text ---------- */

h2 {
  font-family: var(--sans);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 2.25rem 0 0.875rem;
}

h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; margin: 2rem 0 0.625rem; }

p { margin-bottom: 1.125rem; }

a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(230, 0, 0, 0.5); text-underline-offset: 4px; transition: text-decoration-color 0.25s var(--ease); }
a:hover { text-decoration-color: var(--red); }

strong { font-weight: 600; color: var(--text); }

ul, ol { margin: 0 0 1.25rem 1.25rem; }
li { margin-bottom: 0.4rem; }

blockquote {
  border-left: 3px solid var(--red);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

hr { border: none; height: 1px; background: var(--border); margin: 2.5rem 0; }

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

.section-body img {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 0.5rem;
}

.img-note { font-family: var(--sans); font-size: 0.75rem; color: var(--text-muted); margin: 0 0 1.75rem; }

/* ---------- Kernpunkte ---------- */

.keypoints { list-style: none; margin: 0; }

.keypoints li {
  position: relative;
  margin: 0;
  padding: 0.9375rem 0 0.9375rem 1.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
}

.keypoints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.6em;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
}

.keypoints li:first-child { padding-top: 0; }
.keypoints li:first-child::before { top: 0.65em; }
.keypoints li:last-child { border-bottom: none; padding-bottom: 0; }

/* ---------- Prompt ---------- */

.copy-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 1.75rem;
  overflow: hidden;
}

.copy-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8125rem 1rem 0.8125rem 1.125rem;
  border-bottom: 1px solid var(--border);
}

.copy-block-label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.copy-btn {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.4375rem 0.9375rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.copy-btn:hover { color: #fff; background: var(--red); border-color: var(--red); }
.copy-btn.copied { color: #fff; background: var(--red); border-color: var(--red); }
.copy-btn svg { width: 0.9em; height: 0.9em; display: block; }

.copy-block pre {
  padding: 1.25rem 1.125rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 28rem;
  overflow-y: auto;
}

/* ---------- Schritte ---------- */

.steps { list-style: none; margin: 1.5rem 0 1.75rem; counter-reset: step; }

.steps > li { position: relative; counter-increment: step; padding: 0 0 1.625rem 3rem; margin: 0; }
.steps > li:last-child { padding-bottom: 0; }

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-dim);
  border: 1px solid rgba(230, 0, 0, 0.25);
  border-radius: 50%;
}

.steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 2.25rem;
  bottom: 0.25rem;
  width: 1px;
  background: var(--border);
}

.step-title { display: block; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.2rem; padding-top: 0.25rem; }
.step-text { display: block; font-size: 0.9875rem; color: var(--text-secondary); line-height: 1.6; }

/* ---------- Erwaehnte Links: Kacheln im Blog-Muster ---------- */

.link-list { list-style: none; margin: 1.5rem 0 1.75rem; display: grid; gap: 0.625rem; }

.link-list li { margin: 0; }

.link-list a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.link-list a:hover {
  border-color: rgba(230, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230, 0, 0, 0.06);
  color: var(--text);
}

.link-name { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--text); }

.link-desc {
  display: block;
  font-family: var(--serif);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: 0.1875rem;
}

.link-arrow { flex-shrink: 0; font-family: var(--sans); font-size: 0.875rem; color: var(--text-muted); transition: all 0.3s var(--ease); }
.link-list a:hover .link-arrow { color: var(--red); transform: translate(2px, -2px); }

/* ---------- Hinweis ---------- */

.callout {
  background: var(--red-dim);
  border: 1px solid rgba(230, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.25rem;
  margin: 1.5rem 0 1.75rem;
}

.callout-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.callout p { font-size: 0.9875rem; color: var(--text); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */

.btn-primary,
.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8125rem 1.625rem;
  transition: all 0.25s var(--ease);
}

.btn-primary { color: #fff; background: var(--red); border: 1px solid var(--red); }
.btn-primary:hover { background: #ff1a1a; border-color: #ff1a1a; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(230, 0, 0, 0.22); }

.btn-ghost { color: var(--text-secondary); background: transparent; border: 1px solid var(--border-light); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------- Folgen-Cards (Blog-Muster) ---------- */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 46rem) { .cards { grid-template-columns: 1fr; gap: 1.25rem; } }

.cards li { margin: 0; }

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 270px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.875rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  border-color: rgba(230, 0, 0, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(230, 0, 0, 0.08);
}

.card:hover::before { transform: scaleX(1); }

.card-meta {
  display: flex;
  padding-right: 7.5rem;
  gap: 0.625rem;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.125rem;
}

.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }

.card-meta .date {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
}

.card-title {
  display: block;
  font-family: var(--sans);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.875rem;
}

.card-teaser {
  display: block;
  font-family: var(--serif);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-contains { letter-spacing: 0.02em; }

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
}

.card:hover .card-more { color: var(--red); gap: 0.625rem; }

/* Absolut gesetzt, damit alle Cards auf gleicher Hoehe beginnen. */
.card-badge {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
}

.empty-note {
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem 1.75rem;
  text-align: center;
  color: var(--text-secondary);
}

/* ---------- Newsletter ---------- */

.signup {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  margin-top: 3.5rem;
}

.signup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4444);
}

.signup::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}

.signup > * { position: relative; }

.signup-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.875rem;
}

.signup h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.signup p { color: var(--text-secondary); max-width: 38rem; margin-bottom: 1.5rem; }

/* ---------- Werbe-Slots ---------- */

.nv-slot:empty { display: none; }

.nv-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.25rem;
  margin: 1.5rem 0;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.nv-banner:hover { border-color: rgba(230, 0, 0, 0.3); border-left-color: var(--red); transform: translateY(-2px); color: var(--text); }

.nv-banner-eyebrow,
.nv-card-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4375rem;
}

.nv-banner-title { display: block; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; color: var(--text); }
.nv-banner-text { display: block; font-size: 0.9375rem; color: var(--text-secondary); margin-top: 0.25rem; }

.nv-banner-cta { flex-shrink: 0; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary); transition: color 0.3s var(--ease); }
.nv-banner:hover .nv-banner-cta { color: var(--red); }

.nv-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  margin-top: 3.5rem;
}

.nv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4444);
}

.nv-card-glow {
  position: absolute;
  top: -160px;
  right: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}

.nv-card > *:not(.nv-card-glow) { position: relative; }

.nv-card h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.nv-card p { color: var(--text-secondary); max-width: 38rem; margin-bottom: 1.5rem; }

.nv-card-facts {
  list-style: none;
  margin: 0 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
  max-width: 34rem;
}

@media (min-width: 34rem) { .nv-card-facts { grid-template-columns: 1fr 1fr; } }

.nv-card-facts li {
  position: relative;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 1.125rem;
}

.nv-card-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--red);
}

/* ---------- Fuss ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  margin-top: 3rem;
  transition: all 0.3s var(--ease);
}

.back-link:hover { color: var(--red); gap: 0.75rem; }

.footer {
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer, .footer a {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

.footer a { transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- Popup ---------- */

.promo-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.promo-backdrop.visible { opacity: 1; }

.promo-modal {
  position: fixed;
  z-index: 51;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-bottom: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 2.25rem 1.75rem calc(1.75rem + env(safe-area-inset-bottom));
  transform: translateY(105%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.promo-modal.visible { transform: translateY(0); }

.promo-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4444);
}

.promo-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.125rem;
  height: 2.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.promo-close:hover { color: var(--text); border-color: var(--border-strong); }

.promo-eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.promo-title { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.75rem; padding-right: 2.5rem; }
.promo-text { font-size: 0.9875rem; color: var(--text-secondary); margin-bottom: 1rem; }

.promo-date {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(253, 182, 2, 0.08);
  border: 1px solid rgba(253, 182, 2, 0.22);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1.375rem;
}

.promo-cta { display: block; text-align: center; }

@media (min-width: 40rem) {
  .promo-modal {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(28rem, calc(100vw - 3rem));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transform: translate(-50%, -46%) scale(0.97);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .promo-modal.visible { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .promo-cta { display: inline-block; }
}

/* ---------- Auftritt ---------- */

.rise { animation: rise 0.6s var(--ease) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.12s; }
.rise-3 { animation-delay: 0.19s; }

.cards li { animation: rise 0.6s var(--ease) both; }
.cards li:nth-child(1) { animation-delay: 0.2s; }
.cards li:nth-child(2) { animation-delay: 0.27s; }
.cards li:nth-child(3) { animation-delay: 0.34s; }
.cards li:nth-child(4) { animation-delay: 0.41s; }
.cards li:nth-child(n+5) { animation-delay: 0.48s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .cards li { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
