.hotelaktion-editor{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1rem}
.hotelaktion-grid{display:grid;gap:.85rem}
.hotelaktion-grid-start{grid-template-columns:repeat(6,minmax(0,1fr))}
.hotelaktion-grid-region{grid-template-columns:repeat(3,minmax(0,1fr))}
.hotelaktion-kachel{
    display:flex;flex-direction:column;min-width:0;overflow:hidden;text-decoration:none;color:inherit;
    background:var(--surface,#fff);border:1px solid var(--line,#ccc);border-radius:1rem;
    box-shadow:0 6px 18px #131c1820;
}
.hotelaktion-kachel:hover,.hotelaktion-kachel:focus-visible{border-color:#b76416;text-decoration:none}
.hotelaktion-bild{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:16 / 9;
    background:linear-gradient(145deg,#193c35,#426658 58%,#b07b4f);color:#fff;font-size:1.55rem;font-weight:700}
.hotelaktion-bild img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hotelaktion-grid-start .hotelaktion-bild{aspect-ratio:2.55}
.hotelaktion-kachel-inhalt{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;padding:1rem}
.hotelaktion-grid-start .hotelaktion-kachel-inhalt{padding:.7rem;font-size:.86rem}
.hotelaktion-kachel p{margin:.35rem 0;overflow-wrap:anywhere}
.hotelaktion-kachel strong{display:block;overflow-wrap:anywhere;line-height:1.25}
.hotelaktion-grid-region .hotelaktion-kachel strong{font-size:1.2rem}
.hotelaktion-hotel,.hotelaktion-kachel-termin{font-size:.8rem}
.hotelaktion-kachel .hotelaktion-preis{background:#ffefd7;color:#632d09;border-radius:.5rem;
    padding:.3rem .5rem;font-weight:750;margin-block:.6rem}
.hotelaktion-kachel-link{margin-top:auto;padding-top:.45rem;font-weight:750}
.hotelaktion-zeitraum .gast-kalender{margin-block:.75rem}
.hotelaktion-zeitraum .gast-kalendermonate>section:nth-child(2){display:none}
.hotelaktion-zeitraum .gast-kalendermonate{grid-template-columns:minmax(0,1fr)}
@media(max-width:1100px){.hotelaktion-grid-start{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.hotelaktion-grid-start,.hotelaktion-grid-region{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.hotelaktion-grid-region{grid-template-columns:minmax(0,1fr)}}
.hotelaktion-detail-aktionen{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}
.hotelaktion-inhalt{white-space:pre-wrap;overflow-wrap:anywhere}
#aktuelles-angebot{scroll-margin-top:6rem}
@media(max-width:720px){.hotelaktion-editor{grid-template-columns:1fr}}

.hotelaktion-editor textarea{color:inherit;background:var(--surface,transparent)}
.hotelaktion-hinweis{margin-block-start:1rem;padding-block-start:1rem;border-block-start:1px solid var(--line,#878787)}
.hotelaktion-widget-frame,.hotelaktion-widget-code{display:block;width:100%;max-width:40rem}
.hotelaktion-widget-frame{border:0}

.hotelaktion-zeitraum{min-inline-size:0;margin:0;padding:1rem;border:1px solid #abcdb9;border-radius:1rem;background:#edf5ef;color:#173126}
.hotelaktion-zeitraum legend{padding:0 .45rem;font-weight:750}
.hotelaktion-zeitraum p{margin:0 0 .75rem}
.hotelaktion-zeitraum input{width:100%;min-width:0}
.hotelaktion-zeitraum [data-hotelaktion-datumfehler]:empty{display:none}
.hotelaktion-zeitraum [data-hotelaktion-datumfehler]{margin:.75rem 0 0;color:#812d10;font-weight:700}
@media(max-width:480px){.hotelaktion-zeitraum .formgrid{grid-template-columns:1fr}}

.hotelaktion-widget-aktionen{display:grid;gap:.65rem;margin-top:1rem}

#aktuelles-angebot{
    background:#fcf1d8;
    border-color:#d8b66e;
    border-inline-start:4px solid #bc8e3c;
}
:root[data-theme=dark] #aktuelles-angebot{
    background:#362b1a;
    border-color:#8f7340;
    border-inline-start-color:#d8b66e;
}
@media(prefers-color-scheme:dark){
    :root:not([data-theme]) #aktuelles-angebot{
        background:#362b1a;
        border-color:#8f7340;
        border-inline-start-color:#d8b66e;
    }
}

.hotelaktion-widget-layouts {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.6rem;margin:1rem 0}
.hotelaktion-widget-layouts .button {display:block;text-align:start}
.hotelaktion-widget-layouts small {display:block;margin-top:.3rem}
.hotelaktion-widget-layouts [aria-current="page"] {outline:2px solid currentColor;outline-offset:-3px}
.hotelaktion-widget-frame.widget-vorschau-querformat {max-width:900px}
.hotelaktion-widget-frame.widget-vorschau-kompakt {max-width:360px}

#aktuelles-angebot .hotelaktion-detail-aktionen .button{display:inline-block;padding:.65rem .9rem;border-radius:.5rem;background:#844109;color:#fff;font-weight:700}

#aktuelles-angebot{position:relative;overflow:visible;margin-block-start:1.75rem;padding-block-start:1.75rem}
.hotelaktion-fahne{
    position:absolute;inset-block-start:0;inset-inline-start:1rem;transform:translateY(-50%);
    max-inline-size:calc(100% - 2rem);padding:.3rem .7rem;border-radius:.35rem;
    background:#844109;color:#fff4de;font-size:.8rem;font-weight:750;
    line-height:1.25;box-shadow:0 2px 6px #0003;
}
#aktuelles-angebot .hotelaktion-gaestehinweis{margin:0 0 .4rem;font-size:.875rem;font-weight:650}
.hotelaktion-preis:empty,.hotelaktion-kachel-inhalt [data-hotelaktion-vorschau]:empty{display:none}

.angebot-dialog {
    box-sizing:border-box; width:min(34rem,calc(100% - 1.5rem)); max-height:calc(100dvh - 1.5rem);
    margin:auto; padding:clamp(.8rem,3vw,1.5rem); overflow:auto;
    border:1px solid #abcdb9; border-radius:1rem;
    background:#f6faf7; color:#173126; box-shadow:0 12px 45px #172a2550;
}
.angebot-dialog::backdrop {background:#14252275}
.angebot-dialog h2 {margin-top:0}
.angebot-dialog .gast-kalender summary {display:none}
.angebot-dialog .gast-kalendertage .gast-reise-dazwischen {background:#d8eadf;color:#173126;border-color:#a7cbb4}
.angebot-dialog-aktionen {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.55rem;margin-top:.85rem}
.angebot-dialog[data-state="error"] {background:#fce7e6;color:#552424;border-color:#e8b3b0}
.angebot-dialog[data-state="success"] {background:#e2f4e7;color:#173d29;border-color:#a7cbb4}


.hotelaktion-angebote {
    --angebot-flaeche: #fff9ee;
    --angebot-text: #183229;
    --angebot-meta: #39574b;
    --angebot-link: #704111;
    --angebot-rahmen: #a9b5a4;
    --angebot-bild-mitte: #fff9ee85;
}
:root[data-theme="dark"] .hotelaktion-angebote {
    --angebot-flaeche: #0e201a;
    --angebot-text: #fffaf0;
    --angebot-meta: #d7e5dc;
    --angebot-link: #ffdfb6;
    --angebot-rahmen: #61796e;
    --angebot-bild-mitte: #0b1c1880;
}

.hotelaktion-angebote > .hotelaktion-grid {
    margin-block-start: clamp(1.25rem, 2.8vw, 2.25rem);
    gap: clamp(.85rem, 1.65vw, 1.5rem);
}
.hotelaktion-angebote .hotelaktion-hero {
    position: relative;
    isolation: isolate;
    justify-content: flex-end;
    min-block-size: 15.75rem;
    color: var(--angebot-text);
    background: var(--angebot-flaeche);
    border-radius: 1.4rem;
    border-color: var(--angebot-rahmen);
    box-shadow: 0 .45rem 1.4rem #101c1830;
}
.hotelaktion-grid-region .hotelaktion-hero { min-block-size: 22rem; }
.hotelaktion-angebote .hotelaktion-hero:hover,
.hotelaktion-angebote .hotelaktion-hero:focus-visible { color: var(--angebot-text); border-color: var(--angebot-link); }
.hotelaktion-hero:focus-visible { outline: 2px solid #e6a455; outline-offset: 3px; }
.hotelaktion-angebote .hotelaktion-hero .hotelaktion-bild {
    position: absolute;
    inset: 0;
    z-index: -1;
    aspect-ratio: auto;
}
.hotelaktion-hero .hotelaktion-bild img {
    object-position: center 38%;
    transform: scale(1.06);
}
.hotelaktion-hero .hotelaktion-bild::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--angebot-bild-mitte) 44%, var(--angebot-flaeche) 94%);
}
.hotelaktion-angebote .hotelaktion-hero .hotelaktion-kachel-inhalt {
    flex: none;
    padding: 3.35rem .85rem .95rem;
    background: linear-gradient(180deg, transparent, var(--angebot-flaeche) 3.35rem);
}
.hotelaktion-angebote .hotelaktion-grid-region .hotelaktion-kachel-inhalt {
    padding: 6rem clamp(1rem, 2vw, 1.5rem) 1.25rem;
}
.hotelaktion-hero .hotelaktion-hotel,
.hotelaktion-hero .hotelaktion-kachel-termin { color: var(--angebot-meta); }
.hotelaktion-angebote .hotelaktion-hero .hotelaktion-preis {
    border-radius: .75rem;
    padding: .38rem .6rem;
    text-shadow: none;
}
.hotelaktion-hero .hotelaktion-kachel-link { color: var(--angebot-link); }
@media (max-width: 440px) {
    .hotelaktion-angebote .hotelaktion-grid-start { grid-template-columns: minmax(0, 1fr); }
}
.hotelaktion-widget-frame.widget-vorschau-hero {max-width:1100px}
.hotelaktion-widget-frame.widget-vorschau-banner {max-width:1000px}
.hotelaktion-widget-frame.widget-vorschau-text {max-width:540px}

.hotelaktion-grid-region .hotelaktion-hero {
    justify-content: flex-start;
    border-radius: 1.65rem;
    box-shadow: 0 .65rem 1.6rem #101c1840;
}
.hotelaktion-angebotslabel {
    align-self: flex-start;
    margin: 1rem 1rem 0;
    padding: .38rem .8rem;
    border-radius: 100vmax;
    background: #ffcf91;
    color: #392209;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px #1116;
}
.hotelaktion-angebote .hotelaktion-grid-region .hotelaktion-kachel-inhalt {
    flex: 1;
    margin-block-start: clamp(4.5rem, 9vw, 8rem);
    padding: 1.4rem clamp(1rem, 2vw, 1.5rem) 1.35rem;
    background: linear-gradient(180deg, var(--angebot-bild-mitte), var(--angebot-flaeche) 1.4rem);
}
.hotelaktion-grid-region .hotelaktion-hero strong {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.2;
}
.hotelaktion-grid-region .hotelaktion-hero .hotelaktion-preis {
    background: #ffe4c1;
    color: #4b280c;
}
.hotelaktion-grid-region .hotelaktion-hero .hotelaktion-kachel-link {
    margin-block: auto 0;
    padding: .45rem .8rem;
    border: 1px solid var(--angebot-rahmen);
    border-radius: 100vmax;
}
.hotelaktion-grid-region .hotelaktion-hero p:last-of-type { margin-block-end: 1rem; }

.hotelaktion-angebote .hotelaktion-grid-start .hotelaktion-hero { overflow: visible; }
.hotelaktion-grid-start .hotelaktion-hero .hotelaktion-bild { border-radius: inherit; }
.hotelaktion-grid-start .hotelaktion-angebotslabel {
    position: absolute;
    inset-block-start: -.65rem;
    inset-inline-start: .85rem;
    margin: 0;
    padding: .3rem .65rem;
    font-size: .68rem;
}
