:root {
  --bg: #06070d;
  --panel: rgba(18, 22, 36, .82);
  --panel-2: rgba(24, 29, 48, .88);
  --line: rgba(148, 163, 184, .25);
  --text: #ffffff;
  --muted: #b8c1d8;
  --soft: #d7dcef;
  --pink: #ff2f78;
  --cyan: #54e7ff;
  --violet: #8b5cff;
  --blue: #2b8cff;
  --green: #41d18e;
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 47, 120, .22), transparent 28rem),
    radial-gradient(circle at 88% 5%, rgba(84, 231, 255, .20), transparent 24rem),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 255, .16), transparent 28rem),
    var(--bg);
  min-height: 100vh;
}

a {
  color: inherit;
}

.page-shell {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 36px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0 18px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-dot {
  width: 15px;
  height: 15px;
  display: inline-block;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  box-shadow: 0 0 22px rgba(84, 231, 255, .7);
}

.desktop-nav {
  display: none;
}

.desktop-nav a,
.editor-pill {
  text-decoration: none;
  color: var(--muted);
  font-size: .92rem;
}

.editor-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .04);
}

.grid {
  display: grid;
  gap: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(18, 22, 36, .95), rgba(20, 15, 34, .88));
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-media {
  min-height: 245px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 47, 120, .36), transparent 7rem),
    radial-gradient(circle at 60% 45%, rgba(84, 231, 255, .28), transparent 8rem),
    linear-gradient(135deg, rgba(255, 47, 120, .18), rgba(139, 92, 255, .16));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 42px rgba(255, 255, 255, .18);
}

.hero-media::after {
  content: "";
  position: absolute;
  border-left: 30px solid #fff;
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
  transform: translateX(5px);
}

.hero-copy {
  padding-top: 22px;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .75rem;
  font-weight: 800;
  margin: 0 0 8px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 13vw, 5.2rem);
  line-height: .92;
  margin-bottom: 12px;
}

.hero-subtitle {
  color: var(--soft);
  font-weight: 750;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hero-desc,
.card p,
.section-intro {
  color: var(--muted);
  line-height: 1.55;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, .06);
}

.btn.primary {
  background: linear-gradient(135deg, var(--pink), #ff6a3d);
  border-color: transparent;
}

.btn.secondary {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  border-color: transparent;
}

.btn.full {
  width: 100%;
}

.section {
  margin-top: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.55rem, 7vw, 2.45rem);
  margin-bottom: 4px;
}

.card-grid {
  display: grid;
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 17px;
  box-shadow: 0 14px 42px rgba(0,0,0,.20);
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 7px;
}

.card-label {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255,255,255,.08);
  color: var(--soft);
  font-size: .78rem;
  font-weight: 750;
}

.social-card {
  min-height: 178px;
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
}

.highlight-card {
  min-height: 190px;
}

.visual {
  min-height: 92px;
  border-radius: 18px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.22), transparent 3rem),
    linear-gradient(135deg, rgba(255,47,120,.25), rgba(84,231,255,.18));
  border: 1px solid rgba(255,255,255,.12);
}

.support-card {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.partner-card {
  position: relative;
}

.community-card {
  border-style: dashed;
}

.footer {
  margin-top: 24px;
  padding: 18px 0 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.loading-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 30px;
  margin-top: 20px;
}

@media (min-width: 760px) {
  .page-shell {
    width: min(var(--max), calc(100% - 48px));
    padding-top: 22px;
  }

  .desktop-nav {
    display: flex;
    gap: 24px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    gap: 34px;
    padding: 28px;
  }

  .hero-media {
    min-height: 410px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .main-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    align-items: start;
  }

  .card-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1040px) {
  .main-layout {
    display: grid;
    gap: 22px;
  }

  .sticky-side {
    position: sticky;
    top: 80px;
  }
}

/* Upload-/Medienanzeige Preview */
.hero-media.has-media {
  background: #000;
  padding: 0;
}

.hero-media img,
.hero-media video,
.visual img,
.visual video,
.card-media img,
.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media.has-media::before,
.hero-media.has-media::after,
.visual.has-media::before,
.visual.has-media::after {
  display: none;
}

.visual {
  overflow: hidden;
}

.visual.has-media {
  padding: 0;
  background: #080b16;
}

.card-media {
  width: 100%;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.14), transparent 3rem),
    linear-gradient(135deg, rgba(255,47,120,.18), rgba(84,231,255,.12));
}

@media (min-width: 760px) {
  .card-media {
    height: 145px;
  }
}

/* Externe Social-Media-Embeds, z. B. TikTok */
.visual.social-embed {
  min-height: 420px;
  background: #080b16;
  padding: 10px;
  display: block;
}

.tiktok-embed-wrap {
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.tiktok-embed-wrap blockquote {
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.external-media-link {
  min-height: 130px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 47, 120, .25), transparent 5rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  color: var(--soft);
  text-decoration: none;
  font-weight: 850;
}

@media (max-width: 759px) {
  .visual.social-embed {
    min-height: 560px;
  }

  .tiktok-embed-wrap {
    min-height: 540px;
  }
}

/* Instagram-Embeds */
.instagram-embed-wrap {
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  display: grid;
  place-items: start center;
}

.instagram-embed-wrap blockquote {
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 759px) {
  .instagram-embed-wrap {
    min-height: 620px;
  }
}

/* Feinschliff Medienkarten */
.highlight-card .visual.has-media,
.card-media {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 18px 42px rgba(0,0,0,.22);
}

.highlight-card .visual.social-embed {
  min-height: 500px;
}

.hero-media.social-embed {
  align-items: start;
  padding: 10px;
}

.hero-media.social-embed .tiktok-embed-wrap,
.hero-media.social-embed .instagram-embed-wrap {
  width: 100%;
}

.card .btn {
  margin-top: 4px;
}

@media (max-width: 759px) {
  .highlight-card .visual.social-embed {
    min-height: 600px;
  }

  .hero-media.social-embed {
    min-height: 590px;
  }
}

/* TikTok Video-Player wie alte Live-Seite: player/v1 statt embed.js */
.tiktok-player-wrap {
  width: 100%;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.tiktok-player-frame {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
  background: #000;
}

.hero-media.social-embed .tiktok-player-wrap,
.hero-media.social-embed .tiktok-player-frame {
  min-height: 520px;
}

.visual.social-embed .tiktok-player-wrap,
.visual.social-embed .tiktok-player-frame {
  min-height: 520px;
}

@media (max-width: 759px) {
  .tiktok-player-wrap,
  .tiktok-player-frame,
  .hero-media.social-embed .tiktok-player-wrap,
  .hero-media.social-embed .tiktok-player-frame,
  .visual.social-embed .tiktok-player-wrap,
  .visual.social-embed .tiktok-player-frame {
    min-height: 600px;
  }
}

/* Einheitliche TikTok-player/v1-Darstellung */
.tiktok-player-wrap {
  width: 100%;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.tiktok-player-frame {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
  background: #000;
}

.hero-media.social-embed .tiktok-player-wrap,
.hero-media.social-embed .tiktok-player-frame,
.visual.social-embed .tiktok-player-wrap,
.visual.social-embed .tiktok-player-frame {
  min-height: 520px;
}

@media (max-width: 759px) {
  .tiktok-player-wrap,
  .tiktok-player-frame,
  .hero-media.social-embed .tiktok-player-wrap,
  .hero-media.social-embed .tiktok-player-frame,
  .visual.social-embed .tiktok-player-wrap,
  .visual.social-embed .tiktok-player-frame {
    min-height: 600px;
  }
}

/* Hero-Lauftext */
.hero-marquee {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(84, 231, 255, .28);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  margin-bottom: 14px;
  color: var(--soft);
  white-space: nowrap;
}

.hero-marquee-track {
  display: inline-flex;
  gap: 28px;
  min-width: max-content;
  padding: 9px 0;
  animation: heroMarquee 20s linear infinite;
}

.hero-marquee-track span {
  padding-left: 18px;
  font-weight: 850;
  font-size: .92rem;
}

.hero-marquee.slow .hero-marquee-track {
  animation-duration: 32s;
}

.hero-marquee.fast .hero-marquee-track {
  animation-duration: 13s;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track {
    animation: none;
    white-space: normal;
  }
}

/* Social-Kanal-Visuals */
.social-visual {
  margin-bottom: 14px;
}

.social-image-link {
  display: block;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.social-image-link img,
.social-image-link video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-profile-preview {
  display: grid;
  gap: 8px;
  place-items: center;
  text-align: center;
  min-height: 145px;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 47, 120, .20), transparent 6rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.social-profile-preview strong {
  font-size: 1.1rem;
}

.social-profile-preview span {
  color: var(--muted);
}

.tiktok-profile-wrap {
  width: 100%;
  min-height: 315px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,.14);
}

.tiktok-profile-wrap blockquote {
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 759px) {
  .social-image-link {
    height: 190px;
  }

  .tiktok-profile-wrap {
    min-height: 380px;
  }
}

/* Korrektur: Hero-Medium darf durch Lauftext nicht verschwinden */
.hero {
  align-items: stretch;
}

.hero-media {
  width: 100%;
  min-width: 0;
}

.hero-copy {
  min-width: 0;
}

.hero-no-media {
  grid-template-columns: 1fr !important;
}

/* Lauftext kompakter und ohne Überlagerung */
.hero-marquee {
  max-width: 100%;
  margin-bottom: 12px;
}

.hero-marquee-track {
  will-change: transform;
}

/* Social-Profilkarten bewusst lokal rendern, keine fremden Profil-Embeds */
.social-profile-preview {
  width: 100%;
  min-height: 150px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 45% 25%, rgba(255, 47, 120, .22), transparent 6rem),
    radial-gradient(circle at 65% 70%, rgba(84, 231, 255, .14), transparent 7rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.social-profile-preview:hover {
  border-color: rgba(84, 231, 255, .46);
}

.social-card .social-profile-preview .social-icon {
  margin-bottom: 0;
}

.tiktok-profile-wrap {
  display: none !important;
}

/* TikTok-Profil-Embed im Social-Kanal wieder aktivieren */
.social-visual .tiktok-profile-wrap {
  display: block !important;
  width: 100%;
  min-height: 420px;
  max-height: 680px;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  border: 1px solid rgba(255,255,255,.16);
  margin-bottom: 14px;
}

.social-visual .tiktok-profile-wrap blockquote {
  margin: 0 !important;
  min-width: 288px !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 759px) {
  .social-visual .tiktok-profile-wrap {
    min-height: 500px;
    max-height: 760px;
  }
}

/* Instagram-Profil-Embed im Social-Kanal */
.social-visual .instagram-profile-wrap {
  display: block;
  width: 100%;
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.16);
  margin-bottom: 14px;
}

.social-visual .instagram-profile-wrap blockquote {
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 759px) {
  .social-visual .instagram-profile-wrap {
    min-height: 620px;
    max-height: 860px;
  }
}

/* Mobile-Fix: TikTok-/Instagram-Profil-Embeds dürfen nicht breiter als die Karte werden */
.social-card,
.social-visual,
.social-visual .tiktok-profile-wrap,
.social-visual .instagram-profile-wrap {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.social-visual iframe,
.social-visual blockquote,
.social-visual .tiktok-embed,
.social-visual .instagram-media {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 759px) {
  .card-grid,
  .card,
  .social-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .social-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .social-visual .tiktok-profile-wrap,
  .social-visual .instagram-profile-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
  }

  .social-visual iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .social-visual blockquote {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .social-image-link,
  .social-profile-preview {
    width: 100%;
    max-width: 100%;
  }
}

/* Teilen-Bereich */
.share-card {
  background:
    radial-gradient(circle at 15% 20%, rgba(65, 209, 142, .14), transparent 8rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.share-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 14px;
}

.share-button {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  padding: 11px 14px;
  cursor: pointer;
}

.share-button:hover {
  border-color: rgba(84, 231, 255, .55);
}

.share-button.whatsapp {
  background: rgba(37, 211, 102, .16);
}

.share-button.email {
  background: rgba(255,255,255,.08);
}

.share-button.telegram {
  background: rgba(42, 171, 238, .16);
}

.share-button.facebook {
  background: rgba(24, 119, 242, .16);
}

.share-button.x {
  background: rgba(255,255,255,.06);
}

.share-button.tiktok {
  background: linear-gradient(135deg, rgba(255,47,120,.22), rgba(84,231,255,.18));
}

.share-button.copy {
  background: rgba(139,92,255,.16);
}

@media (min-width: 520px) {
  .share-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Teilen-Bereich */
.share-card {
  background:
    radial-gradient(circle at 15% 20%, rgba(65, 209, 142, .14), transparent 8rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.share-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 14px;
}

.share-button {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  padding: 11px 14px;
  cursor: pointer;
}

.share-button:hover {
  border-color: rgba(84, 231, 255, .55);
}

.share-button.whatsapp {
  background: rgba(37, 211, 102, .16);
}

.share-button.email {
  background: rgba(255,255,255,.08);
}

.share-button.telegram {
  background: rgba(42, 171, 238, .16);
}

.share-button.facebook {
  background: rgba(24, 119, 242, .16);
}

.share-button.x {
  background: rgba(255,255,255,.06);
}

.share-button.tiktok {
  background: linear-gradient(135deg, rgba(255,47,120,.22), rgba(84,231,255,.18));
}

.share-button.copy {
  background: rgba(139,92,255,.16);
}

@media (min-width: 520px) {
  .share-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* QR-Code-Bereich */
.qr-card {
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(84, 231, 255, .12), transparent 8rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.qr-image-wrap {
  display: grid;
  place-items: center;
  margin: 14px auto;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  width: min(240px, 100%);
  box-shadow: 0 18px 42px rgba(0,0,0,.25);
}

.qr-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.qr-url {
  color: var(--muted);
  font-size: .9rem;
  word-break: break-word;
  margin-top: 8px;
}

/* Lisa's Sounds */
.sounds-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 47, 120, .16), transparent 8rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.sound-buttons {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sound-button {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text);
  background: linear-gradient(135deg, rgba(255,47,120,.20), rgba(84,231,255,.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  font-weight: 850;
  cursor: pointer;
}

.sound-button.is-playing {
  border-color: rgba(84, 231, 255, .75);
  box-shadow: 0 0 0 3px rgba(84, 231, 255, .12);
}

.sound-status {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
  margin-top: 10px;
}

/* kleines Pi im Footer */
.pi-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .78rem;
  line-height: 1;
  opacity: .78;
}

.pi-inline-link:hover {
  opacity: 1;
  color: var(--text);
  border-color: rgba(84, 231, 255, .6);
}

/* Lisa's Sounds */
.sounds-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 47, 120, .16), transparent 8rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.sound-buttons {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sound-button {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text);
  background: linear-gradient(135deg, rgba(255,47,120,.20), rgba(84,231,255,.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  font-weight: 850;
  cursor: pointer;
}

.sound-button.is-playing {
  border-color: rgba(84, 231, 255, .75);
  box-shadow: 0 0 0 3px rgba(84, 231, 255, .12);
}

.sound-status {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
  margin-top: 10px;
}

/* Fix: klickbare Medienbilder in Karten dürfen nachfolgende Bereiche nicht überlagern */
.card-media {
  display: block;
  position: relative;
  width: 100%;
  height: 145px;
  max-height: 145px;
  overflow: hidden;
  margin-bottom: 14px;
  text-decoration: none;
}

.card-media img,
.card-media video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 145px;
  object-fit: cover;
}

.support-card,
.share-card,
.qr-card,
.sounds-card {
  position: relative;
  overflow: hidden;
  clear: both;
}

.support-card + .share-card,
.support-card + section,
#support + #sounds,
#support + #teilen,
#sounds + #teilen,
#teilen + #qr-code {
  margin-top: 16px;
}

.sticky-side .section {
  clear: both;
}

@media (max-width: 759px) {
  .card-media {
    height: 180px;
    max-height: 180px;
  }

  .card-media img,
  .card-media video {
    max-height: 180px;
  }
}

/* Highlights ohne Medienplatzhalter + Textgestaltung */
.highlight-card.no-visual {
  min-height: auto;
}

.highlight-text {
  margin-top: 4px;
}

.highlight-description {
  border-radius: 14px;
  padding: 0;
}

.highlight-description.has-bg {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
}

.highlight-description.size-small {
  font-size: .92rem;
}

.highlight-description.size-normal {
  font-size: 1rem;
}

.highlight-description.size-large {
  font-size: 1.18rem;
}

.highlight-description.size-xlarge {
  font-size: 1.35rem;
}

/* Großansicht für Bilder im Bereich Aktuell */
.image-lightbox-trigger {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-lightbox-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(8px);
}

.image-lightbox.is-open {
  display: grid;
}

.image-lightbox-inner {
  position: relative;
  width: min(1100px, 96vw);
  max-height: 92vh;
  display: grid;
  place-items: center;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
  background: #000;
}

.image-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(15, 18, 30, .92);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 759px) {
  .image-lightbox {
    padding: 10px;
  }

  .image-lightbox-inner {
    width: 98vw;
  }

  .image-lightbox-close {
    top: 8px;
    right: 8px;
  }
}

/* Lisa's Sounds - final */
.sounds-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 47, 120, .16), transparent 8rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.sound-buttons {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sound-button {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text);
  background: linear-gradient(135deg, rgba(255,47,120,.20), rgba(84,231,255,.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  font-weight: 850;
  cursor: pointer;
}

.sound-button.is-playing {
  border-color: rgba(84, 231, 255, .75);
  box-shadow: 0 0 0 3px rgba(84, 231, 255, .12);
}

.sound-status {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
  margin-top: 10px;
}
