/*
 * Adventskalender 2026: views/storefront/component/advent/calendar.html.twig, sf-v2/advent-v1.js.
 * Loaded only by the calendar's parts (no theme compile).
 * Redesign 2026-11-30 (owner: "minimalistisch, schön und edel", the brand page ribbon as wide as the card above):
 * the shop's own noir (#161614, as the brand header and the home hero), its card radius and shell width, gold only
 * as an accent (the door number, "15 %", today's door), hairlines instead of decoration, nothing that pulses.
 */
[data-sf-advent][hidden],
[data-sf-advent-inside][hidden] {
    display: none !important;
}

.sf-advent,
.sf-advent-ribbon,
.sf-advent-cart,
.sf-advent-pdp,
.sf-announcement--advent {
    --adv-noir: #161614;
    --adv-noir-2: #1f1f1c;
    --adv-gold: #e7b43d;          /* gold on dark (brand page stars) */
    --adv-gold-ink: #8a6512;      /* gold for small text on white, 5:1 */
    --adv-line-dark: rgba(255, 255, 255, .12);
    --adv-line: #e6e4de;
    --adv-text-dark: rgba(255, 255, 255, .7);
    --adv-muted: #66665f;
    --adv-ink: var(--sf-ink, #20201e);
    --adv-radius: var(--sf-radius-card, 12px);
    --adv-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Home: the calendar ------------------------------------------------------------------------------------ */
.sf-advent {
    box-sizing: border-box;
    width: var(--sf-shell, calc(100% - 40px));
    margin: clamp(20px, 2.6vw, 36px) auto;
    font-family: var(--sf-sans, "Cantarell", Arial, sans-serif);
    scroll-margin-top: 110px;
}
.sf-advent *,
.sf-advent *::before,
.sf-advent *::after {
    box-sizing: border-box;
}
.sf-advent__inner {
    padding: 16px 16px 16px 20px;
    border-radius: var(--adv-radius);
    background-color: var(--adv-noir);
    color: #fff;
}
.sf-advent.is-open .sf-advent__inner {
    padding: clamp(24px, 3.6vw, 56px);
}

/* Christmas, quietly (owner: "weihnachtlicher … aber wirklich nur minimal im Hintergrund"): fine snow on the noir
   (two tiles of different sizes, so no pattern shows), and three hairline baubles hanging from the top edge where the
   bar has room: beside the heading when open, between the offer and the buttons on wide screens when folded.
   Static, decoration only (background images: no markup, no motion, nothing for screen readers). */
.sf-advent {
    --adv-snow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='200' viewBox='0 0 260 200'%3E%3Cg fill='white'%3E%3Ccircle cx='12' cy='18' r='1.1' fill-opacity='.3'/%3E%3Ccircle cx='58' cy='64' r='.8' fill-opacity='.22'/%3E%3Ccircle cx='97' cy='22' r='1.4' fill-opacity='.16'/%3E%3Ccircle cx='141' cy='88' r='.9' fill-opacity='.28'/%3E%3Ccircle cx='188' cy='34' r='1.2' fill-opacity='.2'/%3E%3Ccircle cx='233' cy='71' r='.7' fill-opacity='.3'/%3E%3Ccircle cx='30' cy='122' r='1' fill-opacity='.2'/%3E%3Ccircle cx='82' cy='160' r='1.5' fill-opacity='.13'/%3E%3Ccircle cx='126' cy='138' r='.8' fill-opacity='.26'/%3E%3Ccircle cx='171' cy='182' r='1.1' fill-opacity='.2'/%3E%3Ccircle cx='214' cy='128' r='1.3' fill-opacity='.15'/%3E%3Ccircle cx='247' cy='172' r='.8' fill-opacity='.24'/%3E%3C/g%3E%3Cpath d='M205 92.5v7M202 94.25l6 3.5M202 97.75l6-3.5' stroke='white' stroke-opacity='.22' stroke-width='.8' stroke-linecap='round'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='390' height='300' viewBox='0 0 390 300'%3E%3Cg fill='white'%3E%3Ccircle cx='40' cy='60' r='1.8' fill-opacity='.1'/%3E%3Ccircle cx='150' cy='20' r='1.1' fill-opacity='.2'/%3E%3Ccircle cx='300' cy='110' r='1.6' fill-opacity='.12'/%3E%3Ccircle cx='220' cy='232' r='1.2' fill-opacity='.18'/%3E%3Ccircle cx='95' cy='252' r='.9' fill-opacity='.24'/%3E%3Ccircle cx='352' cy='272' r='1.4' fill-opacity='.13'/%3E%3Ccircle cx='182' cy='140' r='.7' fill-opacity='.28'/%3E%3C/g%3E%3Cpath d='M70 165.5v9M66.1 167.75l7.8 4.5M66.1 172.25l7.8-4.5M330 37v6M327.4 38.5l5.2 3M327.4 41.5l5.2-3' stroke='white' stroke-opacity='.18' stroke-width='.8' stroke-linecap='round'/%3E%3C/svg%3E");
    --adv-baubles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='86' viewBox='0 0 120 86' fill='none' stroke='white' stroke-linecap='round'%3E%3Cpath d='M14 0v30M58 0v52M104 0v18' stroke-opacity='.2' vector-effect='non-scaling-stroke'/%3E%3Cg stroke-opacity='.42' stroke-width='1.2' vector-effect='non-scaling-stroke'%3E%3Crect x='11' y='30' width='6' height='4' rx='1' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='14' cy='43' r='9' vector-effect='non-scaling-stroke'/%3E%3Crect x='55' y='52' width='6' height='4' rx='1' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='58' cy='69' r='13' vector-effect='non-scaling-stroke'/%3E%3Crect x='101' y='18' width='6' height='4' rx='1' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='104' cy='30' r='8' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3Cellipse cx='58' cy='72' rx='12.6' ry='3.4' stroke-opacity='.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M8.5 41A5.85 5.85 0 0 1 12 37.5M50.1 66.1A8.45 8.45 0 0 1 55.1 61.1M99.1 28.2A5.2 5.2 0 0 1 102.2 25.1' stroke-opacity='.55' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
.sf-advent__inner {
    background-image: var(--adv-snow);
    background-repeat: repeat;
    background-size: 260px 200px, 390px 300px;
    background-position: 0 0, 130px 70px;
}
.sf-advent.is-open .sf-advent__inner {
    background-image: var(--adv-baubles), var(--adv-snow);
    background-repeat: no-repeat, repeat, repeat;
    background-size: 132px 95px, 260px 200px, 390px 300px;
    background-position: right calc(clamp(24px, 3.6vw, 56px) + 156px) top 0, 0 0, 130px 70px;
}
@media (min-width: 1280px) {
    .sf-advent:not(.is-open) .sf-advent__inner {
        background-image: var(--adv-baubles), var(--adv-snow);
        background-repeat: no-repeat, repeat, repeat;
        background-size: 84px 60px, 260px 200px, 390px 300px;
        background-position: right 440px top 0, 0 0, 130px 70px;
    }
}
@media (max-width: 767.98px) {
    .sf-advent.is-open .sf-advent__inner {
        background-size: 84px 60px, 260px 200px, 390px 300px;
        background-position: right 68px top 0, 0 0, 130px 70px;
    }
}
@media (prefers-contrast: more) {
    .sf-advent .sf-advent__inner {
        background-image: none;
    }
}

/* Folded (default): one slim bar. Open: the bar is the heading, the panel follows. */
.sf-advent__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px 20px;
}
.sf-advent__teasers {
    flex: 1 1 auto;
    min-width: 0;
}
.sf-advent.is-open .sf-advent__teasers,
.sf-advent:not(.is-open) .sf-advent__head {
    display: none;
}
.sf-advent-teaser {
    display: flex;
    align-items: center;
    gap: 16px 20px;
}
.sf-advent-teaser__no {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--adv-gold);
    color: var(--adv-noir);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.sf-advent-teaser__text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    margin: 0;
}
.sf-advent-teaser__label {
    color: var(--adv-gold);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.sf-advent-teaser__line {
    color: var(--adv-text-dark);
    font-size: 14px;
    line-height: 1.4;
}
.sf-advent-teaser__line strong {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
}
.sf-advent-teaser__line em {
    color: var(--adv-gold);
    font-style: normal;
}
.sf-advent-teaser__timer b {
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
}
.sf-advent-teaser__cta {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: var(--sf-button-radius, 6px);
    background: #fff;
    color: var(--adv-noir);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease;
}
.sf-advent-teaser__cta:hover {
    background: #ecebe6;
    color: var(--adv-noir);
    text-decoration: none;
}
.sf-advent__toggle {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0 0 0 auto; /* always at the right edge, also beside the heading when open */
    padding: 0 14px 0 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--sf-button-radius, 6px);
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease;
}
.sf-advent__toggle:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .04);
}
.sf-advent__toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s var(--adv-ease);
}
.sf-advent.is-open .sf-advent__toggle {
    align-self: flex-start;
}
.sf-advent.is-open .sf-advent__toggle svg {
    transform: rotate(180deg);
}
.sf-advent-teaser__cta:focus-visible,
.sf-advent__toggle:focus-visible {
    outline: 2px solid var(--adv-gold);
    outline-offset: 3px;
}

.sf-advent__head {
    flex: 1 1 auto;
    max-width: 40rem;
    margin: 0;
}
.sf-advent__panel {
    margin-top: clamp(14px, 1.6vw, 20px);
}
.sf-advent .sf-advent__eyebrow {
    margin: 0 0 14px;
    color: var(--adv-gold);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.sf-advent .sf-advent__title {
    margin: 0 0 14px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.028em;
}
.sf-advent .sf-advent__lead {
    max-width: 40rem;
    margin: 0 0 clamp(24px, 3.2vw, 40px);
    color: var(--adv-text-dark);
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 1.6;
}

.sf-advent__stage {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: stretch;
}
.sf-advent__today {
    display: flex;
}
.sf-advent__today:empty {
    display: none;
}

/* Today's door, open: the same noir one step lighter, a hairline, the logo on a white plate */
.sf-advent-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px;
    border: 1px solid var(--adv-line-dark);
    border-radius: var(--adv-radius);
    background: var(--adv-noir-2);
}
.sf-advent .sf-advent-card__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: var(--adv-text-dark);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.sf-advent-card__no {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--adv-gold);
    color: var(--adv-noir);
    font-size: 15px;
    letter-spacing: 0;
}
.sf-advent-card__plate {
    display: grid;
    place-items: center;
    height: 112px;
    margin: 0 0 24px;
    padding: 16px 24px;
    border-radius: 10px;
    background: #fff;
    color: var(--adv-ink);
    text-decoration: none;
}
.sf-advent-card__plate img {
    max-width: 74%;
    max-height: 72px;
    object-fit: contain;
}
.sf-advent-card__plate span {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}
.sf-advent-card__plate--gift {
    border: 1px solid rgba(231, 180, 61, .4);
    background: transparent;
    color: var(--adv-gold);
}
.sf-advent-card__plate--gift svg {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}
.sf-advent .sf-advent-card__title {
    margin: 0 0 10px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.sf-advent-card__title em {
    color: var(--adv-gold);
    font-style: normal;
}
.sf-advent .sf-advent-card__text {
    margin: 0 0 22px;
    color: var(--adv-text-dark);
    font-size: 15px;
    line-height: 1.6;
}
.sf-advent .sf-advent-card__timer {
    margin: auto 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--adv-line-dark);
    color: var(--adv-text-dark);
    font-size: 14px;
    line-height: 1.4;
}
.sf-advent-card__timer b,
.sf-advent-ribbon__meta b {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
}
.sf-advent-card__timer b {
    color: #fff;
}
.sf-advent-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: var(--sf-button-radius, 6px);
    background: #fff;
    color: var(--adv-noir);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .16s ease;
}
.sf-advent-card__cta:hover {
    background: #ecebe6;
    color: var(--adv-noir);
    text-decoration: none;
}
.sf-advent-card__cta:focus-visible,
.sf-advent-door__tile:focus-visible {
    outline: 2px solid var(--adv-gold);
    outline-offset: 3px;
}
.sf-advent .sf-advent-card__fine {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    line-height: 1.5;
}

/* The 24 doors: hairline squares; today gold; past open (the brand on white, quiet) */
.sf-advent__doors {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-content: start;
    gap: clamp(8px, .9vw, 12px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.sf-advent-door {
    margin: 0;
}
.sf-advent-door__tile {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--adv-line-dark);
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}
.sf-advent-door__no {
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}
.sf-advent-door__mark {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--adv-gold);
    stroke-width: 3;
    stroke-linejoin: round;
}
.sf-advent-door.is-gift.is-future .sf-advent-door__tile {
    border-color: rgba(231, 180, 61, .4);
}
.sf-advent-door__inside {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20% 14% 14%;
}
.sf-advent-door__inside img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.sf-advent-door__inside > span {
    color: var(--adv-ink);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}
.sf-advent-door__inside svg {
    width: 44%;
    height: 44%;
    fill: none;
    stroke: var(--adv-gold-ink);
    stroke-width: 2.4;
    stroke-linejoin: round;
}

/* past: the door stays dark, the brand's logo shows as a quiet white mark (a logo on white, inverted and screened:
   the white ground disappears into the noir, the drawing turns white) */
.sf-advent-door.is-past .sf-advent-door__inside img {
    filter: grayscale(1) invert(1);
    mix-blend-mode: screen;
    opacity: .5;
    transition: opacity .2s ease;
}
.sf-advent-door.is-past .sf-advent-door__inside > span {
    color: rgba(255, 255, 255, .55);
}
.sf-advent-door.is-past .sf-advent-door__inside svg {
    stroke: var(--adv-gold);
    opacity: .6;
}
.sf-advent-door.is-past .sf-advent-door__no {
    position: absolute;
    top: 7px;
    left: 9px;
    color: rgba(255, 255, 255, .4);
    font-size: 11px;
    font-weight: 700;
}

.sf-advent-door.is-today .sf-advent-door__tile {
    border-color: var(--adv-gold);
    background: var(--adv-gold);
    box-shadow: 0 0 0 4px rgba(231, 180, 61, .16);
    color: var(--adv-noir);
}
.sf-advent-door.is-today .sf-advent-door__inside,
.sf-advent-door.is-today .sf-advent-door__mark {
    display: none;
}
.sf-advent-door.is-today .sf-advent-door__no {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: clamp(18px, 1.9vw, 26px);
    font-weight: 700;
}
.sf-advent-door.is-today .sf-advent-door__no::after {
    content: "heute";
    font-size: clamp(9px, .8vw, 10px);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
@media (hover: hover) {
    .sf-advent-door.is-future .sf-advent-door__tile:hover {
        border-color: rgba(255, 255, 255, .3);
    }
    .sf-advent-door.is-past a.sf-advent-door__tile:hover {
        border-color: rgba(255, 255, 255, .3);
    }
    .sf-advent-door.is-past a.sf-advent-door__tile:hover img {
        opacity: .9;
    }
}

/* ---- Bar above the header: the shop's noir, the word in gold ----------------------------------------------- */
.sf-announcement.sf-announcement--advent {
    background: var(--adv-noir);
    color: #fff;
}
.sf-advent-bar {
    color: #fff;
    text-decoration: none;
}
.sf-advent-bar:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sf-advent-bar strong {
    color: var(--adv-gold);
    font-weight: 700;
}
.sf-advent-bar__narrow {
    display: none;
}
/* Phones: the theme hides every link in the bar there (its own bar shows text only); this link is the bar's only
   content, so it stays, with the short words ("Tür 1 · 15 % auf …") so that nothing is cut off. */
@media (max-width: 767.98px) {
    .sf-announcement--advent .sf-announcement__track a.sf-advent-bar {
        display: inline;
    }
    .sf-advent-bar__wide {
        display: none;
    }
    .sf-advent-bar__narrow {
        display: inline;
    }
    .sf-announcement.sf-announcement--advent {
        letter-spacing: .08em;
    }
}

/* ---- Brand page: as wide as the brand header above, light, one line ---------------------------------------- */
.sf-advent-ribbon {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px 20px;
    width: var(--sf-shell, calc(100% - 40px));
    margin: 0 auto 10px;
    padding: 14px 22px 14px 16px;
    border: 1px solid var(--adv-line);
    border-radius: var(--adv-radius);
    background: #fff;
    color: var(--adv-ink);
    font-family: var(--sf-sans, "Cantarell", Arial, sans-serif);
}
.sf-advent-ribbon__no,
.sf-advent-cart__no {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--adv-noir);
    color: var(--adv-gold);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.sf-advent-ribbon__text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}
.sf-advent-ribbon__label,
.sf-advent-cart__label {
    display: block;
    color: var(--adv-gold-ink);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.sf-advent-ribbon__text strong {
    font-weight: 600;
}
.sf-advent-ribbon__meta {
    flex: none;
    margin: 0 0 0 auto;
    color: var(--adv-muted);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}
.sf-advent-ribbon__meta b {
    color: var(--adv-ink);
}

/* ---- Product page: one line above the buy button (as the code campaign's) --------------------------------- */
.sf-advent-pdp {
    margin: 14px 0 12px;
    padding: 2px 0 2px 12px;
    border-left: 2px solid var(--adv-gold);
    color: var(--adv-ink);
    font-size: 14px;
    line-height: 1.45;
}
.sf-advent-pdp strong {
    font-weight: 600;
}

/* ---- Cart page and off-canvas cart: the ribbon's language ------------------------------------------------- */
.sf-advent-cart {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 12px 14px 12px 12px;
    border: 1px solid var(--adv-line);
    border-radius: var(--adv-radius);
    background: #fff;
    color: var(--adv-ink);
    font-size: 14px;
    line-height: 1.45;
}
.sf-advent-cart p {
    margin: 0;
}
.sf-advent-cart a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.sf-advent-cart__no {
    width: 32px;
    height: 32px;
    font-size: 14px;
}
.sf-advent-cart__no svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sf-advent-cart.is-applied .sf-advent-cart__no {
    background: var(--sf-cta, #4b792f);
    color: #fff;
}

/* ---- Tablets and phones ------------------------------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .sf-advent__stage {
        grid-template-columns: minmax(0, 1fr);
    }
    .sf-advent__today {
        max-width: 560px;
    }
}
@media (max-width: 767.98px) {
    .sf-advent-ribbon {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 14px 16px;
    }
    .sf-advent-ribbon__text {
        flex-basis: calc(100% - 56px);
    }
    /* the second line under the text, never wider than the ribbon */
    .sf-advent-ribbon__meta {
        flex: 0 1 calc(100% - 56px);
        min-width: 0;
        margin: 0 0 0 56px;
        white-space: normal;
    }
}
/* ---- Phones: rigorously less (owner 2026-11-30: "simpler und schöner, weniger wall of text") -----------------
   Folded: one row – number, "Adventskalender · Tür 1", the offer (a tap on it goes to the brand), the arrow that
   opens. Open: the heading (no lead), the card as a compact row with the logo square beside the title, and the doors
   as quiet numbers only (tiny logos are noise at 50 px). */
@media (max-width: 767.98px) {
    .sf-advent__inner {
        padding: 12px 12px 12px 14px;
    }
    .sf-advent.is-open .sf-advent__inner {
        padding: 20px 16px 16px;
    }

    /* folded bar */
    .sf-advent-teaser {
        position: relative;
        gap: 12px;
        padding-right: 48px;
    }
    .sf-advent-teaser__no {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .sf-advent-teaser__text {
        flex: 1 1 0;
        gap: 1px;
    }
    .sf-advent-teaser__long,
    .sf-advent-teaser__timer {
        display: none;
    }
    .sf-advent-teaser__line strong {
        font-size: 15px;
    }
    .sf-advent-teaser__line strong::after {
        content: " →";
        color: var(--adv-text-dark);
        font-weight: 400;
    }
    /* the button becomes the row itself: a transparent layer over number and text, its focus ring stays visible */
    .sf-advent-teaser__cta,
    .sf-advent-teaser__cta:hover {
        position: absolute;
        inset: -4px 48px -4px -4px;
        min-height: 0;
        padding: 0;
        background: transparent;
        color: transparent;
        font-size: 0;
    }
    .sf-advent__toggle {
        position: absolute;
        top: 50%;
        right: 0;
        justify-content: center;
        width: 40px;
        min-height: 40px;
        height: 40px;
        margin: -20px 0 0;
        padding: 0;
        border-radius: 50%;
    }
    .sf-advent.is-open .sf-advent__toggle {
        top: 0;
        margin-top: 0;
    }
    .sf-advent__toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    /* open: the heading only */
    .sf-advent.is-open .sf-advent__head {
        padding-right: 52px;
    }
    .sf-advent .sf-advent__eyebrow {
        margin-bottom: 8px;
        font-size: 11px;
    }
    .sf-advent__eyebrow-dates {
        display: none;
    }
    .sf-advent .sf-advent__title {
        margin: 0;
        font-size: 1.625rem;
    }
    .sf-advent .sf-advent__lead {
        display: none;
    }
    .sf-advent__panel {
        margin-top: 18px;
    }
    .sf-advent__stage {
        gap: 14px;
    }

    /* the card as a compact row */
    .sf-advent-card {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 14px;
        padding: 16px;
    }
    .sf-advent .sf-advent-card__eyebrow {
        grid-column: 1 / -1;
        margin: 0 0 14px;
        font-size: 11px;
    }
    .sf-advent-card__no {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .sf-advent-card__plate {
        grid-column: 1;
        grid-row: 2 / span 2;
        width: 56px;
        height: 56px;
        margin: 0;
        padding: 6px;
        border-radius: 8px;
    }
    .sf-advent-card__plate img {
        max-width: 100%;
        max-height: 100%;
    }
    .sf-advent-card__plate span {
        font-size: 9px;
    }
    .sf-advent-card__plate--gift svg {
        width: 26px;
        height: 26px;
    }
    .sf-advent .sf-advent-card__title {
        grid-column: 2;
        align-self: end;
        margin: 0 0 2px;
        font-size: 1.125rem;
    }
    .sf-advent .sf-advent-card__text {
        grid-column: 2;
        align-self: start;
        margin: 0;
        font-size: 13px;
        line-height: 1.45;
    }
    .sf-advent .sf-advent-card__timer {
        grid-column: 1 / -1;
        margin: 14px 0 12px;
        padding-top: 12px;
        font-size: 13px;
    }
    .sf-advent-card__cta {
        grid-column: 1 / -1;
        min-height: 48px;
    }
    .sf-advent .sf-advent-card__fine {
        grid-column: 1 / -1;
        margin-top: 10px;
        font-size: 11px;
    }

    /* the doors: numbers only */
    .sf-advent__doors {
        gap: 6px;
    }
    .sf-advent-door__tile {
        border-radius: 8px;
    }
    .sf-advent-door__no {
        font-size: 15px;
    }
    .sf-advent-door.is-past .sf-advent-door__inside {
        display: none;
    }
    .sf-advent-door.is-past .sf-advent-door__tile {
        border-color: rgba(255, 255, 255, .06);
    }
    .sf-advent-door.is-past .sf-advent-door__no {
        position: static;
        color: rgba(255, 255, 255, .3);
        font-size: 15px;
        font-weight: 500;
    }
    .sf-advent-door.is-today .sf-advent-door__no {
        gap: 2px;
        font-size: 16px;
    }
    .sf-advent-door.is-today .sf-advent-door__no::after {
        font-size: 7px;
        letter-spacing: .1em;
    }
    .sf-advent-door__mark {
        top: 4px;
        right: 4px;
        width: 10px;
        height: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sf-advent-door__tile,
    .sf-advent-card__cta {
        transition: none;
    }
}
