/* Fakten – 20 Fassungen (Dirk 02.11.). Schriften nur aus der Startseiten-Hierarchie (--tc-fs-*). Klassen x1 … x20. */
.rf-v small, .rf-v sup { font: 500 var(--tc-fs-label)/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(11,15,6,.55); }
.rf-v b { font: 800 var(--tc-fs-titel)/1.25 var(--display); color: #0b0f06; }
@media (prefers-reduced-motion: reduce) { .rf-v * { animation: none !important; transition: none !important; } }

/* Umschalter fuer 20 */
.x-sw { gap: 6px; max-width: calc(100vw - 24px); }
.x-sw > button { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; background: rgba(244,245,242,.12); font: 700 20px/1 var(--display); }
.x-name { min-width: 170px; padding: 0 8px; color: #f4f5f2; font: 600 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; } .x-name b { color: #c5f74f; padding: 0 4px 0 0 !important; }
.x-nums { display: flex; gap: 2px; padding-left: 6px; border-left: 1px solid rgba(244,245,242,.15); }
.x-nums button { width: 26px; height: 26px; padding: 0; justify-content: center; border-radius: 50%; font: 600 11px/1 var(--mono); }
.x-nums button[aria-pressed="true"] { background: #c5f74f; color: #0b0f06; }
@media (max-width: 960px) { .x-nums { display: none; } .x-name { font-size: 12px !important; } }

/* 1 · Laufband */
@keyframes x1 { to { translate: -33.333% 0; } }
.x1 { margin: 0 calc(var(--x) * -1); overflow: hidden; background: #c5f74f; border-block: 2px solid #0b0f06; }
.x1-t { display: flex; align-items: center; gap: 32px; width: max-content; padding: 26px 0; animation: x1 22s linear infinite; }
.x1-t span { display: inline-flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.x1-t b { font: 900 var(--tc-fs-akzent)/.9 var(--display); font-stretch: 72%; text-transform: uppercase; }
.x1-t small { color: rgba(11,15,6,.6); } .x-star { font-style: normal; font-size: 26px; }

/* 2 · Fallblatt */
@keyframes x2 { 0% { transform: rotateX(90deg); opacity: 0; } 60% { transform: rotateX(-20deg); opacity: 1; } 100% { transform: none; } }
.x2 { display: grid; gap: 10px; padding: clamp(22px, 2.4vw, 36px); border-radius: 24px; background: #0b0f06; }
.x2-r { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 20px; }
.x2-r small { color: rgba(244,245,242,.5); }
.x2-r span { display: flex; flex-wrap: wrap; gap: 3px; perspective: 400px; }
.x2-r i { display: grid; place-items: center; min-width: 26px; height: 38px; padding: 0 3px; border-radius: 4px; background: linear-gradient(#1b2014 49%, #0b0f06 50% 51%, #1b2014 52%); color: #f4f5f2; font: 700 var(--tc-fs-lead)/1 var(--mono); font-style: normal; animation: x2 .5s var(--d) both cubic-bezier(.3,1.4,.5,1); }
.x2-r:last-child i { color: #c5f74f; }

/* 3 · Code */
@keyframes x3 { from { opacity: 0; translate: -10px 0; } }
.x3 { overflow: hidden; border-radius: 20px; background: #0b0f06; box-shadow: 0 40px 70px -40px rgba(11,15,6,.6); }
.x3-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #161a12; } .x3-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(244,245,242,.2); } .x3-bar span { margin-left: 12px; font: 500 var(--tc-fs-label) var(--mono); color: rgba(244,245,242,.5); }
.x3 pre { margin: 0; padding: 26px 30px 30px; font: 500 var(--tc-fs-lead)/1.8 var(--mono); color: #f4f5f2; white-space: pre-wrap; }
.x3 pre span { display: inline-block; animation: x3 .5s var(--d) both; }
.x3 em { font-style: normal; color: rgba(244,245,242,.5); } .x3 s { text-decoration: none; color: #8fb3ff; } .x3 u { text-decoration: none; color: #c5f74f; } .x3 pre b { font: inherit; color: #ffb86b; }

/* 4 · Siegel */
@keyframes x4 { to { rotate: 360deg; } }
.x4 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.x4-s { position: relative; width: clamp(180px, 16vw, 260px); aspect-ratio: 1; border-radius: 50%; background: #c5f74f; display: grid; place-items: center; }
.x4-s svg { position: absolute; inset: 0; animation: x4 18s linear infinite; } .x4-s text { font: 700 15px var(--mono); letter-spacing: .14em; fill: #0b0f06; }
.x4-s > b { font: 900 var(--tc-fs-akzent)/1 var(--display) !important; font-stretch: 72%; }
.x4-l { display: grid; gap: 0; } .x4-l > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(11,15,6,.14); }

/* 5 · Zeitleiste */
@keyframes x5l { from { scale: 0 1; } } @keyframes x5d { from { scale: 0; opacity: 0; } }
.x5 { display: grid; gap: 40px; }
.x5-h { display: grid; grid-template-columns: auto auto auto auto; justify-content: start; align-items: baseline; gap: 10px 18px; }
.x5-t { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 30px; }
.x5-l { position: absolute; left: 0; right: 0; top: 37px; height: 6px; border-radius: 3px; background: #c5f74f; transform-origin: left; animation: x5l 1.4s cubic-bezier(.6,0,.2,1) both; }
.x5-t > div { display: grid; gap: 16px; justify-items: start; }
.x5-t > div i { position: relative; width: 20px; height: 20px; border-radius: 50%; background: #0b0f06; box-shadow: 0 0 0 5px #c5f74f; animation: x5d .5s var(--d) both; }

/* 6 · Kassenbon */
.x6 { display: flex; }
.x6-b { position: relative; width: min(520px, 100%); padding: 30px 30px 50px; background: #fff; box-shadow: 0 30px 60px -40px rgba(11,15,6,.5); font-family: var(--mono); }
.x6-h { display: block; margin: 8px 0 20px; padding-bottom: 14px; border-bottom: 2px dashed rgba(11,15,6,.3); font: 800 var(--tc-fs-statement)/1 var(--display) !important; }
.x6-b p { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 !important; }
.x6-b p span { font: 500 var(--tc-fs-label)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(11,15,6,.6); }
.x6-b p i { flex: 1; border-bottom: 2px dotted rgba(11,15,6,.3); }
.x6-b p b { font: 700 var(--tc-fs-text)/1.2 var(--mono); }
.x6-s { margin-top: 22px !important; padding-top: 16px; border-top: 2px dashed rgba(11,15,6,.3); } .x6-s b { background: #c5f74f; padding: 2px 6px; }
.x6-z { position: absolute; left: 0; right: 0; bottom: -10px; height: 20px; background: radial-gradient(circle at 10px 0, transparent 9px, #fff 10px) 0 0 / 20px 20px repeat-x; }

/* 7 · Bauplan */
@keyframes x7 { from { scale: 0 1; } }
.x7 { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; padding: clamp(30px, 3vw, 50px); border-radius: 24px; background: #0e1a2b; overflow: hidden; }
.x7-g { position: absolute; inset: 0; width: 100%; height: 100%; }
.x7-c { position: relative; display: grid; gap: 10px; padding: 16px 0 18px; }
.x7-c small { color: #c5f74f; } .x7-c b { color: #f4f5f2; }
.x7-d { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #c5f74f; transform-origin: left; animation: x7 1s both; }
.x7-d::before, .x7-d::after { content: ""; position: absolute; top: -6px; width: 2px; height: 14px; background: #c5f74f; } .x7-d::before { left: 0; } .x7-d::after { right: 0; }

/* 8 · Satz */
@keyframes x8 { from { background-size: 0 100%; } }
#swup main .ri .x8 { margin: 0; max-width: 30ch; font: 800 var(--tc-fs-akzent)/1.18 var(--display) !important; font-stretch: 108%; color: rgba(11,15,6,.45) !important; }
.x8 mark { padding: 0 .12em; background: linear-gradient(#c5f74f, #c5f74f) 0 85% / 100% 42% no-repeat; color: #0b0f06; animation: x8 .9s .2s both cubic-bezier(.6,0,.2,1); }
.x8 mark:nth-of-type(2) { animation-delay: .5s; } .x8 mark:nth-of-type(3) { animation-delay: .8s; } .x8 mark:nth-of-type(4) { animation-delay: 1.1s; }

/* 9 · Ausweis */
@keyframes x9 { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }
.x9 { display: flex; flex-direction: column; align-items: center; }
.x9-band { width: 26px; height: 90px; background: repeating-linear-gradient(45deg, #0b0f06 0 8px, #1d2316 8px 16px); }
.x9-c { width: min(380px, 100%); margin-top: -6px; padding: 0 0 22px; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 40px 70px -40px rgba(11,15,6,.5); transform-origin: 50% -90px; animation: x9 5s ease-in-out infinite; }
.x9-h { display: grid; gap: 6px; padding: 26px 26px 22px; background: #c5f74f; } .x9-h b { font: 900 var(--tc-fs-akzent)/.9 var(--display) !important; font-stretch: 72%; text-transform: uppercase; }
.x9-c p { display: grid; gap: 6px; margin: 0 !important; padding: 14px 26px 0; }
.x9-code { margin: 18px 26px 0; font: 400 26px/1 monospace; letter-spacing: -2px; color: #0b0f06; }

/* 10 · Tasten */
.x10 { display: grid; grid-template-columns: 1fr 1.1fr 1.4fr .7fr; gap: 14px; }
.x10-k { display: grid; align-content: space-between; gap: 30px; min-height: 150px; padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 8px 0 #c9cec0, 0 20px 30px -16px rgba(11,15,6,.4); transition: translate .15s, box-shadow .15s; cursor: default; }
.x10-k:hover { translate: 0 6px; box-shadow: 0 2px 0 #c9cec0, 0 8px 14px -10px rgba(11,15,6,.4); }
.x10-k.k3 { background: #c5f74f; box-shadow: 0 8px 0 #93bb2e, 0 20px 30px -16px rgba(11,15,6,.4); } .x10-k.k3:hover { box-shadow: 0 2px 0 #93bb2e; }

/* 11 · Browser */
.x11 { width: min(760px, 100%); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 40px 70px -40px rgba(11,15,6,.5); }
.x11-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #e6e9e0; } .x11-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(11,15,6,.18); }
.x11-bar span { flex: 1; margin-left: 12px; padding: 7px 14px; border-radius: 99px; background: #fff; font: 500 var(--tc-fs-label) var(--mono); color: rgba(11,15,6,.6); }
.x11-b { display: grid; gap: 0; padding: 10px 26px 22px; }
.x11-l { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; border-bottom: 2px solid #0b0f06; } .x11-l b { font: 900 var(--tc-fs-statement)/1 var(--display) !important; }
.x11-b p { display: flex; justify-content: space-between; gap: 20px; margin: 0 !important; padding: 14px 0; border-bottom: 1px solid rgba(11,15,6,.1); }
.x11-b p span { font: 400 var(--tc-fs-text)/1.4 var(--display); color: rgba(11,15,6,.6); } .x11-b p b { text-align: right; }

/* 12 · Mitteilungen */
@keyframes x12 { from { opacity: 0; translate: 0 -24px; scale: .96; } }
.x12 { display: grid; gap: 10px; width: min(560px, 100%); }
.x12-n { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 22px; background: rgba(255,255,255,.8); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -26px rgba(11,15,6,.45); animation: x12 .6s var(--d) both cubic-bezier(.2,.8,.2,1); }
.x12-n > i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #111827; color: #fff; font: 800 15px var(--display); font-style: normal; }
.x12-n div { display: grid; gap: 4px; } .x12-n em { font: 500 var(--tc-fs-mini) var(--mono); font-style: normal; color: rgba(11,15,6,.45); }

/* 13 · Index */
.x13 { margin: 0; padding: 0; list-style: none; border-top: 2px solid #0b0f06; }
.x13 li { display: grid; grid-template-columns: clamp(80px, 8vw, 140px) 200px minmax(0, 1fr); align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(11,15,6,.14); transition: padding .3s, background .3s; }
.x13 li:hover { padding-left: 16px; background: #c5f74f; }
.x13 span { font: 900 var(--tc-fs-akzent)/1 var(--display); font-stretch: 72%; color: transparent; -webkit-text-stroke: 1.5px #0b0f06; }

/* 14 · Kalenderblatt */
.x14 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.x14-c { position: relative; display: grid; justify-items: center; gap: 6px; width: clamp(200px, 17vw, 280px); padding: 40px 20px 24px; border-radius: 18px; background: #fff; box-shadow: 0 6px 0 #e3e6dd, 0 12px 0 #d6dacf, 0 40px 60px -30px rgba(11,15,6,.5); }
.x14-r { position: absolute; top: 0; left: 0; right: 0; height: 26px; border-radius: 18px 18px 0 0; background: #c5f74f; }
.x14-c > b { font: 900 clamp(70px, 6vw, 110px)/.9 var(--display) !important; font-stretch: 72%; }
.x14-c span { font: 500 var(--tc-fs-label) var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(11,15,6,.5); }
.x14-l > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid rgba(11,15,6,.14); }

/* 15 · Haken-Liste */
@keyframes x15 { from { stroke-dashoffset: 30; } }
.x15 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.x15-h { display: grid; gap: 8px; } .x15-h small:not(:first-child) { margin-top: 14px; }
.x15 ul { margin: 0; padding: 0; list-style: none; }
.x15 li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(11,15,6,.14); }
.x15 svg { width: 40px; height: 40px; } .x15 circle { fill: #c5f74f; } .x15 svg path { fill: none; stroke: #0b0f06; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; animation: x15 .6s var(--d) both; }
.x15 li em { font: 500 var(--tc-fs-label) var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: rgba(11,15,6,.45); }

/* 16 · Lime-Halbe */
.x16 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); overflow: hidden; border-radius: 28px; }
.x16-l { display: grid; align-content: space-between; gap: 20px; padding: 30px 34px; background: #0b0f06; } .x16-l small { color: rgba(244,245,242,.5); }
.x16-l b { font: 900 clamp(90px, 10vw, 180px)/.8 var(--display) !important; font-stretch: 72%; color: #c5f74f !important; }
.x16-r { display: grid; align-content: center; padding: 20px 34px; background: #fff; } .x16-r > div { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid rgba(11,15,6,.1); } .x16-r > div:last-child { border: 0; }

/* 17 · Schwebende Pillen */
@keyframes x17 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.x17 { display: flex; flex-wrap: wrap; gap: 14px; max-width: 64rem; }
.x17 span { display: inline-flex; align-items: baseline; gap: 12px; padding: 16px 24px; border-radius: 99px; background: #fff; box-shadow: 0 20px 30px -22px rgba(11,15,6,.5); animation: x17 4s var(--d) ease-in-out infinite; }
.x17 .lime { background: #c5f74f; } .x17 .dark { background: #0b0f06; } .x17 .dark small { color: rgba(244,245,242,.5); } .x17 .dark b { color: #c5f74f; }

/* 18 · Dashboard */
@keyframes x18 { 50% { opacity: .3; } }
.x18 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px; border-radius: 26px; background: #0b0f06; }
.x18 > div { display: grid; align-content: space-between; gap: 34px; padding: 18px; border-radius: 16px; background: #161a12; }
.x18 header { display: flex; justify-content: space-between; font: 500 var(--tc-fs-label) var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(244,245,242,.5); }
.x18 em { display: flex; align-items: center; gap: 6px; font-style: normal; color: #c5f74f; } .x18 em i { width: 8px; height: 8px; border-radius: 50%; background: #c5f74f; animation: x18 1.4s infinite; }
.x18 b { color: #f4f5f2; } .x18 .lime { background: #c5f74f; } .x18 .lime header { color: rgba(11,15,6,.55); } .x18 .lime b { color: #0b0f06; font-size: var(--tc-fs-akzent) !important; font-stretch: 72%; font-weight: 900; }

/* 19 · Stapel */
.x19 { position: relative; display: flex; height: 200px; }
.x19-c { position: absolute; top: 0; display: grid; align-content: space-between; width: 280px; height: 180px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 24px 40px -26px rgba(11,15,6,.5); transition: left .6s cubic-bezier(.2,.8,.2,1), top .6s cubic-bezier(.2,.8,.2,1); }
.x19-c.c0 { left: 0; top: 0; z-index: 4; } .x19-c.c1 { left: 18px; top: 8px; z-index: 3; background: #c5f74f; } .x19-c.c2 { left: 36px; top: 16px; z-index: 2; background: #0b0f06; } .x19-c.c2 b { color: #f4f5f2; } .x19-c.c2 small { color: rgba(244,245,242,.5); } .x19-c.c3 { left: 54px; top: 24px; z-index: 1; }
.x19:hover .c1 { left: 300px; top: 0; } .x19:hover .c2 { left: 600px; top: 0; } .x19:hover .c3 { left: 900px; top: 0; }

/* 20 · Etiketten */
@keyframes x20 { from { background-size: 0 6px; } }
.x20 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; }
.x20 span { position: relative; padding-bottom: 6px; background: linear-gradient(#c5f74f, #c5f74f) 0 100% / 100% 6px no-repeat; font: 900 var(--tc-fs-akzent)/1 var(--display); font-stretch: 72%; text-transform: uppercase; color: #0b0f06; animation: x20 .8s var(--d) both cubic-bezier(.6,0,.2,1); }
.x20 sup { position: absolute; left: 0; top: -20px; }
.x20-dot { font: 900 var(--tc-fs-akzent)/1 var(--display); font-style: normal; color: rgba(11,15,6,.25); }
.x20 { padding-top: 24px; }

@media (max-width: 960px) {
  .x4, .x14, .x15, .x16 { grid-template-columns: minmax(0, 1fr); } .x4-l > div, .x14-l > div { grid-template-columns: 1fr; }
  .x10, .x18 { grid-template-columns: 1fr 1fr; } .x7 { grid-template-columns: 1fr; } .x13 li { grid-template-columns: 70px minmax(0, 1fr); } .x13 li b { grid-column: 2; }
  .x2-r { grid-template-columns: 1fr; gap: 8px; } .x19 { height: auto; display: grid; gap: 10px; } .x19-c { position: static; width: auto; }
  .x5-t { grid-template-columns: 1fr 1fr; row-gap: 30px; } .x5-l { display: none; } .x5-h { grid-template-columns: auto auto; }
}
/* Korrekturen */
.x5-l { display: block !important; z-index: 0; } .x5-t > div i { display: block; z-index: 1; }
#swup main .ri.ri2 p.x8.x8 { margin: 0; max-width: 30ch; font: 800 var(--tc-fs-akzent)/1.18 var(--display) !important; font-stretch: 108% !important; color: rgba(11,15,6,.45) !important; }
.x3 pre b { display: inline; }
.x20 { row-gap: 46px; padding-top: 30px; }
