/* Notice from the CMS ("heute geschlossen"): a large dialog over the page on load.
   With a picture: image beside the text on wide screens, above it on phones. */
.notice-dialog{width:min(640px,calc(100% - 40px));max-height:calc(100dvh - 48px);margin:auto;overflow:auto;border-top:5px solid var(--red);border-radius:4px;box-shadow:0 28px 100px #0006;overscroll-behavior:contain}
.notice-dialog[open]{display:grid}
.notice-dialog.has-image{width:min(1040px,calc(100% - 40px));grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.notice-dialog::backdrop{background:#141310b8;backdrop-filter:blur(7px)}
.notice-close{position:absolute;top:16px;right:16px;z-index:1}
.notice-image{min-height:100%;background:var(--paper-alt)}
.notice-image img{width:100%;height:100%;min-height:360px;max-height:calc(100dvh - 53px);object-fit:cover}
.notice-content{display:flex;flex-direction:column;justify-content:center;padding:clamp(40px,5vw,64px) clamp(28px,4.5vw,60px)}
.notice-content .eyebrow{color:var(--red);margin:0 56px 18px 0}
.notice-title{font-size:clamp(52px,6vw,84px);line-height:.95;margin-right:40px}
.notice-dialog .notice-text{margin-top:22px;font-size:18px;line-height:1.6;white-space:pre-line}
.notice-ok{align-self:flex-start;margin-top:34px}
@media(max-width:767px){
  .notice-dialog,.notice-dialog.has-image{width:calc(100% - 24px);max-height:calc(100dvh - 24px);grid-template-columns:minmax(0,1fr)}
  .notice-close{top:12px;right:12px}
  .notice-image img{min-height:0;max-height:38dvh;aspect-ratio:4/3}
  .notice-content{padding:30px 24px 26px}
  .notice-content .eyebrow{font-size:10px;margin-bottom:14px}
  .notice-title{font-size:clamp(40px,12vw,56px)}
  .notice-dialog .notice-text{font-size:16px;margin-top:16px}
  .notice-ok{align-self:stretch;margin-top:26px}
}
