/* =========================================================
   Cinimoon – Website-Stil
   Alle Farben & Schriften stehen oben in :root
   ========================================================= */
@font-face { font-family: "Baloo 2"; src: url(fonts/baloo-2-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url(fonts/baloo-2-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url(fonts/baloo-2-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --nacht: #120f2e;
  --nacht-2: #1b1540;
  --pflaume: #2a1d4f;
  --karte: rgba(36, 27, 74, .78);
  --karte-hell: rgba(52, 38, 98, .85);
  --rand: rgba(185, 163, 255, .18);
  --text: #f6f1ff;
  --text-leise: #bdb3dc;
  --lavendel: #b9a3ff;
  --lila: #7b4fd6;
  --lila-band: #6a3fc4;
  --kuerbis: #f59a3c;
  --mond: #ffd27a;
  --live: #ff4d6d;
  --twitch: #9146ff;
  --discord: #5865f2;
  --radius: 22px;
  --schrift: "Baloo 2", system-ui, sans-serif;
  --breite: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--nacht);
  overflow-x: hidden;
}
a { color: var(--lavendel); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .35em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
p { margin: 0 0 1em; }

/* ---------- Funkelnder Sternenhimmel ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(1100px 650px at 85% -10%, rgba(123, 79, 214, .32), transparent 60%),
    radial-gradient(900px 600px at -10% 45%, rgba(245, 154, 60, .10), transparent 60%),
    radial-gradient(800px 600px at 100% 100%, rgba(88, 101, 242, .16), transparent 60%),
    linear-gradient(180deg, var(--nacht) 0%, var(--nacht-2) 100%);
}
.stars { position: absolute; inset: 0; }
.star {
  position: absolute; border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, .55);
  animation: funkeln var(--d, 4s) ease-in-out var(--v, 0s) infinite;
}
.star.gross::before, .star.gross::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255, 255, 255, .7);
  transform: translate(-50%, -50%);
}
.star.gross::before { width: 1px; height: 12px; }
.star.gross::after { width: 12px; height: 1px; }
@keyframes funkeln {
  0%, 100% { opacity: .15; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 10px max(16px, calc((100% - var(--breite)) / 2));
  background: rgba(18, 15, 46, .8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rand);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.4rem; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 210, 122, .5); }
.top nav { display: flex; gap: 2px; }
.top nav a { color: var(--text-leise); text-decoration: none; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.top nav a:hover { color: var(--text); background: rgba(185, 163, 255, .14); }
.top-live {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  background: var(--live); color: #fff; font-weight: 800; font-size: .9rem; text-decoration: none; letter-spacing: .05em;
}
.top-live[hidden] { display: none; }
.top-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

main { width: min(var(--breite), 100% - 32px); margin: 0 auto; }

/* ---------- Bänder & Kleinkram ---------- */
.ribbon {
  display: inline-block; position: relative; margin: 0 0 14px;
  padding: 4px 18px 4px 16px; font-weight: 800; font-size: .95rem; color: #fff;
  background: linear-gradient(180deg, #7d52d9, var(--lila-band));
  border-radius: 6px; box-shadow: 0 4px 0 rgba(40, 20, 90, .6);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
  padding-right: 26px;
}
.ribbon-small { font-size: .85rem; }
.eyebrow { color: var(--kuerbis); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; margin-bottom: .2em; }
.glow { color: var(--mond); text-shadow: 0 0 30px rgba(255, 210, 122, .5), 0 4px 0 rgba(120, 60, 10, .55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 14px; border: 0; cursor: pointer;
  font: 800 1rem var(--schrift); color: #fff; text-decoration: none;
  background: var(--lila); box-shadow: 0 4px 0 rgba(0, 0, 0, .28);
  transition: transform .15s, filter .15s, box-shadow .15s;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 6px 0 rgba(0, 0, 0, .28); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0, 0, 0, .28); }
.btn-twitch { background: var(--twitch); }
.btn-discord { background: var(--discord); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--lavendel); color: var(--lavendel); }
.btn-small { padding: 8px 16px; font-size: .95rem; }
.btn-big { padding: 16px 30px; font-size: 1.15rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin: 22px 0 0; min-height: 580px; border-radius: 30px; overflow: hidden;
  display: flex; align-items: center;
  background: radial-gradient(700px 500px at 10% 20%, rgba(123, 79, 214, .35), transparent 70%), linear-gradient(160deg, #241a52, #150f33);
  border: 1px solid var(--rand);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.hero-art {
  position: absolute; top: 0; bottom: 0; right: 0; left: 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero-art picture, .hero-art picture img { width: 100%; height: 100%; }
.hero-art picture img { object-fit: cover; object-position: 20% 40%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 15, 46, .35), transparent 25%); }
.hero-cutout { position: absolute; right: 4%; bottom: 0; height: 96%; width: auto; max-width: none; z-index: 1; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.hero.ohne-bild picture { display: none; }
.lights { position: absolute; left: 0; top: 0; width: 100%; height: 90px; z-index: 2; overflow: visible; pointer-events: none; }
.lights .bulb { animation: gluehen var(--d, 3s) ease-in-out var(--v, 0s) infinite; }
@keyframes gluehen { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.hero-inner { position: relative; z-index: 3; padding: 90px 40px 56px 48px; max-width: 520px; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 5.6rem); margin-bottom: .2em; }
.h1-small { display: block; font-size: .42em; color: var(--text); margin-bottom: .05em; }
.lead { color: #e2dbf6; font-size: 1.15rem; max-width: 30em; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* Live-Anzeige */
.live-chip {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 8px 16px; margin-bottom: 16px; border-radius: 999px; text-decoration: none;
  background: rgba(18, 15, 46, .7); border: 1px solid var(--rand); font-weight: 600; color: var(--text-leise);
}
.live-chip[hidden] { display: none; }
.live-chip #live-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #6b7199; flex: none; }
.live-chip.is-live { color: #fff; border-color: rgba(255, 77, 109, .7); background: rgba(255, 77, 109, .22); }
.live-chip.is-live .dot { background: var(--live); animation: puls 1.6s ease-out infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, .7); } 100% { box-shadow: 0 0 0 12px rgba(255, 77, 109, 0); } }

/* ---------- Abschnitte ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.section-head.center { justify-content: center; text-align: center; }
.head-emote { width: 76px; height: 76px; flex: none; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); transform: rotate(-6deg); }
.more { margin-top: 20px; font-weight: 600; }

/* ---------- Live + Nächster Stream ---------- */
.live-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; align-items: stretch; padding-top: 40px; }
.player-card {
  padding: 10px; border-radius: calc(var(--radius) + 6px);
  background: var(--karte); border: 1px solid var(--rand);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.player-card.is-live { border-color: rgba(255, 77, 109, .7); box-shadow: 0 0 0 1px rgba(255, 77, 109, .4), 0 30px 70px rgba(0, 0, 0, .4); }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0c0a22; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px; gap: 6px;
  background: radial-gradient(circle at 50% 35%, rgba(145, 70, 255, .35), transparent 70%), #17123a;
}
.consent-emote { width: 84px; height: 84px; flex: none; }
.consent-title { font-weight: 800; font-size: 1.3rem; margin: 0; }
.consent-text { color: var(--text-leise); font-size: .9rem; max-width: 30em; margin: 0 0 6px; }
.remember { font-size: .85rem; color: var(--text-leise); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.remember input { accent-color: var(--lila); }

.next-card {
  position: relative; overflow: hidden; padding: 24px 24px 0; border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(160deg, rgba(245, 154, 60, .22), rgba(123, 79, 214, .2) 60%), var(--karte);
  border: 1px solid rgba(245, 154, 60, .35);
  display: flex; flex-direction: column;
}
.next-title { font-size: 1.7rem; font-weight: 800; line-height: 1.1; margin: 4px 0 6px; }
.next-sub { color: var(--text-leise); margin: 0; }
.next-zeit { display: inline-block; margin-top: 8px; padding: 2px 12px; border-radius: 999px; background: rgba(255, 210, 122, .16); color: var(--mond); font-weight: 600; }
.next-emote { width: 62%; max-width: 200px; height: auto; margin: auto auto 0; padding-top: 12px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4)); }

/* ---------- Streamplan ---------- */
.plan-intro { color: var(--text-leise); max-width: 46em; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 10px 0 18px; }
.week[hidden] { display: none; }
.tag {
  position: relative; padding: 14px 12px 16px; border-radius: 18px; min-height: 150px;
  background: rgba(36, 27, 74, .45); border: 1px dashed rgba(185, 163, 255, .2);
  display: flex; flex-direction: column; gap: 2px;
}
.tag-name { font-weight: 800; font-size: 1.05rem; }
.tag-datum { color: var(--text-leise); font-size: .85rem; }
.tag-frei { margin-top: auto; color: rgba(189, 179, 220, .6); font-size: .9rem; }
.tag.stream {
  background: linear-gradient(170deg, rgba(123, 79, 214, .55), rgba(42, 29, 79, .9));
  border: 1px solid rgba(185, 163, 255, .45); box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.tag.stream .tag-zeit { margin-top: auto; color: var(--mond); font-weight: 800; font-size: 1rem; line-height: 1.2; }
.tag.stream .tag-was { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.tag.heute { outline: 2px solid var(--kuerbis); outline-offset: 2px; }
.tag.heute::before {
  content: "Heute"; position: absolute; top: -11px; right: 10px; padding: 0 9px; border-radius: 999px;
  background: var(--kuerbis); color: #2a1300; font-size: .75rem; font-weight: 800;
}
.tag.vorbei { opacity: .5; }
.plan-note {
  padding: 12px 18px; border-left: 4px solid var(--kuerbis); border-radius: 0 14px 14px 0;
  background: rgba(245, 154, 60, .1); color: #f3e3d0;
}
.plan-note[hidden] { display: none; }
.plan-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-leise); font-size: .9rem; }

/* ---------- Clips ---------- */
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.clip {
  border-radius: var(--radius); overflow: hidden;
  background: var(--karte); border: 1px solid var(--rand);
  transition: transform .2s, border-color .2s;
}
.clip:hover { transform: translateY(-4px) rotate(-.4deg); border-color: rgba(245, 154, 60, .6); }
.clip:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; }
.clip:first-child .clip-info { padding: 24px 30px; }
.clip:first-child .clip-info::before { content: "Top-Clip"; display: block; margin-bottom: 6px; color: var(--kuerbis); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; }
.clip:first-child .clip-info h3 { font-size: 1.7rem; font-weight: 800; }
.clip .embed { border-radius: 0; }
.clip-cover {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; font: inherit;
  background: radial-gradient(circle at 70% 30%, rgba(245, 154, 60, .25), transparent 60%), linear-gradient(135deg, #3a2470, #171236);
}
.clip-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(18, 15, 46, .65)); }
.clip-cover .play {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(145, 70, 255, .92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4); transition: transform .2s;
}
.clip-cover:hover .play { transform: scale(1.12); }
.clip-cover .play svg { width: 28px; height: 28px; fill: #fff; margin-left: 3px; }
.clip-cover .badge {
  position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 2px 10px; border-radius: 8px;
  background: rgba(0, 0, 0, .65); font-size: .85rem; font-weight: 600;
}
.clip-info { padding: 12px 16px 14px; }
.clip-info h3 { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.clip-info small { color: var(--text-leise); }

/* ---------- Über ---------- */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.about-art { margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--rand); transform: rotate(-1.5deg); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.about-art img { width: 100%; height: auto; }
.about-text p:not(.ribbon) { color: var(--text-leise); }

/* ---------- Emotes ---------- */
.emotes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.emotes li {
  width: 120px; padding: 14px 10px 8px; border-radius: 20px; text-align: center;
  background: var(--karte); border: 1px solid var(--rand); transition: transform .2s, border-color .2s;
}
.emotes li:nth-child(odd) { transform: rotate(-2deg); }
.emotes li:nth-child(even) { transform: rotate(2deg); }
.emotes li:hover { transform: translateY(-6px) scale(1.06); border-color: var(--mond); }
.emotes img { width: 84px; height: 84px; margin: 0 auto 4px; object-fit: contain; }
.emotes span { font-weight: 800; font-size: .9rem; color: var(--text-leise); }

/* ---------- Discord ---------- */
.discord {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  padding: 40px 44px; margin: 40px 0; border-radius: 30px;
  background: linear-gradient(135deg, rgba(88, 101, 242, .45), rgba(123, 79, 214, .25));
  border: 1px solid rgba(88, 101, 242, .55);
}
.discord-emote { width: 130px; height: 130px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35)); transform: rotate(-6deg); }
.discord .eyebrow { color: #c9cfff; }
.discord p:last-child { color: #dcd8f5; margin: 0; max-width: 36em; }

/* ---------- Kanäle ---------- */
.socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.social {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius);
  background: var(--karte); border: 1px solid var(--rand); color: var(--text); text-decoration: none;
  transition: transform .2s, border-color .2s;
}
.social:hover { transform: translateY(-3px); border-color: var(--farbe); }
.social svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; fill: #fff; background: var(--farbe); flex: none; }
.social span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.social small { color: var(--text-leise); overflow: hidden; text-overflow: ellipsis; }
.s-twitch { --farbe: var(--twitch); }
.s-youtube { --farbe: #ff0033; }
.s-tiktok { --farbe: #111; }
.s-tiktok svg { box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55; }
.s-insta { --farbe: #d62976; }
.s-insta svg { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }

/* ---------- Fußzeile ---------- */
.foot {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 40px 16px 32px; margin-top: 30px;
  border-top: 1px solid var(--rand); color: var(--text-leise); font-size: .95rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .25));
}
.foot-emote { width: 84px; height: 84px; }
.foot-bye { font-weight: 800; font-size: 1.3rem; color: var(--text); margin: 0; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.foot a, .linklike { color: var(--text-leise); text-decoration: none; }
.foot a:hover, .linklike:hover { color: var(--text); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.copy { font-size: .85rem; opacity: .7; }
.foot-kontakt a { color: var(--mond); text-decoration: none; font-weight: 600; }
.foot-kontakt a:hover { text-decoration: underline; }

/* ---------- Rechtsseiten ---------- */
.legal { width: min(780px, 100% - 32px); margin: 0 auto; padding: 50px 0; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.2em; }
.legal p, .legal li { color: #ddd5f3; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; }
.legal .platzhalter { background: rgba(255, 210, 122, .18); color: var(--mond); padding: 0 6px; border-radius: 6px; font-weight: 600; }
.legal .stand { color: var(--text-leise); font-size: .9rem; }
.hinweis { padding: 14px 18px; border-radius: 14px; background: rgba(255, 210, 122, .12); border: 1px solid rgba(255, 210, 122, .4); color: var(--mond); }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .live-grid { grid-template-columns: 1fr; }
  .next-card { flex-direction: row; align-items: center; padding: 22px; gap: 16px; }
  .next-card > div, .next-card #next-body { flex: 1; }
  .next-card .ribbon { position: absolute; top: 14px; left: 22px; }
  .next-card #next-body { padding-top: 34px; }
  .next-emote { width: 110px; margin: 0; padding: 0; }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .discord { grid-template-columns: auto 1fr; }
  .discord .btn { grid-column: 1 / -1; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-extra { display: none; }
  .brand span { display: none; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; margin-top: 14px; border-radius: 24px; }
  .hero-art { position: relative; left: auto; aspect-ratio: 16 / 10; -webkit-mask-image: none; mask-image: none; }
  .hero-art picture img { object-position: 50% 40%; }
  .hero-art::after { background: linear-gradient(0deg, var(--nacht) 0%, rgba(18, 15, 46, 0) 45%); }
  .hero-cutout { height: 100%; right: 50%; transform: translateX(50%); }
  .hero-inner { padding: 0 20px 28px; margin-top: -40px; }
  .hero h1 { font-size: 3.2rem; }
  .buttons .btn { flex: 1 1 100%; }
  .lights { height: 60px; }
  .section { padding: 40px 0; }
  .week { grid-template-columns: 1fr; }
  .tag { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 16px; }
  .tag:not(.stream):not(.heute) { display: none; }
  .tag-name { font-size: 1.05rem; }
  .tag.stream .tag-zeit, .tag-frei { margin-top: 0; margin-left: auto; }
  .tag-was { flex-basis: 100%; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .clip:first-child { grid-template-columns: 1fr; }
  .clip:not(:first-child) .clip-info { padding: 8px 10px 10px; }
  .clip:not(:first-child) .clip-info h3 { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .clip:not(:first-child) .clip-info small { font-size: .75rem; }
  .clip-cover .play { width: 48px; height: 48px; }
  .clip:first-child .clip-info { padding: 14px 16px 16px; }
  .clip:first-child .clip-info h3 { font-size: 1.25rem; }
  .consent { gap: 4px; padding: 10px 14px; }
  .consent-emote { display: none; }
  .consent-title { font-size: 1.05rem; }
  .consent-text { font-size: .78rem; line-height: 1.35; margin-bottom: 4px; }
  .consent .btn-small { padding: 6px 14px; font-size: .88rem; }
  .remember { font-size: .78rem; }
  .emotes li { width: calc(33.333% - 10px); }
  .emotes img { width: 64px; height: 64px; }
  .discord { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; justify-items: center; }
  .discord-emote { width: 96px; height: 96px; }
  .head-emote { width: 60px; height: 60px; }
  .about-art { transform: none; }
}

/* ---------- Zufallsclip-Knopf ---------- */
.head-btn { margin-left: auto; }
.clip.blitz { animation: blitz 1.2s ease-out; }
@keyframes blitz { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 122, .9); } 100% { box-shadow: 0 0 0 22px rgba(255, 210, 122, 0); } }

/* ---------- YouTube ---------- */
#youtube[hidden] { display: none; }
.yt-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: var(--karte); border: 1px solid var(--rand); }
.yt-tabs button {
  border: 0; cursor: pointer; padding: 7px 18px; border-radius: 999px; font: 800 .95rem var(--schrift);
  color: var(--text-leise); background: transparent;
}
.yt-tabs button[aria-selected="true"] { background: #ff0033; color: #fff; }
.yt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.yt-grid.shorts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.yt-card {
  display: block; text-decoration: none; color: var(--text); border-radius: 18px; overflow: hidden;
  background: var(--karte); border: 1px solid var(--rand); transition: transform .2s, border-color .2s;
}
.yt-card:hover { transform: translateY(-4px); border-color: rgba(255, 0, 51, .6); }
.yt-bild { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1a1438; }
.yt-grid.shorts .yt-bild { aspect-ratio: 9 / 16; }
.yt-bild img { width: 100%; height: 100%; object-fit: cover; }
.yt-grid:not(.shorts) .yt-bild img { transform: scale(1.34); } /* schwarze Balken im 4:3-Vorschaubild ausblenden */
.yt-bild::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 24px; border-radius: 7px;
  background: rgba(255, 0, 51, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transition: opacity .2s;
}
.yt-card:hover .yt-bild::after { opacity: 1; }
.yt-info { padding: 10px 14px 12px; }
.yt-info h3 { margin: 0 0 4px; font-size: .98rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-info small { color: var(--text-leise); font-size: .82rem; }
.yt-grid.shorts .yt-info h3 { font-size: .85rem; }

@media (max-width: 980px) {
  .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yt-grid.shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .section-head { flex-wrap: wrap; }
  .head-btn { margin-left: 0; }
  .yt-grid { gap: 12px; }
  .yt-info { padding: 8px 10px 10px; }
  .yt-info h3 { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
