/* Dezente Weihnachtsakzente nur an Navigation und Slider. */
.site-header::after {
  height: 3px;
  background: linear-gradient(90deg, #7d2633 0%, #c79545 24%, #ffe0a0 50%, #c79545 76%, #7d2633 100%);
}

.brand::after { background: rgb(242 200 115 / 35%); }
.main-nav a::after {
  background: linear-gradient(90deg, #a52e3d, #f2c873, #a52e3d);
}
.main-nav a:hover,
.main-nav a.active { color: #f2d18c; }
.nav-toggle { border-color: rgb(242 200 115 / 58%); }

.slider {
  border: 1px solid rgb(220 173 91 / 72%);
  box-shadow: 0 4px 12px rgb(0 0 0 / 28%), 0 0 0 1px rgb(125 38 51 / 48%);
}
.slider-control { border-color: rgb(242 200 115 / 60%); }
.slider-control:hover { border-color: #ffe3a4; }
.slider-control:focus-visible { outline-color: #f2c873; }

/* Kleine Lichtpunkte liegen nur über den Titelbildern der Seiten. */
.hero::before,
.page-hero::before {
  background:
    radial-gradient(circle at 11% 28%, rgb(255 226 166 / 62%) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 70%, rgb(255 255 255 / 42%) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 24%, rgb(255 226 166 / 54%) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 89% 66%, rgb(255 255 255 / 42%) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 82%, rgb(255 226 166 / 38%) 0 1px, transparent 2px),
    linear-gradient(rgb(0 0 0 / 60%), rgb(0 0 0 / 60%));
}

/* Je Titelbanner ziehen einige kleine Sterne und Schneekristalle langsam vorbei. */
.hero-content::before,
.hero-content::after,
.page-heading::before,
.page-heading::after {
  position: absolute;
  z-index: 2;
  top: -100px;
  pointer-events: none;
  font-size: clamp(.85rem, 1.25vw, 1.1rem);
  line-height: 1;
  opacity: 0;
  text-shadow: 0 0 10px rgb(242 200 115 / 50%);
}
.hero-content::before {
  left: 10%;
  color: #fff4d8;
  content: "❄";
  text-shadow:
    0 0 10px rgb(242 200 115 / 50%),
    82px 42px 0 rgb(255 244 216 / 48%),
    166px 126px 0 rgb(255 244 216 / 34%);
  animation: festive-starfall-left 14s linear infinite;
}
.hero-content::after {
  left: 72%;
  color: #f2d18c;
  content: "✦";
  text-shadow:
    0 0 10px rgb(242 200 115 / 50%),
    -84px 58px 0 rgb(242 209 140 / 48%),
    -170px 142px 0 rgb(242 209 140 / 32%);
  animation: festive-starfall-right 17s linear 3s infinite;
}
.page-heading::before {
  left: 27%;
  top: -116px;
  color: #f2d18c;
  content: "✧";
  text-shadow:
    0 0 10px rgb(242 200 115 / 50%),
    86px 52px 0 rgb(242 209 140 / 46%),
    174px 142px 0 rgb(242 209 140 / 32%);
  animation: festive-starfall-left 16s linear 2s infinite;
}
.page-heading::after {
  right: 10%;
  top: -88px;
  color: #fff4d8;
  content: "❄";
  text-shadow:
    0 0 10px rgb(242 200 115 / 50%),
    -82px 48px 0 rgb(255 244 216 / 46%),
    -164px 134px 0 rgb(255 244 216 / 32%);
  animation: festive-starfall-right 19s linear 6s infinite;
}

.hero.home-welcome .hero-content h1 {
  position: relative;
  display: table;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1.15em;
  text-shadow: 0 0 18px rgb(231 183 89 / 22%), 2px 2px 6px rgb(0 0 0 / 70%);
}
.hero.home-welcome .hero-content h1::before,
.hero.home-welcome .hero-content h1::after {
  position: absolute;
  top: 50%;
  color: #f2d18c;
  font-size: .43em;
  line-height: 1;
  text-shadow: 0 0 10px rgb(242 200 115 / 48%);
  transform: translateY(-50%);
}
.hero.home-welcome .hero-content h1::before { left: .05em; content: "✦"; }
.hero.home-welcome .hero-content h1::after { right: .05em; color: #e8edf4; content: "❄"; }
.hero.home-welcome .hero-content h1::before {
  top: -108px;
  opacity: 0;
  animation: festive-starfall-left 15s linear infinite;
}
.hero.home-welcome .hero-content h1::after {
  top: -122px;
  opacity: 0;
  animation: festive-starfall-right 19s linear 5s infinite;
}

.page-heading h1 {
  position: relative;
  display: table;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1.15em;
  text-shadow: 0 0 18px rgb(231 183 89 / 22%), 2px 2px 6px rgb(0 0 0 / 70%);
}
.page-heading h1::before,
.page-heading h1::after {
  position: absolute;
  top: -110px;
  color: #f2d18c;
  font-size: .43em;
  line-height: 1;
  opacity: 0;
  text-shadow: 0 0 10px rgb(242 200 115 / 48%);
}
.page-heading h1::before {
  left: .05em;
  content: "✦";
  animation: festive-starfall-left 15s linear 1s infinite;
}
.page-heading h1::after {
  right: .05em;
  color: #e8edf4;
  content: "❄";
  animation: festive-starfall-right 18s linear 7s infinite;
}

@keyframes festive-starfall-left {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); }
  12%, 82% { opacity: .72; }
  100% { opacity: 0; transform: translate3d(18px, 285px, 0) rotate(125deg); }
}
@keyframes festive-starfall-right {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); }
  15%, 82% { opacity: .56; }
  100% { opacity: 0; transform: translate3d(-14px, 300px, 0) rotate(-95deg); }
}

@media (max-width: 700px) {
  .hero.home-welcome .hero-content h1 { padding-inline: 1em; }
  .page-heading h1 { padding-inline: 1em; }
  .hero-content::after { left: 79%; }
  .page-heading::before { left: 16%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content::before,
  .hero-content::after,
  .page-heading::before,
  .page-heading::after,
  .hero.home-welcome .hero-content h1::before,
  .hero.home-welcome .hero-content h1::after,
  .page-heading h1::before,
  .page-heading h1::after {
    top: 50%;
    opacity: .75;
    animation: none;
    transform: translateY(-50%);
  }
}
