/* Adventskalender auf der Bricks-Seite. Farben und Schriften kommen von der Website. */
body.stg-advent-vorbei .adv-bis { display: none !important; }
/* Dunkler Kopf wie auf den anderen Unterseiten */
.brxe-section.adv-hero, section.adv-hero { background: radial-gradient(120% 90% at 50% 0%, #3A000C 0%, #0A0506 70%); color: #fff; padding-top: clamp(7rem, 16vw, 9rem); padding-bottom: clamp(3.5rem, 8vw, 5.5rem); min-height: 0; }
section.adv-hero .wrap { display: block; text-align: center; }
section.adv-hero .sp-hero-tx { display: block; max-width: 46rem; margin-inline: auto; padding: 0; }
section.adv-hero .eyebrow { justify-content: center; color: #fff; margin: 0 0 1rem; }
section.adv-hero .sp-h1 { color: #fff; }
section.adv-hero .sp-sub { color: #D9CDD0; margin-inline: auto; }

.stg-adv { --adv-rot: #CC0028; --adv-tief: #8F001C; }
.stg-adv .uhr p { margin: 0 0 .6rem; font: 700 .8rem/1.4 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: #CBBFC3; }
.stg-adv .uhr-felder { display: flex; justify-content: center; gap: .6rem; }
.stg-adv .uhr-felder span { box-sizing: border-box; flex: 0 1 5.6rem; min-width: 0; padding: .6rem 0 .45rem; border-radius: .9rem; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22); color: #fff; text-align: center; }
.stg-adv .uhr-felder b { display: block; font: 800 clamp(1.6rem, 6vw, 2.4rem)/1.15 var(--font-display); font-variant-numeric: tabular-nums; }
.stg-adv .uhr-felder i { display: block; font-style: normal; font-size: .75rem; color: #CBBFC3; }

.stg-adv .tueren { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1.6vw, 1.1rem); }
@media (min-width: 34rem) { .stg-adv .tueren { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .stg-adv .tueren { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stg-adv .tuer { --licht-x: 50%; --licht-y: 30%; aspect-ratio: 3 / 4; margin: 0; padding: 0; }
.stg-adv .tuer > * { box-sizing: border-box; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(165deg, #2A0A12 0%, #120709 48%, #0C0608 100%); color: #fff; text-align: center; text-decoration: none; box-shadow: 0 24px 50px -32px rgba(0,0,0,.75); transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.stg-adv .tuer > *::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(9rem circle at var(--licht-x) var(--licht-y), rgba(204,0,40,.45), transparent 70%); }
@media (hover: hover) {
  .stg-adv .tuer:hover > *::after { opacity: 1; }
  .stg-adv .tuer:hover > * { border-color: var(--adv-rot); }
}
.stg-adv .tuer > a, .stg-adv .tuer > a:hover, .adv-knopf, .adv-knopf:hover, .stg-adv .knopf { text-decoration: none !important; }
.stg-adv .tuer > a:focus-visible { outline: 3px solid var(--adv-rot); outline-offset: 3px; }
.stg-adv .punkte { position: absolute; top: .75rem; left: .85rem; display: flex; gap: .28rem; z-index: 2; }
.stg-adv .punkte i { width: .4rem; height: .4rem; border-radius: 50%; background: rgba(255,255,255,.22); }
.stg-adv .nr { position: relative; z-index: 1; font: 800 clamp(2rem, 6vw, 3.4rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stg-adv .unten { position: absolute; z-index: 1; left: .4rem; right: .4rem; bottom: .7rem; font-size: .75rem; font-weight: 600; line-height: 1.3; color: #CBBFC3; overflow-wrap: anywhere; hyphens: auto; }
.stg-adv .marke { position: absolute; z-index: 2; top: .5rem; right: .55rem; font: 700 .75rem/1.5 var(--font-display); text-transform: uppercase; background: #fff; color: var(--adv-rot); padding: 0 .5rem; border-radius: 1rem; }
.stg-adv .tuer.zu .nr { color: #CBBFC3; }
.stg-adv .tuer.bald > * { border: 1px dashed var(--adv-rot); }
/* offen = Licht an */
.stg-adv .tuer.offen > a { background: #fff; border-color: rgba(26,18,21,.14); color: #1A1215; }
.stg-adv .tuer.offen .punkte i { background: var(--adv-rot); }
.stg-adv .tuer.offen .unten { color: #1A1215; }
.stg-adv .tuer.offen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stg-adv .tuer.mit-bild .nr { position: absolute; top: 1.6rem; left: .85rem; font-size: 1.5rem; background: #fff; color: #1A1215; border-radius: .5rem; padding: .15rem .45rem; }
.stg-adv .tuer.mit-bild .unten { left: 0; right: 0; bottom: 0; padding: .45rem .5rem .6rem; background: #fff; }
.stg-adv .tuer.mit-bild .punkte { display: none; }
.stg-adv .tuer.heute > * { border: 2px solid var(--adv-rot); box-shadow: 0 0 0 4px rgba(204,0,40,.28), 0 0 2.5rem rgba(204,0,40,.45); }
.stg-adv .tuer.heute .punkte { display: none; }
.stg-adv .tuer.heute > a { perspective: 700px; }
.stg-adv .klappe { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: var(--adv-rot); color: #fff; transform-origin: left center; pointer-events: none; font: 800 clamp(2rem, 6vw, 3.4rem)/1 var(--font-display); transform: rotateY(-105deg); backface-visibility: hidden; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) { .stg-adv .tuer.heute .klappe { animation: stg-adv-auf 1.5s cubic-bezier(.2,.7,.2,1) .6s both; } }
@keyframes stg-adv-auf { from { transform: rotateY(0); visibility: visible; } to { transform: rotateY(-105deg); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .stg-adv .tuer > *, .stg-adv .tuer > *::after { transition: none; } .stg-adv .tuer > a:hover { transform: none; } }
.stg-adv .nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stg-adv.vorbei { text-align: center; max-width: 40rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.stg-adv .knopf, .adv-knopf { display: inline-block; background: var(--adv-rot, #CC0028); color: #fff; border-radius: 3rem; padding: .85rem 1.8rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.adv-ende .wrap { text-align: center; }
.adv-ende .adv-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.adv-ende .adv-leise { background: #fff; color: #CC0028; }
.adv-ende .h2x { margin-inline: auto; }
/* Nach dem Ende: die Einladung steht dunkel unter der Kopfleiste */
body.stg-advent-vorbei section.adv-sec { background: radial-gradient(120% 90% at 50% 0%, #3A000C 0%, #0A0506 70%); color: #fff; padding-top: clamp(8rem, 18vw, 11rem); }
body.stg-advent-vorbei section.adv-sec .h2x { color: #fff; }
