/* =========================================================================
   Seite: aspect carb lab – /aspect-carb-lab/
   Prefix: .cl- (Seitenlayout); Demo-Bausteine aus dem Original:
   .pcard/.athlete-* (Erfahrungs-Demo), .alp-* (Chaos-Chips, Vorteile,
   Funktionsweise), .pfd-*/.nut-* (Handy-Filter-Demo).
   ========================================================================= */

/* Manrope ist variabel (200–800); site.css deklariert nur 400–800. */
/* IBM Plex Mono 600 (SIL OFL 1.1, siehe /static/vendor/ibm-plex-mono/OFL.txt) */
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../../vendor/ibm-plex-mono/ibm-plex-mono-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.page-carb-lab {
  --cl-ink: #1b2226;
  --cl-ink-soft: #52616a;
  --cl-navy: #153043;
  --cl-navy-deep: #0d2130;
  --cl-paper: #f4f6f5;
  --cl-amber: #dd9a2e;
  --cl-amber-deep: #b97e1e;
  --cl-line: #d9e1e4;
  --cl-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --cl-fs-large: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.392), 1.375rem);
  --cl-fs-medium: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.196), 1.125rem);
  --cl-fs-text: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.392), 18px);
  --cl-fs-small: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.196), 16px);
}
/* wie im Original-Theme: ausgewogene Umbrueche, minimal enger Fliesstext */
.page-carb-lab main :is(p, h2, h3) { text-wrap: pretty; }
.page-carb-lab main { letter-spacing: -0.1px; }
.page-carb-lab .bi { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; flex-shrink: 0; }

/* =========================================================================
   Seitenlayout
   ========================================================================= */
.cl-hero {
  position: relative;
  padding: 150px 10px 150px 65px;
  background: #111 url(/static/uploads/2025/10/Main-bg-w1901.webp) no-repeat 100% 4% / cover fixed;
  overflow: hidden;
}
.cl-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .92) 1%, rgba(35, 24, 5, .29) 100%);
}
.cl-hero__title {
  position: relative; margin: 0 0 30px;
  color: #fff; font-size: 130px; font-weight: 800; line-height: .8; letter-spacing: -10px;
  text-shadow: 5px 5px 8px #000;
}

.cl-section { padding-top: 100px; }
.cl-section--navy { background: var(--cl-navy); }
.cl-section--ink { background: var(--cl-navy-deep); }
.cl-section--paper { background: var(--cl-paper); }
.cl-section--white { background: #fff; }
.cl-section--pb { padding-bottom: 100px; }

.cl-container { width: min(1080px, 100% - 40px); margin-inline: auto; }
.cl-cols { display: grid; margin-bottom: calc(1.75 * var(--cl-fs-large)); }
.cl-col { min-width: 0; }
.cl-col--center, .cl-col--bottom { padding-block: clamp(30px, 5vw, 50px); }
.cl-col > .cl-h2, .cl-col > .cl-btns, .cl-col > .alp-fw { margin-top: 19.2px; }
.cl-col--center > .cl-demo, .cl-col--center > .alp-drawer { margin-top: 70px; }
.cl-col--center > .cl-btns { margin-top: 70px; }

@media (min-width: 782px) {
  .cl-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 50px; }
  .cl-cols--65 { grid-template-columns: minmax(0, 64fr) minmax(0, 36fr); }
  .cl-col { padding-inline: 20px; }
  .cl-col--center { align-self: center; }
  .cl-col--middle { align-self: center; }
  .cl-col--bottom { align-self: end; }
  .cl-col--center > .cl-demo, .cl-col--center > .alp-drawer { margin-top: 140px; }
}

.cl-eyebrow {
  margin: 0; padding: 50px 0 24px;
  color: var(--cl-amber-deep);
  font-family: var(--cl-mono); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .1em; text-transform: uppercase;
}
.cl-eyebrow--amber { color: var(--cl-amber); }
.cl-h2 {
  margin: 0; padding-bottom: 24px;
  color: var(--cl-ink); font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: 0;
}
.cl-h2--light { color: #fff; }
.cl-h2--xl { color: #fff; font-size: 56px; }
.cl-text { margin: 0; font-size: var(--cl-fs-text); font-weight: 400; line-height: 1.55; }
.cl-text--light { color: rgba(255, 255, 255, .78); }
.cl-text--dark { color: var(--cl-ink); }
.cl-text--pb { padding-bottom: 40px; }

/* Buttons */
.cl-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cl-btns--stack { flex-direction: column; justify-content: center; }
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 50px; border: 1px solid rgba(156, 156, 156, .61);
  color: #fff; font-size: var(--cl-fs-medium); font-weight: 700; line-height: 1.4; text-decoration: none;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.cl-btn:hover { color: #fff; border-color: #333; transform: translateY(-1px); }
.cl-btn--amber { background: var(--cl-amber); }
.cl-btn--ghost { background: transparent; border-width: 2px; border-color: rgba(156, 156, 156, .44); }
.cl-btn--ghost:hover { border-color: rgba(255, 255, 255, .8); }
.cl-btn--wide { width: 100%; padding: 18px 26px; color: #111; font-size: 16px; }
.cl-btn--wide:hover { color: #fbfaf3; }
.cl-hide-desktop { display: none; }

/* Loesung */
.cl-solution { padding-bottom: 120px; }
/* Vertrauen */
.cl-trust { padding-bottom: 0; }
.cl-trust .cl-container { padding-bottom: 120px; }
.cl-trust__grid { display: grid; gap: 30px; margin-bottom: calc(1.75 * var(--cl-fs-large)); }
.cl-trust__card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--cl-line); border-radius: 16px; }
.cl-trust__icon { width: 28px; height: 28px; fill: #111; }
.cl-trust__title { margin: 6px 0; color: var(--cl-amber-deep); font-size: 20px; font-weight: 700; line-height: 1.15; letter-spacing: 0; }
.cl-trust__text { margin: 0; color: var(--cl-ink-soft); font-size: var(--cl-fs-small); font-weight: 400; line-height: 1.4; }
.cl-trust__title + .cl-trust__text { margin: 1em 0; }
@media (min-width: 782px) {
  .cl-trust__grid { grid-template-columns: 1fr 1fr; gap: 50px; }
}
/* Oekosystem */
.cl-eco .cl-container { padding-bottom: 100px; }
.cl-eco__p { padding-bottom: 20px; }
.cl-eco__link { margin: 10px 0 clamp(50px, 7vw, 90px); font-size: var(--cl-fs-large); font-weight: 700; line-height: 1.4; }
.cl-eco__link a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cl-eco__link a:hover { color: var(--cl-amber); }
/* Loslegen */
.cl-start__inner { width: min(640px, 100% - 30px); margin-inline: auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cl-start__inner .cl-h2 { width: 100%; }
.cl-start__inner .cl-eyebrow { width: 100%; }
.cl-start__text { margin: 20px 0; padding-bottom: 20px; }
.cl-start__note { margin: 0; padding-bottom: clamp(50px, 7vw, 90px); color: #686868; font-size: 13px; line-height: 1.55; }

/* Sticky-CTA (Variante Carb Lab, Logik in aspect-carb-lab.js) */
.cl-sticky .sticky-cta__button { background: var(--cl-amber); color: var(--cl-navy); border-radius: 18px; }
.cl-sticky .sticky-cta__button:hover { background: #e8a73f; color: var(--cl-navy); }
@media (min-width: 768px) {
  .cl-sticky .sticky-cta__title { font-size: 18px; }
  .cl-sticky .sticky-cta__subtitle { font-size: 14px; }
}

/* =========================================================================
   Demo 1: Produktkarte mit Erfahrung (pcard)
   ========================================================================= */
.nutrition-hub-container {
  --nut-primary: #222831;
  --nut-secondary: #393E46;
  --nut-accent: #285180;
  --nut-warning: #e3ad3b;
  --nut-white: #ffffff;
  --nut-bg: #f8f9fa;
  --nut-surface: #ffffff;
  --nut-surface-alt: #f3f5f8;
  --nut-surface-soft: #eceef2;
  --nut-border: #d0d4db;
  --nut-border-soft: #e0e3e8;
  --nut-border-strong: #b0b5bf;
  --nut-text: #222831;
  --nut-muted: #6c757d;
  --nut-danger: #dc3545;
  font-family: var(--font);
  line-height: 1.5;
}
.cl-demo { font-size: 16px; }
.pcard {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: .75rem; row-gap: 0;
  background: linear-gradient(180deg, var(--nut-bg) 0%, var(--nut-surface-alt) 100%);
  border: 1px solid var(--nut-border-soft); border-radius: 10px;
  padding: .55rem .75rem;
  transition: box-shadow .2s, border-color .2s;
}
.pcard.pcard-actions-open { border-color: #8f97a5; box-shadow: 0 10px 24px rgba(34, 40, 49, .14); }
.pcard-img { position: relative; width: 80px; height: 80px; flex-shrink: 0; border-radius: 6px; background: var(--nut-surface-soft); display: flex; align-items: center; justify-content: center; }
.pcard-img img { width: auto; height: 80px; max-width: none; border-radius: 6px; object-fit: cover; }
.pcard--lg .pcard-img { width: 110px; height: 110px; }
.pcard--lg .pcard-img img { width: auto; height: 110px; }
.pcard-body { flex: 1; min-width: 0; }
.pcard-name { font-weight: 600; font-size: 18px; color: var(--nut-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-badges { display: flex; flex-wrap: wrap; gap: .2rem; margin-top: .18rem; }
.pcard-badges .pcard-vegan { width: auto; height: 20px; }
.pcard-stats { font-size: .8rem; color: #555; margin-top: .2rem; display: flex; flex-wrap: wrap; gap: .35rem; font-weight: 400; }
.pcard-stats strong { font-weight: 700; }
.pcard-bolt { color: #e6a817; font-size: .7rem; vertical-align: -.05em; }
.pcard-expand-hint {
  position: absolute; top: .4rem; right: .45rem; z-index: 3;
  width: 20px; height: 20px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(34, 40, 49, .08); color: #5b6472; pointer-events: none;
}
.pcard-expand-hint .bi { font-size: .72rem; transition: transform .2s ease; }
.pcard.note-open .pcard-expand-hint .bi { transform: rotate(180deg); }

.athlete-note-box {
  display: none; flex: 0 0 100%; width: 100%; box-sizing: border-box;
  margin-top: .55rem; padding: .6rem .7rem;
  border-radius: 12px; background: rgba(255, 255, 255, .72); border: 1px solid var(--nut-border-soft);
}
.pcard.note-open .athlete-note-box { display: block; }
.athlete-note-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; }
.athlete-note-label { display: block; font-weight: 600; font-size: 16px; color: var(--nut-text); }
.athlete-rating-wrap { margin-bottom: .5rem; }
.athlete-rating { display: inline-flex; align-items: center; gap: .2rem; }
.athlete-rating-star { border: none; background: transparent; color: #c5cbd5; padding: 0; font-size: 1.02rem; line-height: 1; cursor: pointer; }
.athlete-rating-star .star-full { display: none; }
.athlete-rating-star.is-active { color: var(--nut-warning); }
.athlete-rating-star.is-active .star-full { display: inline-block; }
.athlete-rating-star.is-active .star-empty { display: none; }
.athlete-note-input {
  display: block; width: 95%; box-sizing: border-box; resize: vertical; min-height: 60px;
  background: #f6f8fb; border: 1px solid #c9d1dc; color: #1f2937; border-radius: 8px;
  padding: .45rem .55rem; font: inherit; font-size: .8rem; line-height: 1.3;
}
.athlete-note-input.pcd-fake-focus { outline: none; border-color: #8ca2c0; box-shadow: 0 0 0 .2rem rgba(78, 115, 163, .2); }
.athlete-note-actions { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; }
.athlete-note-save {
  padding: .4rem .7rem; font-size: .78rem; font-weight: 500; line-height: 1.5;
  border-radius: 999px; background: var(--nut-primary); border: 1px solid var(--nut-primary); color: var(--nut-white);
}
.pcard-actions {
  width: calc(100% + 1.5rem); margin: 0 -.75rem -.55rem; padding: 0 .7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25) 0%, rgba(225, 231, 240, .72) 100%);
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .38rem;
  opacity: 0; max-height: 0; overflow: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, max-height .2s ease, padding .2s ease, margin .2s ease;
}
.pcard.pcard-actions-open .pcard-actions {
  margin: .45rem -.75rem -.55rem; padding: .42rem .7rem .48rem; border-top: 1px solid #dde2ea;
  opacity: 1; max-height: 120px; transform: translateY(0);
}
.pcard-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 30px; border-radius: 9px;
  border: 1px solid #cfd5df; background: rgba(255, 255, 255, .92); color: #495365; font-size: .85rem;
}
.pcard-btn--remove { border-color: var(--nut-danger); color: var(--nut-danger); }

.pcard-demo-stage { position: relative; display: block; width: 100%; max-width: 420px; pointer-events: none; }
.pcd-fake-cursor {
  position: absolute; left: -40px; top: -40px; z-index: 50;
  width: 20px; height: 20px; background: #1f2937;
  clip-path: polygon(0 0, 0 100%, 28% 68%, 52% 100%, 68% 90%, 44% 60%, 100% 58%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
  transition: left .55s cubic-bezier(.65, 0, .35, 1), top .55s cubic-bezier(.65, 0, .35, 1);
  pointer-events: none;
}
.pcd-fake-click-ring {
  position: absolute; left: -40px; top: -40px; z-index: 49;
  width: 24px; height: 24px; border: 2px solid var(--nut-accent, #285180); border-radius: 50%;
  transform: scale(.3); opacity: 0; pointer-events: none;
}
.pcd-fake-click-ring.play { animation: pcdClickPulse .5s ease-out; }
@keyframes pcdClickPulse { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.pcd-fake-toast {
  position: absolute; bottom: 10px; right: 10px; z-index: 60;
  display: flex; align-items: center; gap: .3rem;
  background: var(--nut-primary, #222831); color: #fff;
  font-size: .72rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.pcd-fake-toast.show { opacity: 1; transform: translateY(0); }
.athlete-rating-star.pcd-star-pop { animation: pcdStarPop .35s ease; }
@keyframes pcdStarPop { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* =========================================================================
   Demo 2: Chaos-Chips ("Das Problem")
   ========================================================================= */
.alp-drawer {
  position: relative; height: 260px; border-radius: 14px; overflow: hidden;
  padding: 14px 10px; box-sizing: border-box;
  container-type: size;           /* cqw/cqh = Groesse der Schublade */
}
.alp-grid-guide {
  position: absolute; inset: 6%; border-radius: 10px; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  background-image:
    repeating-linear-gradient(to right, rgba(40, 81, 128, .16) 0, rgba(40, 81, 128, .16) 1px, transparent 1px, transparent 33.333%),
    repeating-linear-gradient(to bottom, rgba(40, 81, 128, .16) 0, rgba(40, 81, 128, .16) 1px, transparent 1px, transparent 50%);
}
.alp-drawer[data-alp-state="sorting"] .alp-grid-guide,
.alp-drawer[data-alp-state="wild-refuses"] .alp-grid-guide { opacity: 1; transition-duration: .55s; }
.alp-drawer[data-alp-state="collapsing"] .alp-grid-guide,
.alp-drawer[data-alp-state="chaos"] .alp-grid-guide { opacity: 0; transition-duration: .25s; }
.alp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--cl-mono); font-size: 13px; line-height: 1.5; white-space: nowrap;
}
.alp-chip--paper { background: #fff; border: 1px solid var(--cl-line); color: var(--cl-ink); box-shadow: 0 6px 16px rgba(21, 48, 67, .06); }
/* Position: --ht/--hl (Chaos) bzw. --gt/--gl (Raster) in % der Schublade.
   (1cq + Innenabstand/100 = % der Padding-Box wie im Original)
   Bewegung nur ueber translate/rotate/transform (GPU), nicht top/left. */
.alp-drawer .alp-chip--paper {
  position: absolute; top: 0; left: 0; z-index: 1;
  translate: calc(var(--hl) * (1cqw + .2px)) calc(var(--ht) * (1cqh + .28px));
  rotate: var(--r, 0deg);
  transition: translate .85s cubic-bezier(.34, 1.56, .64, 1), rotate .55s ease, box-shadow .3s ease;
  transition-delay: var(--d, 0ms);
  animation: alp-idle 5.5s ease-in-out infinite; animation-delay: var(--fd, 0s);
}
@keyframes alp-idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.alp-drawer[data-alp-state="sorting"] .alp-chip--paper,
.alp-drawer[data-alp-state="wild-refuses"] .alp-chip--paper {
  translate: calc(var(--gl) * (1cqw + .2px)) calc(var(--gt) * (1cqh + .28px));
  rotate: var(--gr, 0deg);
  animation-play-state: paused;
}
.alp-drawer[data-alp-state="wild-refuses"] .alp-chip--wild {
  animation: alp-refuse .42s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(196, 74, 58, .42), 0 6px 16px rgba(21, 48, 67, .08); z-index: 3;
}
.alp-drawer .alp-chip--bumped-target.alp-chip--jolt { animation: alp-jolt .32s ease; }
@keyframes alp-refuse { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes alp-jolt { 0% { transform: translate(0, 0); } 30% { transform: translate(6px, -3px); } 60% { transform: translate(-3px, 2px); } 100% { transform: translate(0, 0); } }
.alp-drawer[data-alp-state="collapsing"] .alp-chip--paper {
  translate: calc(var(--hl) * (1cqw + .2px)) calc(var(--ht) * (1cqh + .28px));
  rotate: var(--r, 0deg);
  transition: translate .6s cubic-bezier(.65, -.35, .4, 1.3), rotate .5s ease, box-shadow .3s ease;
  transition-delay: var(--cd, 0ms);
  box-shadow: 0 10px 22px rgba(21, 48, 67, .14); animation-play-state: paused;
}
.alp-drawer[data-alp-state="chaos"] .alp-chip--paper { animation-play-state: running; }

/* =========================================================================
   Vorteile ("Die Loesung") – Karten mit selbstzeichnenden Icons
   ========================================================================= */
.alp-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.alp-benefits { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; font-size: var(--cl-fs-large); line-height: 1.55; }
.alp-benefit {
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
  padding: 24px; color: #fff;
}
.js .alp-benefit { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1); }
.js .alp-benefit.is-visible { opacity: 1; transform: translateY(0); }
.alp-benefit svg { display: block; width: 30px; height: 30px; color: var(--cl-amber); margin-bottom: 16px; overflow: visible; }
.alp-benefit h3 {
  position: relative; margin: 0 0 6px; padding-bottom: 10px;
  color: #fff; font-size: 18px; font-weight: 700; line-height: 1.125; letter-spacing: 0;
}
.alp-benefit h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 28px;
  background: var(--cl-amber); transform-origin: left; transform: scaleX(1);
}
.js .alp-benefit h3::after { transform: scaleX(0); transition: transform 1.45s cubic-bezier(.22, 1, .36, 1) 1.95s; }
.js .alp-benefit.is-visible h3::after { transform: scaleX(1); }
.alp-benefit p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.55; }
.alp-benefit svg.is-ready path,
.alp-benefit svg.is-ready circle,
.alp-benefit svg.is-ready line {
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  transition: stroke-dashoffset .85s cubic-bezier(.65, 0, .35, 1) .25s;
}
.alp-benefit.is-visible svg.is-ready path,
.alp-benefit.is-visible svg.is-ready circle,
.alp-benefit.is-visible svg.is-ready line { stroke-dashoffset: 0; }
@media (min-width: 860px) { .alp-benefits { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================================
   Funktionsweise – Schritte mit Scroll-Fortschrittsschiene
   ========================================================================= */
.alp-fw { padding: 96px 0; color: var(--cl-ink); }
.alp-fw .alp-container { max-width: 1120px; }
.alp-fw-steps { position: relative; padding-left: 28px; max-width: 640px; font-size: 18px; font-weight: 500; line-height: 1.55; }
.alp-fw-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 64px; }
.alp-fw-rail { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--cl-line); border-radius: 2px; }
.alp-fw-rail-fill {
  position: absolute; left: 0; top: 0; width: 2px; height: 100%;
  background: var(--cl-amber); border-radius: 2px; transform: scaleY(0); transform-origin: top;
}
.alp-fw-step { position: relative; opacity: .4; transition: opacity .35s ease, transform .35s ease; }
.alp-fw-step::before {
  content: ""; position: absolute; left: -28px; top: 3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cl-line); box-shadow: 0 0 0 4px var(--cl-paper);
  transition: background .3s ease, box-shadow .3s ease;
}
.alp-fw-step.is-active { opacity: 1; transform: translateX(4px); }
.alp-fw-step.is-active::before { background: var(--cl-amber); box-shadow: 0 0 0 4px rgba(221, 154, 46, .18); }
.alp-fw-num { font-family: var(--cl-mono); font-size: 13px; color: var(--cl-amber-deep); font-weight: 700; }
.alp-fw-step h3 { margin: 6px 0 8px; color: var(--cl-ink); font-size: 24px; font-weight: 800; line-height: 1.125; letter-spacing: 0; }
.alp-fw-step p { margin: 0; color: var(--cl-ink-soft); }
.no-js .alp-fw-step, html:not(.js) .alp-fw-step { opacity: 1; }

/* =========================================================================
   Demo 3: Handy mit Suche & Filter (pfd)
   ========================================================================= */
.pfd-widget { display: flex; justify-content: center; font-family: var(--font); }
.pfd-phone {
  position: relative; width: 300px; max-width: 100%;
  margin: 10px 0 30px; padding: 10px; border-radius: 2.4rem;
  background: linear-gradient(180deg, #1c1c1c 0%, #111 100%);
  box-shadow: 0 14px 25px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.pfd-phone__btn { position: absolute; width: 3px; background: #2a2a2a; }
.pfd-phone__btn--r1 { right: -3px; top: 28%; height: 52px; border-radius: 0 2px 2px 0; }
.pfd-phone__btn--r2 { right: -3px; top: 42%; height: 36px; border-radius: 0 2px 2px 0; }
.pfd-phone__btn--l1 { left: -3px; top: 26%; height: 40px; border-radius: 2px 0 0 2px; }
.pfd-phone__btn--l2 { left: -3px; top: 38%; height: 40px; border-radius: 2px 0 0 2px; }
.pfd-phone__screen { position: relative; height: 600px; overflow: hidden; border-radius: 1.9rem; background: #f8f9fa; }
.pfd-screen-scroll { height: 100%; overflow: hidden; line-height: 1.4; }
.pfd-status-bar {
  position: sticky; top: 0; z-index: 11; height: 28px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px 0; background: #f8f9fa;
  font-size: 12px; font-weight: 700; color: var(--cl-ink);
}
.pfd-status-icons { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.pfd-topbar {
  position: sticky; top: 28px; z-index: 10; height: 44px;
  display: flex; align-items: center; gap: .6rem; padding: 0 .7rem 0 .35rem;
  background: #fffcf9; box-shadow: 0 0 10px rgba(0, 0, 0, .16);
}
.pfd-topbar-menu-btn { display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; color: #222831; }
.pfd-topbar-spacer { flex: 1; }
.pfd-topbar .pfd-topbar-logo { height: 30px; width: auto; display: block; }
.pfd-screen-body { padding: 6px 14px 14px; }
.pfd-fake-cursor {
  position: absolute; left: -40px; top: -40px; z-index: 50;
  width: 18px; height: 18px; background: #1f2937;
  clip-path: polygon(0 0, 0 100%, 28% 68%, 52% 100%, 68% 90%, 44% 60%, 100% 58%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4));
  transition: left .5s cubic-bezier(.65, 0, .35, 1), top .5s cubic-bezier(.65, 0, .35, 1);
  pointer-events: none;
}
.pfd-fake-ring {
  position: absolute; left: -40px; top: -40px; z-index: 49;
  width: 22px; height: 22px; border: 2px solid #285180; border-radius: 50%;
  transform: scale(.3); opacity: 0; pointer-events: none;
}
.pfd-fake-ring.play { animation: pfdClickPulse .45s ease-out; }
@keyframes pfdClickPulse { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.pfd-toast {
  position: absolute; bottom: 26px; left: 50%; z-index: 20;
  display: flex; align-items: center; gap: .35rem; white-space: nowrap;
  background: #222831; color: #fff; padding: .5rem 1rem; border-radius: 999px;
  font-size: .76rem; font-weight: 600; box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.pfd-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pfd-toast .bi { color: #7ee2a8; }

/* Nachbau der App-Filterleiste (Mobil-Ansicht) */
.nut-app {
  --nut-primary: #153043; --nut-secondary: #0D2130; --nut-accent: #285180; --nut-warning: #e3ad3b;
  --nut-bg: #f8f9fa; --nut-border: #d0d4db; --nut-text: #222831; --nut-muted: #6c757d;
  font-size: 16px;
}
.nut-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-size: .85rem; font-weight: 600; padding: .45rem .8rem; border-radius: 8px;
  border: 1px solid transparent; line-height: 1.2;
}
.nut-btn-sm { padding: .25rem .5rem; font-size: .74rem; }
.nut-btn-primary { background: var(--nut-primary); border-color: var(--nut-primary); color: #fff; }
.nut-btn-secondary { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); color: #fff; }
.nut-form-control {
  display: block; width: 100%; font: inherit; font-size: .82rem; line-height: 1.5; padding: .42rem .55rem; border-radius: 8px;
  border: 1px solid var(--nut-border); background: #fff; color: var(--nut-text);
}
.nut-form-select { padding-right: 1.8rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .55rem center; background-size: 12px 10px; }
.nut-form-label { display: block; font-weight: 600; font-size: .72rem; margin-bottom: .25rem; }
.nut-small { font-size: .78rem; }
.nut-page-wrap { background: linear-gradient(135deg, var(--nut-primary) 0%, var(--nut-secondary) 100%); border-radius: 16px; box-shadow: 0 8px 24px rgba(34, 40, 49, .18); overflow: hidden; }
.nut-header { padding: 1rem 1rem .3rem; }
.nut-title { margin: 0; color: #fff; font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.nut-subtitle { margin: .3rem 0 0; color: rgba(255, 255, 255, .72); font-size: .78rem; }
.nut-search-card { position: relative; background: rgba(255, 255, 255, .06); padding: .9rem 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.nut-catalog-preview { padding: .9rem .2rem 0; }
.nut-catalog-count { font-size: .72rem; font-weight: 600; color: var(--nut-muted); margin-bottom: .5rem; }
.nut-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.nut-product-card { position: relative; background: #fff; border: 1px solid var(--nut-border); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.nut-product-img-placeholder { height: 70px; display: flex; align-items: center; justify-content: center; background: var(--nut-bg); }
.nut-product-img-placeholder img { width: auto; height: 100%; max-height: 100%; max-width: 100%; object-fit: contain; }
.nut-product-body { padding: .55rem .6rem; }
.nut-product-name { font-weight: 700; font-size: .78rem; color: var(--nut-text); margin: 0 0 .15rem; line-height: 1.25; }
.nut-product-maker { font-size: .68rem; color: var(--nut-muted); margin: 0 0 .4rem; }
.nut-product-badges { display: flex; flex-wrap: wrap; gap: .25rem; }
.nut-badge { font-size: .6rem; font-weight: 600; padding: .15rem .4rem; border-radius: 999px; line-height: 1.4; }
.nut-badge-cat { background: #f3f5f8; color: var(--nut-text); }
.nut-badge-vegan { background: #c8d8f0; color: #1a2a4a; }
.nut-badge-koffein { background: var(--nut-bg); color: #212121; border: 1px solid var(--nut-border); }
.nut-label-muted { color: rgba(255, 255, 255, .65); }
.nut-control-dark { background-color: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.nut-control-dark::placeholder { color: rgba(255, 255, 255, .55); }
.nut-search-reset-corner { display: flex; width: fit-content; margin: 0 0 .55rem auto; }
.nut-filter-mobile-toggle { display: flex; width: 100%; }
.nut-filter-form { display: none; flex-direction: column; gap: .7rem; margin-top: .55rem; }
.nut-filter-form.is-open { display: flex; }
.nut-logo-filter-wrap { display: flex; gap: .5rem; align-items: center; }
.nut-logo-filter-btn {
  position: relative; width: 32px; height: 32px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .9);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.nut-logo-filter-btn .bi { font-size: 1.05rem; }
.nut-logo-filter-btn .nut-logo-filter-img { width: 22px; height: 22px; object-fit: contain; }
.nut-logo-filter-btn.is-active { border-color: rgba(227, 173, 59, .95); box-shadow: 0 0 0 2px rgba(227, 173, 59, .2), 0 0 16px rgba(227, 173, 59, .35); background: rgba(227, 173, 59, .2); }
.nut-filter-group { border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: .6rem .7rem .7rem; background: rgba(255, 255, 255, .03); }
.nut-filter-group__head { display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.nut-filter-group__head .nut-form-label { margin-bottom: 0; }
.nut-carb-range-label { color: rgba(255, 255, 255, .72); margin-bottom: .35rem; }
.nut-collapsible-btn {
  border: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .08);
  border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem;
}
.nut-collapsible-btn .bi { transition: transform .2s ease; }
.nut-collapsible-btn[aria-expanded="true"] .bi { transform: rotate(180deg); }
.nut-collapsible-panel { margin-top: .35rem; padding: .55rem .5rem .15rem; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); }
.nut-collapsible-panel[hidden] { display: none; }
.nut-dual-range { position: relative; height: 40px; padding-top: 6px; }
.nut-dual-range-track { position: absolute; top: 50%; left: 0; width: 100%; height: 8px; transform: translateY(-50%); border-radius: 999px; background: rgba(255, 255, 255, .2); z-index: 0; }
.nut-dual-range-fill {
  position: absolute; top: 50%; height: 8px; transform: translateY(-50%); border-radius: 999px; z-index: 1;
  background: linear-gradient(90deg, rgba(227, 173, 59, .78), rgba(255, 218, 133, .92)); box-shadow: 0 0 14px rgba(227, 173, 59, .45);
  transition: left .1s linear, width .1s linear;
}
.nut-dual-range-input {
  position: absolute; left: 0; top: 50%; width: 100%; height: 8px; margin: 0; z-index: 2;
  transform: translateY(-50%); background: transparent; pointer-events: none;
  -webkit-appearance: none; appearance: none;
}
.nut-dual-range-input::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.nut-dual-range-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; margin-top: -6px;
  background: #f8fafc; border: 2px solid #111827; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.nut-dual-range-input::-moz-range-track { height: 8px; background: transparent; }
.nut-dual-range-input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #f8fafc; border: 2px solid #111827; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.nut-dual-range-bubble {
  position: absolute; bottom: 26px; z-index: 5; transform: translate(-50%, 4px);
  background: #111827; color: #fff; font-size: .68rem; font-weight: 600; line-height: 1;
  padding: 3px 6px; border-radius: 6px; white-space: nowrap; transition: left .1s linear;
}
.nut-product-add-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(34, 40, 49, .6); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.nut-product-add-overlay .bi { color: #fff; font-size: 2rem; }
.nut-product-card.is-hover .nut-product-add-overlay { opacity: 1; }

/* =========================================================================
   Tablet & Mobil
   ========================================================================= */
@media (max-width: 976px) {
  .cl-hero { padding-left: 20px; }
  .cl-hero__title { font-size: 100px; letter-spacing: -8px; }
}
@media (max-width: 781.98px) {
  .cl-hide-mobile { display: none; }
  .cl-hide-desktop { display: flex; }
}
@media (max-width: 767.98px) {
  .cl-hero {
    padding: 64px 20px;
    background-image: url(/static/uploads/2025/10/Main-w1600.webp);
    background-position: 90% 14%;
  }
  .cl-hero__title { margin: 0; font-size: 40px; letter-spacing: -2px; }
  .cl-h2 { font-size: 28px; }
  .cl-h2--xl { font-size: 40px; }
  .cl-solution { padding-bottom: 150px; }
  .cl-trust { padding: 100px 25px 5px; }
  .cl-trust .cl-container { width: 95%; padding-bottom: 100px; }
  .cl-eco { padding: 100px 25px 20px; }
  .cl-eco .cl-container { width: 100%; }
  .cl-start { padding: 80px 15px 80px; }
  .cl-start__inner { width: 100%; }
  .cl-btn--wide { width: auto; font-size: 14px; }
  .cl-start__note { padding-bottom: 50px; }
}
@media (max-width: 480px) {
  .alp-drawer { height: 230px; }
  .alp-chip { font-size: 11.5px; padding: 5px 10px; gap: 5px; }
  .alp-chip--col3 { --gl: 58 !important; }
  .alp-chip--bumped-target { --hl: 44 !important; }
}
@media (hover: none) {
  .cl-hero { background-attachment: scroll; }
}

/* =========================================================================
   Reduzierte Bewegung: Demos stehen still, alles sofort sichtbar
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .cl-hero { background-attachment: scroll; }
  .alp-drawer .alp-chip--paper { animation: none !important; transition: none !important; }
  .js .alp-benefit { opacity: 1; transform: none; transition: none; }
  .alp-benefit svg.is-ready path, .alp-benefit svg.is-ready circle, .alp-benefit svg.is-ready line { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .alp-benefit h3::after { transform: scaleX(1) !important; transition: none !important; }
  .alp-fw-step, .alp-fw-rail-fill { transition: none !important; }
}
