/* Varianten: layouts */

/* =========================================================
   Collagen-Generator (gemeinsam für alle fünf Varianten)
   ========================================================= */
[data-slot="layouts"] .vl-c { position: relative; overflow: hidden; container-type: inline-size; background: #fff; isolation: isolate; }
[data-slot="layouts"] .vl-c__under,
[data-slot="layouts"] .vl-c__over { position: absolute; inset: 0; pointer-events: none; }
[data-slot="layouts"] .vl-c__under { z-index: 0; }
[data-slot="layouts"] .vl-c__over { z-index: 60; }
[data-slot="layouts"] .vl-deco { position: absolute; inset: 0; }
[data-slot="layouts"] .vl-ph { position: absolute; z-index: 1; will-change: transform; }
[data-slot="layouts"] .vl-ph__f { width: 100%; height: 100%; box-sizing: border-box; }
[data-slot="layouts"] .vl-ph__f img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
[data-slot="layouts"] .vl-d { position: absolute; }
[data-slot="layouts"] .vl-t { white-space: nowrap; line-height: 1.1; font-weight: 400; }
[data-slot="layouts"] .vl-pat { inset: 0; }
[data-slot="layouts"] .vl-tape {
  translate: -50% -50%;
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 16% 8%, 20% 0, 80% 0, 84% 9%, 88% 0, 92% 10%, 96% 0, 100% 8%, 100% 92%, 96% 100%, 92% 90%, 88% 100%, 84% 91%, 80% 100%, 20% 100%, 16% 92%, 12% 100%, 8% 90%, 4% 100%, 0 92%);
}
[data-slot="layouts"] .vl-svg { translate: -50% -50%; }
[data-slot="layouts"] .vl-svg svg { width: 100%; height: 100%; filter: drop-shadow(0 .3cqw .5cqw rgba(0,0,0,.12)); }
[data-slot="layouts"] .vl-pin { translate: -50% -50%; border-radius: 50%; box-shadow: inset -.25cqw -.3cqw .5cqw rgba(0,0,0,.28), 0 .5cqw .6cqw rgba(0,0,0,.25); }
[data-slot="layouts"] .vl-dots { display: flex; translate: 0 -50%; }
[data-slot="layouts"] .vl-dots i { display: block; border-radius: 50%; box-shadow: 0 0 0 .3cqw rgba(255,255,255,.7); }
[data-slot="layouts"] .vl-strip--film { background: #1a1714; box-shadow: 0 .8cqw 2cqw rgba(0,0,0,.22); }
[data-slot="layouts"] .vl-strip--film::before,
[data-slot="layouts"] .vl-strip--film::after {
  content: ''; position: absolute; top: 1.5%; bottom: 1.5%; width: calc(var(--u) * .065); left: calc(var(--u) * .045);
  background: repeating-linear-gradient(to bottom, #EFE9DF 0 calc(var(--u) * .045), transparent calc(var(--u) * .045) calc(var(--u) * .1));
  border-radius: calc(var(--u) * .01);
}
[data-slot="layouts"] .vl-strip--film::after { left: auto; right: calc(var(--u) * .045); }
[data-slot="layouts"] .vl-strip--booth { background: #FBFAF6; box-shadow: 0 .8cqw 2.2cqw rgba(0,0,0,.28); }
[data-slot="layouts"] .vl-lines { background: repeating-linear-gradient(to bottom, var(--c) 0 .55cqw, transparent .55cqw 1.6cqw); }
[data-slot="layouts"] .vl-bar { background: var(--b) content-box, #fff; padding: .8cqw 1cqw; box-sizing: border-box; }
[data-slot="layouts"] .vl-post {
  translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; box-sizing: border-box;
  border: calc(var(--u) * .03) solid rgba(38,52,96,.62); color: rgba(38,52,96,.72);
  font-family: 'Courier Prime', monospace; font-weight: 700; font-size: calc(var(--u) * .095); line-height: 1.25; text-align: center;
}
[data-slot="layouts"] .vl-post::after {
  content: ''; position: absolute; left: 70%; top: 30%; width: 120%; height: 40%;
  background: repeating-linear-gradient(to bottom, rgba(38,52,96,.5) 0 calc(var(--u) * .025), transparent calc(var(--u) * .025) calc(var(--u) * .11));
  border-radius: 40%;
}

/* =========================================================
   Variante 1 · Regler, aber vielfältig
   ========================================================= */
.vl1 { padding: clamp(90px, 11vw, 170px) 0 clamp(80px, 10vw, 150px); }
.vl1-bar { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); padding: 0 var(--pad); margin-bottom: clamp(30px, 4vw, 60px); }
.vl1-count { display: flex; align-items: baseline; gap: 10px; min-width: 5.4em; }
.vl1-count b { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 5.4vw, 84px); line-height: .9; font-variant-numeric: tabular-nums; min-width: 1.1em; text-align: right; }
.vl1-count span { font-size: 18px; color: var(--muted); }
.vl1-range { flex: 1; position: relative; padding-top: 10px; }
.vl1-range input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 0; display: block; cursor: pointer;
  background: linear-gradient(90deg, var(--ink) var(--p, 15.8%), #E2DDD5 var(--p, 15.8%));
}
.vl1-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.vl1-range input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.vl1-ticks { display: flex; justify-content: space-between; padding: 0 14px; margin-top: 12px; }
.vl1-ticks i { position: relative; width: 1px; height: 5px; background: #CFC9C0; }
.vl1-ticks i.is-big { height: 9px; background: #A9A39A; }
.vl1-ticks span { position: absolute; top: 14px; left: 50%; translate: -50% 0; font-size: 12px; font-style: normal; color: var(--muted); }
.vl1-mix svg { width: 18px; height: 18px; fill: currentColor; }
.vl1-cards { display: flex; gap: clamp(10px, 1.4vw, 22px); padding: 0 var(--pad); align-items: flex-start; }
.vl1-card { flex: var(--ar) 1 0; min-width: 0; margin: 0; }
.vl1-cv {
  display: block; width: 100%; aspect-ratio: var(--ar); border: 0; padding: 0; cursor: pointer; border-radius: 6px;
  box-shadow: 0 24px 44px -22px rgba(40,30,20,.38), 0 0 0 1px rgba(0,0,0,.04);
  transition: box-shadow .4s var(--ease), translate .4s var(--ease);
}
.vl1-cv:hover { translate: 0 -4px; box-shadow: 0 34px 54px -24px rgba(40,30,20,.45), 0 0 0 1px rgba(0,0,0,.05); }
.vl1-cv:focus-visible { outline: 2px solid var(--blau); outline-offset: 4px; }
.vl1-card figcaption { margin-top: 14px; line-height: 1.35; }
.vl1-card figcaption b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.vl1-card figcaption span { display: block; font-size: 13px; color: var(--muted); }
.vl1-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: clamp(24px, 3vw, 40px); padding: 0 var(--pad); }
@media (max-width: 860px) {
  .vl1-bar { flex-wrap: wrap; gap: 14px 18px; }
  .vl1-count { min-width: 0; flex: 1; }
  .vl1-range { order: 3; flex-basis: 100%; }
  .vl1-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .vl1-card:first-child { grid-column: span 2; width: 74%; justify-self: center; }
  .vl1-card figcaption b { font-size: 14px; }
  .vl1-card figcaption span { font-size: 12px; }
}

/* =========================================================
   Variante 2 · Eine grosse Collage
   ========================================================= */
.vl2 { position: relative; padding-top: clamp(40px, 6vw, 90px); }
.vl2-pin {
  height: 100vh; height: 100svh; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 70px); align-items: center; padding: 96px var(--pad) 36px;
}
.vl2-text .h2 { font-size: clamp(40px, 4.9vw, 86px); }
.vl2-text .lead { margin-top: 22px; font-size: clamp(16px, 1.25vw, 19px); max-width: 30em; }
.vl2-meta { margin-top: clamp(26px, 3.6vw, 52px); }
.vl2-num { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.vl2-lbl, .vl2-of { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.vl2-num b { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 5.6vw, 92px); line-height: .9; font-variant-numeric: tabular-nums; display: inline-block; }
.vl2-dl { display: grid; grid-template-columns: .6fr 1.2fr 1fr; gap: 16px; margin: 20px 0 0; }
.vl2-dl div { min-width: 0; }
.vl2-dl dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.vl2-dl dd { margin: 0; font-size: clamp(16px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.01em; display: inline-block; white-space: nowrap; }
.vl2-steps { display: flex; gap: 6px; margin-top: 26px; }
.vl2-steps i { width: 24px; height: 4px; border-radius: 4px; background: #E2DDD5; transition: background .3s, width .4s var(--ease); }
.vl2-steps i.is-on { background: var(--ink); width: 40px; }
.vl2-stage { position: relative; height: min(100%, 780px); min-height: 0; display: flex; align-items: center; justify-content: center; }
.vl2-canvas { flex: none; border-radius: 4px; box-shadow: 0 40px 80px -36px rgba(40,30,20,.5), 0 0 0 1px rgba(0,0,0,.04); }
.vl2-scroll { position: absolute; bottom: -24px; left: 50%; translate: -50% 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) {
  .vl2-pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding: 84px var(--pad) 38px; align-items: stretch; }
  .vl2-text .h2 { font-size: clamp(32px, 9vw, 44px); }
  .vl2-text .eyebrow { margin-bottom: 10px; }
  .vl2-text .lead { display: none; }
  .vl2-meta { margin-top: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
  .vl2-num { border: 0; padding: 0; gap: 8px; }
  .vl2-num b { font-size: 40px; }
  .vl2-of { display: none; }
  .vl2-dl { margin: 0; gap: 10px; grid-template-columns: auto auto auto; }
  .vl2-dl dt { font-size: 10px; }
  .vl2-dl dd { font-size: 13px; }
  .vl2-dl { min-width: 0; flex: 1; }
  .vl2-steps { display: none; }
  .vl2-stage { height: 100%; }
  .vl2-scroll { bottom: -26px; }
}

/* =========================================================
   Variante 3 · Würfeln
   ========================================================= */
.vl3 { padding: clamp(90px, 11vw, 170px) 0 clamp(80px, 10vw, 150px); }
.vl3-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: clamp(24px, 4vw, 64px); padding: 0 var(--pad); align-items: center; }
.vl3-table {
  position: relative; height: min(76vh, 740px); display: flex; align-items: center; justify-content: center; border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 40%, #F7F3EC 0%, var(--bg-2) 70%);
}
.vl3-canvas { flex: none; border-radius: 4px; box-shadow: 0 36px 70px -32px rgba(40,30,20,.5), 0 0 0 1px rgba(0,0,0,.04); }
.vl3-btn {
  display: inline-flex; align-items: center; gap: 14px; border: 0; cursor: pointer; background: var(--ink); color: #fff;
  font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.01em; padding: 20px 32px 20px 24px; border-radius: 99px;
  box-shadow: 0 18px 34px -16px rgba(0,0,0,.5); transition: translate .3s var(--ease), box-shadow .3s var(--ease);
}
.vl3-btn:hover { translate: 0 -3px; box-shadow: 0 24px 40px -16px rgba(0,0,0,.55); }
.vl3-btn:active { translate: 0 1px; }
.vl3-btn:focus-visible { outline: 2px solid var(--blau); outline-offset: 4px; }
.vl3-die { display: grid; place-items: center; width: 34px; height: 34px; }
.vl3-die svg { width: 100%; height: 100%; fill: currentColor; }
.vl3-info { margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line); padding-top: 22px; }
.vl3-no { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.vl3-no b { color: var(--ink); font-variant-numeric: tabular-nums; }
.vl3-st { font-family: var(--serif); font-size: clamp(38px, 3.6vw, 56px); line-height: 1; margin-top: 10px; letter-spacing: -.015em; }
.vl3-sub { margin-top: 10px; color: #5c5853; font-size: 16px; }
.vl3-hist { margin-top: clamp(26px, 3vw, 40px); }
.vl3-hist p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.vl3-minis { display: flex; flex-wrap: wrap; gap: 10px; min-height: 84px; align-items: flex-end; }
.vl3-mini { height: 84px; aspect-ratio: var(--ar); border: 0; padding: 0; border-radius: 3px; overflow: hidden; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.05); transition: translate .3s var(--ease); }
.vl3-mini:hover { translate: 0 -3px; }
.vl3-mini > div { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .vl3-stage { grid-template-columns: 1fr; gap: 22px; }
  .vl3-table { height: 64vh; height: 64svh; }
  .vl3-btn { width: 100%; justify-content: center; }
  .vl3-info { margin-top: 20px; padding-top: 16px; }
  .vl3-st { font-size: 34px; }
  .vl3-mini { height: 64px; }
  .vl3-minis { min-height: 64px; }
}

/* =========================================================
   Variante 4 · Wand der 529
   ========================================================= */
.vl4 { padding-top: clamp(90px, 11vw, 170px); }
.vl4 .section-head { margin-bottom: clamp(34px, 4.4vw, 64px); }
.vl4 .section-head .lead { margin-top: 22px; }
.vl4-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg-2); }
.vl4-wall { position: absolute; left: 0; top: 0; width: 100%; box-sizing: border-box; display: flex; gap: 12px; padding: 0 12px; will-change: transform; }
.vl4-col { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.vl4-m {
  position: relative; width: 100%; aspect-ratio: var(--ar); border-radius: 3px; overflow: hidden; cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(40,30,20,.45), 0 0 0 1px rgba(0,0,0,.04); transition: scale .35s var(--ease), box-shadow .35s var(--ease);
}
.vl4-m:hover { scale: 1.045; z-index: 2; box-shadow: 0 22px 40px -18px rgba(40,30,20,.55); }
.vl4-m.is-hero { box-shadow: 0 12px 26px -12px rgba(40,30,20,.5), 0 0 0 2px #fff; }
.vl4-cv { width: 100%; height: 100%; }
.vl4-big {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--serif); font-size: clamp(140px, 30vw, 460px); line-height: 1; letter-spacing: -.04em; color: #fff;
  text-shadow: 0 10px 60px rgba(0,0,0,.25);
}
.vl4-cap {
  position: absolute; left: 50%; bottom: 3.5vh; translate: -50% 0; opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); padding: 12px 22px; border-radius: 18px; text-align: center; white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.35); font-size: 14px; color: #5c5853;
}
.vl4-cap b { color: var(--ink); font-size: 15px; font-weight: 600; }
.vl4.is-reduced .vl4-pin { height: auto; overflow: visible; }
.vl4.is-reduced .vl4-wall { position: relative; }
.vl4.is-reduced .vl4-big, .vl4.is-reduced .vl4-cap { display: none; }
@media (max-width: 860px) {
  .vl4-wall { gap: 7px; padding: 0 7px; }
  .vl4-col { gap: 7px; }
  .vl4-cap { white-space: normal; width: calc(100% - 2 * var(--pad)); font-size: 13px; padding: 10px 14px; }
}

/* =========================================================
   Variante 5 · 1 bis 20
   ========================================================= */
.vl5 { padding-top: clamp(90px, 11vw, 170px); }
.vl5 .section-head { margin-bottom: clamp(20px, 3vw, 40px); }
.vl5-pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 44px); box-sizing: border-box; padding-top: 70px; }
.vl5-track { position: relative; display: flex; align-items: flex-end; gap: clamp(30px, 4.4vw, 80px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.vl5-panel { flex: none; display: flex; flex-direction: column; gap: 14px; opacity: .6; transition: opacity .5s var(--ease); }
.vl5-panel.is-active { opacity: 1; }
.vl5-head { display: flex; align-items: baseline; gap: 10px; }
.vl5-big { font-family: var(--serif); font-size: clamp(64px, 7.4vw, 128px); line-height: .8; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.vl5-w { font-size: 16px; color: var(--muted); }
.vl5-frame { height: min(52vh, 500px); aspect-ratio: var(--ar); align-self: flex-start; }
.vl5-cv { width: 100%; height: 100%; border-radius: 4px; box-shadow: 0 30px 56px -28px rgba(40,30,20,.48), 0 0 0 1px rgba(0,0,0,.04); }
.vl5-lab { line-height: 1.35; }
.vl5-lab b { display: block; font-size: 15px; font-weight: 600; }
.vl5-lab span { display: block; font-size: 13px; color: var(--muted); }
.vl5-end { flex: none; width: min(40vw, 520px); align-self: center; padding-right: var(--pad); }
.vl5-ruler { position: relative; display: flex; margin: 0 var(--pad); border-top: 1px solid #DDD7CE; }
.vl5-ruler i { flex: 1; position: relative; text-align: center; font-style: normal; font-size: 12px; color: #B9B3AA; padding-top: 12px; transition: color .3s; font-variant-numeric: tabular-nums; }
.vl5-ruler i::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 7px; background: currentColor; }
.vl5-ruler i.is-on { color: var(--ink); }
.vl5-cur { position: absolute; top: -5px; left: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); }
.vl5.is-reduced .vl5-pin { height: auto; overflow-x: auto; padding-bottom: 30px; }
.vl5.is-reduced .vl5-panel { opacity: 1; }
@media (max-width: 860px) {
  .vl5-frame { height: min(50svh, calc((100vw - 2 * var(--pad)) / var(--ar))); }
  .vl5-big { font-size: 64px; }
  .vl5-end { width: 76vw; }
  .vl5-ruler i { font-size: 9px; }
  .vl5-ruler i:nth-child(even) span { visibility: hidden; }
}
