/* =========================================================
   BuildByMi – Events-Seite (ergänzt style.css)
   ========================================================= */

/* ausgeblendete Bereiche (z. B. „Weitere Termine“, wenn es keine gibt) */
.events-page [hidden] { display: none !important; }

/* ---------- Hero ---------- */
.ev-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: calc(var(--nav-h) + var(--header-pad) + clamp(40px, 7vh, 88px)) 0 clamp(64px, 9vw, 120px);
}
.ev-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.ev-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 11, 30, .1) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 75% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 70% at 75% 45%, #000 10%, transparent 75%);
}
.ev-hero__bg::after {
  content: "";
  position: absolute;
  width: 65vmax;
  height: 65vmax;
  right: -18vmax;
  top: -14vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 108, 255, .26), rgba(139, 108, 255, 0));
}

.ev-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.ev-hero__title {
  margin: 0;
  font-size: clamp(3rem, 1rem + 5.4vw, 6.4rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
}
.ev-hero__quote {
  margin: .3em 0 0;
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 1.1rem + 1.5vw, 2.6rem);
  line-height: 1.4;
  color: var(--brand);
  rotate: -4deg;
  transform-origin: left center;
}
.ev-hero__lead {
  max-width: 32rem;
  margin: 18px 0 0;
  font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-2);
}
.ev-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Karte „Nächstes Event“ ---------- */
.ev-next {
  position: relative;
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(85, 48, 245, .7), rgba(85, 48, 245, 0) 65%),
    radial-gradient(60% 50% at 0% 100%, rgba(139, 108, 255, .35), rgba(139, 108, 255, 0) 70%),
    #120A36;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    0 60px 100px -50px rgba(85, 48, 245, .8),
    0 30px 60px -36px rgba(13, 11, 30, .6);
}

.ev-next__cube {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 16px 12px rgba(13, 11, 30, .25));
  animation: bob 5s ease-in-out infinite;
}
.ev-next__cube--a { top: -30px; right: 34px; width: 60px; rotate: 14deg; }
.ev-next__cube--b { bottom: -22px; left: -18px; width: 42px; rotate: -12deg; animation-delay: -2.2s; }

.ev-next__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .82rem;
  font-weight: 700;
}
.ev-next__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5A5F;
}
.ev-next__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #FF5A5F;
  animation: ping 2s var(--ease-out) infinite;
}

.ev-next__date {
  margin: 22px 0 6px;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
}
.ev-next__title {
  margin: 0;
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.ev-next__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  font-size: .92rem;
  color: rgba(255, 255, 255, .78);
}
.ev-next__meta span { display: inline-flex; align-items: center; gap: 7px; }
.ev-next__text {
  max-width: 34rem;
  margin: 14px 0 0;
  font-size: .98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}
.ev-next__text:empty { display: none; }
.ev-next__meta svg,
.ev-card__meta svg,
.ev-ics svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ev-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.ev-countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 6px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
}
.ev-countdown strong {
  font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.ev-countdown span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.ev-next__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.ev-countdown__hint { display: none; }
.ev-next__empty-actions { display: none; }

/* ---------- Empty State: kein Webinar eingetragen ---------- */
.ev-next.is-empty .ev-next__dot { background: #A48BFF; }
.ev-next.is-empty .ev-next__dot::after { border-color: #A48BFF; animation-duration: 3s; }
.ev-next.is-empty .ev-countdown div {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .22);
}
.ev-next.is-empty .ev-countdown strong { color: rgba(255, 255, 255, .3); }
.ev-next.is-empty .ev-countdown span { color: rgba(255, 255, 255, .35); }
.ev-next.is-empty .ev-countdown__hint {
  display: block;
  margin: 12px 0 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}
.ev-next.is-empty .ev-next__actions { display: none; }
.ev-next.is-empty .ev-next__empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* ---------- Terminliste ---------- */
.ev-list {
  padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 140px);
}
.ev-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.ev-cards {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ev-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding: 18px 24px 18px 18px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -36px rgba(13, 11, 30, .3);
  animation: ev-in .7s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .3s;
}
.ev-card:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 48, 245, .25);
  box-shadow: 0 30px 60px -36px rgba(85, 48, 245, .5);
}

.ev-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--grad);
  color: #fff;
  text-align: center;
  box-shadow: 0 14px 28px -16px rgba(85, 48, 245, .8);
}
.ev-card__wd {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}
.ev-card__date strong {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}
.ev-card__date span:last-child {
  font-size: .78rem;
  font-weight: 600;
  opacity: .85;
}

.ev-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: .9rem;
  color: var(--ink-2);
}
.ev-card__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.ev-card h3 {
  margin: 10px 0 6px;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.ev-card p {
  max-width: 52ch;
  margin: 0;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.ev-card__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.ev-card__actions .btn { justify-content: space-between; }
.ev-ics {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(13, 11, 30, .12);
  background: transparent;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .25s, color .25s;
}
.ev-ics:hover { border-color: var(--brand); color: var(--brand); }

.ev-empty {
  margin: 0;
  padding: 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px dashed rgba(85, 48, 245, .3);
  text-align: center;
  color: var(--ink-2);
}

@keyframes ev-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Formate (lila Panel) ---------- */
.ev-formats {
  padding: 0 clamp(8px, 1.4vw, 20px);
}
.ev-formats__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 120px);
  border-radius: clamp(28px, 4vw, 48px);
  color: #fff;
  background:
    radial-gradient(55% 50% at 50% 100%, rgba(85, 48, 245, .9), rgba(85, 48, 245, 0) 70%),
    radial-gradient(40% 50% at 100% 0%, rgba(164, 139, 255, .5), rgba(164, 139, 255, 0) 70%),
    linear-gradient(180deg, #120A36 0%, #1B0E58 100%);
}
.ev-formats__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .2));
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .2));
}

.ev-formats__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: end;
  gap: 24px 56px;
}
.ev-formats__title {
  margin: 0;
  font-size: clamp(2.4rem, 1rem + 4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.ev-formats__lead {
  max-width: 30rem;
  margin: 0;
  font-size: clamp(1rem, .96rem + .25vw, 1.12rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
}

.ev-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
.ev-format {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.ev-format:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.ev-format__num {
  display: block;
  margin-bottom: 22px;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45);
}
.ev-format h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.ev-format p {
  margin: 0;
  font-size: .97rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .74);
}

/* ---------- YouTube ---------- */
.ev-more {
  padding-block: clamp(80px, 10vw, 140px);
}
.ev-more__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 3.6vw, 48px);
  border-radius: 32px;
}
.ev-more__card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.ev-more__card p {
  max-width: 36rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.ev-more__card--yt {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(255, 90, 95, .22), rgba(255, 90, 95, 0) 65%),
    radial-gradient(50% 80% at 0% 100%, rgba(85, 48, 245, .3), rgba(85, 48, 245, 0) 70%),
    #0B0A17;
  color: #fff;
}
.ev-more__card--yt p { color: rgba(255, 255, 255, .72); }
.ev-more__play {
  display: grid;
  place-items: center;
  width: 76px;
  height: 54px;
  border-radius: 16px;
  background: #FF3B30;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(255, 59, 48, .7);
}
.ev-more__play svg { width: 24px; height: 24px; margin-left: 3px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .ev-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .ev-next { max-width: 620px; }
  .ev-formats__head { grid-template-columns: minmax(0, 1fr); }
  .ev-formats__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .ev-card {
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
  }
  .ev-card__date { border-radius: 16px; }
  .ev-card__date strong { font-size: 2rem; }
  .ev-card__date span:last-child { font-size: .75rem; }
  .ev-card__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ev-card__actions > * { flex: 1 1 200px; }

  .ev-more__card { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

@media (max-width: 560px) {
  .ev-hero__actions .btn,
  .ev-next__actions .btn,
  .ev-next__empty-actions .btn,
  .ev-more__card .btn { width: 100%; justify-content: space-between; }
  .ev-next__actions .btn--glass,
  .ev-next__empty-actions .btn--glass { justify-content: center; }
  .ev-countdown { gap: 6px; }
  .ev-countdown div { padding: 12px 4px 10px; border-radius: 14px; }
  .ev-next__cube--a { right: 18px; width: 48px; }
}

/* ---------- Microsoft-Icons als Akzente (Basis in style.css: .app-tile, .ms-wm) ---------- */
.ev-tile { z-index: 2; }
.ev-tile--1 { left: -32px; top: 16%; --s: 62px; }
.ev-tile--2 { right: -38px; top: 50%; --s: 68px; animation-delay: -2s; }
.ev-tile--3 { left: -26px; bottom: 15%; --s: 52px; animation-delay: -3.4s; }

.ev-formats .ev-wm {
  top: clamp(28px, 3.4vw, 48px);
  right: clamp(16px, 4vw, 72px);
  width: clamp(150px, 20vw, 300px);
  opacity: .1;
}

@media (max-width: 960px) {
  /* Kacheln sitzen hier auf der Oberkante der Karte, damit sie keinen Text verdecken */
  .ev-tile--1, .ev-tile--2, .ev-tile--3 { top: -34px; bottom: auto; right: auto; --s: 50px; }
  .ev-next { margin-top: 28px; }   /* Platz für die Kacheln über der Karte */
  .ev-tile--1 { left: 22px; }
  .ev-tile--2 { left: 84px; }
  .ev-tile--3 { left: 146px; }
  .ev-formats .ev-wm { width: clamp(120px, 26vw, 200px); opacity: .08; }
}
@media (max-width: 560px) {
  .ev-tile--1, .ev-tile--2, .ev-tile--3 { --s: 44px; top: -30px; }
  .ev-tile--2 { left: 76px; }
  .ev-tile--3 { left: 130px; }
}

/* =========================================================
   No Buzzword Show (Webinar-Reihe)
   Nur vorhandene Tokens aus style.css, Komponenten wie im Rest der Seite.
   ========================================================= */

/* ---------- Hero: Eyebrow, Name mit Durchstreich-Gag ---------- */
.ev-hero__content { container-type: inline-size; }


.ev-hero__title { font-size: clamp(2.6rem, 15.5cqi, 6.2rem); }
.ev-hero__title-visual { display: block; }

/* „Buzzword“ bleibt lesbar, die Linie liegt im Markenverlauf darüber */
.ev-strike {
  position: relative;
  display: inline-block;
  margin-left: .08em;
  color: var(--muted);
}
.ev-strike::after {
  content: "";
  position: absolute;
  left: -.04em;
  right: -.04em;
  top: .53em;
  height: .08em;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 .04em .12em rgba(85, 48, 245, .35);
  rotate: -3deg;
  transform-origin: center;
}
.js .ev-hero .ev-strike::after { transform: scaleX(0); }
.js .ev-hero.is-inview .ev-strike::after {
  transform: scaleX(1);
  transition: transform .7s var(--ease-out) .75s;
}

.ev-hero__lead strong { color: var(--ink); }

/* ---------- Karte „Nächste Folge“ ---------- */
.ev-next__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: .95rem;
  font-weight: 700;
}
.ev-next__kicker:empty { display: none; }
.ev-next__title { margin-top: 12px; }
.ev-next__date { margin: 12px 0 0; }

/* ---------- Format-Chip und „Wiederholung“ ---------- */
.ev-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: var(--brand-tint);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-strong);
}
.ev-chip__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 6px -2px rgba(13, 11, 30, .25);
}
.ev-chip__ico img { width: 14px; height: 14px; }
.ev-chip__ico svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ev-chip--dark { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }

.ev-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(13, 11, 30, .2);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
}
.ev-tag svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ev-tag--dark { border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .82); }

/* ---------- Karten in „Alle Folgen“ ---------- */
.ev-list__note { margin: 0; font-size: .95rem; color: var(--ink-2); }
.ev-card__meta .ev-sep { color: var(--muted); }
.ev-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ev-card h3 { margin-top: 12px; }

/* ---------- Was du bekommst. Und was nicht. ---------- */
.ev-deal { padding-block: clamp(72px, 9vw, 120px) clamp(16px, 3vw, 40px); }
.ev-deal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
}
.ev-deal__card {
  padding: clamp(26px, 3vw, 40px);
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -36px rgba(13, 11, 30, .3);
}
.ev-deal__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.ev-deal__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.ev-deal__badge svg { width: 18px; height: 18px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ev-deal__badge--yes { background: var(--grad); box-shadow: 0 10px 20px -10px rgba(85, 48, 245, .8); }
.ev-deal__badge--yes svg { stroke: #fff; }
.ev-deal__badge--no { background: var(--surface-2); }
.ev-deal__badge--no svg { stroke: var(--ink-2); }

.ev-checks { display: grid; gap: 14px; }
.ev-checks li {
  position: relative;
  padding-left: 36px;
  font-size: 1.04rem;
  line-height: 1.5;
  color: var(--ink);
}
.ev-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .05em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235530F5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--brand-tint);
}

/* Buzzwords: groß genug (19 px fett), damit --muted auf Weiß die AA-Grenze für große Schrift erreicht */
.ev-buzz { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-buzz li {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--muted);
}
.ev-buzz s { text-decoration-thickness: 2px; text-decoration-color: var(--muted); }
.ev-deal__note {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- So läuft eine Folge (vier Schritte) ---------- */
.ev-formats__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ev-formats__grid--4 .ev-format__num { margin-bottom: 14px; }
.ev-format__time {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
}
.ev-format .ms-chips { margin-bottom: 14px; }

/* ---------- Für wen ---------- */
.ev-who { padding-block: clamp(80px, 10vw, 140px) clamp(40px, 6vw, 80px); }
.ev-who__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 24px clamp(32px, 6vw, 96px);
}
.ev-who__lead {
  margin: 0;
  font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink);
}
.ev-who__roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ev-who__roles li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-2);
}
.ev-who__note {
  display: inline-block;
  margin: 24px 0 0;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(85, 48, 245, .35);
  background: rgba(255, 255, 255, .6);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-2);
}

/* Zwei Gruppen: Anwender und Führungskräfte */
.ev-who__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.ev-who__group {
  padding: clamp(22px, 2.4vw, 28px);
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -36px rgba(13, 11, 30, .3);
}
.ev-who__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--brand-tint);
}
.ev-who__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ev-who__group h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.ev-who__group p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--ink-2); }
.ev-who__lead--small { margin-top: 24px; font-size: 1.05rem; color: var(--ink-2); }
@media (max-width: 620px) {
  .ev-who__groups { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .ev-who__groups { grid-template-columns: minmax(0, 1fr); }   /* schmale Textspalte: Karten untereinander */
}

/* ---------- Prozess-Check-Banner ---------- */
.ev-check { padding-block: clamp(24px, 4vw, 48px); }
.ev-check__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: 26px;
  background: var(--brand-tint);
  border: 1px solid rgba(85, 48, 245, .16);
}
.ev-check__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--grad);
  box-shadow: 0 14px 28px -16px rgba(85, 48, 245, .8);
}
.ev-check__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ev-check__copy h2 { margin: 0 0 4px; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.ev-check__copy p { margin: 0; color: var(--ink-2); }

/* ---------- Archiv „Verpasst?“ (dunkle Fläche) ---------- */
.ev-archive {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(139, 108, 255, .3), rgba(139, 108, 255, 0) 65%),
    radial-gradient(50% 80% at 0% 100%, rgba(85, 48, 245, .3), rgba(85, 48, 245, 0) 70%),
    #0B0A17;
}
.ev-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.3px);
  background-size: 26px 26px;
}
.ev-archive__head { display: flex; align-items: center; gap: 18px; }
.ev-archive__head h2 { margin: 0; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
.ev-archive__list { margin: 28px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ev-archive__list li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ev-archive__list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 16px 0;
  font-weight: 600;
}
.ev-archive__num { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.ev-archive__title { flex: 1 1 260px; }
.ev-archive__watch { display: inline-flex; align-items: center; gap: 6px; color: #C9BCFF; }
.ev-archive__list a:hover .ev-archive__watch { color: #fff; }

/* ---------- FAQ und Abschluss ---------- */
.ev-faq .ms-wm--faq { opacity: .05; }
.ev-faq { padding-top: clamp(48px, 7vw, 96px); }
.ev-cta__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
}
.ev-cta__alt p { margin: 0; font-weight: 600; color: rgba(255, 255, 255, .9); }
.ev-cta__sig {
  margin: 26px 0 0;
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.6rem);
  line-height: 1.2;
  color: #fff;
  rotate: -4deg;
  transform-origin: left center;
}
@media (max-width: 1024px) {
  .ev-cta .cta__visual { margin-bottom: 16px; }   /* Platz für die alte Unterschrift unter der Büste wird nicht mehr gebraucht */
}

/* Fokus auf dunklen Flächen gut sichtbar */
.ev-next :focus-visible,
.ev-formats :focus-visible,
.ev-archive :focus-visible,
.ev-cta :focus-visible { outline-color: #fff; }

@media (max-width: 1100px) {
  .ev-formats__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ev-deal__grid,
  .ev-who__grid { grid-template-columns: minmax(0, 1fr); }
  .ev-check__card { grid-template-columns: auto minmax(0, 1fr); }
  .ev-check__card .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 620px) {
  .ev-formats__grid--4 { grid-template-columns: minmax(0, 1fr); }
  .ev-card__actions > * { flex-basis: 100%; }
  .ev-card__meta .ev-sep { display: none; }
  .ev-check__card .btn,
  .ev-archive .btn,
  .ev-cta .btn { width: 100%; justify-content: space-between; }
  .ev-cta .btn--glass { justify-content: center; }
}

/* =========================================================
   BuildByMi Circle: Themen und Anmeldefenster
   ========================================================= */

/* ---------- Themen statt Terminliste ---------- */
.ev-topics { padding-block: clamp(56px, 8vw, 110px) clamp(80px, 10vw, 140px); }
.ev-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ev-topic {
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -36px rgba(13, 11, 30, .3);
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .3s;
}
.ev-topic:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 48, 245, .25);
  box-shadow: 0 30px 60px -36px rgba(85, 48, 245, .5);
}
.ev-topic__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--brand-tint);
}
.ev-topic__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ev-topic__icon--ms { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 22px -14px rgba(36, 18, 120, .45); }
.ev-topic__icon--ms img { width: 30px; height: 30px; }
.ev-topic h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; }
.ev-topic p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--ink-2); }
.ev-topic--yours { background: var(--brand-tint); border-color: rgba(85, 48, 245, .18); }
.ev-topic--yours .ev-topic__icon { background: var(--grad); }
.ev-topic--yours .ev-topic__icon svg { stroke: #fff; }


@media (max-width: 1100px) {
  .ev-topics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ev-topics__grid { grid-template-columns: minmax(0, 1fr); }
  .ev-hero__actions .btn { width: 100%; justify-content: space-between; }
  .ev-hero__actions .btn--ghost { justify-content: center; }
}

/* =========================================================
   Hero: Ticket rechts, Countdown-Leiste unten
   ========================================================= */

/* ---------- Ticket ---------- */
.ev-ticket {
  position: relative;
  justify-self: center;
  width: min(100%, 540px);
  padding-block: 34px;
}
/* Schatten + leichte Drehung (Icons liegen außerhalb und bleiben gerade) */
.ev-ticket__card {
  position: relative;
  rotate: -3deg;
  filter: drop-shadow(0 46px 44px rgba(36, 18, 120, .34)) drop-shadow(0 10px 18px rgba(13, 11, 30, .16));
  transition: rotate .6s var(--ease-out), translate .6s var(--ease-out);
}
.ev-ticket:hover .ev-ticket__card { rotate: -1deg; translate: 0 -4px; }

/* Papier mit Kerben oben und unten an der Abrisskante */
.ev-ticket__paper {
  --stub: 150px;
  --notch: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  -webkit-mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 97%, #000 100%) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 97%, #000 100%) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 97%, #000 100%) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 97%, #000 100%) bottom / 100% 51% no-repeat;
}

.ev-ticket__main {
  position: relative;
  isolation: isolate;
  padding: 26px 26px 26px 28px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(85, 48, 245, .65), rgba(85, 48, 245, 0) 65%),
    radial-gradient(70% 60% at 0% 100%, rgba(139, 108, 255, .35), rgba(139, 108, 255, 0) 70%),
    #120A36;
}
.ev-ticket__main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px);
  background-size: 22px 22px;
}

.ev-ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ev-ticket__logo { width: auto; height: 30px; }
.ev-ticket__kind {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ev-ticket__title {
  margin: 18px 0 14px;
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
}

/* Flugroute: von Excel per Mail zu „läuft von allein“ */
.ev-ticket__route {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-block: 1px dashed rgba(255, 255, 255, .22);
}
.ev-ticket__route strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.ev-ticket__route span { display: block; margin-top: 4px; font-size: .78rem; font-weight: 500; color: rgba(255, 255, 255, .72); }
.ev-ticket__to { text-align: right; }
.ev-ticket__to strong {
  background: linear-gradient(90deg, #fff 0%, #C9BCFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ev-ticket__plane {
  position: relative;
  display: grid;
  place-items: center;
  height: 2px;
  margin: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 6px, transparent 6px 12px);
}
.ev-ticket__plane svg {
  width: 30px;
  height: 30px;
  padding: 4px;
  border-radius: 50%;
  background: #1E1150;
  fill: #fff;
  rotate: 90deg;
}

.ev-ticket__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 16px 0 22px;
}
.ev-ticket__fields dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.ev-ticket__fields dd { margin: 2px 0 0; font-size: .98rem; font-weight: 700; }
.ev-ticket__cta { width: 100%; justify-content: space-between; }

/* Abriss: Preis + Strichcode */
.ev-ticket__stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 14px;
  background: var(--grad);
  text-align: center;
}
.ev-ticket__stub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  border-left: 2px dashed rgba(255, 255, 255, .55);
}
.ev-ticket__stub-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.ev-ticket__price {
  font-size: clamp(2.6rem, 2rem + 1.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}
.ev-ticket__stub-note { font-size: .8rem; font-weight: 700; line-height: 1.3; }
.ev-ticket__barcode {
  width: 66px;
  height: 64px;
  margin: 14px 0 6px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  opacity: .92;
}

/* Icons und Würfel um das Ticket */
.ev-ticket__tile { z-index: 2; }
.ev-ticket__tile--1 { left: 6%; top: 0; --s: 58px; }
.ev-ticket__tile--2 { right: 24%; top: -4px; --s: 52px; animation-delay: -2s; }
.ev-ticket__tile--3 { left: 30%; bottom: 2px; --s: 50px; animation-delay: -3.4s; }
.ev-ticket__cube--a { top: 2px; right: 2%; width: 50px; rotate: 14deg; z-index: 2; }
.ev-ticket__cube--b { bottom: 8px; left: -10px; width: 40px; rotate: -12deg; animation-delay: -2.2s; z-index: 2; }

/* Hero kompakter, damit Ticket und Countdown-Leiste zusammen auf den ersten Bildschirm passen */
.ev-hero {
  padding-top: calc(var(--nav-h) + var(--header-pad) + clamp(24px, 4vh, 56px));
  padding-bottom: clamp(40px, 5vw, 72px);
}
.ev-hero__title { font-size: clamp(2.6rem, 14cqi, 5.6rem); }

/* ---------- Countdown-Leiste unten im Hero ---------- */
.ev-countbar-wrap { margin-top: clamp(28px, 3.5vw, 48px); }
.ev-countbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px 32px;
  max-width: 1040px;
  margin-inline: auto;
  padding: 16px 18px 16px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(36, 18, 120, .45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ev-countbar .ev-next__label {
  background: var(--brand-tint);
  border-color: rgba(85, 48, 245, .16);
  color: var(--brand-strong);
}
.ev-countbar__title { margin: 10px 0 2px; font-size: 1.35rem; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.ev-countbar__date { margin: 0; font-size: .92rem; color: var(--ink-2); }
.ev-countbar__topic {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-strong);
}
.ev-countbar__text { margin: 6px 0 0; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.ev-countbar__text:empty { display: none; }

.ev-countbar__cd { margin-top: 0; grid-template-columns: repeat(4, 76px); gap: 8px; }
.ev-countbar .ev-countdown div {
  padding: 10px 6px 8px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.ev-countbar .ev-countdown strong { font-size: 1.7rem; color: var(--ink); }
.ev-countbar .ev-countdown span { color: var(--ink-2); }

.ev-countbar__empty { display: none; }
.ev-countbar.is-empty .ev-countbar__actions { display: none; }
.ev-countbar.is-empty .ev-countbar__empty { display: block; }
.ev-countbar.is-empty .ev-countdown div { background: transparent; border-style: dashed; }
.ev-countbar.is-empty .ev-countdown strong { color: var(--muted); }
.ev-countbar.is-empty .ev-next__dot,
.ev-countbar.is-empty .ev-next__dot::after { background: #A48BFF; border-color: #A48BFF; }

@media (max-width: 1000px) {
  .ev-ticket { margin-top: 8px; }
}
@media (max-width: 900px) {
  .ev-countbar {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding: 22px 18px;
    text-align: center;
  }
  .ev-countbar__cd { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Handy: Abriss wandert nach unten, Kerben links und rechts */
@media (max-width: 520px) {
  .ev-ticket__paper {
    --stubh: 112px;
    grid-template-columns: minmax(0, 1fr);
    -webkit-mask:
      radial-gradient(circle var(--notch) at 0 calc(100% - var(--stubh)), #0000 97%, #000 100%) left / 51% 100% no-repeat,
      radial-gradient(circle var(--notch) at 100% calc(100% - var(--stubh)), #0000 97%, #000 100%) right / 51% 100% no-repeat;
    mask:
      radial-gradient(circle var(--notch) at 0 calc(100% - var(--stubh)), #0000 97%, #000 100%) left / 51% 100% no-repeat,
      radial-gradient(circle var(--notch) at 100% calc(100% - var(--stubh)), #0000 97%, #000 100%) right / 51% 100% no-repeat;
  }
  .ev-ticket__main { padding: 22px 20px; }
  .ev-ticket__stub {
    height: var(--stubh);
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    gap: 2px 14px;
    padding: 12px 20px;
  }
  .ev-ticket__stub::before { left: 20px; right: 20px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .55); }
  .ev-ticket__price { font-size: 2.4rem; }
  .ev-ticket__barcode { width: 54px; height: 44px; margin: 0; }
  .ev-ticket__stub-label { width: 100%; }
  .ev-ticket__route strong { font-size: 1.5rem; }
  .ev-ticket__card { rotate: -2deg; }
}

/* =========================================================
   Hero unten: „Zuletzt im Circle“ unter dem Countdown
   ========================================================= */
.ev-past {
  max-width: 1040px;
  margin: 16px auto 0;
  padding: 22px 28px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ev-past__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  margin-bottom: 6px;
}
.ev-past__title { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.ev-past__sub { margin: 0; font-size: .9rem; color: var(--ink-2); }

.ev-past__table { width: 100%; border-collapse: collapse; }
.ev-past__table th {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}
.ev-past__table th:last-child { width: 200px; }
.ev-past__table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.ev-past__table tbody tr:last-child td { border-bottom: 0; }

.ev-past__topic {
  position: relative;
  padding-left: 22px !important;
  padding-right: 24px !important;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.4;
}
/* kleiner Haken vor jedem Thema: schon besprochen */
.ev-past__topic::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  translate: 0 -50%;
  border-radius: 50%;
  background: var(--grad);
}
.ev-past__topic::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 50%;
  width: 7px;
  height: 4px;
  translate: 0 -70%;
  rotate: -45deg;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.ev-past__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
}
.ev-past__tag img { width: 18px; height: 18px; flex: none; }
.ev-past__tag:not(:has(img))::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-inline: 4px 2px;
  border-radius: 50%;
  background: var(--grad);
}

.ev-past__note { margin: 12px 0 0; font-size: .88rem; color: var(--ink-2); }

/* Handy: jede Zeile als kleine Karte, Bereich über dem Thema */
@media (max-width: 620px) {
  .ev-past { padding: 20px 18px 16px; }
  .ev-past__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .ev-past__table,
  .ev-past__table tbody,
  .ev-past__table tr,
  .ev-past__table td { display: block; }
  .ev-past__table tr {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .ev-past__table tbody tr:first-child { border-top: 1px solid var(--line); margin-top: 8px; }
  .ev-past__table tbody tr:last-child { border-bottom: 0; padding-bottom: 4px; }
  .ev-past__table td { padding: 0; border-bottom: 0; }
  .ev-past__topic { padding-right: 0 !important; }
  .ev-past__area:empty { display: none; }
}
@media (max-width: 620px) {
  /* Haken an der ersten Zeile ausrichten, wenn das Thema umbricht */
  .ev-past__topic::before,
  .ev-past__topic::after { top: .7em; }
}
