/* Elldus Angebots-Slider (Inhaltselement elldus_offer_slider) */

.eos {
    --eos-ink: #2d4c5a;
    --eos-muted: #4a6570;
    --eos-sand: #efe9e1;
    --eos-gold: #ebc988;
    --eos-sage: #7ba9ac;
    --eos-green: #7a9e7e;
    --eos-mint: #d6ead8;
    --eos-line: #d8dfe1;
    --eos-gap: 22px;
    background: var(--eos-sand);
    color: var(--eos-ink);
    border-radius: 24px;
    padding: 48px 0 56px;
    overflow: hidden;
}
.eos *, .eos *::before, .eos *::after { box-sizing: border-box; }

.eos-title,
.eos-intro,
.eos-filters,
.eos-banner { max-width: 1140px; margin-left: auto !important; margin-right: auto !important; }
.eos-title { margin: 0 auto 8px !important; padding: 0 20px; color: var(--eos-ink); font-weight: 700; line-height: 1.3; }
.eos-intro { margin: 0 auto 24px !important; padding: 0 20px; color: var(--eos-muted); line-height: 1.6; }

/* Filter */
.eos-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px !important; padding: 0 20px; }
.eos-filters[hidden] { display: none; }
.eos-chip {
    margin: 0; padding: 8px 16px;
    background: #fff; color: var(--eos-ink);
    border: 1px solid var(--eos-line); border-radius: 20px;
    font: inherit; font-size: .82em; font-weight: 600; line-height: 1.3;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.eos-chip:hover { border-color: var(--eos-gold); }
.eos-chip[aria-pressed="true"] { background: var(--eos-ink); border-color: var(--eos-ink); color: #fff; }

/* Slider */
.eos-wrap { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eos-wrap::after {
    content: ""; position: absolute; top: 4px; right: 20px; bottom: 16px; width: 60px;
    background: linear-gradient(to right, rgba(239, 233, 225, 0), rgba(239, 233, 225, .95));
    pointer-events: none; transition: opacity .2s ease;
}
.eos-wrap.is-end::after { opacity: 0; }
.eos-track {
    display: flex; gap: var(--eos-gap);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 6px;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    margin: 0; padding: 6px 6px 16px;
    scrollbar-width: thin; scrollbar-color: var(--eos-line) transparent;
}
.eos-track:focus-visible { outline: 3px solid var(--eos-gold); outline-offset: 2px; border-radius: 12px; }
.eos-track::-webkit-scrollbar { height: 8px; }
.eos-track::-webkit-scrollbar-thumb { background: var(--eos-line); border-radius: 8px; }

.eos-nav {
    position: absolute; top: 46%; z-index: 3; transform: translateY(-50%);
    display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0; margin: 0;
    border: 0; border-radius: 50%;
    background: #fff; color: var(--eos-ink);
    box-shadow: 0 8px 20px rgba(45, 76, 90, .2);
    cursor: pointer; transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.eos-nav[hidden] { display: none; }
.eos-nav:disabled { opacity: 0; pointer-events: none; }
.eos-nav--prev { left: 0; }
.eos-nav--next { right: 0; }
.eos-nav:hover { background: var(--eos-gold); transform: translateY(-50%) scale(1.08); }
.eos-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Karte */
.eos-card {
    position: relative; flex: 0 0 310px; max-width: 310px; margin: 0;
    display: flex; flex-direction: column;
    background: #fff; border-radius: 22px; overflow: hidden;
    box-shadow: 0 12px 30px rgba(45, 76, 90, .1);
    scroll-snap-align: start;
    transition: transform .3s ease, box-shadow .3s ease;
}
.eos-card[hidden] { display: none; }
.eos-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(45, 76, 90, .18); }
.eos-media { position: relative; overflow: hidden; aspect-ratio: 310 / 180; background: var(--eos-sand); }
.eos-media img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; transition: transform .5s ease; }
.eos-card:hover .eos-media img { transform: scale(1.07); }
.eos-badge {
    position: absolute; top: 12px; right: 12px; z-index: 1; max-width: calc(100% - 24px);
    padding: 5px 11px; border-radius: 20px;
    background: rgba(45, 76, 90, .85); color: #fff;
    font-size: .72em; font-weight: 700; letter-spacing: .02em; line-height: 1.3;
}
.eos-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.eos-kicker {
    align-self: flex-start; margin: 0 0 12px; padding: 4px 12px; border-radius: 12px;
    font-size: .66em; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4;
}
.eos-heading { margin: 0 0 4px !important; padding: 0; color: var(--eos-ink); font-size: 1.08em; font-weight: 700; line-height: 1.3; }
.eos-subline { margin: 0 0 10px !important; color: var(--eos-muted); font-size: .88em; font-style: italic; line-height: 1.4; }
.eos-text { flex: 1; margin: 0 0 14px; color: var(--eos-muted); font-size: .86em; line-height: 1.55; }
.eos-text p { margin: 0 0 10px; }
.eos-text > :last-child { margin-bottom: 0; }
.eos-text ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.eos-text li { margin: 0; padding: 0; font-size: .97em; line-height: 1.5; }
.eos-text strong { color: var(--eos-ink); font-weight: 700; }
.eos-text a { color: var(--eos-ink); text-decoration: underline; }
.eos-footnote { margin: -4px 0 14px !important; color: var(--eos-muted); font-size: .72em; }

.eos-booking { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.eos-booking:empty { display: none; }
.eos-booking-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--eos-green); font-size: .72em; font-weight: 600; letter-spacing: .02em; }
.eos-booking-tag--mail { color: var(--eos-muted); }
.eos-booking-tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.eos-cta {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 22px; border-radius: 22px;
    font-size: .86em; font-weight: 700; line-height: 1.3; text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
.eos-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(45, 76, 90, .18); }
.eos-mail { color: var(--eos-ink) !important; font-size: .9em; font-weight: 700; text-decoration: none !important; border-bottom: 2px solid var(--eos-mint); word-break: break-all; }
.eos-mail:hover { border-color: var(--eos-ink); }

/* Farben je Kategorie (Etikett + Button) */
.eos-cat--aktion .eos-kicker, .eos-cat--aktion .eos-cta,
.eos-cat--specials .eos-kicker, .eos-cat--specials .eos-cta { background: var(--eos-gold); color: var(--eos-ink) !important; }
.eos-cat--dayspa .eos-kicker, .eos-cat--dayspa .eos-cta { background: var(--eos-green); color: #fff !important; }
.eos-cat--kombiangebot .eos-kicker { background: var(--eos-mint); color: var(--eos-ink); }
.eos-cat--kombiangebot .eos-cta { background: var(--eos-ink); color: #fff !important; }
.eos-cat--spaabende .eos-kicker, .eos-cat--spaabende .eos-cta { background: var(--eos-sage); color: #fff !important; }
.eos-cat--aktion { box-shadow: 0 12px 30px rgba(45, 76, 90, .1), inset 0 0 0 2px var(--eos-gold); }

/* Banner */
.eos-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    margin-top: 32px !important; padding: 26px 28px;
    background: #fff; border-radius: 18px;
}
.eos-banner-title { margin: 0 0 6px !important; color: var(--eos-ink); font-weight: 700; line-height: 1.3; }
.eos-banner-desc { margin: 0 !important; color: var(--eos-muted); font-size: .9em; line-height: 1.55; }
.eos-banner-cta {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 26px; border-radius: 24px;
    background: var(--eos-ink); color: #fff !important;
    font-weight: 700; text-decoration: none !important; white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease;
}
.eos-banner-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(45, 76, 90, .25); }

.eos :focus-visible { outline: 3px solid var(--eos-gold); outline-offset: 2px; }

/* Tablet */
@media (max-width: 900px) {
    .eos-nav { display: none !important; }
    .eos-banner { flex-direction: column; align-items: flex-start; }
}

/* Smartphone */
@media (max-width: 700px) {
    .eos { padding: 36px 0 44px; border-radius: 20px; }
    .eos-title, .eos-intro, .eos-filters { padding: 0 16px; }
    .eos-wrap { padding: 0 10px; }
    .eos-wrap::after { right: 10px; width: 36px; }
    .eos-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .eos-filters::-webkit-scrollbar { display: none; }
    .eos-chip { flex: none; }
    .eos-card { flex-basis: 82%; max-width: 82%; }
    .eos-card:hover { transform: none; }
    .eos-banner { margin: 28px 16px 0 !important; padding: 20px; }
    .eos-banner-cta { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .eos-card, .eos-media img, .eos-cta, .eos-nav { transition: none; }
    .eos-card:hover, .eos-card:hover .eos-media img { transform: none; }
}
