/* Kartenstapel im Wohnfix-Stil (public/stapel.js): Foto zuerst, Physik, großer Stempel beim Ziehen, die Karte tönt sich ein.
   Farben aus styles.css: Lime statt Wohnfix-Blau, Schwarz für Nein. Lime nie als Text auf Weiß. */
.sk-stapel { position: relative; outline: none; text-align: left; }
.sk-stapel:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 32px; }
.sk { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: var(--night); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; color: #fff;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(var(--r, 0deg)) scale(var(--s, 1)); will-change: transform; }
.sk-voll .sk { touch-action: none; }
.sk.zieht { cursor: grabbing; }
.sk.federt { transition: transform .45s cubic-bezier(.2, .9, .25, 1.2); }
.sk.fliegt { transition: transform .38s cubic-bezier(.3, .6, .4, 1), opacity .38s; }
.sk.wartet { --s: calc(.93 + .07 * var(--nah, 0)); --y: calc(16px - 16px * var(--nah, 0)); filter: brightness(calc(.72 + .28 * var(--nah, 0))); transition: transform .3s var(--ease), filter .3s; }
.sk.wartet.zwei { --s: .86; --y: 30px; filter: brightness(.5); }
.sk.kommt { animation: sk-rein .42s cubic-bezier(.2, .9, .25, 1.2); }
@keyframes sk-rein { from { transform: translate3d(var(--von, 0px), 30px, 0) rotate(var(--von-r, 0deg)) scale(.96); } }
.sk.wackelt { animation: sk-wackeln 1.4s var(--ease); }
@keyframes sk-wackeln { 0%, 100% { transform: none; } 20% { transform: translateX(-26px) rotate(-3deg); } 45% { transform: translateX(22px) rotate(2.5deg); } 65% { transform: none; } }
.sk-fotos, .sk-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sk-fotos img { object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.sk.oben-auf .sk-fotos img { animation: sk-kenburns 14s ease-out both; }
@keyframes sk-kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.sk-ohne { display: grid; place-items: center; background: radial-gradient(120% 80% at 80% 0%, var(--night-2), var(--night) 70%); color: var(--lime); }
.sk-ohne svg { width: 46%; height: 46%; opacity: .16; stroke-width: 1.1; transform: translateY(-14%); }
.sk-balken { position: absolute; top: 10px; left: 14px; right: 14px; display: flex; gap: 4px; z-index: 3; }
.sk-balken i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .38); }
.sk-balken i.an, .sk-balken i.vor { background: #fff; }
.sk-oben { position: absolute; top: 22px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; z-index: 3; pointer-events: none; }
.sk-pill { display: inline-flex; align-items: center; gap: 6px; max-width: 72%; line-height: 1.2; background: rgba(12, 12, 13, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 7px 12px 7px 9px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.sk-pill svg { width: 16px; height: 16px; flex: none; color: var(--lime); }
.sk-passt { --p: 50; position: relative; width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--lime) calc(var(--p) * 1%), rgba(255, 255, 255, .25) 0); }
.sk-passt::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: rgba(12, 12, 13, .82); }
.sk-passt b { position: relative; font-size: 17px; letter-spacing: -.03em; line-height: 1; color: #fff; }
.sk-passt small { position: absolute; bottom: -18px; font-size: 10.5px; font-weight: 700; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.sk-passt.tief { background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, .2) 0); }
.sk-tipp { position: absolute; top: 0; bottom: 34%; width: 33.34%; border: 0; background: transparent; padding: 0; z-index: 2; cursor: inherit; }
.sk-tipp.links { left: 0; } .sk-tipp.rechts { right: 0; }
.sk-unten { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px 20px 20px; display: grid; gap: 6px; z-index: 2; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 34%, rgba(0, 0, 0, .86)); }
.sk-unten h3 { color: #fff; font-size: clamp(25px, 7.2vw, 31px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; hyphens: auto; }
.sk-unten h3.lang { font-size: clamp(21px, 5.8vw, 25px); }
.sk-meta { font-size: 14.5px; color: rgba(255, 255, 255, .86); overflow-wrap: anywhere; }
.sk-warum { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 600; color: #e6f5a0; }
.sk-warum::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(204, 236, 66, .3); flex: none; transform: translateY(-1px); }
.sk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sk-chip { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; line-height: 1.15; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .17); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; }
.sk-chip.lime { background: var(--lime); color: var(--ink); }
.sk-chip.warn { background: #fff; color: var(--ink); }
.sk-fuss { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sk-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.sk-link svg { width: 16px; height: 16px; }
.sk-seite { position: absolute; inset: 0; z-index: 2; padding: 76px 22px 22px; display: grid; align-content: start; gap: 10px; background: rgba(12, 12, 13, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; pointer-events: none; }
.sk-seite h4 { color: var(--lime); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.sk-seite p { color: #fff; font-size: 16.5px; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 13; -webkit-box-orient: vertical; overflow: hidden; }

/* Rückmeldung beim Ziehen: Karte tönt sich ein, großer Stempel in der Mitte (rechts Lime, links Schwarz, hoch Weiß) */
.sk-ton { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; border-radius: inherit; }
.sk-ton.ja { opacity: var(--ja, 0); background: rgba(204, 236, 66, .3); box-shadow: inset 0 0 0 5px var(--lime); }
.sk-ton.nein { opacity: var(--nein, 0); background: rgba(8, 8, 10, .58); box-shadow: inset 0 0 0 5px #111112; }
.sk-ton.hoch { opacity: var(--hoch, 0); background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 5px #fff; }
.sk-stempel { position: absolute; left: 50%; top: 40%; z-index: 4; display: grid; justify-items: center; gap: 10px; pointer-events: none; opacity: var(--v, 0); transform: translate(-50%, -50%) rotate(var(--sr, 0deg)) scale(calc(.55 + .45 * var(--v, 0))); }
.sk-stempel i { width: min(104px, 26vw); height: min(104px, 26vw); border-radius: 50%; display: grid; place-items: center; font-style: normal; box-shadow: 0 14px 40px rgba(0, 0, 0, .38); }
.sk-stempel i svg { width: 50%; height: 50%; stroke-width: 3; }
.sk-stempel b { font-size: 19px; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.sk-sja { --v: var(--ja, 0); --sr: -8deg; }
.sk-sja i, .sk-sja b { background: var(--lime); color: var(--ink); }
.sk-snein { --v: var(--nein, 0); --sr: 8deg; }
.sk-snein i, .sk-snein b { background: #111112; color: #fff; }
.sk-snein i { box-shadow: 0 0 0 4px #fff, 0 14px 40px rgba(0, 0, 0, .38); }
.sk-shoch { --v: var(--hoch, 0); top: 34%; }
.sk-shoch i, .sk-shoch b { background: #fff; color: var(--ink); }

/* Rund-Knöpfe unter dem Stapel */
.sk-aktionen { display: flex; justify-content: center; align-items: center; gap: 14px; }
.sk-rund { width: 62px; height: 62px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 8px 24px rgba(0, 0, 0, .1); transition: transform .2s var(--spring), opacity .2s; }
.sk-rund:hover { transform: scale(1.06); }
.sk-rund:active, .sk-rund.drueckt { transform: scale(.88); }
.sk-rund svg { width: 26px; height: 26px; stroke-width: 2.2; }
.sk-rund.klein { width: 46px; height: 46px; }
.sk-rund.klein svg { width: 20px; height: 20px; }
.sk-rund.ja { background: var(--lime); color: var(--ink); }
.sk-rund.dunkel { background: var(--night); color: #fff; }
.sk-rund:disabled { opacity: .35; cursor: default; transform: none; }
@media (max-width: 340px) { .sk-aktionen { gap: 8px; } .sk-rund { width: 56px; height: 56px; } .sk-rund.klein { width: 44px; height: 44px; } }

/* Fragekarten: rechts Ja, links Nein, hoch Egal (Wohnfix-Onboarding) */
.sk-frage .sk-unten h3 { font-size: clamp(27px, 7.8vw, 34px); }
.sk-eck { position: absolute; top: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(12, 12, 13, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sk-eck svg { width: 15px; height: 15px; stroke-width: 2.6; }
.sk-eck.links { left: 14px; } .sk-eck.rechts { right: 14px; color: var(--lime); }
.sk-leer { position: absolute; inset: 0; border-radius: 28px; background: var(--surface); box-shadow: var(--sh-2), 0 0 0 1px var(--line); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; overflow: auto; color: var(--ink); }
.sk-leer h3 { font-size: 25px; letter-spacing: -.03em; line-height: 1.12; }
.sk-leer p { color: var(--ink-2); font-size: 15px; }
.sk-wege { display: grid; gap: 8px; margin-top: 2px; }
.sk-weg { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; text-decoration: none; }
.sk-weg:hover { border-color: var(--ink); }
.sk-weg b { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--lime); font-size: 13px; font-weight: 700; }
.sk-weg.leise { background: transparent; font-weight: 500; }
.sk-weg svg { width: 18px; height: 18px; flex: none; }

/* Tipp-Karte zwischen den Stellen (Überraschung beim Swipen) */
.sk-bonus { background: var(--lime); color: var(--ink); }
.sk-bonus .sk-bonus-in { position: absolute; inset: 0; padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; z-index: 2; }
.sk-bonus small { font-size: 13px; font-weight: 700; }
.sk-bonus h3 { color: var(--ink); font-size: clamp(27px, 7.4vw, 33px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.sk-bonus p { font-size: 16px; color: var(--ink); }
.sk-bonus .sk-quelle { font-size: 12.5px; opacity: .8; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) { .sk, .sk.oben-auf .sk-fotos img { animation: none !important; transition: none !important; } }
