/* Seasonal homepage section, shared by the German and English versions. */
/* Keep the section with the hero across the original mobile grid layouts. */
#imContent #imCell_230 { grid-template-rows: auto auto; }
.christmas-section {
  --ship-width: 540px;
  position: relative;
  z-index: 3;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 15%, #125d7e 0%, #064567 48%, #03334e 100%);
  color: #fff;
  font-family: Calibri, Arial, sans-serif;
}
.christmas-scene { position: relative; height: 280px; overflow: hidden; }
.christmas-scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 73% 0 0;
  border-top: 1px solid #ffffff18;
  background: linear-gradient(#79b3c512, transparent);
}
.christmas-voyage {
  position: absolute;
  bottom: 7px;
  left: calc(-1 * var(--ship-width));
  width: calc(100% + var(--ship-width));
  animation: christmas-sail 28s linear -11.2s infinite;
}
.christmas-ship {
  display: block;
  width: var(--ship-width);
  height: auto;
  animation: christmas-bob 4s ease-in-out infinite;
}
.christmas-snow { position: absolute; inset: 0; pointer-events: none; }
.christmas-snow span {
  position: absolute;
  top: -14px;
  left: var(--left);
  width: var(--size, 4px);
  height: var(--size, 4px);
  border-radius: 50%;
  background: #fff;
  opacity: var(--opacity, .65);
  animation: christmas-snowfall var(--duration, 9s) linear var(--delay, -3s) infinite;
}
.christmas-greeting {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
  padding: 4px 28px 58px;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.christmas-greeting span {
  display: block;
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .02em;
  color: #e4eef2;
}
.christmas-toggle {
  position: absolute;
  right: 18px;
  bottom: 12px;
  padding: 4px 8px;
  border: 1px solid #ffffff70;
  background: transparent;
  color: #e4eef2;
  font: 14px/1.4 Calibri, Arial, sans-serif;
  cursor: pointer;
}
.christmas-toggle:hover { background: #ffffff15; color: #fff; }
.christmas-toggle:focus-visible { outline: 2px solid #f5d58a; outline-offset: 3px; }
.christmas-section.is-paused .christmas-voyage,
.christmas-section.is-paused .christmas-ship,
.christmas-section.is-paused .christmas-snow span { animation-play-state: paused; }
@keyframes christmas-sail { to { transform: translateX(100%); } }
@keyframes christmas-bob {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(3px) rotate(.4deg); }
}
@keyframes christmas-snowfall {
  to { transform: translate(26px, 310px); }
}
@media (max-width: 719px) {
  .christmas-section { --ship-width: 360px; }
  .christmas-scene { height: 205px; }
  .christmas-greeting { padding: 9px 22px 60px; }
  .christmas-greeting span { font-size: 17px; }
  .christmas-voyage { animation-duration: 21s; animation-delay: -10.5s; }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-voyage { left: 50%; width: var(--ship-width); transform: translateX(-50%); animation: none; }
  .christmas-ship { animation: none; }
  .christmas-snow span { animation: none; top: var(--still-top, 20%); }
  .christmas-toggle { display: none; }
}
