/* Intentionally scoped; inherits local site typography. No remote resources. */
html.zickler-notice-open { overflow: hidden; scrollbar-gutter: stable; }
:is(dialog, section[data-zickler-fallback]).zickler-notice {
    --zn-ink: #292b27;
    --zn-paper: #fffdf8;
    --zn-accent: #455f50;
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    width: min(38rem, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    border: 1px solid rgba(69, 95, 80, .2);
    border-radius: 1rem;
    background: var(--zn-paper);
    color: var(--zn-ink);
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .24);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.65;
    overflow: auto;
    overscroll-behavior: contain;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
}
:is(dialog, section[data-zickler-fallback]).zickler-notice:not([open]) { display: none; }
:is(dialog, section[data-zickler-fallback]).zickler-notice::backdrop { background: rgba(21, 28, 23, .48); }
.zickler-notice .zickler-notice__panel { padding: 3.5rem 1.5rem 1.75rem; }
.zickler-notice .zickler-notice__image { display: block; width: 100%; max-height: 15rem; height: auto; object-fit: cover; margin: 0; }
.zickler-notice .zickler-notice__image + .zickler-notice__panel { padding-top: 1.5rem; }
.zickler-notice .zickler-notice__title { margin: 0 0 1rem; color: inherit; font-family: inherit; font-size: clamp(1.4rem, 4.5vw, 2rem); line-height: 1.2; font-weight: 500; letter-spacing: -.015em; }
.zickler-notice .zickler-notice__content > :first-child { margin-top: 0; }
.zickler-notice .zickler-notice__content > :last-child { margin-bottom: 0; }
.zickler-notice .zickler-notice__content p { margin: 0 0 1rem; }
.zickler-notice .zickler-notice__content ul, .zickler-notice .zickler-notice__content ol { margin: 0 0 1rem; padding-inline-start: 1.5rem; }
.zickler-notice .zickler-notice__content h3, .zickler-notice .zickler-notice__content h4 { margin: 1.5rem 0 .6rem; font: inherit; font-weight: 650; }
.zickler-notice .zickler-notice__content a { color: var(--zn-accent); text-decoration: underline; text-underline-offset: .18em; }
.zickler-notice .zickler-notice__content blockquote { margin: 1rem 0; padding: 0 1rem; border-inline-start: 2px solid var(--zn-accent); }
.zickler-notice .zickler-notice__close {
    box-sizing: border-box;
    position: sticky;
    top: .5rem;
    z-index: 1;
    float: right;
    margin: .5rem .5rem -3.5rem 0;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid #b2b9af;
    border-radius: 50%;
    background: var(--zn-paper);
    color: var(--zn-ink);
    box-shadow: none;
    font-family: system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}
.zickler-notice .zickler-notice__close:hover { background: #e9eee7; color: var(--zn-ink); }
.zickler-notice .zickler-notice__action {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    margin: 1.5rem 0 0;
    padding: .75rem 1.25rem;
    min-height: 2.75rem;
    border: 1px solid var(--zn-accent);
    border-radius: .35rem;
    background: var(--zn-accent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.zickler-notice .zickler-notice__action:hover { background: #324b3d; color: #fff; }
.zickler-notice :focus-visible { outline: 3px solid #7e4e23; outline-offset: 3px; }
.zickler-notice .zickler-notice__title:focus { outline: none; }
.zickler-notice .zickler-notice__preview { margin: 0 0 .75rem; color: #5c675b; font-size: .85em; }
body.hotel-brand-heiner :is(dialog, section[data-zickler-fallback]).zickler-notice { --zn-accent: #5d5347; }
body.hotel-brand-landhotel :is(dialog, section[data-zickler-fallback]).zickler-notice { --zn-accent: #455f50; }
@media (min-width: 600px) {
    .zickler-notice .zickler-notice__panel { padding: 3.75rem 2.5rem 2.5rem; }
    .zickler-notice .zickler-notice__image + .zickler-notice__panel { padding-top: 2rem; }
    .zickler-notice .zickler-notice__image { max-height: 19rem; }
}
@media (max-height: 420px) {
    :is(dialog, section[data-zickler-fallback]).zickler-notice { width: min(45rem, calc(100% - 1rem)); max-width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
    .zickler-notice .zickler-notice__image { max-height: 8rem; }
}
@media (prefers-reduced-motion: reduce) { .zickler-notice, .zickler-notice * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* 1.1.0: modal fallback only when native dialog is absent and inert is available. */
.zickler-notice-backdrop { position: fixed; inset: 0; z-index: 2147483000; background: rgba(21,28,23,.48); display: grid; place-items: center; isolation: isolate; }
section[data-zickler-fallback].zickler-notice { position: relative; inset: auto; margin: auto; }

/* 1.1.4: symmetric vector geometry, independent of font metrics and theme SVG defaults. */
.zickler-notice .zickler-notice__close > svg {
    display: block; position: static; width: 1.25rem; height: 1.25rem;
    min-width: 0; max-width: none; margin: 0; padding: 0;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
    transform: none; pointer-events: none; overflow: visible;
}
