/* Kalenderkiste Adventskalender 2026 – NEUES freigegebenes Winterdorf, NUR TEST.
 * Keine eingeblendeten Statistik-/E-Mail-Elemente.
 * Interaktionen behalten die bereits getestete Statistikversion von advent.js.
 */
/* Kalenderkiste Adventskalender 2026 – Originalillustration mit echten Hotspots. */
:root{--green:#075d4e;--ink:#163a37;--cream:#fffaf1;--gold:#e8ad49}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:#eff4f1;font:16px/1.5 system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);margin:0}
button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:var(--green)}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #f6d777;outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
main{max-width:1555px;margin:auto;padding:8px 10px 4px}
.scene-scroller{max-width:100%;overflow-x:auto;overflow-y:hidden;border-radius:16px;box-shadow:0 12px 28px #0b26384a;scrollbar-color:#bb8b4d #fdf5e9;scrollbar-width:thin}
.scene{position:relative;width:100%;min-width:1100px;aspect-ratio:1536 / 1024;background:#051e37;isolation:isolate;container-type:inline-size}
.village-picture{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;user-select:none}
.day-hotspots{position:absolute;inset:0;z-index:3;pointer-events:none}
/* Einzelkonturen statt pauschal verschobener Rechtecke: deckungsgleich mit den Holztürchen. */
.day-hotspot{position:absolute;transform:translate(-50%,-50%);background:transparent;border:0;border-radius:0;padding:0;pointer-events:auto;cursor:pointer;clip-path:polygon(50% 0%,94% 23%,98% 82%,80% 96%,20% 96%,2% 82%,6% 23%)}
.day-hotspot svg{width:100%;height:100%;display:block;pointer-events:none;overflow:visible}
.day-hotspot polygon{fill:transparent;stroke:transparent;stroke-width:3.2;vector-effect:non-scaling-stroke;transition:fill .15s,stroke .15s}
.day-hotspot:hover polygon,.day-hotspot:focus-visible polygon{fill:#ffe08d35;stroke:#fff1a4}
.day-hotspot.opened:hover polygon{stroke:#a8ffcc}
.scene.show-hotspots .day-hotspot polygon{fill:#40e6de23;stroke:#10e0d9;stroke-width:3}
.day-hotspot:focus-visible{outline:none}
.nav-hotspot{position:absolute;top:0.7%;height:5.4%;z-index:4;border-radius:8px}
.nav-hotspot:hover,.nav-hotspot:focus-visible,.nav-more summary:hover,.nav-more summary:focus-visible{background:#d2e7ea7c}

.nav-logo{left:3.1%;width:22%}.nav-home{left:26.9%;width:8.4%}.nav-year{left:35.5%;width:11.5%}.nav-half{left:47.0%;width:11.5%}.nav-months{left:59%;width:15.8%}.nav-search{left:86.0%;width:12%;border-radius:20px}
.nav-more{position:absolute;z-index:12;left:75.2%;top:.8%;width:11%;height:5.2%;pointer-events:auto}.nav-more summary{height:100%;cursor:pointer;list-style:none;border-radius:9px}.nav-more summary::-webkit-details-marker{display:none}
.nav-dropdown{position:absolute;right:0;top:calc(100% + 7px);width:225px;background:#fffefa;border:2px solid #bfa069;border-radius:12px;box-shadow:0 10px 25px #0923336b;padding:6px;display:grid;gap:3px}
.nav-dropdown a{font-size:13px;text-decoration:none;padding:8px;border-radius:7px;font-weight:700}.nav-dropdown a:hover{background:#e9f5eb}
.probe-image{position:absolute;z-index:5;left:36.2%;top:32.8%;width:24.6%;height:21.8%;background:white;border-radius:30px;display:block;overflow:hidden;padding:0}
.probe-image img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.probe-image:hover,.probe-image:focus-visible{box-shadow:0 0 0 4px #ffe188,0 0 20px #f8d96d}
.wood-door{position:absolute;z-index:6;left:25.1%;top:30%;width:10.1%;height:43.7%;background:transparent;border:2px solid transparent;border-radius:9px;cursor:pointer}
.wood-door:hover,.wood-door:focus-visible{background:#fff4a521;outline:0;border-color:#fff0b5;box-shadow:0 0 18px #ffe4a9a6}
.probe-pdf-button{position:absolute;z-index:6;left:36.55%;top:66.15%;width:23.75%;height:4.8%;border-radius:30px}
.probe-pdf-button:hover,.probe-pdf-button:focus-visible{outline:0;box-shadow:0 0 0 3px #fff6bd,0 0 12px 5px #9cfeab}
.hotspot-check{background:#f8fcfb;border:1px solid #bcd5c6;padding:8px 12px;border-radius:10px;margin:8px 0;font-size:14px}
.hotspot-check label{cursor:pointer}
.hotspot-check input{width:18px;height:18px;vertical-align:middle;accent-color:#087969}
.message{min-height:30px;margin:14px auto 6px;padding:7px 16px;max-width:1050px;border-radius:9px;text-align:center;background:#e7f1ea;font-weight:650;color:#114e43}
.test-note{margin:7px auto 10px;max-width:1050px;border:1px solid #dabe70;background:#ffefc7;padding:10px 14px;border-radius:10px;font-size:14px;text-align:center}
.help{max-width:1050px;margin:8px auto 20px;padding:0 10px;font-size:14px;text-align:center;color:#335d59}
.mobile-hint{display:none;margin:3px 0 8px;background:#fff1cc;border:1px solid #e5cb85;border-radius:9px;padding:8px;text-align:center;font-weight:750;font-size:13px}
.site-end{max-width:1500px;margin:auto;padding:10px 20px 24px;display:flex;justify-content:center;flex-wrap:wrap;gap:18px;font-size:12px}
.dialog-backdrop{position:fixed;z-index:30;inset:0;display:none;align-items:center;justify-content:center;background:#031c24d1;overflow-y:auto;padding:14px}
.dialog-backdrop.visible{display:flex}.dialog{width:min(840px,100%);max-height:95dvh;overflow-y:auto;background:linear-gradient(#fffaf0,#f9f3e6);border:4px solid #eac079;border-radius:18px;box-shadow:0 16px 55px #000a;padding:25px;position:relative}
.dialog-close{position:absolute;right:8px;top:8px;background:#8e2326;color:white;border:0;border-radius:50%;font-size:28px;width:39px;height:39px;line-height:1}
.dialog h2{margin:0 42px 8px 0;color:#8c3429;font:700 clamp(23px,3vw,34px)/1.2 Georgia,serif}.dialog-sub{font-weight:650;font-size:15px;margin-top:6px}
.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:10px;align-items:start}
.modal-preview{background:white;border:2px solid #dfc488;border-radius:13px;width:100%;padding:12px 12px 8px;cursor:pointer;color:#254f46;font-size:13px;font-weight:700;display:grid;gap:9px}
.modal-preview img{width:100%;height:260px;object-fit:contain}
.modal-preview:hover{box-shadow:0 0 0 3px #ffe09e}
.dialog h3{color:#0d6555;margin:0 0 9px}.dialog p{line-height:1.5}
.download-link{display:block;text-align:center;padding:12px 14px;margin:12px 0;background:linear-gradient(#087f62,#065b4b);color:white;text-decoration:none;border-radius:14px;font-weight:850;box-shadow:0 3px 10px #063f3659}
.download-link:hover{background:#0a6f58}.extra-msg{color:#54716e;font-size:13px}.gift-cta{padding:12px;border:2px solid #d4ae4c;border-radius:12px;background:#fff1cc;margin-top:15px}.gift-cta strong{font-size:17px}
.mail-msg{border-top:1px dashed #c7b188;margin-top:12px;padding-top:12px;color:#516964;font-size:13px}
@media(max-width:1100px){.mobile-hint{display:block}.scene{min-width:1100px}.scene-scroller{scrollbar-width:auto}}
@media(max-width:670px){main{padding:4px}.dialog{padding:18px 12px}.detail-grid{grid-template-columns:1fr}.modal-preview img{height:220px}.site-end{padding-bottom:14px}}
@media(prefers-reduced-motion:reduce){.day-hotspot{transition:none}}

/* Nur auf der Test-Subdomain: dezenter Hinweis unter der Illustration. */
.test-system-note{max-width:1050px;margin:3px auto 10px;padding:8px 14px;text-align:center;background:#fff4d6;color:#5b4a22;border:1px solid #e4c77f;border-radius:8px;font:600 13px/1.45 system-ui,Arial,sans-serif}

.christmas-gift-strip{position:absolute;left:27.8%;top:81.6%;width:44.8%;height:6.7%;z-index:9;border:0;border-radius:100px;background:transparent;box-shadow:none;display:block;padding:0;cursor:pointer}
.christmas-gift-strip:hover{box-shadow:0 0 0 3px #fff1aa90}.christmas-gift-strip:focus-visible{outline:3px solid #f6d777;outline-offset:3px}
.gift-cta{padding:13px 16px;margin-top:14px;border:2px solid #d5b266;border-radius:12px;background:#fff5db}
.gift-cta strong{display:block;color:#7e351d;font-size:18px}


/* TEST: HTML/CSS-Originalmarke wiederhergestellt, statt nachgemalter Bildmarke */
/* Original-Kalenderkiste-Markenicon: die 2x2-farbigen Felder statt der fehlerhaften
   grünen Kritzelei, die in die Weihnachtsdorf-Montage eingebacken war. 
   In der Website-Quelle ursprünglich als CSS-Logo .logo mit vier Feldern gestaltet. */
.brand-icon-original-mask{position:absolute;left:3.38%;top:.35%;width:4.08%;height:6.45%;z-index:7;pointer-events:none;background:#fff;display:flex;align-items:center;justify-content:center;border-radius:3px}
.brand-icon-original{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:.23cqw;padding:.56cqw;background:#0d7066;border-radius:.75cqw;transform:rotate(-6deg);box-shadow:0 .23cqw 0 #dceee8;width:3.47cqw;height:3.47cqw}
.brand-icon-original i{display:block;border-radius:.2cqw;background:#fff}
.brand-icon-original i:nth-child(2){background:#f7cd6d}
.brand-icon-original i:nth-child(3){background:#b4e5d4}
.brand-icon-original i:nth-child(4){background:#fff}

/* PRÄZISES WORTLOGO: echte HTML-Schrift ersetzt die verzerrten Buchstaben
   der Weihnachtsdorf-Grafik, inklusive des unsauberen "a". */
.brand-wordmark-correction{position:absolute;z-index:8;pointer-events:none;left:7.98%;top:.70%;width:19.35%;height:6.00%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-left:.28cqw;white-space:nowrap;overflow:hidden}
.brand-wordmark-main{display:block;color:#122b3c;font-family:Arial,Helvetica,sans-serif;font-size:2.09cqw;font-weight:900;letter-spacing:-.090cqw;line-height:1.08}
.brand-wordmark-main b{color:#0b7057;font-weight:900}
.brand-wordmark-tagline{display:block;margin-top:.34cqw;color:#132b3d;font-family:Arial,Helvetica,sans-serif;font-size:.87cqw;font-weight:800;letter-spacing:.035cqw;line-height:1.05}

/* Zeitlich befristete Amazon-Partnerempfehlung, außerhalb der Adventsillustration.
   Standard: kein Banner. Der Server gibt den Inhalt nur bis 02.12.2026 aus. */
.amazon-advent-slot:empty{display:none}
.amazon-advent-slot{max-width:1050px;margin:14px auto 22px;padding:0 4px}
.amazon-advent-offer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:20px;row-gap:9px;padding:18px 22px;border:1px solid #d9bb85;border-radius:18px;background:linear-gradient(120deg,#fff8e8,#fffdf9 65%,#f0f9f3);box-shadow:0 4px 16px #123d2820;color:#214b3a}
.amazon-advent-copy{min-width:0}
.amazon-advent-kicker{display:inline-block;color:#8d3c23;font-size:12px;letter-spacing:.035em;font-weight:850;text-transform:uppercase}
.amazon-advent-offer h2{font-size:clamp(19px,2.5vw,24px);margin:3px 0 5px;line-height:1.2;color:#704129}
.amazon-advent-offer p{font-size:15px;line-height:1.4;margin:0}
.amazon-advent-offer .amazon-advent-legal{font-size:12px;color:#586d64;margin-top:8px}
.amazon-advent-action{display:inline-block;border-radius:999px;text-align:center;text-decoration:none;font-weight:800;font-size:15px;line-height:1.3;padding:13px 20px;background:#0b7056;color:#fff;white-space:nowrap;box-shadow:0 4px 9px #00432c30}
.amazon-advent-action:hover,.amazon-advent-action:focus-visible{background:#075d49;color:#fff}
@media(max-width:780px){.amazon-advent-offer{grid-template-columns:1fr;padding:16px 17px}.amazon-advent-action{white-space:normal;display:block;width:100%}}

.christmas-gift-strip.gift-ended{background:#fff1cc;color:#78421e;font-weight:700;font-size:clamp(13px,1.4vw,22px);border:2px solid #d5b266;box-shadow:none;}

/* Weihnachtsgruss nach Heiligabend: kein Download und kein Geschenk-Link. */
.christmas-farewell{text-align:center;max-width:620px;margin:0 auto;padding:10px 12px 4px;color:#214b3a}
.christmas-farewell .farewell-icon{font-size:clamp(42px,8vw,72px);line-height:1.15;margin:0 0 12px}
.christmas-farewell h2{margin:0 0 18px;color:#8c3429}
.christmas-farewell p{font-size:clamp(16px,2.1vw,20px);line-height:1.6;margin:12px 0}
.christmas-farewell .farewell-back{font:inherit;font-weight:800;border:0;cursor:pointer;margin:24px auto 4px;width:min(100%,340px)}
