/* ASV custom Gutenberg blocks */
.asv-map-text{display:grid;width:min(1180px,100%);max-width:1180px;min-height:430px;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);margin:0 auto clamp(48px,6vw,78px);overflow:hidden;border:1px solid rgba(11,31,58,.08);border-radius:18px;background:#fff;box-shadow:0 16px 42px rgba(11,31,58,.08)}
.asv-map-text--map-left{grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr)}
.asv-map-text__content{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:clamp(34px,5vw,62px)}
.asv-map-text__content h2{margin:0 0 18px;color:var(--asv-navy,#0b1f3a)}
.asv-map-text__copy{color:var(--asv-text,#17191d);line-height:1.65}.asv-map-text__copy p:last-child{margin-bottom:0}
.asv-map-text__map{position:relative;min-height:430px;background:radial-gradient(circle at 80% 10%,rgba(227,6,19,.1),transparent 30%),#e8edf3}
.asv-map-text__map iframe{display:block;width:100%;height:100%;min-height:430px;border:0;filter:saturate(.88) contrast(.98)}
.asv-map-text__map--empty{display:grid;place-items:center;padding:30px;color:#7b8490;text-align:center}
.asv-map-text__map-button{position:absolute;right:18px;bottom:18px;display:inline-flex;min-height:42px;align-items:center;gap:8px;padding:0 15px;border-radius:999px;background:rgba(11,31,58,.93);box-shadow:0 8px 24px rgba(0,0,0,.18);color:#fff!important;font-size:11px;font-weight:850;letter-spacing:.035em;text-decoration:none!important;text-transform:uppercase;backdrop-filter:blur(7px)}
.asv-map-text__map-button:hover{background:var(--asv-red,#e30613)}
.asv-map-text--editor{max-width:100%}.asv-map-text--editor .asv-map-text__map{pointer-events:none}

.asv-gallery{position:relative;width:min(1180px,100%);max-width:1180px;margin:0 auto clamp(48px,6vw,78px)}
.asv-gallery__viewport{overflow:hidden;border-radius:var(--asv-gallery-radius,14px)}.asv-gallery__track{min-width:0}.asv-gallery__item{min-width:0;margin:0;overflow:hidden;border-radius:var(--asv-gallery-radius,14px);background:#e9edf2}.asv-gallery__image{display:block;width:100%;height:100%;object-fit:cover}
.asv-gallery--mosaic .asv-gallery__viewport,.asv-gallery--grid .asv-gallery__viewport{overflow:visible}
.asv-gallery--mosaic .asv-gallery__track{display:grid;grid-template-columns:1.55fr 1fr 1fr;grid-auto-rows:220px;gap:14px}.asv-gallery--mosaic .asv-gallery__item:first-child{grid-column:1;grid-row:span 2}.asv-gallery--mosaic .asv-gallery__item:first-child .asv-gallery__image{min-height:454px}.asv-gallery--mosaic .asv-gallery__item:not(:first-child) .asv-gallery__image{min-height:220px}
.asv-gallery--grid .asv-gallery__track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.asv-gallery--grid .asv-gallery__item{aspect-ratio:4/3}
.asv-gallery--slider{--asv-gallery-height:clamp(320px,47vw,610px)}.asv-gallery--slider .asv-gallery__track{display:flex;transform:translate3d(0,0,0);transition:transform .55s cubic-bezier(.22,.61,.36,1)}.asv-gallery--slider .asv-gallery__item{flex:0 0 100%;height:var(--asv-gallery-height);border-radius:0}.asv-gallery--slider .asv-gallery__image{height:var(--asv-gallery-height)}
.asv-gallery__arrow{position:absolute;top:50%;z-index:4;display:grid;width:52px;height:52px;place-items:center;transform:translateY(-50%);border:0;border-radius:50%;background:rgba(11,31,58,.9);box-shadow:0 10px 28px rgba(0,0,0,.18);color:#fff;cursor:pointer;font-size:37px;font-weight:300;line-height:1}.asv-gallery__arrow:hover{background:var(--asv-red,#e30613)}.asv-gallery__arrow--prev{left:18px}.asv-gallery__arrow--next{right:18px}
.asv-gallery__dots{display:flex;justify-content:center;gap:7px;margin-top:15px}.asv-gallery__dots span{width:7px;height:7px;border-radius:50%;background:#ccd1d8}.asv-gallery__dots span.is-active{background:var(--asv-red,#e30613)}
.asv-gallery-editor{padding:18px;border:1px solid #dcdcde;border-radius:8px;background:#fff}.asv-gallery-editor__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.asv-gallery-editor--mosaic .asv-gallery-editor__item:first-child{grid-column:span 2;grid-row:span 2}.asv-gallery-editor__item{position:relative;min-height:150px;overflow:hidden;border-radius:var(--asv-gallery-radius,14px);background:#eef1f4}.asv-gallery-editor__item img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover}.asv-gallery-editor--mosaic .asv-gallery-editor__item:first-child img{min-height:312px}.asv-gallery-editor__placeholder{display:grid;min-height:150px;place-items:center;color:#646970}.asv-gallery-editor__controls{position:absolute;top:8px;right:8px;display:flex;gap:4px;padding:4px;border-radius:5px;background:rgba(255,255,255,.92)}.asv-gallery-editor__select{margin-top:14px!important}.asv-gallery-editor__hint{margin:12px 0 0!important;color:#646970;font-size:12px}
@media(max-width:900px){.asv-map-text,.asv-map-text--map-left{grid-template-columns:1fr}.asv-map-text--map-left .asv-map-text__map{order:2}.asv-map-text--map-left .asv-map-text__content{order:1}.asv-map-text__map,.asv-map-text__map iframe{min-height:340px}.asv-gallery--mosaic .asv-gallery__track{grid-template-columns:1.35fr 1fr}.asv-gallery--grid .asv-gallery__track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.asv-map-text{min-height:0;border-radius:14px}.asv-map-text__content{padding:30px 24px}.asv-map-text__map,.asv-map-text__map iframe{min-height:290px}.asv-map-text__map-button{right:12px;bottom:12px;min-height:38px;font-size:10px}.asv-gallery--mosaic .asv-gallery__track,.asv-gallery--grid .asv-gallery__track{grid-template-columns:1fr 1fr;grid-auto-rows:150px;gap:9px}.asv-gallery--mosaic .asv-gallery__item:first-child{grid-column:1/-1;grid-row:auto;height:260px}.asv-gallery--mosaic .asv-gallery__item:first-child .asv-gallery__image{min-height:260px}.asv-gallery--mosaic .asv-gallery__item:not(:first-child) .asv-gallery__image{min-height:150px}.asv-gallery--grid .asv-gallery__item{aspect-ratio:1/1}.asv-gallery__arrow{width:42px;height:42px;font-size:30px}.asv-gallery__arrow--prev{left:10px}.asv-gallery__arrow--next{right:10px}.asv-gallery-editor__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.asv-gallery--slider .asv-gallery__track{transition:none}}


/* =========================================================
   v1.49 – Timeline
   ========================================================= */
.asv-timeline{width:min(1180px,100%);max-width:1180px;margin:0 auto clamp(52px,7vw,86px)}
.asv-timeline__header{max-width:760px;margin:0 auto 42px;text-align:center}
.asv-timeline__header h2,.asv-facts__header h2{margin:0;color:var(--asv-navy,#0b1f3a)}
.asv-timeline__intro{margin-top:14px;color:var(--asv-gray,#6b7280);line-height:1.6}
.asv-timeline__list{position:relative;display:grid;gap:16px}
.asv-timeline__list:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;transform:translateX(-50%);background:linear-gradient(to bottom,rgba(227,6,19,.14),var(--asv-red,#e30613),rgba(227,6,19,.14))}
.asv-timeline__item{position:relative;display:grid;grid-template-columns:1fr 62px 1fr;align-items:center;min-height:120px}
.asv-timeline__rail{grid-column:2;display:grid;place-items:center;z-index:2}
.asv-timeline__dot{width:16px;height:16px;border:4px solid #fff;border-radius:50%;background:var(--asv-red,#e30613);box-shadow:0 0 0 2px rgba(227,6,19,.22),0 4px 12px rgba(11,31,58,.14)}
.asv-timeline__card{grid-column:3;padding:24px 26px;border:1px solid rgba(11,31,58,.08);border-radius:14px;background:radial-gradient(circle at 100% 0%,rgba(227,6,19,.06),transparent 30%),#fff;box-shadow:0 10px 28px rgba(11,31,58,.055)}
.asv-timeline--alternating .asv-timeline__item:nth-child(even) .asv-timeline__card{grid-column:1;grid-row:1;text-align:right}
.asv-timeline__year{margin-bottom:5px;color:var(--asv-red,#e30613);font-size:13px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.asv-timeline__media{margin:0 0 16px;overflow:hidden;border-radius:12px;background:#e9edf2;aspect-ratio:16/9}
.asv-timeline__image{display:block;width:100%;height:100%;object-fit:cover}
.asv-timeline__card h3{margin:0 0 8px;color:var(--asv-navy,#0b1f3a);font-size:21px}
.asv-timeline__text{color:var(--asv-gray,#6b7280);line-height:1.55}
.asv-timeline__text p:last-child{margin-bottom:0}
.asv-timeline--editor{padding:22px;border:1px solid #dcdcde;border-radius:8px;background:#fff}
.asv-timeline-editor__items{display:grid;gap:12px;margin-bottom:14px}
.asv-timeline-editor__item{padding:15px;border:1px solid #dcdcde;border-radius:7px;background:#f8f9fa}
.asv-timeline-editor__media{margin:12px 0 2px}.asv-timeline-editor__media-preview{display:grid;gap:10px}.asv-timeline-editor__media-preview img{display:block;max-width:100%;height:auto;max-height:220px;object-fit:cover;border:1px solid #dcdcde;border-radius:8px;background:#fff}.asv-timeline-editor__media-actions{display:flex;flex-wrap:wrap;gap:8px}

/* =========================================================
   v1.49 – Zahlen & Fakten
   ========================================================= */
.asv-facts{width:min(1180px,100%);max-width:1180px;margin:0 auto clamp(52px,7vw,86px)}
.asv-facts__header{margin-bottom:26px;text-align:center}
.asv-facts__grid{display:grid;grid-template-columns:repeat(var(--asv-facts-columns,3),minmax(0,1fr));gap:14px}
.asv-facts__card{position:relative;display:flex;min-height:210px;flex-direction:column;justify-content:center;overflow:hidden;padding:30px;border:1px solid rgba(11,31,58,.08);border-radius:16px;background:radial-gradient(circle at 110% -10%,rgba(227,6,19,.13),transparent 38%),#fff;box-shadow:0 12px 32px rgba(11,31,58,.07)}
.asv-facts__value{position:relative;z-index:1;color:var(--asv-red,#e30613);font-size:clamp(42px,5vw,66px);font-weight:900;line-height:.95;letter-spacing:-.045em}
.asv-facts__label{position:relative;z-index:1;margin-top:12px;color:var(--asv-navy,#0b1f3a);font-size:14px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
.asv-facts__text{position:relative;z-index:1;margin-top:8px;color:var(--asv-gray,#6b7280);font-size:12px;line-height:1.45}
.asv-facts--navy .asv-facts__card{border-color:rgba(255,255,255,.12);background:radial-gradient(circle at 110% -10%,rgba(227,6,19,.30),transparent 38%),linear-gradient(135deg,#081a32,#0b1f3a 72%,#163a64)}
.asv-facts--navy .asv-facts__value,.asv-facts--navy .asv-facts__label{color:#fff}
.asv-facts--navy .asv-facts__text{color:rgba(255,255,255,.68)}
.asv-facts--editor{padding:22px;border:1px solid #dcdcde;border-radius:8px}
.asv-facts-editor__items{display:grid;grid-template-columns:repeat(var(--asv-facts-columns,3),minmax(0,1fr));gap:12px;margin-bottom:14px}
.asv-facts-editor__item{padding:14px;border:1px solid #dcdcde;border-radius:7px;background:#f8f9fa}

@media(max-width:900px){.asv-facts__grid,.asv-facts-editor__items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
    .asv-timeline__list:before{left:18px;transform:none}
    .asv-timeline__item{grid-template-columns:36px minmax(0,1fr)}
    .asv-timeline__rail{grid-column:1;grid-row:1;align-self:stretch;padding-top:34px}
    .asv-timeline__card,.asv-timeline--alternating .asv-timeline__item:nth-child(even) .asv-timeline__card{grid-column:2;grid-row:1;text-align:left}
    .asv-timeline__header{margin-bottom:28px;text-align:left}
}
@media(max-width:560px){.asv-facts__grid,.asv-facts-editor__items{grid-template-columns:1fr}.asv-facts__card{min-height:170px;padding:24px}}


/* =========================================================
   v1.53 – Google Maps Click-to-load
   ========================================================= */
.asv-map-text__map--click-to-load{
    display:grid;
    place-items:center;
    overflow:hidden;
    background:
        linear-gradient(90deg,rgba(11,31,58,.055) 1px,transparent 1px) 0 0/34px 34px,
        linear-gradient(rgba(11,31,58,.055) 1px,transparent 1px) 0 0/34px 34px,
        radial-gradient(circle at 75% 22%,rgba(227,6,19,.12),transparent 32%),
        #e8edf3;
}
.asv-map-text__consent{display:flex;max-width:360px;flex-direction:column;align-items:center;padding:36px 30px;text-align:center;color:var(--asv-navy,#0b1f3a)}
.asv-map-text__pin{display:grid;width:54px;height:54px;place-items:center;margin-bottom:15px;border-radius:50%;background:var(--asv-red,#e30613);box-shadow:0 10px 24px rgba(227,6,19,.22);color:#fff;font-size:28px;font-weight:900}
.asv-map-text__consent strong{font-size:22px}.asv-map-text__consent-text{margin-top:8px;color:#596575;font-size:14px;line-height:1.5}.asv-map-text__consent small{margin-top:11px;color:#7d8792;font-size:10px;line-height:1.45}
.asv-map-text__load{display:inline-flex;min-height:44px;align-items:center;justify-content:center;margin-top:18px;padding:0 20px;border:0;border-radius:999px;background:var(--asv-red,#e30613);box-shadow:0 8px 22px rgba(227,6,19,.2);color:#fff;cursor:pointer;font-size:11px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
.asv-map-text__load:hover,.asv-map-text__load:focus-visible{background:var(--asv-navy,#0b1f3a)}.asv-map-text__load:disabled{cursor:wait;opacity:.72}
.asv-map-text__map--click-to-load.is-loaded{display:block;background:#e8edf3}.asv-map-text__map--click-to-load.is-loaded iframe{width:100%;height:100%;min-height:430px}

/* =========================================================
   v1.55 – Programmkarten kompakt / editorfreundlich
   ========================================================= */
.asv-program{width:min(1180px,100%);max-width:1180px;margin:0 auto clamp(52px,7vw,86px)}
.asv-program__header{max-width:820px;margin:0 auto 30px;text-align:center}
.asv-program__header h2{margin:0;color:var(--asv-navy,#0b1f3a)}
.asv-program__intro{margin-top:12px;color:var(--asv-gray,#6b7280);line-height:1.6}
.asv-program__grid{display:grid;grid-template-columns:repeat(var(--asv-program-columns,5),minmax(0,1fr));gap:12px}
.asv-program__card{position:relative;display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;border:1px solid rgba(11,31,58,.09);border-top:4px solid var(--asv-red,#e30613);border-radius:14px;background:#fff;box-shadow:0 10px 26px rgba(11,31,58,.055);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.asv-program__card:hover{transform:translateY(-2px);border-color:rgba(11,31,58,.14);box-shadow:0 15px 34px rgba(11,31,58,.09)}
.asv-program__date{display:flex;align-items:center;gap:7px;padding:15px 16px 0;background:transparent;color:var(--asv-gray,#6b7280)}
.asv-program__weekday{font-size:10px;font-weight:900;letter-spacing:.075em;text-transform:uppercase}
.asv-program__date strong{font-size:11px;font-weight:900;letter-spacing:.025em;color:var(--asv-red,#e30613)}
.asv-program__date strong:before{content:"·";margin-right:7px;color:rgba(11,31,58,.28)}
.asv-program__body{display:flex;min-width:0;flex:1;flex-direction:column;padding:10px 16px 18px}
.asv-program__body h3{margin:0;color:var(--asv-navy,#0b1f3a);font-size:clamp(24px,2vw,30px);font-weight:850;line-height:1.05;letter-spacing:-.025em}
.asv-program__time{display:inline-flex;align-self:flex-start;margin-top:9px;padding:5px 9px;border-radius:999px;background:rgba(227,6,19,.075);color:var(--asv-red,#e30613);font-size:12px;font-weight:900;line-height:1}
.asv-program__subtitle{margin-top:10px;color:var(--asv-gray,#6b7280);font-size:11px;line-height:1.45}
.asv-program__link{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;margin-top:auto;padding-top:14px;color:var(--asv-navy,#0b1f3a)!important;font-size:10px;font-weight:900;letter-spacing:.045em;text-decoration:none!important;text-transform:uppercase}
.asv-program__link:hover{color:var(--asv-red,#e30613)!important}
.asv-program--navy .asv-program__card{border-color:rgba(255,255,255,.10);border-top-color:var(--asv-red,#e30613);background:linear-gradient(145deg,#091b34,#0b1f3a 72%,#153b64)}
.asv-program--navy .asv-program__weekday{color:rgba(255,255,255,.62)}
.asv-program--navy .asv-program__date strong{color:#ff6a73}
.asv-program--navy .asv-program__date strong:before{color:rgba(255,255,255,.25)}
.asv-program--navy .asv-program__body h3,.asv-program--navy .asv-program__link{color:#fff!important}
.asv-program--navy .asv-program__time{background:rgba(255,255,255,.09);color:#fff}
.asv-program--navy .asv-program__subtitle{color:rgba(255,255,255,.66)}
.asv-program-block-editor{position:relative;display:block;width:100%}
.asv-program--editor{padding:22px;border:1px solid #dcdcde;border-radius:8px;background:#fff}
.asv-program-editor__items{display:grid;grid-template-columns:repeat(min(var(--asv-program-columns,5),3),minmax(0,1fr));gap:12px;margin-bottom:14px}
.asv-program-editor__item{padding:14px;border:1px solid #dcdcde;border-radius:7px;background:#f8f9fa}
.asv-program-editor__row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media(max-width:1100px){.asv-program__grid{grid-template-columns:repeat(min(var(--asv-program-columns,5),3),minmax(0,1fr))}}
@media(max-width:760px){.asv-program__grid,.asv-program-editor__items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.asv-program__grid,.asv-program-editor__items{grid-template-columns:1fr}.asv-program__body h3{font-size:26px}}

/* =========================================================
   v1.54 – Seitenspezifischer Schneefall
   ========================================================= */
.asv-snow{position:fixed;inset:0;z-index:1000;pointer-events:none;overflow:hidden}
.asv-snow canvas{display:block;width:100%;height:100%;pointer-events:none}
.asv-snow-editor{position:relative;display:grid;min-height:150px;place-items:center;gap:5px;overflow:hidden;padding:28px;border:1px dashed rgba(11,31,58,.22);border-radius:14px;background:linear-gradient(135deg,#081a32,#0b1f3a);color:#fff;text-align:center}
.asv-snow-editor__flakes{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:space-around;padding-top:18px;color:rgba(255,255,255,.55);font-size:24px;letter-spacing:1.4em;pointer-events:none}
.asv-snow-editor strong,.asv-snow-editor span,.asv-snow-editor small{position:relative;z-index:1}
.asv-snow-editor strong{font-size:18px}.asv-snow-editor span{font-size:13px}.asv-snow-editor small{max-width:520px;color:rgba(255,255,255,.68);font-size:11px;line-height:1.45}
@media(prefers-reduced-motion:reduce){.asv-snow{display:none!important}}

.asv-snow-block-editor{position:relative;display:block;width:100%}.asv-snow-block-editor.is-selected .asv-snow-editor{outline:2px solid var(--wp-admin-theme-color,#007cba);outline-offset:2px}
