/* Startseite (Neuauflage November 2026).
   Baut auf site.css auf (Farben, Schriften, Knöpfe, Formular bleiben).
   Leitidee: "im Passer". Wie beim Druck liegen die Farbauszüge Cyan, Magenta
   und Gelb erst versetzt und schieben sich dann deckungsgleich übereinander.
   Das passiert einmal beim Laden in der Überschrift und beim Wechsel des Artikels. */

:root {
  --p-cyan: #00A3E0;
  --p-mag: #E6007E;
  --p-gelb: #FFD900;
  --reg-blend: multiply;
  --druck-hell: #F4F4F1;
  --druck-dunkel: #1A1C20;
}
html[data-theme=dark] { --reg-blend: screen; }
@media (prefers-color-scheme: dark) { html:not([data-theme=light]) { --reg-blend: screen; } }

/* ── Hero ── */
.v-hero { padding: clamp(104px, 12vw, 148px) 0 clamp(44px, 6vw, 80px); }
.v-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.v-hero-copy { container-type: inline-size; }
.v-h1 { font-size: min(112px, 13.6cqi); line-height: .86; text-transform: uppercase; letter-spacing: -0.012em; margin-bottom: clamp(20px, 2.4vw, 32px); text-wrap: nowrap; }
.reg { display: block; position: relative; width: max-content; max-width: 100%; }
.v-hero-copy .lead { margin-bottom: 14px; max-width: 50ch; }
.v-kern { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.05; margin-bottom: clamp(24px, 3vw, 36px); text-wrap: balance; }

.js-motion .reg { animation: reg-k 1.15s var(--ease-io) both; animation-delay: calc(var(--i, 0) * 110ms); }
.js-motion .reg::before, .js-motion .reg::after {
  content: attr(data-t); position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none;
  mix-blend-mode: var(--reg-blend); animation: 1.15s var(--ease-io) both; animation-delay: calc(var(--i, 0) * 110ms);
}
.js-motion .reg::before { color: var(--p-cyan); animation-name: reg-c; }
.js-motion .reg::after { color: var(--p-mag); animation-name: reg-m; }
@keyframes reg-k { 0%, 55% { color: transparent; } 100% { color: var(--ink); } }
@keyframes reg-c { 0% { transform: translate(-.2em, .09em); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes reg-m {
  0% { transform: translate(.17em, -.07em); text-shadow: .12em .2em 0 var(--p-gelb); opacity: 0; }
  18% { opacity: 1; } 82% { opacity: 1; }
  100% { transform: none; text-shadow: 0 0 0 var(--p-gelb); opacity: 0; }
}

/* Namensfeld */
.v-try { margin-bottom: clamp(24px, 3vw, 34px); max-width: 620px; }
.v-try label { display: block; font-weight: 600; font-size: 16.5px; margin-bottom: 10px; }
.v-try-row { display: flex; gap: 10px; flex-wrap: wrap; }
.v-try input {
  flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 16px; background: var(--field); color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: var(--r); font-size: 17px; transition: border-color .15s;
}
.v-try input:hover { border-color: var(--ink); }
.v-try input:focus-visible { border-color: var(--magenta); outline-offset: 2px; }
.v-try input::placeholder { color: var(--muted); }
.v-tabs { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.v-tabs button { min-height: 49px; padding: 0 15px; border: 0; background: transparent; font-weight: 600; font-size: 15.5px; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease); }
.v-tabs button + button { border-left: 1.5px solid var(--ink); }
.v-tabs button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.v-tabs button:not([aria-pressed=true]):hover { background: var(--magenta-t); }
.v-tabs button:focus-visible { outline-offset: -4px; }
.v-try-note { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; }

/* Bühne */
.v-stage { min-width: 0; }
.v-sheet { position: relative; background: var(--sheet); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px var(--shadow); }
.v-garment { grid-area: 1 / 1; width: 108%; }
.v-garment[hidden] { display: none; }
.v-shot { position: relative; width: 100%; aspect-ratio: var(--ar, 1 / 1); }
.v-shot img { width: 100%; height: 100%; object-fit: cover; }
.v-shot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.js-motion .v-garment.rein { animation: v-rein .7s var(--ease-io) both; }
@keyframes v-rein { from { clip-path: inset(0 0 100% 0); transform: translateY(14px); } to { clip-path: inset(0 0 0 0); transform: none; } }

.v-mark { position: absolute; width: 30px; height: 30px; color: var(--magenta); }
.v-mark-a { left: 14px; top: 14px; }
.v-mark-b { right: 14px; bottom: 14px; }
.js-motion .v-mark { animation: v-mark 1.2s var(--ease) .25s both; }
@keyframes v-mark { from { transform: rotate(-135deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.v-strip { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 3px; }
.v-strip i { width: 13px; height: 13px; }
.v-strip i:nth-child(1) { background: var(--p-cyan); }
.v-strip i:nth-child(2) { background: var(--p-mag); }
.v-strip i:nth-child(3) { background: var(--p-gelb); }
.v-strip i:nth-child(4) { background: #14161A; }
.js-motion .v-strip i { animation: v-strip .5s var(--ease) both; animation-delay: calc(.5s + var(--n, 0) * 90ms); }
.v-strip i:nth-child(2) { --n: 1; } .v-strip i:nth-child(3) { --n: 2; } .v-strip i:nth-child(4) { --n: 3; }
@keyframes v-strip { from { transform: scaleY(0); } to { transform: none; } }
.v-strip i { transform-origin: bottom; }

/* Aufdruck */
.v-ink text, .v-ghost text { font-family: var(--f-display); font-weight: 800; text-anchor: middle; letter-spacing: .01em; }
.v-ink text { fill: var(--druck-hell); opacity: .94; }
.v-ink.dunkel text { fill: var(--druck-dunkel); opacity: .9; }
.v-area { fill: none; stroke: var(--p-mag); stroke-width: 2.5; stroke-dasharray: 9 7; }
.v-area-t { font-family: var(--f-mono); font-size: 26px; fill: var(--p-mag); text-anchor: middle; }
[data-print].dunkel-stoff .v-area, [data-print].dunkel-stoff .v-area-t { stroke: #FF7CC4; }
[data-print].dunkel-stoff .v-area-t { fill: #FF7CC4; stroke: none; }
.v-ghost { mix-blend-mode: screen; pointer-events: none; opacity: 0; }
.v-ghost.c text { fill: var(--p-cyan); } .v-ghost.m text { fill: var(--p-mag); } .v-ghost.y text { fill: var(--p-gelb); }
.dunkel + .v-ghost, .v-ink.dunkel ~ .v-ghost { mix-blend-mode: multiply; }
.js-motion .flick .v-ghost { animation: v-ghost .6s var(--ease-io) both; }
.js-motion .flick .v-ghost.c { --gx: -22px; --gy: 9px; }
.js-motion .flick .v-ghost.m { --gx: 19px; --gy: -8px; }
.js-motion .flick .v-ghost.y { --gx: 6px; --gy: 17px; }
@keyframes v-ghost { 0% { transform: translate(var(--gx), var(--gy)); opacity: .95; } 70% { opacity: .9; } 100% { transform: none; opacity: 0; } }
.js-motion .flick .v-ink { animation: v-inkin .6s var(--ease-io) both; }
@keyframes v-inkin { 0%, 45% { opacity: 0; } 100% { opacity: 1; } }
.v-caret { fill: var(--p-mag); animation: v-blink 1s steps(1) infinite; }
@keyframes v-blink { 50% { opacity: 0; } }

.v-cap { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; justify-content: space-between; margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.v-cap b { color: var(--ink); font-weight: 600; }
.v-cap-price { font-variant-numeric: tabular-nums; }
.v-cap-price strong { color: var(--ink); font-weight: 600; }

@media (max-width: 1000px) {
  .v-hero-grid { grid-template-columns: 1fr; }
  .v-stage { max-width: 560px; }
}
@media (max-width: 520px) {
  .v-tabs { width: 100%; } .v-tabs button { flex: 1; padding: 0 8px; }
  .v-hero .hero-actions .btn { width: 100%; }
}

/* ── Laufband ── */
.v-band { overflow: hidden; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: clamp(10px, 1.6vw, 20px) 0; background: var(--sheet); }
.v-band-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.v-band-track span {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(44px, 7.4vw, 108px); line-height: 1; color: var(--ink);
}
.v-band-track span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.v-band-track i {
  flex: none; width: clamp(26px, 3.6vw, 52px); aspect-ratio: 1; margin: 0 clamp(18px, 2.6vw, 40px); background: var(--magenta);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='15' fill='none' stroke='%23000' stroke-width='4'/%3E%3Cpath d='M32 4V60M4 32H60' stroke='%23000' stroke-width='3.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='15' fill='none' stroke='%23000' stroke-width='4'/%3E%3Cpath d='M32 4V60M4 32H60' stroke='%23000' stroke-width='3.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Sortiment ── */
.v-rail {
  display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  --rand: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  padding: 6px var(--rand) 28px; scroll-padding-left: var(--rand);
}
.v-rail::-webkit-scrollbar { display: none; }
.v-rail:focus-visible { outline-offset: -3px; }
.v-card { flex: 0 0 min(80vw, 372px); scroll-snap-align: start; background: var(--sheet); display: flex; flex-direction: column; border-bottom: 3px solid var(--ink); transition: border-color .25s var(--ease); }
.v-card:hover { border-color: var(--magenta); }
.v-card-fig { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 7%; overflow: hidden; }
.v-card-fig .v-shot { transition: transform .6s var(--ease); }
@media (hover: hover) { .v-card:hover .v-card-fig .v-shot { transform: scale(1.045) translateY(-1.5%); } }
.v-card-body { padding: 4px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.v-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.v-card-top h3 { font-size: 20px; }
.v-card-spec { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.v-card-price { margin: 18px 0 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.v-card-price strong { font-family: var(--f-display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--ink); margin: 0 4px 0 2px; }
.v-card-price small { display: block; font-size: 14px; margin-top: 5px; }
.v-card .btn { margin-top: auto; align-self: flex-start; }
.v-rail-ctl { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.v-rail-ctl .pr-note { margin: 0; }
.v-rail-btns { display: flex; gap: 8px; flex: none; }
.v-rail-btns button { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1.5px solid var(--ink); border-radius: var(--r); cursor: pointer; transition: background-color .18s, color .18s, opacity .18s; }
.v-rail-btns button svg { width: 18px; height: 18px; }
.v-rail-btns button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.v-rail-btns button:disabled { opacity: .3; cursor: default; }
@media (max-width: 700px) { .v-rail-btns { display: none; } }

/* ── Preisrechner: Stückzahl als Fläche ── */
.v-stack { margin: 6px 0 12px; }
.v-stack-grid { display: grid; grid-template-columns: repeat(25, 1fr); gap: 3px; }
.v-stack-grid i { aspect-ratio: 1; background: var(--line); transition: background-color .22s var(--ease), transform .22s var(--ease); }
.v-stack-grid i.an { background: var(--ink); }
.v-stack-grid i.stufe { box-shadow: 0 0 0 1.5px var(--magenta); position: relative; z-index: 1; }
.v-stack-grid i.stufe.an { background: var(--magenta); }
.v-stack-hint { font-size: 15px; color: var(--magenta); min-height: 1.55em; margin-bottom: 6px; font-weight: 500; }

/* ── Schluss: Erst sehen, dann entscheiden ── */
.v-echo-sec { background: var(--band); color: #fff; padding: clamp(96px, 15vw, 220px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.v-echo { position: relative; text-transform: uppercase; font-size: min(164px, 10.6vw); line-height: .86; letter-spacing: -0.012em; color: #fff; text-wrap: nowrap; }
.v-echo span { position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); pointer-events: none;
  transform: translateY(calc(var(--k) * -0.12em * (1 - var(--p, 1)))); opacity: calc((1 - var(--p, 1)) * (1.15 - var(--k) * .2) * 2.2); }
.v-echo span:nth-child(2) { -webkit-text-stroke-color: var(--p-mag); }
.v-echo-row { display: flex; gap: clamp(20px, 4vw, 64px); align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 56px); }
.v-echo-row p { color: #D3D7DB; font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; }
.v-echo-sec :focus-visible { outline-color: #fff; }

/* ── Handy: feste Leiste ── */
.v-bar { display: none; }
@media (max-width: 760px) {
  .v-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--nav-bg); box-shadow: 0 -1px 0 var(--line); transition: transform .3s var(--ease); }
  @supports (backdrop-filter: blur(1px)) { .v-bar { background: var(--nav-bg-blur); backdrop-filter: saturate(1.4) blur(14px); } }
  .v-bar[hidden] { display: flex; transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
  .v-bar .btn { flex: 1; min-width: 0; padding: 0 12px; }
  .v-bar-wa { flex: none; width: 52px; height: 52px; display: grid; place-items: center; background: #0E7A40; color: #fff; border-radius: var(--r); }
  .wa-float { display: none; }
  footer { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .v-caret { animation: none; }
  .v-card-fig .v-shot, .v-stack-grid i { transition: none; }
}

/* ── Transparenz-Umstellung 11.11.2026 ── */
.v-land { display: block; font-size: 14px; margin-top: 5px; color: var(--ink-2); }
.v-cap-land { display: block; }
.promises.promises-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .promises.promises-4 { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 860px) { .promises.promises-4 { grid-template-columns: 1fr; row-gap: 0; } }

/* ── Sortiment: zwei Bereiche, Direkt bestellen und Auf Anfrage (18.11.2026) ── */
.v-card { position: relative; }
.v-weg { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 5px 10px; border: 1.5px solid var(--line-2); background: var(--sheet); color: var(--ink-2); border-radius: var(--r); }
.v-weg-direkt { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.v-rail.v-raster { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; }
.v-rail.v-raster .v-card { flex: 1 1 260px; max-width: 372px; }
.v-rail.v-raster ~ .v-rail-ctl .v-rail-btns { display: none; }
.v-gruppe { flex: 0 0 100%; padding: 6px 0 4px; border-top: 3px solid var(--ink); }
.v-gruppe-direkt { border-top-color: var(--magenta); }
.v-gruppe-anfrage { margin-top: 36px; }
.v-gruppe h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; margin-top: 14px; }
.v-gruppe-direkt h3 { color: var(--magenta); }
.v-gruppe h3 span { font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--ink-2); margin-left: 10px; vertical-align: middle; }
.v-gruppe p { margin-top: 8px; color: var(--ink-2); max-width: 70ch; }
.v-cta-direkt { margin-left: 8px; }
/* Handy: zwei Spalten mit kompakten Karten statt einer langen Liste. */
@media (max-width: 700px) {
  .v-rail.v-raster { gap: 10px; }
  .v-rail.v-raster .v-card { flex: 1 1 150px; max-width: none; }
  .v-rail.v-raster .v-card-body { padding: 2px 12px 16px; }
  .v-rail.v-raster .v-card-top { flex-direction: column; gap: 2px; }
  .v-rail.v-raster .v-card-top h3 { font-size: 16px; }
  .v-rail.v-raster .v-card-spec, .v-rail.v-raster .v-land { display: none; }
  .v-rail.v-raster .v-card-price { margin: 10px 0 12px; padding-top: 10px; font-size: 13px; }
  .v-rail.v-raster .v-card-price strong { font-size: 26px; }
  .v-rail.v-raster .v-card .btn { font-size: 13px; padding: 8px 10px; align-self: stretch; text-align: center; }
  .v-weg { top: 8px; left: 8px; font-size: 11px; padding: 3px 7px; }
  .v-cta-direkt { margin: 10px 0 0; }
}
