/*
 * Advent calendar (advent.html) in the 2026-11 design.
 * Loaded after styles.css, stylesAdvent.css and design.css.
 * Removing the <link> tags for design.css and this file restores the old look.
 */

/* ---------- Hero: soft lime gradient with snow instead of the photo ---------- */
header.masthead {
    padding-top: 110px;
    padding-bottom: 90px;
    background-color: var(--brand);
}
@media (min-width: 768px) {
    header.masthead {
        padding-top: 130px;
        padding-bottom: 110px;
    }
}
.masthead:before {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .9) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .7) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 45% 70%, rgba(255, 255, 255, .8) 0 2px, transparent 3px),
        radial-gradient(circle at 85% 60%, rgba(255, 255, 255, .6) 0 1.5px, transparent 2.5px),
        linear-gradient(180deg, #dcebb0 0%, #c6df78 55%, #bbd95d 100%);
    background-size: 180px 180px, 240px 240px, 210px 210px, 160px 160px, cover;
    animation: pcp-snow 30s linear infinite;
}
@keyframes pcp-snow {
    from { background-position: 0 0, 0 0, 0 0, 0 0, center; }
    to   { background-position: 40px 180px, -30px 240px, 20px 210px, -20px 160px, center; }
}

#tree {
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 18px rgba(35, 48, 10, .15));
}
header.masthead .masthead-subheading {
    margin-top: 24px;
}
.advent-title {
    margin: 18px 0 0;
    font-size: clamp(26px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--on-brand);
}

/* ---------- Stars: white when closed, gold when open ---------- */
.star path {
    fill: #fff !important;
    fill-opacity: 1 !important;
    stroke: #d4aa00;
    stroke-width: .8 !important;
    transition: fill .2s;
}
.starActive path {
    fill: #e9a400 !important;
    stroke: #b37e00;
}
.star {
    transform-box: fill-box;
    transform-origin: center;
}
.star:hover path {
    fill: #ffe9a8 !important;
}
.starActive:hover path {
    fill: #f6b81c !important;
}
.starActive text,
.starActive tspan {
    font-weight: 700;
}

/* ---------- Text sections ---------- */
#Advent .large {
    padding: 34px 38px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink) !important;
}
#Advent .large p:last-child {
    margin-bottom: 0;
}
@media (max-width: 575px) {
    #Advent .large {
        padding: 24px 20px;
    }
}
#Anleitung h3.section-subheading:empty,
#Kontakt h3.section-subheading:empty {
    display: none;
}
#Anleitung ul.text-left {
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
    display: table;
}
#Anleitung ul.text-left li {
    position: relative;
    padding: 6px 0 6px 32px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
}
#Anleitung ul.text-left li:before {
    content: "";
    position: absolute;
    left: 4px;
    top: 12px;
    width: 14px;
    height: 8px;
    border-left: 3px solid var(--brand-dark);
    border-bottom: 3px solid var(--brand-dark);
    transform: rotate(-45deg);
}

/* ---------- Videos: list without bullets/indent ---------- */
#Videos ul {
    padding-left: 0;
    margin-bottom: 0;
}
#Videos li {
    font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
    .masthead:before {
        animation: none;
    }
}

/* ---------- Video modal: door not open yet ---------- */
.video-locked {
    margin: 30px 0;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: var(--brand-ink);
}
