/* Festtagsausgabe der Startseite. Die Spielmotive behalten ihre eigenen Farben. */
body.home {
  --paper: #f6f0e4;
  --light: #fffbf1;
  --ink: #262b25;
  --muted: #54584d;
  --forest: #194638;
  --forest-deep: #102e26;
  --ochre: #794422;
  --lime: #f1d69a;
  --wash: #e9edde;
  --line: #d5c6a9;
  --cranberry: #702c35;
  --brass: #c7a164;
  --fir-still-life: url('/img/weihnachten/adventszweige.webp');
  --ribbon-edge: repeating-linear-gradient(125deg, #76343c 0 12px, #e5c278 12px 14px, #193e34 14px 26px, #e5c278 26px 28px);
  color: var(--ink);
  color-scheme: light;
  background: var(--paper);
}

.home .site-head,
.home .site-foot {
  position: relative;
  color: #fff6df;
  background: #14392e;
}
.home .site-head { border-bottom: 1px solid #a08a63; }
.home .site-head::after,
.home .site-foot::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 4px;
  background: var(--ribbon-edge);
  pointer-events: none;
}
.home .site-head::after { bottom: 0; }
.home .site-foot::before { top: 0; }
.home .site-head .brand,
.home .site-head .main-nav a,
.home .site-head .head-twitch { color: #fff8e8; }
.home .site-head .brand small { color: #efcf92; }
.home .site-head .head-twitch { border-color: #bbab84; }
.home .site-head .main-nav :is([aria-current], :hover),
.home .site-head .head-twitch:hover {
  color: #22382e;
  background: #f3e5c4;
}

/* Das Reiskörnchen steht als freies Motiv im Tannengrün. */
.home .advent-promo {
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 26%);
  grid-template-areas: "heading fenster" "intro fenster" "rules fenster";
  gap: .65rem clamp(.75rem, 2vw, 1.8rem);
  padding: clamp(1.05rem, 2.2vw, 1.8rem) clamp(1.15rem, 3vw, 2.5rem);
  border: 1px solid #846f44;
  border-radius: 1.2rem;
  background: #122a21;
  box-shadow: 0 6px 18px #34291716;
}
.home .advent-promo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #10291ff5, #10291fd4 43%, #10291f16 73%), var(--fir-still-life) right center / cover no-repeat;
}
.home .home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6px;
  pointer-events: none;
  border: 1px solid #e9c88363;
  border-radius: inherit;
}
.home .advent-promo h2 {
  max-width: 100%;
  color: #fff5d9;
  font-size: clamp(1.75rem, 3.05vw, 2.85rem);
  line-height: 1.03;
}
.home .advent-promo-date { color: #f6d395; letter-spacing: .12em; }
.home .advent-promo-date::before,
.home :is(.week-overview, .clips-section, .archive-section, .community, .cooperation-line) .eyebrow::before {
  content: "";
  display: inline-block;
  flex: none;
  width: .85rem;
  height: .85rem;
  background: currentColor;
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 61%, 50% 100%, 39% 61%, 0 50%, 39% 38%);
}
.home .advent-promo-copy,
.home .advent-promo-rules p { color: #fff8e8; }
.home .advent-kalenderlink {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  color: #ffe2a6;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.home .advent-promo-rules { margin-top: .25rem; }
.home .advent-promo-rules summary {
  color: #37251b;
  background: #f3d59b;
  border: 1px solid #ffe6b5;
}
.home .advent-promo-rules summary:hover { background: #ffebbd; }
.home .advent-promo .reiskorn-kugel {
  grid-area: fenster;
  width: clamp(7.8rem, 14vw, 11.75rem);
  align-self: center;
  justify-self: center;
  filter: drop-shadow(0 .36rem .32rem #09180f66);
}
.home .advent-promo-rules a { color: #ffe3ab; text-underline-offset: .2em; }

.home .home-hero {
  color: #fff6e8;
  border: 1px solid #6a3438;
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at 5% 18%, #783940, transparent 67%), #49242a;
}
.home .home-hero::before {
  background: none;
  mask: none;
  border-color: #ead1a951;
}
.home .hello h1 em,
.home .hello > .eyebrow { color: #f6d69a; }
.home .hello > p:not(.eyebrow),
.home .hello .actions .more { color: #fff4de; }
.home .hello .button.primary,
.home .community .button.primary { background: #f4dbab; color: #33271b; border-color: #f4dbab; }
.home .hello .button.primary:hover,
.home .community .button.primary:hover { background: #fff0cd; }
.home .host-note { background: #fff7e5; color: var(--ink); border-color: #d7ba80; }
.home .home-spotlight :is(.next-ticket, .hoppla-feature) {
  border: 1px solid #bea173;
  box-shadow: 0 8px 22px #1e0d174d;
}
.home .ticket-top { background: #183d32; color: #ffe6ae; }
.home.home-live .ticket-top { background: #683139; color: #fff6df; }
.home .ticket-foot { background: #17362f; color: #fff1cf; border-color: #b39567; }
.home .hoppla-feature { background: #fbf0d8; color: var(--ink); }
.home .hoppla-visual { background: #e9dbbc; }
.home .hoppla-copy .more { color: var(--forest); }

.home .shortcut { border-color: #ceba97; border-radius: .85rem; }
.home .shortcut-icon { color: #f6e9cc; background: #285445; }
.home .shortcut:nth-child(even) .shortcut-icon { background: var(--cranberry); }
.home .shortcut:hover { background: #f2e9d6; }
.home :is(.week-overview, .clips-section, .archive-section, .community, .cooperation-line) .eyebrow {
  color: var(--cranberry);
}
.home :is(.week-overview, .clips-section, .archive-section, .community, .cooperation-line) .eyebrow::before {
  margin-right: .5rem;
  vertical-align: -.12em;
}
.home :is(.week-overview, .clips-section, .archive-section, .cooperation-line, .faq) h2 { color: var(--forest); }
.home .week-overview {
  padding: clamp(1rem, 2.9vw, 2.2rem);
  border: 1px solid var(--line);
  border-top: 4px solid var(--forest);
  border-radius: 1rem;
  background: var(--light);
}
.home .agenda-date { color: var(--cranberry); }
.home .agenda-item.is-next, .home .plan-regular.today { background: #e7ecdd; }
.home :is(.points-quick, .grain-ledger) { border-top: 4px solid var(--cranberry); }
.home .grain-ledger { background: #e7eddf; border-top-color: var(--forest); }
.home .points-dashboard h2 { color: #3c342f; }
.home .points-form .button.primary { color: #fff8e8; }
.home .clip-picks a { border-block-start: 3px solid var(--cranberry); }
.home .clip-picks li:nth-child(2) a { border-block-start-color: #356150; }
.home .clip-picks li:nth-child(3) a { border-block-start-color: #a27e3b; }
.home .clip-context { color: var(--cranberry); font-weight: 800; }
.home .archive-grid .vod-card { border-block-end: 3px solid #b4955c; }
.home .community {
  isolation: isolate;
  position: relative;
  color: #fff5dd;
  padding: clamp(1.35rem, 3.8vw, 3.3rem);
  border: 1px solid #8d805b;
  border-radius: 1.2rem;
  background: #14372d;
}
.home .community::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg,#14372d 42%,#14372dd9 66%,#14372d55), var(--fir-still-life) right center / cover no-repeat;
}
.home .community :is(.eyebrow, .more),
.home .community .social-list a { color: #ffe2a6; }
.home .community .social-list span { color: #f2ead9; }
.home .cooperation-line { border-inline-start: 3px solid var(--brass); padding-inline-start: clamp(.85rem, 2.7vw, 2rem); }
.home .faq summary::marker { color: var(--cranberry); }
.home .site-foot { background: #372129; }
.home .site-foot .footer-main strong { color: #f8d295; }
.home .site-foot .spotlight-toggle { border-color: #c5a77a; }
.home :is(.site-head, .advent-promo, .home-hero, .community, .site-foot) :is(a, button, summary):focus-visible {
  outline: 3px solid #ffdf8d;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #38281c;
}
.home .home-hero .ticket-foot:focus-visible { outline-offset: -5px; }

@media (max-width: 620px) {
  body.home { --fir-still-life: url('/img/weihnachten/adventszweige-mobil.webp'); }
  .home .advent-promo {
    grid-template-columns: minmax(0, 1fr) clamp(4.2rem, 20vw, 7rem);
    grid-template-areas: "heading fenster" "intro intro" "rules rules";
    gap: .5rem .65rem;
    padding: 1rem 1.05rem 1.15rem;
  }
  .home .advent-promo::before {
    background: linear-gradient(90deg,#10291ff2,#10291fda 55%,#10291f68), var(--fir-still-life) right center / cover no-repeat;
  }
  .home .advent-promo h2 { font-size: clamp(1.64rem, 6.4vw, 2.3rem); }
  .home .advent-promo .reiskorn-kugel { width: 100%; align-self: start; }
  .home .advent-promo-heading { align-self: center; }
  .home .community::before {
    background: linear-gradient(90deg,#14372dfc 20%,#14372de8 75%,#14372d9e), var(--fir-still-life) 76% center / cover no-repeat;
  }
}
@media (max-width: 360px) {
  .home .advent-promo {
    grid-template-columns: minmax(0, 1fr) 3.3rem;
    column-gap: .4rem;
  }
  .home .advent-promo h2 { font-size: 1.5rem; }
}
@media (forced-colors: active) {
  .home .site-head::after, .home .site-foot::before, .home .home-hero::before,
  .home .advent-promo::before, .home .community::before { display: none; }
  .home :is(.site-head, .advent-promo, .home-hero, .community, .site-foot) :is(a, button, summary):focus-visible {
    outline-color: Highlight;
  }
}

/* Feiner Schnee am Fensterrahmen: Das Glas bleibt in der Mitte frei. */
.home .winter-reif {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  user-select: none;
  background: radial-gradient(ellipse at 100% 0, #d9f5ff52 0, transparent 26%),
    radial-gradient(ellipse at 0 0, #c4edfc42, transparent 20%);
  box-shadow: inset 0 2px 3px #d8f6ffa3;
}
.home .winter-reif::before {
  content: "";
  position: absolute;
  inset: -16px -8px;
  background-image: radial-gradient(circle at 12px 18px, #f7fbff 1.5px, transparent 2.2px),
    radial-gradient(circle at 37px 7px, #e4f6fcbd 1px, transparent 1.8px),
    radial-gradient(circle at 8px 31px, #fff9 1px, transparent 2px);
  background-size: 73px 65px, 53px 49px, 91px 83px;
  mask-image: linear-gradient(90deg, #0009, transparent 15%, transparent 81%, #000c);
}
.home .winter-reif i {
  position: absolute;
  right: -.12em;
  top: -.24em;
  font: normal clamp(3.4rem, 6vw, 6rem)/1 Georgia, serif;
  color: #d0eef8a6;
  transform: rotate(12deg);
}
.home .winter-reif i + i {
  left: -.2em;
  right: auto;
  top: auto;
  bottom: -.12em;
  font-size: 2.65rem;
  color: #ceedf58c;
}
.home .site-head .winter-reif i { top: -.12em; font-size: clamp(2.4rem, 5vw, 4.7rem); }
.home .site-head .winter-reif i + i { top: auto; bottom: -.24em; font-size: 2.7rem; }
.home .site-head .head-inner,
.home .home-hero > :not(.winter-reif),
.home .community > :not(.winter-reif) { position: relative; }
@media (max-width: 620px) {
  .home .site-head .winter-reif i { right: -.34em; font-size: 2.6rem; }
  .home .site-head .winter-reif i + i { left: -.3em; right: auto; font-size: 1.9rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .home .winter-reif::before { animation: fallende-flocken 2.4s ease-out 2; }
}
@keyframes fallende-flocken {
  from { transform: translate(-4px, -12px); }
  to { transform: translate(0, 0); }
}
@media (forced-colors: active) {
  .home .winter-reif { display: none; }
}
