/* v4.6.0: approved photo/date composition. Other sections keep their styles. */
.header.hero-header {
  position:relative; inset:auto; width:auto; min-height:64px;
  margin:0; padding:12px 20px 10px; gap:7px;
  border:0; border-bottom:1px solid #d7e3e1; border-radius:0;
  background:none; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none;
}
.hero-header .brand img {width:clamp(78px,24.5vw,105px); height:auto}
.hero-header .languages {margin-left:auto; gap:4px}
.hero-header .languages a {min-height:34px; padding:0 6px; gap:0}
.hero-header .languages small {font-size:11px; line-height:1; font-weight:700}
.hero-header .languages a[aria-current] {background:#edf4f2; box-shadow:none}
.hero-header .nav-register {
  min-height:34px; padding:0 11px; border-radius:99px; gap:4px;
  font-size:11px; line-height:1; font-weight:700; white-space:nowrap;
}
.hero-header .nav-label-full,.hero-header .nav-register .icon {display:none}
.hero-header .nav-label-short {display:inline}
.hero.hero-redesign {
  height:auto; min-height:0; padding:0; display:block; overflow:hidden;
  background:#fffdf9; color:#084b58;
}
.hero-redesign #hero-title {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.hero-kindergarten {
  margin:0; padding:11px 20px 10px; font-size:15px; font-weight:900;
  line-height:1.15; letter-spacing:.075em;
}
.hero-composition {
  display:grid; grid-template-areas:"photo" "invite" "date";
  grid-template-columns:minmax(0,1fr);
}
.hero.hero-redesign .hero-image {
  grid-area:photo; position:relative; inset:auto; aspect-ratio:1732/908;
  overflow:hidden;
}
.hero.hero-redesign .hero-image img {
  position:relative; inset:auto; display:block; width:100%; height:100%;
  object-fit:cover; object-position:center; filter:none; transform:none;
}
.hero-welcome {
  grid-area:invite; display:flex; flex-direction:column; align-items:center;
  justify-content:center; min-width:0; min-height:57px; margin:0; padding:9px 16px;
  background:#fffbef url('hero-paper.webp') center/105px auto;
  color:#084b58; text-align:center; font-size:clamp(19px,5.7vw,27px);
  font-weight:900; line-height:1.12;
}
.hero-welcome span {display:block; white-space:nowrap}
.hero-date-panel {grid-area:date; min-width:0; display:flex; flex-direction:column}
.hero-date-title {display:none}
.hero-date-grid {
  flex:1; display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);
  align-items:center; text-align:center; padding:14px 10px 32px;
  background:#a4d0d2 url('hero-cloth.webp') center/200px auto; color:#084b58;
}
.hero-weekday,.hero-date-number,.hero-year,.hero-time {display:block; font-weight:900}
.hero-weekday {font-size:clamp(13px,4.55vw,18px); line-height:1.1; letter-spacing:.025em}
.hero-date-number {font-size:clamp(43px,14vw,68px); letter-spacing:-.06em; line-height:1; white-space:nowrap}
.hero-year {font-size:clamp(17px,5.5vw,24px); line-height:1.2; margin-top:1px}
.hero-time {
  border-left:1px solid #084b5850; padding:20px 3px;
  font-size:clamp(15px,5.1vw,24px); letter-spacing:-.045em; line-height:1; white-space:nowrap;
}
.hero-time:lang(de) {font-size:clamp(14px,4.55vw,22px)}
@media (min-width:620px) {
  .header.hero-header {
    min-height:0; padding:clamp(11px,1.58vw,22px) 4.4vw clamp(9px,1.1vw,15px);
    gap:clamp(4px,.58vw,9px);
  }
  .hero-header .brand img {width:clamp(108px,12.5vw,174px)}
  .hero-header .languages {gap:clamp(4px,.58vw,9px)}
  .hero-header .languages a {padding-inline:clamp(8px,1.1vw,15px); min-height:clamp(36px,3.6vw,50px)}
  .hero-header .nav-register {
    margin-left:clamp(3px,1vw,17px); min-height:clamp(37px,3.6vw,50px);
    font-size:clamp(11px,1vw,14px); padding-inline:clamp(12px,1.55vw,22px); gap:clamp(10px,1.4vw,22px);
  }
  .hero-header .nav-label-short {display:none}
  .hero-header .nav-label-full,.hero-header .nav-register .icon {display:inline-block}
  .hero-header .nav-register .icon {width:20px; height:20px}
  .hero-kindergarten {display:none}
  .hero-composition {grid-template-areas:"photo date" "invite date"; grid-template-columns:minmax(0,70fr) minmax(0,30fr)}
  .hero-welcome {min-height:clamp(77px,10.55vw,147px); padding:1vw 3vw 4.25vw; font-size:clamp(26px,4.15vw,58px)}
  .hero-date-title {
    display:block; margin:0; padding:clamp(10px,1.2vw,17px) .45em;
    background:#084b58; color:#fff; text-align:center;
    font-size:clamp(16px,2.06vw,29px); font-weight:900; line-height:1.15; letter-spacing:.055em;
  }
  .hero-date-grid {display:flex; flex-direction:column; justify-content:center; padding:2.7vw 2.65vw}
  .hero-weekday {font-size:clamp(22px,3.5vw,51px); letter-spacing:.015em}
  .hero-date-number {font-size:clamp(67px,11.55vw,162px); line-height:.97; letter-spacing:-.065em; margin:.09em 0 .1em}
  .hero-year {font-size:clamp(24px,4.5vw,64px); line-height:1}
  .hero-time {
    width:100%; border:0; border-top:1px solid #084b5850;
    margin-top:2.8vw; padding:2.15vw 0 0; font-size:clamp(21px,3.37vw,47px); letter-spacing:-.04em;
  }
  .hero-time:lang(de) {font-size:clamp(17px,2.96vw,41px)}
}

/* v4.6.1: keep the desktop scroll cue below the time, inside the first view. */
.hero-date-body,.hero-date-content {display:contents}
.hero-redesign .date-scroll {display:none}
@media (min-width:620px) {
  .hero-redesign .hero-bottom>.scroll-cue {display:none}
  .hero-date-body {
    display:block; position:relative; flex:1;
    background:#a4d0d2 url('hero-cloth.webp') center/200px auto;
  }
  .hero-date-content {
    position:absolute; inset:0 0 auto; display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    height:min(100%,calc(100svh - 190px)); padding:16px 2.65vw;
  }
  .hero-date-grid {flex:none; width:100%; padding:0; background:none}
  .hero-redesign .date-scroll {
    display:grid; position:relative; inset:auto; flex:none;
    width:72px; height:72px; margin:16px 0 0;
    border-width:2px; outline-offset:-4px;
  }
  .hero-redesign .date-scroll .icon {width:40px; height:40px; stroke-width:2.5}
}
@media (min-width:620px) and (max-height:760px) {
  .hero-date-content {height:min(100%,calc(100svh - 180px)); padding-block:6px}
  .hero-weekday {font-size:min(3.5vw,5svh); line-height:1}
  .hero-date-number {font-size:min(11.55vw,18svh); margin:.06em 0}
  .hero-year {font-size:min(4.5vw,6svh)}
  .hero-time {font-size:min(3.37vw,5svh); margin-top:12px; padding-top:10px}
  .hero-time:lang(de) {font-size:min(2.96vw,4.5svh)}
}

/* v4.6.3: stationary arrow with a soft, expanding light halo. */
.hero-redesign .scroll-cue {
  animation:none;
  transform:none;
  will-change:auto;
  isolation:isolate;
  overflow:visible;
  outline:none;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 5px 13px #005b6d26;
}
.hero-redesign .scroll-cue::before {
  content:"";
  position:absolute;
  inset:-12px;
  z-index:-1;
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(circle,transparent 42%,#00b9c5a6 56%,#00b9c500 73%);
  filter:blur(4px);
  opacity:0;
  transform:scale(.82);
  will-change:transform,opacity;
  animation:hero-arrow-glow 3s cubic-bezier(.4,0,.2,1) infinite;
}
.hero-redesign .scroll-cue:focus:not(:focus-visible) {outline:none}
.hero-redesign .scroll-cue:focus-visible {
  outline:2px solid #084b58;
  outline-offset:5px;
}
@keyframes hero-arrow-glow {
  0% {transform:scale(.82);opacity:0}
  25% {opacity:.65}
  85%,100% {transform:scale(1.38);opacity:0}
}
