/* ===== Wintermodus (lädt site.js nur vom 1.12. bis 6.1.) =====
   Lichterkette und Schneelandschaft im Startbild, Schnee auf Paketen, Gründungsangebot und Kontaktformular,
   Tannenzweig mit Christbaumkugeln am Porträt. Alles rein dekorativ, Inhalte bleiben unverändert. */

/* ---------- Lichterkette (direkt unter der Navigation, scrollt mit dem Startbild weg) ---------- */
.winter-lights{position:absolute;left:0;right:0;top:80px;height:56px;overflow:hidden;pointer-events:none;z-index:1}
.winter-lights svg{display:block;height:56px;width:auto;max-width:none}
.wl-wire{fill:none;stroke:#3a4558;stroke-width:1.2;opacity:.55}
.wl-cap{fill:#5b6577}
.wl-a .wl-bulb{fill:#ffe6a8}.wl-b .wl-bulb{fill:#ffc46b}.wl-c .wl-bulb{fill:#3d8bff}.wl-d .wl-bulb{fill:#35d0ff}
.wl-a .wl-glow{fill:url(#wl-ga)}.wl-b .wl-glow{fill:url(#wl-gb)}.wl-c .wl-glow{fill:url(#wl-gc)}.wl-d .wl-glow{fill:url(#wl-gd)}
.wl-glow{opacity:.75}
@media (prefers-reduced-motion:no-preference){
  .wl-glow{animation:wl-twinkle 3.4s ease-in-out infinite}
  .wl-bulb{animation:wl-bulb 3.4s ease-in-out infinite}
  .wl-d1 .wl-glow,.wl-d1 .wl-bulb{animation-delay:-.7s}
  .wl-d2 .wl-glow,.wl-d2 .wl-bulb{animation-delay:-1.5s;animation-duration:4.1s}
  .wl-d3 .wl-glow,.wl-d3 .wl-bulb{animation-delay:-2.2s}
  .wl-d4 .wl-glow,.wl-d4 .wl-bulb{animation-delay:-2.9s;animation-duration:2.8s}
}
@keyframes wl-twinkle{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes wl-bulb{0%,100%{fill-opacity:.8}50%{fill-opacity:1}}

/* ---------- Schneedecke am unteren Rand des Startbilds (hinter Text und Knöpfen) ---------- */
/* Der Übergangs-Verlauf am unteren Rand des Startbilds würde die Schneedecke ausbleichen: eine Ebene nach hinten */
.is-winter .hero::after{z-index:0}
.winter-ground{position:absolute;left:0;right:0;bottom:-1px;z-index:1;height:110px;pointer-events:none}
.wg-back,.wg-front{position:absolute;left:0;right:0;bottom:0}
.wg-back{height:60px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='48' viewBox='0 0 620 48' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23eaf1fa'/%3E%3Cstop offset='.45' stop-color='%23f5f9fe'/%3E%3Cstop offset='1' stop-color='%23bccfe6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 20C40 9 86 6 130 12S206 26 250 22 330 4 386 6 470 24 520 22 590 14 620 20V48H0Z'/%3E%3Cpath fill='none' stroke='%239fb7d4' stroke-width='1.2' d='M0 20C40 9 86 6 130 12S206 26 250 22 330 4 386 6 470 24 520 22 590 14 620 20'/%3E%3C/svg%3E") repeat-x -140px 100%/620px 60px;
  filter:drop-shadow(0 -2px 4px rgba(16,36,80,.16))}
.wg-front{height:36px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='34' viewBox='0 0 480 34' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.45' stop-color='%23fbfdff'/%3E%3Cstop offset='1' stop-color='%23c9d8ec'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 14C14 8 30 6 46 9S72 17 92 15 124 5 150 6 184 15 206 15 238 8 262 9 292 17 316 16 352 6 378 7 410 16 432 15 466 10 480 14V34H0Z'/%3E%3Cpath fill='%23dfe8f1' opacity='.7' d='M80 18c10-2 22-2 30 1-8 2-20 2-30-1Zm200 1c9-2 20-2 28 1-8 2-19 2-28-1Zm140-1c8-2 18-2 26 1-8 2-18 2-26-1Z'/%3E%3Cpath fill='none' stroke='%23a6bcd8' stroke-width='1.2' d='M0 14C14 8 30 6 46 9S72 17 92 15 124 5 150 6 184 15 206 15 238 8 262 9 292 17 316 16 352 6 378 7 410 16 432 15 466 10 480 14'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' opacity='.95' d='M28 10c6-1.6 12-1.6 18 0M134 8c7-1.4 14-1.2 20 .4M246 11c5-1.2 10-1.2 15 0M362 9c6-1.4 12-1.2 17 .4'/%3E%3C/svg%3E") repeat-x 0 100%/440px 36px;
  filter:drop-shadow(0 -1px 3px rgba(16,36,80,.16))}
.wg-scene{position:absolute;right:3%;bottom:8px;height:84px;width:auto;overflow:visible}
.wg-tree{fill:#1f4a52}.wg-tree-shade{fill:#2b5d66}.wg-trunk{fill:#5a3a22}
.wg-rim,.wg-snowman{fill:url(#wg-ball);stroke:#9fb5d0;stroke-width:.9}
.wg-coal{fill:#1c2230}.wg-carrot{fill:#ff7a1a}.wg-scarf{fill:#0060f0}
.wg-arm{fill:none;stroke:#5a3a22;stroke-width:1.5;stroke-linecap:round}
@media (min-width:1500px){.wg-scene{height:96px}}
@media (min-width:1800px){.winter-ground{height:120px}.wg-scene{height:100px;right:5%}}
@media (max-width:700px){
  .winter-lights,.winter-lights svg{height:42px}
  .wg-back{height:34px;background-size:440px 34px}.wg-front{height:21px;background-size:310px 21px}
  .wg-scene{height:40px;bottom:4px;right:4%}
}

/* ---------- Schnee auf Paketen, Gründungsangebot und Kontaktformular: Hügel auf der Kante, an den Ecken hängt er herunter ---------- */
.is-winter .plan::after,
.is-winter .promo::after,
.is-winter form#form::before,
.is-winter .calc-inputs::after,
.is-winter .check::after{
  content:"";position:absolute;z-index:3;top:-11px;left:-6px;right:-6px;height:44px;padding:0 22px;box-sizing:border-box;pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='44' viewBox='0 0 34 44'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23fbfdff'/%3E%3Cstop offset='1' stop-color='%23d9e4ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' stroke='%23c3d1de' stroke-width='.8' d='M34 9C27 5 17 3 10 5S0 12 0 19V37c0 4 2 6 4 6s4-2 4-6V30c0-3 2-5 4-3s3 3 5 2 2-5 6-8c3-2 7-1.5 11-2Z'/%3E%3C/svg%3E") no-repeat left top/34px 44px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='44' viewBox='0 0 34 44'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23fbfdff'/%3E%3Cstop offset='1' stop-color='%23d9e4ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' stroke='%23c3d1de' stroke-width='.8' transform='matrix(-1 0 0 1 34 0)' d='M34 9C27 5 17 3 10 5S0 12 0 19V37c0 4 2 6 4 6s4-2 4-6V30c0-3 2-5 4-3s3 3 5 2 2-5 6-8c3-2 7-1.5 11-2Z'/%3E%3C/svg%3E") no-repeat right top/34px 44px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='26' viewBox='0 0 240 26'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23fbfdff'/%3E%3Cstop offset='1' stop-color='%23d9e4ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' stroke='%23c3d1de' stroke-width='.8' d='M0 10C8 4 18 2 30 3s18 5 30 4 20-6 36-6 22 5 36 5 20-4 34-4 22 5 36 5 24-3 38 3v7c-8 1-12 0-18 1s-6 6-11 6-5-5-11-6c-14-1-30 1-44 0-10-1-12 4-17 4s-5-5-11-5c-18-1-36 2-54 1-8 0-10 5-15 5s-5-5-11-5C32 17 16 18 0 17Z'/%3E%3C/svg%3E") repeat-x 0 0/240px 26px;
  background-clip:border-box,border-box,content-box;
  filter:drop-shadow(0 2px 2px rgba(16,36,80,.18))}
.is-winter .plan:nth-child(2)::after{background-position:left top,right top,-90px 0}
.is-winter .plan:nth-child(3)::after{background-position:left top,right top,-170px 0}
.is-winter .promo,.is-winter form#form,.is-winter .calc-inputs,.is-winter .check{position:relative}
.is-winter .calc-inputs::after{background-position:left top,right top,-60px 0}
.is-winter .check::after{background-position:left top,right top,-130px 0}

/* ---------- Schnee bündig an der Oberkante von Boxen, die Überstehendes abschneiden (Element .w-cap aus winter.js) ---------- */
.w-cap{position:absolute;z-index:6;top:0;left:0;right:0;height:34px;padding:0 20px;box-sizing:border-box;pointer-events:none;
  border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='44' viewBox='0 0 34 44'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23fbfdff'/%3E%3Cstop offset='1' stop-color='%23c8d7ea'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' stroke='%23a7bdd8' stroke-width='.8' d='M0 0H34V17c-4 1-8 1-11 3s-4 7-6 8-3-2-5-3-4 1-4 5v7c0 4-2 6-4 6s-4-2-4-6Z'/%3E%3C/svg%3E") no-repeat left top/26px 34px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='44' viewBox='0 0 34 44'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23fbfdff'/%3E%3Cstop offset='1' stop-color='%23c8d7ea'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' stroke='%23a7bdd8' stroke-width='.8' transform='matrix(-1 0 0 1 34 0)' d='M0 0H34V17c-4 1-8 1-11 3s-4 7-6 8-3-2-5-3-4 1-4 5v7c0 4-2 6-4 6s-4-2-4-6Z'/%3E%3C/svg%3E") no-repeat right top/26px 34px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='24' viewBox='0 0 240 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23fbfdff'/%3E%3Cstop offset='1' stop-color='%23c8d7ea'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' stroke='%23a7bdd8' stroke-width='.8' d='M0 0H240V10c-8 1-12 0-18 1s-6 7-11 7-5-6-11-7c-14-1-30 2-44 1-10-1-12 5-17 5s-5-6-11-6c-18-1-36 2-54 1-8 0-10 6-15 6s-5-6-11-6C32 11 16 12 0 10Z'/%3E%3C/svg%3E") repeat-x -30px 0/200px 20px;
  background-clip:border-box,border-box,content-box;
  filter:drop-shadow(0 2px 3px rgba(16,36,80,.22))}
.spot:nth-child(2n) .w-cap{background-position:left top,right top,-110px 0}
.h-card:nth-child(2n) .w-cap{background-position:left top,right top,-80px 0}
@media print{.w-cap{display:none!important}}
/* Etikett „Beliebteste Wahl“ bleibt vor dem Schnee */
.is-winter .plan .badge{z-index:4}
/* Das Gründungsangebot ist niedrig: nur eine dünne Schneeschicht ohne lange Zapfen */
.is-winter .promo::after{top:-9px;height:26px;padding:0;background-clip:border-box;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='26' viewBox='0 0 240 26'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.5' stop-color='%23fbfdff'/%3E%3Cstop offset='1' stop-color='%23d9e4ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' stroke='%23c3d1de' stroke-width='.8' d='M0 10C8 4 18 2 30 3s18 5 30 4 20-6 36-6 22 5 36 5 20-4 34-4 22 5 36 5 24-3 38 3v7c-8 1-12 0-18 1s-6 6-11 6-5-5-11-6c-14-1-30 1-44 0-10-1-12 4-17 4s-5-5-11-5c-18-1-36 2-54 1-8 0-10 5-15 5s-5-5-11-5C32 17 16 18 0 17Z'/%3E%3C/svg%3E") repeat-x -40px 0/240px 26px;
  border-radius:12px 12px 0 0}

/* ---------- Tannenzweig mit Christbaumkugeln (oben rechts am Porträt) ---------- */
.winter-branch{position:absolute;top:-4%;right:-14%;width:58%;pointer-events:none;z-index:3}
.winter-branch svg{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 3px 3px rgba(16,36,80,.25))}
.wb-twig{fill:none;stroke:#4a2f1c;stroke-width:2.6;stroke-linecap:round}
.wb-n{fill:none;stroke-linecap:round}
.wb-n-d{stroke:#143027;stroke-width:1.9}.wb-n-m{stroke:#22503f;stroke-width:1.5}.wb-n-l{stroke:#4f9079;stroke-width:1}
.wb-snow{fill:#ffffff}
.wb-string{fill:none;stroke:#9aa7ba;stroke-width:1}
.wb-cap{fill:#c9d3e0}
.wb-shine{fill:none;stroke:#ffffff;stroke-width:2.4;stroke-linecap:round;opacity:.75}
.wb-shine-dark{opacity:.95}
.wb-sparkle{fill:#ffffff}
.wb-swing{transform-box:view-box}
.wb-swing-a{transform-origin:150px 21px}
.wb-swing-b{transform-origin:92px 35px}
@media (prefers-reduced-motion:no-preference){
  .wb-swing-a{animation:wb-swing 5.5s ease-in-out infinite}
  .wb-swing-b{animation:wb-swing 4.6s ease-in-out -1.8s infinite}
}
@keyframes wb-swing{0%,100%{transform:rotate(2.6deg)}50%{transform:rotate(-2.6deg)}}
@media (max-width:700px){.winter-branch{right:-2%;width:50%}}

@media print{
  .winter-lights,.winter-ground,.winter-branch{display:none!important}
  .is-winter .plan::after,.is-winter .promo::after,.is-winter form#form::before,.is-winter .calc-inputs::after,.is-winter .check::after{display:none!important}
}
