/* ==========================================================================
   Block „Layout“ (columns, Core\Layout) – blocks side by side in a grid
   <section class="sec sec--layout bg-white"><div class="wrap lay-grid lay-grid--2-1 lay-v-top lay-gap-normal">
     <div class="lay-col lay-col--w2"><div class="lay-item sec--richtext"><div class="wrap">…</div></div></div>
     <div class="lay-col lay-col--w1"><div class="lay-item sec--cta v-box sec lay-item--card bg-dark"><div class="wrap">…</div></div></div>
   </div></section>
   Only loaded if the page contains a layout. The kit file public/assets/kits/{name}/css/layout.css replaces it.
   Customizable (on the kit, e.g. :root or .lay-grid):
     --lay-gap-s, --lay-gap, --lay-gap-l   gap between the columns (small, normal, large) – also when stacked
     --lay-stack          width of the content area below which the columns stack (default 700px ≈ window < 768 px)
     --lay-stack-tablet   the same for „Schon auf Tablets untereinander“ (default 940px ≈ window < 1024 px)
     --lay-item-gap       gap between blocks in the same column
     --lay-card-pad, --lay-card-radius   card (block with its own background)
   Stacking without media query (kits can set the breakpoint via variables): below --lay-stack flex-basis becomes huge
   (each column 100 %), above it 0 (shares via flex-grow = column weight). Reverse the order on mobile: wrap-reverse
   (stacked, the last column is on top; side by side everything stays the same, the alignment is mirrored to compensate).
   ========================================================================== */
.lay-grid{--lay-g:var(--lay-gap,clamp(28px,4vw,56px));--lay-al:flex-start;display:flex;flex-wrap:wrap;gap:var(--lay-g);align-items:var(--lay-al)}
.lay-gap-small{--lay-g:var(--lay-gap-s,clamp(16px,2vw,24px))}
.lay-gap-large{--lay-g:var(--lay-gap-l,clamp(40px,6vw,96px))}
.lay-v-center{--lay-al:center}.lay-v-bottom{--lay-al:flex-end}.lay-v-stretch{--lay-al:stretch}
.lay-rev{flex-wrap:wrap-reverse}
.lay-rev.lay-v-top{--lay-al:flex-end}.lay-rev.lay-v-bottom{--lay-al:flex-start}
.lay-grid>.lay-col{flex-grow:var(--lay-w,1);flex-shrink:1;flex-basis:calc((var(--lay-stack,700px) - 100%) * 999);min-width:0;
  display:flex;flex-direction:column;gap:var(--lay-item-gap,clamp(24px,3vw,40px))}
.lay-stack-tablet>.lay-col{flex-basis:calc((var(--lay-stack-tablet,940px) - 100%) * 999)}
.lay-col--w1{--lay-w:1}.lay-col--w2{--lay-w:2}.lay-col--w3{--lay-w:3}
/* Dragged widths in twelfths (Core\Layout::cleanWidths) */
.lay-col--w4{--lay-w:4}.lay-col--w5{--lay-w:5}.lay-col--w6{--lay-w:6}.lay-col--w7{--lay-w:7}.lay-col--w8{--lay-w:8}.lay-col--w9{--lay-w:9}.lay-col--w10{--lay-w:10}
/* Stretched: blocks fill the column height (cards of equal height) */
.lay-v-stretch>.lay-col>.lay-item:last-child{flex-grow:1}
/* Empty column (visitors): takes up space, shows nothing */
.lay-col--empty:not([data-lay-col]){min-height:0}
/* The block templates bring their own .wrap – in the column without max width and side margin */
.lay-grid>.lay-col>.lay-item>.wrap{max-width:none;width:auto;margin-inline:0;padding-inline:0}
.lay-item{min-width:0;margin:0}
/* Card: classes sec + bg-{name} like a section, but compact; padding on the block's .wrap */
.lay-item--card{border-radius:var(--lay-card-radius,16px);padding:0}
.lay-grid>.lay-col>.lay-item--card>.wrap,.lay-item--card:not(:has(>.wrap)){padding:var(--lay-card-pad,clamp(24px,3.5vw,40px))}
