.ctf-fixed-height{overflow:auto}#ctf .ctf-item{padding:15px 5px;overflow:hidden}#ctf.ctf-boxed-style .ctf-item{padding:15px}#ctf .ctf-item:first-child{border-top:none}#ctf .ctf-item:last-of-type{border-bottom:none!important}#ctf #ctf .ctf-photo-hover span.fa-arrows-alt,#ctf .ctf-photo-hover svg.fa-arrows-alt,#ctf .ctf_remaining,#ctf.ctf-super-narrow .ctf-author-screenname,#ctf.ctf-super-narrow .ctf-screename-sep{display:none}#ctf .ctf_more{padding:1px;border:1px solid transparent;border-radius:3px;display:inline-block;line-height:1}#ctf .ctf_more:hover{cursor:pointer;background:rgba(0,0,0,.05);border:1px solid rgba(0,0,0,.1);text-decoration:none}#ctf .ctf-header{float:left;clear:both;margin:0;padding:5px 5px 15px;line-height:1.2;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#ctf .ctf-header a{float:left;display:block;text-decoration:none}#ctf .ctf-header-img{float:left;position:relative;width:48px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#ctf .ctf-header-img img{display:block;float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#ctf.ctf-rebranded .ctf-header-img-hover svg{margin-top:-15px;margin-left:-14px}#ctf.ctf-rebranded .ctf-header-img-hover svg path,.ctf-rebranded .ctf-header-follow svg path{fill:white}#ctf .ctf-header-generic-icon,#ctf .ctf-header-img-hover{display:none;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(27,149,224,.85);-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px;z-index:999}#ctf .ctf-header-generic-icon .fa,#ctf .ctf-header-generic-icon svg,#ctf .ctf-header-img-hover .fa,#ctf .ctf-header-img-hover svg{position:absolute;top:50%;left:50%;margin-top:-10px;margin-left:-8px;font-size:20px;z-index:1000}#ctf .ctf-header-generic-icon svg,#ctf .ctf-header-img-hover svg{margin-top:-10px;margin-left:-10px}#ctf .ctf-header .ctf-header-follow{display:inline-block;padding:3px 6px;margin:0 0 0 2px;position:relative;top:-2px;background:#1b95e0;color:#fff;font-size:11px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-transition:background .6s ease-in-out;-webkit-transition:background .6s ease-in-out;-o-transition:background .6s ease-in-out;transition:background .6s ease-in-out}#ctf .ctf-header .ctf-header-follow .fa,#ctf .ctf-header .ctf-header-follow svg{margin-right:3px;font-size:12px}#ctf .ctf-header a:hover .ctf-header-follow{background:#0c7abf;-moz-transition:background .2s ease-in-out;-webkit-transition:background .2s ease-in-out;-o-transition:background .2s ease-in-out;transition:background .2s ease-in-out}#ctf .ctf-header-type-generic .ctf-header-img{color:#fff;width:48px;height:48px;position:relative}#ctf .ctf-header-type-generic .ctf-header-link:hover .ctf-header-generic-icon{background:#0c7abf}#ctf .ctf-header-type-generic .ctf-header-no-bio{padding-top:9px!important;font-size:16px;font-weight:700}#ctf .ctf-header-type-generic .ctf-header-generic-icon{display:block;color:#fff;background:#1b95e0;-moz-transition:background .2s ease-in-out;-webkit-transition:background .2s ease-in-out;-o-transition:background .2s ease-in-out;transition:background .2s ease-in-out}#ctf .ctf-header-type-generic:hover .ctf-header-generic-icon{display:block;opacity:1}#ctf .ctf-header .ctf-header-user{font-size:16px;line-height:1.3;-ms-word-wrap:break-word;word-break:break-word}#ctf .ctf-header .ctf-header-screenname,#ctf .ctf-header p{font-size:13px;line-height:1.3}.ctf-screenreader{text-indent:-9999px!important;display:inline-block!important;width:0!important;height:0!important;line-height:0!important;text-align:left!important}#ctf .ctf-header-text.sbi-no-info .ctf-header-user{padding-top:9px!important}#ctf .ctf-header-text.sbi-no-bio .ctf-header-counts{clear:both}#ctf .ctf-context{width:100%;padding-left:42px;margin-bottom:2px}#ctf .ctf-with-logo .ctf-context{padding-right:30px}#ctf .ctf-retweet-icon{display:inline-block;font-size:inherit;line-height:1;margin:0 5px 0 0;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#ctf.ctf-super-narrow .ctf-retweet-icon{margin:0 5px 0 0}#ctf .ctf-reply-icon{display:inline-block;font-size:inherit;padding:1px 3px 3px;line-height:1;margin:0 3px 0 0}#ctf .ctf-author-box{margin-left:56px}#ctf .ctf-author-avatar{clear:both;width:48px;height:48px;margin:3px 6px 0 -56px;float:left;overflow:hidden;border:none;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#ctf .ctf-author-avatar img{margin:0!important;padding:0}#ctf .ctf-author-name,#ctf .ctf-author-screenname,#ctf .ctf-tweet-meta,#ctf .ctf-verified{margin-left:4px;margin-right:4px;display:inline-block}#ctf .ctf-screename-sep{margin:0 2px;display:inline-block}#ctf .ctf-author-name{font-weight:700!important;margin-top:4px}#ctf .ctf-author-box-link{color:#000;text-decoration:none;display:inline;line-height:1.5!important}#ctf .ctf-quoted-verified,#ctf .ctf-verified{color:#77c7f7;margin-left:0}#ctf .ctf-quoted-verified,.ctf-credit-link .fa,.ctf-credit-link svg{margin-right:4px}#ctf .ctf-tweet-meta,#ctf.ctf-super-narrow .ctf-author-name{display:inline-block}#ctf .ctf-replied-to-text a{font-size:inherit;color:inherit;font-weight:inherit}#ctf p.ctf-media-link,#ctf p.ctf-tweet-text{padding:0!important;margin:0!important;line-height:1.4}#ctf .ctf-tweet-actions,#ctf .ctf-tweet-content{margin-left:58px;margin-top:3px;max-width:100%}#ctf .ctf-corner-logo{display:inline-block;float:right;color:#1b95e0;font-size:24px}#ctf.ctf-narrow .ctf-corner-logo{font-size:20px}#ctf .ctf-hide-avatar .ctf-author-box,#ctf .ctf-hide-avatar .ctf-author-name,#ctf .ctf-hide-avatar .ctf-context,#ctf .ctf-hide-avatar .ctf-quoted-tweet,#ctf .ctf-hide-avatar .ctf-tweet-actions,#ctf .ctf-hide-avatar .ctf-tweet-content,#ctf.ctf-narrow .ctf-hide-avatar .ctf-author-box,#ctf.ctf-narrow .ctf-hide-avatar .ctf-context,#ctf.ctf-narrow .ctf-hide-avatar .ctf-quoted-tweet,#ctf.ctf-narrow .ctf-hide-avatar .ctf-tweet-actions,#ctf.ctf-narrow .ctf-hide-avatar .ctf-tweet-content,#ctf.ctf-super-narrow .ctf-context,#ctf.ctf-super-narrow .ctf-hide-avatar .ctf-author-box,#ctf.ctf-super-narrow .ctf-hide-avatar .ctf-context,#ctf.ctf-super-narrow .ctf-hide-avatar .ctf-quoted-tweet,#ctf.ctf-super-narrow .ctf-hide-avatar .ctf-tweet-actions,#ctf.ctf-super-narrow .ctf-hide-avatar .ctf-tweet-content,#ctf.ctf-super-narrow .ctf-quoted-tweet,#ctf.ctf-super-narrow .ctf-tweet-actions,#ctf.ctf-super-narrow .ctf-tweet-content{margin-left:0}#ctf .ctf-hide-avatar .ctf-context{padding-left:0}#ctf .ctf-header-img.ctf-no-consent,#ctf .ctf-header-img.ctf-no-consent .ctf-header-img-hover{display:block;opacity:1;height:48px}#ctf .ctf-quoted-tweet{display:block;clear:both;margin:7px 0 5px 58px;padding:8px 12px;border:1px solid rgba(0,0,0,.1);text-decoration:none;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-transition:background .1s ease-in-out;-webkit-transition:background .1s ease-in-out;-o-transition:background .1s ease-in-out;transition:background .1s ease-in-out}#ctf .ctf-quoted-tweet-text-media-wrap,#ctf .ctf-quoted-tweet:focus,#ctf .ctf-quoted-tweet:hover,#ctf .ctf-tweet-text-media-wrap{-moz-transition:background .1s ease-in-out;-webkit-transition:background .1s ease-in-out;-o-transition:background .1s ease-in-out}#ctf .ctf-quoted-tweet:focus,#ctf .ctf-quoted-tweet:hover{background:rgba(0,0,0,.05);border:1px solid rgba(0,0,0,.05);transition:background .1s ease-in-out}#ctf .ctf-quoted-author-name{font-weight:700;margin-right:4px}#ctf .ctf-quoted-tweet p{margin:2px 0}#ctf .ctf-tweet-actions a{padding:2px 10px 2px 5px;float:left}#ctf .ctf-tweet-actions a.ctf-like,#ctf .ctf-tweet-actions a.ctf-reply,#ctf .ctf-tweet-actions a.ctf-retweet{color:rgba(0,0,0,.35);text-decoration:none;border:none;-moz-transition:color .1s ease-in-out;-webkit-transition:color .1s ease-in-out;-o-transition:color .1s ease-in-out;transition:color .1s ease-in-out}#ctf .ctf-tweet-actions a span.fa,#ctf .ctf-tweet-actions a svg{width:1.1em;height:1.1em;font-size:1.1em}#ctf .ctf-tweet-actions a span.fa.fa-retweet{width:1.2em;height:1.2em;font-size:1.2em}#ctf .ctf-tweet-actions .ctf-reply{margin-left:-5px}#ctf .ctf-tweet-actions a:focus,#ctf .ctf-tweet-actions a:hover{-moz-transition:color .1s ease-in-out;-webkit-transition:color .1s ease-in-out;-o-transition:color .1s ease-in-out;transition:color .1s ease-in-out}#ctf .ctf-tweet-actions .ctf-reply:focus,#ctf .ctf-tweet-actions .ctf-reply:hover{color:#e34f0e!important}#ctf .ctf-tweet-actions .ctf-retweet:focus,#ctf .ctf-tweet-actions .ctf-retweet:hover{color:#19cf86!important}#ctf .ctf-tweet-actions .ctf-like:focus,#ctf .ctf-tweet-actions .ctf-like:hover{color:#e81c4f!important}#ctf .ctf-action-count{float:right;padding-left:3px;font-size:.9em;margin-top:.25em;line-height:1.2em}#ctf .ctf-twitterlink{margin-top:.3em;line-height:1.2em;font-size:.8em}#ctf .ctf-quoted-tweet-text-media-wrap,#ctf .ctf-tweet-text-media-wrap{margin-left:5px;padding:4px;display:inline-block;border:1px solid rgba(0,0,0,.15);color:inherit;text-decoration:none;line-height:1;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;transition:background .1s ease-in-out}#ctf #ctf-more,#ctf .ctf-out-of-tweets,.ctf-credit-link{padding:5px 0;text-align:center}#ctf #ctf-more,#ctf .ctf-tweet-text-media-wrap:focus,#ctf .ctf-tweet-text-media-wrap:hover{background:rgba(0,0,0,.05);-moz-transition:background .1s ease-in-out;-webkit-transition:background .1s ease-in-out;-o-transition:background .1s ease-in-out}#ctf .ctf-tweet-text-media-wrap:focus,#ctf .ctf-tweet-text-media-wrap:hover{border:1px solid rgba(0,0,0,.1);transition:background .1s ease-in-out}.ctf-multi-media-icon .ctf-tweet-text-media,.ctf-quoted-tweet-text .ctf-tweet-text-media{margin-left:3px}#ctf #ctf-more{display:block;border:none;width:100%;min-height:30px;margin:0;position:relative;box-sizing:border-box;outline:0;text-decoration:none;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;transition:background .1s ease-in-out}#ctf #ctf-more:hover{background:rgba(0,0,0,.1);-moz-transition:background .1s ease-in-out;-webkit-transition:background .1s ease-in-out;-o-transition:background .1s ease-in-out;transition:background .1s ease-in-out}#ctf #ctf-more.ctf-loading span{-moz-transition:opacity .5s ease-in-out;-webkit-transition:opacity .5s ease-in-out;-o-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out;opacity:0}#ctf .ctf-loader{width:20px;height:20px;position:absolute;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:1s ease-in-out infinite ctf-sk-scaleout;animation:1s ease-in-out infinite ctf-sk-scaleout}@-webkit-keyframes ctf-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes ctf-sk-scaleout{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.ctf-credit-link{width:100%;clear:both;margin-top:5px;font-size:12px}#ctf svg{box-sizing:unset}#ctf svg:not(:root).svg-inline--fa,#ctf_lightbox svg:not(:root).svg-inline--fa{box-sizing:unset;overflow:visible;width:1em}#ctf .svg-inline--fa.fa-w-16{width:16px}#ctf .svg-inline--fa.fa-w-20{width:20px}#ctf .ctf-context .ctf-retweet-icon svg{width:1.2em;height:1.2em}#ctf .svg-inline--fa,#ctf_lightbox .svg-inline--fa{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em}#ctf.ctf-styles .ctf-author-screenname,#ctf.ctf-styles .ctf-context,#ctf.ctf-styles .ctf-screename-sep,#ctf.ctf-styles .ctf-tweet-meta,.ctf_smash_error span{font-size:12px}#ctf .ctf-error{width:100%;text-align:center}#ctf .ctf-error code,#ctf .ctf-error iframe,#ctf .ctf-error p{padding:0;margin:0 2px}#ctf .ctf-error-user p,#ctf.ctf-super-narrow .ctf-context{padding-bottom:5px}#ctf .ctf-error-user{width:100%}#ctf .ctf-error-admin{margin-top:15px;display:inline-block}#ctf .ctf-error code{display:block;padding:4px}.ctf_smash_error{border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.ctf_smash_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#ctf .ctf-out-of-tweets{display:block;border:1px solid rgba(0,0,0,.1);background:0 0;width:100%;min-height:30px;margin:0;position:relative;box-sizing:border-box;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#ctf .ctf-out-of-tweets iframe,#ctf .ctf-out-of-tweets p{margin:0 2px;padding:0}#ctf .ctf-out-of-tweets p{padding:3px;display:none}#ctf.ctf-narrow .ctf-author-avatar,#ctf.ctf-narrow .ctf-author-avatar img{width:38px;height:38px}#ctf.ctf-narrow .ctf-quoted-tweet,#ctf.ctf-narrow .ctf-tweet-actions,#ctf.ctf-narrow .ctf-tweet-content{margin-left:48px}#ctf.ctf-narrow .ctf-context{margin-left:49px}#ctf.ctf-narrow .ctf-author-box{margin-left:46px}#ctf.ctf-narrow .ctf-author-avatar{margin-left:-46px}#ctf.ctf-narrow .ctf-tweet-content{padding:3px 0 5px}#ctf.ctf-narrow .ctf-tweet-actions,#ctf.ctf-super-narrow .ctf-tweet-content{float:left;clear:both}#ctf.ctf-super-narrow .ctf-author-box{min-height:32px;margin-bottom:2px;margin-left:38px;float:left;clear:both}#ctf.ctf-super-narrow .ctf-author-avatar,#ctf.ctf-super-narrow .ctf-author-avatar img{width:32px;height:32px}#ctf.ctf-super-narrow .ctf-author-avatar{margin-left:-38px;margin-top:0}#ctf.ctf-super-narrow .ctf-credit-link{font-size:10px}#ctf.ctf-super-narrow .ctf-header-bio{margin:0!important;padding-top:5px}#ctf.ctf-super-narrow .ctf-header-user{min-height:48px}#ctf.ctf-super-narrow .ctf-header-text{padding-top:10px}#ctf.ctf-super-narrow .ctf-header-follow{margin-top:5px}#ctf.ctf-super-narrow .ctf-more span{display:block;margin-top:3px}@media all and (max-width:640px){#ctf.ctf-width-resp{width:100%!important}}.ctf.ctf-boxed-style[data-boxshadow=true] .ctf-item{box-shadow:0 0 10px 0 rgba(0,0,0,.15)}[data-header-size=large] .ctf-header-type-text{font-size:48px}[data-header-size=medium] .ctf-header-type-text{font-size:42px}[data-header-size=small] .ctf-header-type-text{font-size:36px}#ctf.ctf-list.ctf-boxed-style .ctf-header,.ctf-list.ctf-boxed-style .ctf-item{margin-bottom:25px}#ctf .ctf-header-text{float:left;width:100%;padding-top:5px}#ctf .ctf-no-bio .ctf-header-text{padding-top:13px}#ctf .ctf-header-text .ctf-header-user,#ctf .ctf-header-text p{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important;text-align:left}#ctf .ctf-header-name{font-weight:700;margin-right:6px}#ctf .ctf-header-text .ctf-header-bio{padding:0!important;word-break:break-word}#ctf .ctf-header-text .ctf-verified{margin-right:5px}#ctf.ctf_palette_light .ctf-author-name,#ctf.ctf_palette_light .ctf-author-screenname,#ctf.ctf_palette_light .ctf-header-bio,#ctf.ctf_palette_light .ctf-header-counts,#ctf.ctf_palette_light .ctf-header-name,#ctf.ctf_palette_light .ctf-header-type-text,#ctf.ctf_palette_light .ctf-tweet-actions a,#ctf.ctf_palette_light .ctf-tweet-text{color:#444}#ctf.ctf_palette_dark .ctf-tweet-text a,#ctf.ctf_palette_light .ctf-tweet-text a{color:inherit}#ctf.ctf_palette_dark .ctf-item,#ctf.ctf_palette_light .ctf-item{background:0 0}#ctf.ctf_palette_dark .ctf-corner-logo,#ctf.ctf_palette_light .ctf-corner-logo{color:#1b95e0}#ctf.ctf_palette_dark .ctf-verified,#ctf.ctf_palette_light .ctf-verified{color:#77c7f7}#ctf.ctf_palette_light .ctf-more{background:rgba(0,0,0,.5);color:#444}#ctf.ctf_palette_dark{background:#20222c}#ctf.ctf_palette_dark.ctf.ctf-boxed-style .ctf-item{background:rgba(255,255,255,.1)!important}#ctf.ctf_palette_dark .ctf-author-name,#ctf.ctf_palette_dark .ctf-author-screenname,#ctf.ctf_palette_dark .ctf-header-bio,#ctf.ctf_palette_dark .ctf-header-counts,#ctf.ctf_palette_dark .ctf-header-name,#ctf.ctf_palette_dark .ctf-header-type-text,#ctf.ctf_palette_dark .ctf-tweet-text{color:#fff}#ctf.ctf_palette_dark .ctf-more{background:rgba(255,255,255,.2);color:#fff}#ctf.ctf_palette_dark .ctf-tweet-actions a{color:rgba(255,255,255,.8)}.ctf-rebranded .ctf-header-follow svg{width:13px;height:13px;transform:translate(3px,2px)}.spg-wrap{--gap:22px;--radius:22px;--tile:#F5EEE9;--accent:#1E3245;--brand:#B01632;--text:#1E3245}

/* Top-Leiste: Suche */
.spg-top{display:flex;justify-content:flex-end;align-items:center;margin:0 0 16px 0}
.spg-search{position:relative;width:min(360px,100%)}
.spg-search-input{
  width:100%;height:40px;border-radius:999px;background:#fff;
  border: 1.5px solid var(--brand)!important; color:var(--text); outline:none;
  padding:0 42px 0 14px!important; line-height:40px;
  border-radius: 10px!important;
}
.spg-search-input::placeholder{color:#9aa3ab}
.spg-search-input:focus{box-shadow:0 0 0 3px rgba(176,22,50,.15)}
.spg-search-btn{
  position:absolute;
  right:8px; top:50%;
  transform:translateY(-50%);
  width:28px; height:28px;
  border:0; background:transparent;
  cursor:pointer; display:grid; place-items:center;
  padding-top: 8px;
  padding-right: 18px;
  padding-bottom: 8px;
  padding-left: 18px;
}
.spg-search-btn i{
  font-size:16px; color:var(--brand);
  line-height:1;
}
/* optional : Hover-Farbe */
.spg-search-btn:hover i{ filter:brightness(.9); }

/* für SR-Text, falls dein Theme keine Utility-Klasse hat */
.screen-reader-text{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Grid */
.spg-grid{display:grid;gap:var(--gap);grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1024px){.spg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.spg-grid{grid-template-columns:1fr}}
.spg-card{background:var(--tile);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 3px rgba(0,0,0,.06),0 10px 28px rgba(0,0,0,.08)}
/* Medienbereich: feste Kachelhöhe, Bild skaliert ohne Verzerrung */
.spg-media{aspect-ratio:4/3;background:#eee;overflow:hidden}
.spg-media img{width:100%;height:100%!important;object-fit:cover;object-position:center;display:block}
.spg-body{padding:16px 18px 18px;color:var(--text)}
.spg-date{font-size:12px;opacity:.75;margin-bottom:8px}
.spg-title a {font-size:20px;line-height:1.25;margin:0 0 10px 0;color:var(--brand)!important;}
.spg-exc{font-size:14px;line-height:1.45}
.spg-more{margin-top:14px;display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-weight:700}

/* Navigation unten: Chevron-Pfeile */
.spg-nav{display:flex;justify-content:right;gap:36px;align-items:center;margin-top:22px}
.spg-btn{position:relative;width:34px;height:34px;border:0;background:transparent;box-shadow:none;cursor:pointer}
.spg-btn:hover {background: none!important;}
.spg-btn::before{content:"";position:absolute;left:50%;top:50%;width:16px;height:16px;border:2px solid transparent;border-right-color:var(--brand);border-top-color:var(--brand);transform:translate(-50%,-50%) rotate(45deg)}
.spg-prev::before{transform:translate(-50%,-50%) rotate(225deg)}
.spg-btn:hover::before{filter:brightness(.9)}
.spg-btn[disabled]{opacity:.35;cursor:not-allowed}

/* ---------- Skeleton Cards ---------- */
.spg-skel-card{
  background:var(--tile);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 1px 3px rgba(0,0,0,.06),0 10px 28px rgba(0,0,0,.08);
}

/* Shimmer-Grundlage */
.skel{ position:relative; background:#eee; overflow:hidden; }
.skel::after{
  content:"";
  position:absolute; inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.6), rgba(255,255,255,0));
  animation:spg-shimmer 1.2s ease-in-out infinite;
}
@keyframes spg-shimmer{ 100% { transform:translateX(100%); } }

/* Bereiche der Karte */
.spg-skel-media{ aspect-ratio:4/3; }              /* Bildbereich */
.spg-skel-body{ padding:16px 18px 18px; }

/* „Textzeilen“ */
.skel-line{ height:14px; border-radius:8px; margin-top:10px; }
.skel-title{ height:18px; border-radius:10px; margin-top:8px; }
.skel.w-30{ width:30%; } .skel.w-40{ width:40%; }
.skel.w-50{ width:50%; } .skel.w-60{ width:60%; }
.skel.w-70{ width:70%; } .skel.w-80{ width:80%; }
.skel.w-90{ width:90%; } .skel.w-100{ width:100%; }

/* Fallback Skeleton-Klötze (wird zur Initialisierung genutzt) */
.spg-skeleton{border-radius:var(--radius);background:linear-gradient(90deg,#eee 25%,#f6f6f6 37%,#eee 63%);background-size:400% 100%;animation:spgsh 1.2s ease-in-out infinite;height:280px; width: 350px;}
@keyframes spgsh{0%{background-position:100% 50%}100%{background-position:0 50%}}/* === Wrapper / Layout === */
.spsc-wrap {
    --gap: 24px;
    --image-radius: 24px;
    --card-radius: 26px;
    --card-bg: #F5EEE9;
    --title: #B02A2A;
    --text: #223;
    --btn-bg: #F18520;
    --btn-text: #ffffff;
    --overlap: 56px; /* Überlappung der Karte über das Bild (Desktop) */
    --mobile-overlap: calc(var(--overlap) * 0.7);
    --pad-x: clamp(16px, 3vw, 28px);
    --pad-y: clamp(16px, 2.6vw, 26px);

    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    grid-template-areas: "media card"; /* Standard: links Bild, rechts Karte */
    gap: var(--gap);
    align-items: center;
}

/* Drehen: links Karte, rechts Bild */
.spsc-wrap.is-reverse {
    grid-template-columns: minmax(320px, 520px) 1fr;
    grid-template-areas: "card media";
}

/* Bildseite */
.spsc-figure {
    grid-area: media;
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--image-radius);
    min-width: 350px;
}

.spsc-figure img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Karte */
.spsc-card {
    grid-area: card;
    position: relative;
    background: var(--card-bg);
    color: var(--text);
    border-radius: var(--card-radius);
    padding: var(--pad-y) var(--pad-x);
    box-shadow: none;

    /* vertikal zentriert */
    display: flex;
    flex-direction: column;
    justify-content: center;

    /* Standard: ragt nach links in das Bild hinein */
    transform: translateX(calc(var(--overlap) * -1));
}

/* Bei gedrehter Reihenfolge ragt die Karte nach rechts in das Bild */
.spsc-wrap.is-reverse .spsc-card {
    transform: translateX(var(--overlap));
}

.spsc-title {
    margin: 0 0 10px 0;
    font-size: clamp(20px, 2.1vw, 26px);
    line-height: 1.25;
    color: var(--title) !important; /* gegen globale Überschreibungen */
    font-weight: 600;
}

.spsc-desc {
    margin: 0 0 16px 0;
    line-height: 1.55;
    color: var(--text);
}

/* Elementor-Button-Markup - Farben via Inline var() aus den Controls */
.spsc-btn:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.spsc-btn:active {
    transform: translateY(1px);
}

/* Responsiv */
@media (max-width: 1024px) {
    .spsc-wrap {
        grid-template-columns: 1fr;
        grid-template-areas:
      "media"
      "card";
    }

    .spsc-wrap.is-reverse {
        grid-template-columns: 1fr;
        grid-template-areas:
      "media"   /* mobil zuerst Bild */
      "card";
    }

    .spsc-card {
        transform: none; /* keine Überlappung auf Mobil/Tablet */
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .spsc-wrap {
        gap: 0;
        justify-items: center;
        padding-inline: clamp(16px, 6vw, 28px);
    }

    .spsc-figure,
    .spsc-card {
        width: min(100%, 520px);
    }

    .spsc-card {
        margin: calc(var(--mobile-overlap) * -1) auto clamp(32px, 12vw, 56px);
        padding: clamp(24px, 8vw, 32px) clamp(20px, 8vw, 32px);
        transform: none;
    }

    .spsc-wrap.is-reverse .spsc-card {
        margin: calc(var(--mobile-overlap) * -1) auto clamp(32px, 12vw, 56px);
        transform: none;
    }

    .spsc-card .elementor-button-wrapper {
        width: 100%;
    }

    .spsc-card .spsc-btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}/* Produkt-spezifische Erweiterungen für das Promo-Card-Layout */

.spsc-wrap.has-no-media {
    grid-template-columns: 1fr;
    grid-template-areas: "card";
}

.spsc-wrap.has-no-media .spsc-card {
    transform: none;
}

.spsc-card .spsc-title {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 12px);
    flex-wrap: wrap;
}

.spsc-title__text {
    display: inline-flex;
    align-items: center;
}

.spsc-disclaimer {
    --spsc-disclaimer-bg: #B02A2A;

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(22px, 2.4vw, 26px);
    height: clamp(22px, 2.4vw, 26px);
    border-radius: 50%;
    background: var(--spsc-disclaimer-bg);
    color: #fff;
    font-weight: 600;
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    outline: none;
}

.spsc-disclaimer:focus-visible {
    box-shadow: 0 0 0 3px rgba(176, 42, 42, 0.25);
}

.spsc-disclaimer__icon {
    font-style: normal;
}

.spsc-disclaimer__popover {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translate(-50%, 6px);
    min-width: 360px;
    max-width: min(280px, 70vw);
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--spsc-disclaimer-bg);
    color: #fff;
    font-size: 0.6rem;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.spsc-disclaimer__popover::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: var(--spsc-disclaimer-bg) transparent transparent transparent;
}

.spsc-disclaimer__popover p {
    margin: 0;
}

.spsc-disclaimer__popover p + p {
    margin-top: 0.75em;
}

.spsc-disclaimer:hover .spsc-disclaimer__popover,
.spsc-disclaimer:focus .spsc-disclaimer__popover,
.spsc-disclaimer:focus-visible .spsc-disclaimer__popover {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.spsc-card .spsc-price {
    margin: 0 0 clamp(12px, 2vw, 18px) 0;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    color: var(--text);
}

.spsc-card .spsc-purchase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(12px, 2vw, 18px);
    margin-top: clamp(16px, 2.4vw, 24px);
}

.spsc-card .spsc-qty {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.spsc-card .spsc-qty .quantity {
    margin: 0;
    display: flex;
    align-items: center;
}

.spsc-card .spsc-qty-input {
    max-width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 22px;
    box-shadow: none;
    padding: 0;
    color: black;
}

.spsc-card .spsc-qty-input::-webkit-outer-spin-button,
.spsc-card .spsc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.spsc-card .spsc-qty-input[type="number"] {
    -moz-appearance: textfield;
}

.spsc-card .spsc-qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}


/* -------------------------------------------
   Hover/Focus: nur BG leicht abdunkeln
   (per Overlay-Layer, Text bleibt unverändert)
   ------------------------------------------- */

/* Plus-Button abdunkeln */
.spsc-card .spsc-qty-btn.is-increase:hover,
.spsc-card .spsc-qty-btn.is-increase:focus,
.spsc-card .spsc-qty-btn.is-increase:focus-visible{
    /* Basisfarbe beibehalten */
    background-color: var(--btn-bg);
    /* leichte Abdunklung als Overlay */
    background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08));
}

/* Plus-Button beim aktiven Klicken etwas stärker */
.spsc-card .spsc-qty-btn.is-increase:active{
    background-color: var(--btn-bg);
    background-image: linear-gradient(rgba(0,0,0,.16), rgba(0,0,0,.16));
}

/* Minus-Button abdunkeln (von weiß kommend) */
.spsc-card .spsc-qty-btn.is-decrease:hover,
.spsc-card .spsc-qty-btn.is-decrease:focus,
.spsc-card .spsc-qty-btn.is-decrease:focus-visible{
    background-color: #fff;
    background-image: linear-gradient(rgba(0,0,0,.06), rgba(0,0,0,.06));
}

/* Minus-Button aktiv etwas dunkler */
.spsc-card .spsc-qty-btn.is-decrease:active{
    background-color: #fff;
    background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12));
}

/* Optional: falls du die alte generische Hover-Regel drin lässt,
   sorgen diese selektoren mit höherer Spezifität für sauberes Override */
.spsc-card .spsc-qty-btn.is-increase:hover {
    outline: none;
    color: white;
}
.spsc-card .spsc-qty-btn.is-decrease:hover{
    outline: none;
    color: black;
}

.is-decrease {
    background: white;
    color: #121212;
}

.is-increase {
    background: var(--btn-bg);
    color: white;
}

.spsc-card .spsc-qty-btn:hover,
.spsc-card .spsc-qty-btn:focus {
    background: rgba(0, 0, 0, 0.06);
    outline: none;
}

.spsc-card .spsc-qty-btn:active {
    transform: scale(0.96);
}

.spsc-card .spsc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-text);
    font-weight: 600;
    font-size: clamp(15px, 1.5vw, 17px);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.2s ease;
}

.spsc-card .spsc-btn:hover,
.spsc-card .spsc-btn:focus {
    filter: brightness(0.94);
    outline: none;
}

.spsc-card .spsc-btn:active {
    transform: translateY(1px);
}

.spsc-card .spsc-btn--link {
    min-width: 0;
}

.spsc-card .spsc-add-to-cart {
    min-width: clamp(160px, 28vw, 220px);
}

@media (max-width: 680px) {
    .spsc-card .spsc-purchase {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }

    .spsc-card .spsc-qty {
        justify-content: left;
    }

    .spsc-card .spsc-add-to-cart {
        width: 40%;
    }
}

/* Oktagon-Button wie im Screenshot */
.spsc-btn.spsc-view-cart{
    --size: 64px;          /* bei Bedarf anpassen */
    --icon: #fff;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--size);
    height: var(--size);
    background: var(--btn-bg);
    text-decoration: none;
    clip-path: polygon(
            42% 2%, 65% 3%, 85% 12%, 95% 32%,
            96% 58%, 83% 82%, 58% 96%, 34% 95%,
            14% 82%, 5% 60%, 6% 38%, 18% 16%
    );
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}

/* Icon sauber zentrieren */
.spsc-btn.spsc-view-cart svg{
    width: 60%;
    height: 60%;
    fill: var(--icon);
    display: block;
}

.spsc-btn.spsc-view-cart:focus-visible{
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Safari Prefix Fallback */
@supports (-webkit-clip-path: polygon(0 0)){
    .spsc-btn.spsc-view-cart{
        -webkit-clip-path: polygon(
                30% 0%, 70% 0%,
                100% 30%, 100% 70%,
                70% 100%, 30% 100%,
                0% 70%, 0% 30%
        );
        clip-path: polygon(
                42% 2%, 65% 3%, 85% 12%, 95% 32%,
                96% 58%, 83% 82%, 58% 96%, 34% 95%,
                14% 82%, 5% 60%, 6% 38%, 18% 16%
        );
    }
}/* Root */
.sdn-wrap{
  --bg:#B01632;
  --accent:#F18520;
  --tile-bg:#F5EEE9;
  --white:#fff;
  --text:#3c3c3c;
  --muted:#9b8f8f;
  --radius:18px;
  --gap:16px;
  --tile-h:64px;
  --shadow:0 1px 2px rgba(0,0,0,.06),0 8px 24px rgba(0,0,0,.08);
  background:var(--bg);
  padding:18px;
  border-radius:24px;
  color:var(--white);
}

/* 2-Spalten-Grid */
.sdn-grid{
  display:grid;
  grid-template-columns: 1fr auto;
  column-gap: 22px;
  align-items: start;
}

/* linke Spalte */
.sdn-col-left{ display:grid; row-gap:22px; }

/* rechte Spalte */
.sdn-col-right{ display:flex; align-items:flex-start; }

/* REIHE 1 */
.sdn-amounts{
  display:flex;
  align-items:stretch;
  gap:var(--gap);
  flex-wrap:nowrap;
  justify-content: space-between;
}

.sdn-amount,.sdn-custom,.sdn-submit{
  min-height:var(--tile-h);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Kacheln */
.sdn-amount{
  background:var(--tile-bg);
  padding:0 22px;
  font-size:24px;
  line-height:1;
  color:var(--text);
  border:none;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
  transition:transform .06s, color .06s;
}
.sdn-amount:focus { background:var(--tile-bg); }
.sdn-amount:hover{ transform:translateY(-1px); } .active:hover {background-color: var(--tile-bg); }
.sdn-amount.active{ color:var(--accent); }

/* eigener Betrag */
.sdn-custom{
  background:var(--tile-bg);
  padding:0 14px 0 18px;
  border:none;
  flex:0 0 auto;
  width:auto;
  white-space:nowrap;
}
.sdn-custom input[type="number"]{
  width:15ch;
  border:none;
  background:transparent;
  outline:none;
  font-size:22px;
  line-height:1.1;
  color:var(--text);
  appearance:textfield;
}
.sdn-currency{
  font-size:22px;
  color:var(--muted);
  padding-left:8px;
  white-space:nowrap;
}

/* REIHE 2: Selects */
.sdn-selects{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:var(--gap);
}

.sdn-select{
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--tile-h);
  background: var(--tile-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 18px;
  display: flex;
  align-items: center;
}

/* Native Select reset */
.sdn-select select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0 !important;
  outline: 0 !important;
  background: transparent;
  box-shadow: none !important;
  width: 100%;
  height: var(--tile-h);
  line-height: var(--tile-h);
  padding: 0 40px 0 2px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
}
.sdn-select select::-ms-expand{ display:none; }

.sdn-select::after{
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--muted);
  pointer-events: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path d='M143 352.3L7 216.3c-9.3-9.3-9.3-25.3 0-34.6l22.6-22.6c9.3-9.4 24.5-9.4 33.9 0L160 255.6l96.6-96.6c9.4-9.4 24.6-9.4 34 0l22.4 22.6c9.4 9.4 9.4 24.6 0 34L177 352.3c-9.4 9.4-24.6 9.4-34 0z'/></svg>") no-repeat center/100% 100%;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path d='M143 352.3L7 216.3c-9.3-9.3-9.3-25.3 0-34.6l22.6-22.6c9.3-9.4 24.5-9.4 33.9 0L160 255.6l96.6-96.6c9.4-9.4 24.6-9.4 34 0l22.4 22.6c9.4 9.4 9.4 24.6 0 34L177 352.3c-9.4 9.4-24.6 9.4-34 0z'/></svg>") no-repeat center/100% 100%;
}

.sdn-select:hover{ transform: translateY(-1px); }
.sdn-select:focus-within{
  box-shadow: 0 0 0 3px rgba(241,133,32,.35), var(--shadow);
}
.sdn-select:focus-within::after{ color: var(--accent); }

.sdn-select select option{
  background: var(--tile-bg);
  color: var(--text);
}

/* Submit */
.sdn-submit{
  background:var(--accent);
  color:#fff;
  border:none;
  padding:0 24px;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .06s, box-shadow .1s, background .1s;
}
.sdn-submit:hover{ transform:translateY(-1px); }
.sdn-submit:disabled{ opacity:.6; cursor:not-allowed; }

/* Responsive */
@media (max-width: 1020px){
  .sdn-grid{ grid-template-columns: 1fr; row-gap: 18px; }
  .sdn-col-right{ justify-content:center; }
  .sdn-amounts{ flex-wrap:wrap; row-gap: var(--gap); justify-content: space-between; }
  .sdn-selects{ grid-template-columns: 1fr; }
  .sdn-submit{ width: auto; }
}
@media (max-width: 680px){
  .sdn-custom input[type="number"]{ width: 10ch; min-width: 200px; }
  .sdn-custom { width: 100%; }
}/* === Wrapper === */
.sds-wrap {
    --gap: 24px;
    --card-w: 240px; /* Breite einer Kachel */
    --radius: 22px;
    --start-gap: 200px; /* sichtbare Lücke links */
    --bg: #F5EEE9; /* Unterteil-Farbe */
    /*--title: #B01632;*/
    --badge-bg: #F18520;
    --badge-text: #fff;
    --badge-h: 28px; /* Badge-Höhe zur Naht-Zentrierung */
    --track: #eee; /* Indikator-Track */
    --indicator: #F18520; /* Indikator-Farbe */
    --indicator-h: 4px;
    --media-h: 200px; /* einheitliche Bildhöhe */
    position: relative;
    display: grid;
    row-gap: 16px;
    overflow: visible;
}

/* === Scroller (Scrollbar versteckt) + Indikator === */
.sds-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--card-w);
    gap: var(--gap);
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0 16px var(--start-gap);
    cursor: grab;
    -webkit-user-drag: none;

    /* Scrollbar ausblenden */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge Legacy */
}

.sds-scroll:active {
    cursor: grabbing;
}

.sds-scroll::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

/* Progress-Indikator unten */
.sds-indicator {
    position: relative;
    height: var(--indicator-h);
    background: var(--track) !important;
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
}

.sds-indicator .bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 120px;
    background: var(--indicator) !important;
    border-radius: 999px;
    transition: left .08s linear, width .08s linear;
    cursor: grab;
}

.sds-indicator .bar.is-dragging,
.sds-indicator .bar:active {
    cursor: grabbing;
}

/* === Kachel ohne Shadow === */
.sds-card {
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg) !important;
    display: flex;
    flex-direction: column;
}

/* Bildbereich (oben) */
.sds-media {
    position: relative;
    height: var(--media-h);
    overflow: visible; /* damit das Badge überstehen darf */
}

.sds-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover; /* kein Verzerren, nur Beschnitt */
    object-position: 50% 35%;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

/* Badge exakt auf der Naht Bild/Unterteil – zentriert */
.sds-badge {
    position: absolute;
    left: 50%;
    bottom: calc(var(--badge-h) / -2);
    transform: translateX(-50%);
    height: var(--badge-h);
    line-height: var(--badge-h);
    padding: 0 12px;
    background: var(--badge-bg) !important;
    color: var(--badge-text) !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 2;
}

/* Unterer Bereich (zweiter „Block“) */
.sds-body {
    padding: calc(var(--badge-h) / 2 + 12px) 16px 16px;
    text-align: center;
    line-height: 1em;
}

.sds-title {
    margin: 0;
    color: #B01632 !important;
}

/* Während Drag: keine Textselektion global */
.sds-noselect, .sds-noselect * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.sds-desc {
    color: black;
}

/* Optik fürs Draggen */
.sds-scroll.is-dragging {
    cursor: grabbing;
}

/* Responsiv */
@media (max-width: 768px) {
    .sds-wrap {
        --card-w: 200px;
        --gap: 16px;
        --media-h: 180px;
    }
}

/* === Grid Modus === */
.sds-grid-mode .sds-scroll,
.sds-grid-mode .sds-indicator {
    display: none;
}

.sds-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-min, 220px), 1fr));
}

.sds-grid .sds-card {
    text-decoration: none !important;
    color: inherit !important;
}

.sds-grid .sds-card:hover .sds-title {
    text-decoration: none;
}

.sds-grid .sds-desc {
    margin-top: 12px;
}.srp-grid{
  --cols: 3;
  --gap: 28px;
  --radius: 28px;
  --tile-bg: #F5EEE9;
  --title: #B01632;
  --date: #1E3245;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0,1fr));
  gap: var(--gap);
}
@media (max-width: 1024px){
  .srp-grid{ --cols: 2; }
}
@media (max-width: 640px){
  .srp-grid{ --cols: 1; }
}

/* gesamte Karte als Link */
.srp-card{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--tile-bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease;
  color: inherit;
}
.srp-card:focus-visible{ outline: 2px solid #B01632; outline-offset: 2px; }
.srp-card:hover{ transform: translateY(-2px); }

/* Bild */
.srp-media{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.srp-media img{
  width: 100%; height: 100%; object-fit: cover; display:block;
}

/* Content */
.srp-body{
  padding: 18px 22px 22px;
  display:flex; flex-direction:column; gap:10px;
}
.srp-title{
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  text-align: center;
  color: var(--title);
}
.srp-date{
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
  color: var(--date);
}.ps-wrap{ --accent:#B01632; --link:#1E3245; }
.ps-year{ color:var(--accent); font-weight:700; font-size:28px; line-height:1.2; margin:28px 0 10px; }
.ps-list{ list-style:none; padding:0; margin:0 0 28px 0; }
.ps-list li{ margin:7px 0; }
.ps-list a{ color:var(--link); text-decoration:none; }
.ps-list a:hover{ text-decoration:underline; }
.ps-date{ opacity:.85; }/* ====== Grid ====== */
.stg-tiles{
  --accent: #F18520; /* Icon/Titel */
  --bar-bg: #F5EEE9; /* unterer Bereich & Kartenhintergrund */
  --gap: 24px;
  --radius: 22px;
  --lift: 48px;      /* wie weit der untere Bereich nach oben fährt (px) */
  --title-color: var(--accent);
  --text: #3C3C3C;
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0,1fr));
  gap: var(--gap);
}
@media (max-width: 1024px){
  .stg-tiles{ grid-template-columns: repeat(var(--cols-tab, 2), minmax(0,1fr)); }
}
@media (max-width: 680px){
  .stg-tiles{ grid-template-columns: repeat(var(--cols-mob, 1), minmax(0,1fr)); }
}

/* ====== Card ====== */
.stg-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bar-bg);         /* komplette Kachel in BG-Farbe *
  display: flex;
  flex-direction: column;            /* damit die Bar den Rest füllt */
}

.stg-media{
  position: relative;
  aspect-ratio: 4 / 3;               /* anpassbar über Control */
  overflow: hidden;
}
.stg-media img{
  width: 100%;
  height: 100%!important;
  object-fit: cover;         /* füllt aus, ohne zu verzerren */
  object-position: 50% 15%;  /* Fokus höher: 0%=oben, 50%=Mitte. z.B. 15% */
  display: block;
}

/* ====== Bottom Bar – fährt bei Hover/Klick nach oben ====== */
.stg-bar{
  position: relative;
  z-index: 2;
  background: var(--bar-bg);
  color: var(--text);
  padding: 20px 18px 24px;
  text-align: center;

  /* zentriert */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* Bar füllt den verbleibenden Platz der Karte */
  flex: 1 1 auto;

  transform: translateY(0);
  transition: transform .28s ease;
}

/* Stabiler Text: zwei Schichten übereinander */
.stg-title{
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 600!important;
  color: var(--title-color)!important;
}
.stg-textwrap{
  position: relative;
  width: 100%;
  min-height: 40px;                 /* genug Platz für Sub/More → kein Springen */
}
.stg-sub, .stg-more{
  position: absolute;
  left: 0; right: 0;
  top: 0;
  padding: 0 6px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text);
  opacity: 0;
  transition: opacity .2s ease;
}
.stg-sub{ opacity: 1; }

/* Desktop: bei Hover über die gesamte Karte */
@media (hover:hover){
  .stg-card:hover .stg-bar{ transform: translateY(calc(-1 * var(--lift))); }
  .stg-card:hover .stg-sub{ opacity: 0; }
  .stg-card:hover .stg-more{ opacity: 1; }
}

/* Toggle-Zustand (für Touch/Click & Pfeil) */
.stg-card.is-open .stg-bar{
  transform: translateY(calc(-1 * var(--lift)));
}
.stg-card.is-open .stg-sub{ opacity: 0; }
.stg-card.is-open .stg-more{ opacity: 1; }

/* Icon/Bubble – 50/50 über der Kante zwischen Bild und Bar */
.stg-knot{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 32px; height: 32px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 91 90'><path d='M32.2695 2.57143L47.1135 0L73.5745 7.07143L91 27V47.5714L87.1277 71.3571L55.5035 90H35.4965L10.3262 75.8571L0 61.0714V34.0714L12.9078 11.5714L32.2695 2.57143Z' fill='%23F18500'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: grid; place-items: center;
  z-index: 4;                        /* über evtl. Links & Bar */
  cursor: pointer;
}
.stg-knot svg.chev {
  width: 16px;      /* Größe anpassen */
  height: 16px;
  fill: #fff;       /* Farbe des Icons */
  transition: transform .25s ease;
}

/* Rotation bei Hover oder offenem Zustand */
@media (hover:hover){
  .stg-card:hover .stg-knot svg.chev { transform: rotate(180deg); }
}
.stg-card.is-open .stg-knot svg.chev { transform: rotate(180deg); }

/* Optionaler Link über gesamte Karte (Pfeil bleibt klickbar) */
.stg-link{ position:absolute; inset:0; z-index:3; }

/* Fokus-Styles für Accessibility */
.stg-bar:focus-visible,
.stg-card.is-open .stg-bar:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}/* Wrapper + Grid */
.szsM2-wrap{
  --content-bg: #F5EEE9;   /* rechte Hälfte */
  --img-min-h: 480px;      /* Desktop-Mindesthöhe für die Bildseite */
  --focus-x: 50%;
  --focus-y: 50%;
  position: relative;
  overflow: hidden;        /* wichtig: Maske schneidet außen sauber ab */
}
.szsM2-grid{
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 */
  align-items: stretch;
  min-height: var(--img-min-h);
}

/* Spalten */
.szsM2-media,
.szsM2-content{
  position: relative;
  isolation: isolate;
}
.szsM2-media img{
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  object-position: var(--focus-x) var(--focus-y);
  display: block;
}
.szsM2-content{
  background: var(--content-bg);
  padding: clamp(20px,3vw,56px) clamp(16px,3vw,64px);
  /* NEU: vertikal zentrieren */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Bild rechts umschalten */
.szsM2-wrap.is-reverse .szsM2-grid{ direction: rtl; }
.szsM2-wrap.is-reverse .szsM2-media,
.szsM2-wrap.is-reverse .szsM2-content{ direction: ltr; }

/* Responsiv: stapeln */
@media (max-width: 900px){
  .szsM2-grid{ grid-template-columns: 1fr; }
  .szsM2-media{ order: 1; }
  .szsM2-content{ order: 2; }
}.stp-counter{
  --num-color: #B01632;
  --label-color: #1E3245;
  --num-size: 72px;     /* Desktop (Fallback) */
  --label-size: 22px;   /* Desktop (Fallback) */
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stp-counter .stp-num{
  font-weight: 800;
  line-height: 1;
  font-size: var(--num-size);
  color: var(--num-color);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.stp-counter .stp-label{
  font-weight: 400;
  line-height: 1.25;
  font-size: var(--label-size);
  color: var(--label-color);
}

/* Tablet */
@media (max-width:1024px){
  .stp-counter{
    --num-size: var(--num-size-tab, var(--num-size));
    --label-size: var(--label-size-tab, var(--label-size));
  }
}
/* Mobile */
@media (max-width:640px){
  .stp-counter{
    --num-size: var(--num-size-mob, var(--num-size));
    --label-size: var(--label-size-mob, var(--label-size));
  }
}/* Farbbasis */
:root{
  --unf-text: #1E3245;
  --unf-accent: #F18520;
  --unf-tile: #F5EEE9;
}

/* Widget-Wrapper */
.unf-wrap{
  --cols: 6;
  --cols-tab: 4;
  --cols-mob: 2;
  --gap: 20px;
  --radius: 18px;
  --fade: 600ms; /* wird von Widget überschrieben */
}

/* Viewport hält die Höhe, Stages liegen übereinander */
.unf-viewport{
  position: relative;
  overflow: hidden;
}

/* Stage-Grids (aktuelles / nächstes Set) */
.unf-stage{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--fade) ease;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0,1fr));
  gap: var(--gap);
}
@media (max-width: 1024px){
  .unf-stage{ grid-template-columns: repeat(var(--cols-tab), minmax(0,1fr)); }
}
@media (max-width: 640px){
  .unf-stage{ grid-template-columns: repeat(var(--cols-mob), minmax(0,1fr)); }
}

/* Sichtbarkeitsschichten */
.unf-stage.is-active{ opacity: 1; z-index: 2; }
.unf-stage.is-back  { opacity: 0; z-index: 1; }

/* Einzelelement */
.unf-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.unf-card{
  width: 100%;
  background: var(--unf-tile);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 24px rgba(0,0,0,.06);
}
.unf-logo{
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
}
.unf-logo img{
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}
.unf-name{
  text-align: center;
  color: var(--unf-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  min-height: 2.6em;        /* opt. 2 Zeilen Platz, verhindert „Springen“ */
}

/* wenn Namen ausgeblendet werden */
.unf-wrap[data-show-names="0"] .unf-name{ display: none; min-height: 0; }/* Farben */
:root{
  --steps-accent: #F18520;
  --steps-text:   #1E3245;
  --tile-bg:      #F5EEE9;
}

/* Wrapper */
.un-grid{
  --cols: 6;
  --cols-tab: 4;
  --cols-mob: 2;
  --gap: 20px;
  --radius: 18px;
}

/* Tabs */
.un-tabs{
  display:flex; flex-wrap:wrap; gap:10px;
  margin: 0 0 16px 0;
}
.un-tab{
  padding: 8px 14px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  line-height:1;
}
.un-tab.is-active{
  background: #B01632;
  color: #fff;
}

/* Grid */
.un-gridlist{
  display:grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--gap);
}
@media (max-width: 1024px){
  .un-gridlist{ grid-template-columns: repeat(var(--cols-tab), minmax(0,1fr)); }
}
@media (max-width: 640px){
  .un-gridlist{ grid-template-columns: repeat(var(--cols-mob), minmax(0,1fr)); }
}

/* Karte */
.un-card{
  background: var(--tile-bg);
  border-radius: var(--radius);
  padding: 16px;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  text-align:center;
}
.un-logo{
  width:100%; aspect-ratio: 1 / 1;
  display:grid; place-items:center;
  border-radius: calc(var(--radius) - 8px);
  overflow:hidden;
}
.un-logo img{
  width: 80%; height: 80%; object-fit: contain; display:block;
}
.un-name{
  color: var(--steps-text);
  font-size: 14px; line-height: 1.3;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
}

/* Verstecken */
.un-hidden{ display:none !important; }

/* Button */
.un-more{
  margin-top: 18px;
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--steps-accent);
  color:#fff; font-weight:700; border:0; cursor:pointer;
}
.un-more[hidden]{ display:none !important; }/* === Contags Scroll Cards – Layout === */
.ctg-sc-wrap{
  --cols-desktop: 4;        /* Karten pro Reihe auf Desktop */
  --cols-tablet: 2;
  --cols-mobile: 1;
  --gap: 24px;              /* Abstand zwischen Karten */
  --card-radius: 20px;
  --card-bg: #F5EEE9;
  --image-ratio: 16/9;      /* Bild-Seitenverhältnis */
  --accent: #ff7a00;        /* Orange (Indikator) */
  --track: #eee;            /* Track-Farbe unter dem Balken */
  --indicator-h: 4px;
  --indicator-w: 120px;     /* fixe Balkenbreite (optional proportional) */
  --indicator-radius: 999px;
  --start-gap: 200px;       /* Sichtbarer freier Bereich links bei scrollLeft:0 */
  position: relative;
  display: grid;
  row-gap: 16px;
  overflow: visible;
}

/* Scroll-Container – sichtbare Scrollbar, Startlücke links über padding-left */
.ctg-sc-scroll{
  display: flex;
  align-items: stretch;
  gap: var(--gap);
  overflow-x: auto;         /* Scrollbar sichtbar lassen */
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-left: var(--start-gap);
  padding-bottom: 12px;     /* Platz für Indikator */
  cursor: grab;
  -webkit-user-drag: none;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge Legacy */
}

.ctg-sc-scroll::-webkit-scrollbar {
  display: none;       /* Chrome, Safari */
  height: 0;
  width: 0;
}

/* Karten */
.ctg-sc-card{
  flex: 0 0 calc((100% - (var(--gap) * (var(--cols-desktop) - 1))) / var(--cols-desktop));
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.ctg-sc-link{
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.ctg-sc-figure{
  aspect-ratio: var(--image-ratio);
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.ctg-sc-figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none; /* verhindert Markieren beim Drag */
}

.ctg-sc-body{ padding: 16px 20px 18px; }
.ctg-sc-title{
  margin: 0 0 6px 0;
  font-size: 1.125rem;
  line-height: 1.25;
  color: #cc2f2f;  /* steps-Rot – bei Bedarf als Control ausgeben */
  font-weight: 400; /* normal */
  text-align: center;
}
.ctg-sc-sub{
  margin: 0;
  font-size: .95rem;
  color: #555;
  text-align: center;
}

/* Indikator-Zeile */
.ctg-sc-indicator{
  position: relative;
  height: var(--indicator-h);
  background: var(--track);
  border-radius: var(--indicator-radius);
  overflow: hidden;
  cursor: pointer;
}
.ctg-sc-indicator .bar{
  position: absolute;
  left: 0;
  top: 0; height: 100%;
  width: var(--indicator-w);
  background: var(--accent);
  border-radius: var(--indicator-radius);
  will-change: left, width;
  transition: left .08s linear, width .08s linear;
  cursor: grab;
}
.ctg-sc-indicator .bar.is-dragging,
.ctg-sc-indicator .bar:active{
  cursor: grabbing;
}

/* Responsiv: Tablet 2, Mobil 1 Karte sichtbar */
@media (max-width: 1024px){
  .ctg-sc-card{ flex-basis: calc((100% - (var(--gap) * (var(--cols-tablet) - 1))) / var(--cols-tablet)); }
}
@media (max-width: 680px){
  .ctg-sc-card{ flex-basis: calc((100% - (var(--gap) * (var(--cols-mobile) - 1))) / var(--cols-mobile)); }
}

/* Während Drag globale Selektion ausschalten */
.ctg-sc-noselect, .ctg-sc-noselect *{
  -webkit-user-select: none !important;
  user-select: none !important;
}
.ctg-sc-scroll.is-dragging{ cursor: grabbing; }/* === Wrapper === */
.sds-wrap {
    --gap: 24px;
    --card-w: 240px; /* Breite einer Kachel */
    --radius: 22px;
    --start-gap: 200px; /* sichtbare Lücke links */
    --bg: #F5EEE9; /* Unterteil-Farbe */
    /*--title: #B01632;*/
    --badge-bg: #F18520;
    --badge-text: #fff;
    --badge-h: 28px; /* Badge-Höhe zur Naht-Zentrierung */
    --track: #eee; /* Indikator-Track */
    --indicator: #F18520; /* Indikator-Farbe */
    --indicator-h: 4px;
    --media-h: 200px; /* einheitliche Bildhöhe */
    position: relative;
    display: grid;
    row-gap: 16px;
    overflow: visible;
}

/* === Scroller (Scrollbar versteckt) + Indikator === */
.sds-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--card-w);
    gap: var(--gap);
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0 16px var(--start-gap);
    cursor: grab;
    -webkit-user-drag: none;

    /* Scrollbar ausblenden */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge Legacy */
}

.sds-scroll:active {
    cursor: grabbing;
}

.sds-scroll::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

/* Progress-Indikator unten */
.sds-indicator {
    position: relative;
    height: var(--indicator-h);
    background: var(--track) !important;
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
}

.sds-indicator .bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 120px;
    background: var(--indicator) !important;
    border-radius: 999px;
    transition: left .08s linear, width .08s linear;
    cursor: grab;
}

.sds-indicator .bar.is-dragging,
.sds-indicator .bar:active {
    cursor: grabbing;
}

/* === Kachel ohne Shadow === */
.sds-card {
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg) !important;
    display: flex;
    flex-direction: column;
}

/* Bildbereich (oben) */
.sds-media {
    position: relative;
    height: var(--media-h);
    overflow: visible; /* damit das Badge überstehen darf */
}

.sds-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover; /* kein Verzerren, nur Beschnitt */
    object-position: 50% 35%;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

/* Badge exakt auf der Naht Bild/Unterteil – zentriert */
.sds-badge {
    position: absolute;
    left: 50%;
    bottom: calc(var(--badge-h) / -2);
    transform: translateX(-50%);
    height: var(--badge-h);
    line-height: var(--badge-h);
    padding: 0 12px;
    background: var(--badge-bg) !important;
    color: var(--badge-text) !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 2;
}

/* Unterer Bereich (zweiter „Block“) */
.sds-body {
    padding: calc(var(--badge-h) / 2 + 12px) 16px 16px;
    text-align: center;
    line-height: 1em;
}

.sds-title {
    margin: 0;
    color: #B01632 !important;
}

/* Während Drag: keine Textselektion global */
.sds-noselect, .sds-noselect * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.sds-desc {
    color: black;
}

/* Optik fürs Draggen */
.sds-scroll.is-dragging {
    cursor: grabbing;
}

/* Responsiv */
@media (max-width: 768px) {
    .sds-wrap {
        --card-w: 200px;
        --gap: 16px;
        --media-h: 180px;
    }
}

/* === Grid Modus === */
.sds-grid-mode .sds-scroll,
.sds-grid-mode .sds-indicator {
    display: none;
}

.sds-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-min, 220px), 1fr));
}

.sds-grid .sds-card {
    text-decoration: none !important;
    color: inherit !important;
}

.sds-grid .sds-card:hover .sds-title {
    text-decoration: none;
}

.sds-grid .sds-desc {
    margin-top: 12px;
}/* === Contags Zigzag (single-file) === */
.ctg-zigzag-wrap{
  position: relative;
  overflow: hidden;

  /* Variablen */
  --row-height: 360px;
  --gap: 0px;
  --radius: 0px;
  --zigzag: 36px;      /* nur Fallback */
  --below-bg: #ffffff; /* nur Fallback */

  /* Gekachelte SVG-Maske: Höhe = 100% des Wrappers, Breite auto (hält Seitenverhältnis) */
  -webkit-mask-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ2NyIgaGVpZ2h0PSI0NTUiIHZpZXdCb3g9IjAgMCAxNDY3IDQ1NSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNLTEgMCBMMTg0IDEwIEw0MDggMCBMNTM1IDggSDYwNyBMNzM2IDE4IEwxMTYwIDAgTDEzNDggMTAgTDE0NjggMCBWNDU1IEwxMjkyIDQzNSBMMTA1MSA0NTUgTDcxMSA0MzUgTDMxMCA0NTUgTDEyMCA0NDIgTC0xIDQ1NSBaIiBmaWxsPSIjMDAwIi8+Cjwvc3ZnPg==');
  mask-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ2NyIgaGVpZ2h0PSI0NTUiIHZpZXdCb3g9IjAgMCAxNDY3IDQ1NSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNLTEgMCBMMTg0IDEwIEw0MDggMCBMNTM1IDggSDYwNyBMNzM2IDE4IEwxMTYwIDAgTDEzNDggMTAgTDE0NjggMCBWNDU1IEwxMjkyIDQzNSBMMTA1MSA0NTUgTDcxMSA0MzUgTDMxMCA0NTUgTDEyMCA0NDIgTC0xIDQ1NSBaIiBmaWxsPSIjMDAwIi8+Cjwvc3ZnPg==');
  -webkit-mask-size: auto 100%;
  mask-size: auto 100%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: left bottom;
  mask-position: left bottom;
}

.ctg-zigzag-row{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  height: var(--row-height);
}

.ctg-zigzag-item,
.ctg-zigzag-item img{
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  object-position: center;
}

.ctg-zigzag-item img{
  display: block;
  border-radius: var(--radius);
}

/* Fallback, falls Masken nicht unterstützt werden */
@supports not ((mask-image: url()) or (-webkit-mask-image: url())) {
  .ctg-zigzag-wrap::after{
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: var(--zigzag);
    z-index: 2;
    background:
      linear-gradient(-45deg, transparent calc(var(--zigzag) * 0.5), var(--below-bg) 0) 0 0 / var(--zigzag) var(--zigzag) repeat-x,
      linear-gradient( 45deg, transparent calc(var(--zigzag) * 0.5), var(--below-bg) 0) 0 0 / var(--zigzag) var(--zigzag) repeat-x;
    pointer-events: none;
  }
}

/* Tablet/Mobile: 2 Bilder, Höhe dynamisch – Maske bleibt prozentual */
@media (max-width: 1024px){
  .ctg-zigzag-row{
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .ctg-zigzag-item{ aspect-ratio: 4 / 3; }
  .ctg-zigzag-item:nth-child(n+3){ display: none; }
}

@media (max-width: 480px){
  .ctg-zigzag-item{ aspect-ratio: 3 / 2; }
}